Skip to main content

A wrapper for nrtk to comply with maite protocols.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

PyPI - Python Version PyPI - Python Version Documentation Status

DEPRECATED

The nrtk-jatic package is deprecated and will fail to import on 2025/05/01. All functionality has been integrated into the core nrtk package (v0.20.0) under the nrtk.interop.maite module. Please migrate to the nrtk package as soon as possible.

nrtk-jatic

The nrtk-jatic package is an extension of the Natural Robustness Toolkit (NRTK) containing implementations and examples in compliance with protocols from the Modular AI Trustworthy Engineering (MAITE) library. These packages (among others) are developed under the Joint AI Test Infrastructure Capability (JATIC) program for AI Test & Evaluation (T&E) and AI Assurance.

Interoperability - Implementations and Examples

The nrtk-jatic package consists of implementations and utilities that ensure interoperability of nrtk functionality with maite. The scripts under src/nrtk_jatic/interop consist of protocol implementations that are compliant with maite's dataset and augmentation protocols. The src/nrtk_jatic/utils folder houses generic util scripts and the NRTK CLI entrypoint script. Finally, the examples folder consists of Jupyter notebooks showing end-to-end ML T&E workflows demonstrating natural robustness testing of computer vision models with nrtk, and integrations of nrtk with other JATIC tools, by using the interoperability standards provided by maite

Additional information about JATIC and its design principles can be found here.

Installation

Ensure the source tree is acquired locally before proceeding.

To install the current version via pip:

pip install nrtk-jatic[<extra1>,<extra2>,...]

Alternatively, you can use Poetry:

poetry install --with main,linting,tests,docs --extras "<extra1> <extra2> ..."

Certain plugins may require additional runtime dependencies. Details on these requirements can be found here.

For more detailed installation instructions, visit the installation documentation.

Getting Started

Explore usage examples of the nrtk-jatic package in various contexts using the Jupyter notebooks provided in the ./examples/ directory.

Contributions are encouraged! For more details, refer to the CONTRIBUTING.md file.

Documentation

Documentation for both release snapshots and the latest master branch is available on ReadTheDocs.

To build the Sphinx-based documentation locally for the latest reference:

# Install dependencies
poetry install --sync --with main,linting,tests,docs
# Navigate to the documentation root
cd docs
# Build the documentation
poetry run make html
# Open the generated documentation in your browser
firefox _build/html/index.html

Developer Tools

Pre-commit Hooks

Pre-commit hooks ensure that code complies with required linting and formatting guidelines. These hooks run automatically before commits but can also be executed manually. To bypass checks during a commit, use the --no-verify flag.

To install and use pre-commit hooks:

# Install required dependencies
poetry install --sync --with main,linting,tests,docs
# Initialize pre-commit hooks for the repository
poetry run pre-commit install
# Run pre-commit checks on all files
poetry run pre-commit run --all-files

Contributing

License

Apache 2.0

Contacts

Principal Investigator: Brian Hu (Kitware) @brian.hu

Product Owner: Austin Whitesell (MITRE) @awhitesell

Scrum Master / Tech Lead: Brandon RichardWebster (Kitware) @b.richardwebster

Deputy Tech Lead: Emily Veenhuis (Kitware) @emily.veenhuis

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nrtk_jatic-0.5.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nrtk_jatic-0.5.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file nrtk_jatic-0.5.0.tar.gz.

File metadata

  • Download URL: nrtk_jatic-0.5.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.9.21 Linux/6.8.0-1023-aws

File hashes

Hashes for nrtk_jatic-0.5.0.tar.gz
Algorithm Hash digest
SHA256 2f3adffd94e811c1dedbd1b356e2e4987c6055c8ede0da0b0ee20f0640b2f7c2
MD5 65762aad56699a03ff12b8627a001c7f
BLAKE2b-256 ee9d3724b4070f8582c705969b6708cc64dee1b044ed2ae66091d3d5a72f3b2c

See more details on using hashes here.

File details

Details for the file nrtk_jatic-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: nrtk_jatic-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.9.21 Linux/6.8.0-1023-aws

File hashes

Hashes for nrtk_jatic-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f50a3911ff5d7925ea69afbac2decf3fe0aadd463c9d4afa7adc52d696ba99f
MD5 43dca947702b0cb9f99ee235ba3c5314
BLAKE2b-256 ad23a092577bd85c3adfff7d7713764fd77d539971a9bff5d0b9556944328806

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page