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
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
- Follow the JATIC Design Principles.
- Adopt the Git Flow branching strategy.
- Detailed release information is available in docs/release_process.rst.
- Additional contribution guidelines and issue reporting steps can be found in CONTRIBUTING.md.
License
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f3adffd94e811c1dedbd1b356e2e4987c6055c8ede0da0b0ee20f0640b2f7c2
|
|
| MD5 |
65762aad56699a03ff12b8627a001c7f
|
|
| BLAKE2b-256 |
ee9d3724b4070f8582c705969b6708cc64dee1b044ed2ae66091d3d5a72f3b2c
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f50a3911ff5d7925ea69afbac2decf3fe0aadd463c9d4afa7adc52d696ba99f
|
|
| MD5 |
43dca947702b0cb9f99ee235ba3c5314
|
|
| BLAKE2b-256 |
ad23a092577bd85c3adfff7d7713764fd77d539971a9bff5d0b9556944328806
|