No project description provided
Project description
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
The following steps assume the source tree has been acquired locally.
Install the current version via pip:
pip install nrtk-jatic
Alternatively, you can also use Poetry:
poetry install --sync --with dev-linting,dev-testing,dev-docs
See here for more installation documentation.
Getting Started
We provide a number of examples based on Jupyter notebooks in the
./examples/
directory to show usage of the nrtk-jatic
package in a number
of different contexts.
Documentation
Documentation snapshots for releases as well as the latest master are hosted on ReadTheDocs.
The sphinx-based documentation may also be built locally for the most up-to-date reference:
# Install dependencies
poetry install --sync --with dev-linting,dev-testing,dev-docs
# Navigate to the documentation root.
cd docs
# Build the docs.
poetry run make html
# Open in your favorite browser!
firefox _build/html/index.html
Developer tools
pre-commit hooks
pre-commit hooks are used to ensure that any code meets all linting and
formatting guidelines required. After installing, this will always run before
committing to ensure that any commits are following the standards, but you
can also manually run the check without committing. If you want to commit
despite there being errors, you can add --no-verify
to your commit command.
Installing pre-commit hooks:
# Ensure that all dependencies are installed
poetry install --sync --with dev-linting,dev-testing,dev-docs
# Initialize pre-commit for the repository
poetry run pre-commit install
# Run pre-commit check on all files
poetry run pre-commit run --all-files
Contributing
- We follow the general guidelines outlined in the JATIC Software Development Plan.
- We use the Git Flow branching strategy.
- See docs/release_process.rst for detailed release information.
- See CONTRIBUTING.md for additional contributing information.
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
Release history Release notifications | RSS feed
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
File details
Details for the file nrtk_jatic-0.2.0.tar.gz
.
File metadata
- Download URL: nrtk_jatic-0.2.0.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.9.20 Linux/6.5.0-1021-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2405efecd75bf6dc1f380e96b868a1c3b52b241bf609ae349910602db0e89705 |
|
MD5 | b5c00a180307efe0f6c19ee444f30c25 |
|
BLAKE2b-256 | c167237b660fcb664d6c06583587880d84781fad8e43c486582340fba0fbadc3 |
File details
Details for the file nrtk_jatic-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: nrtk_jatic-0.2.0-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.9.20 Linux/6.5.0-1021-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84dfb7861c97ce9f13af44e8a200a0cf54064f75dffd73994abfe7742829b29e |
|
MD5 | e9e5ae0fd757e9e900077642e3c4f6ae |
|
BLAKE2b-256 | f033d2b2921a1a19ccde0794b4e2bd722b7191526d6d6ae415f773a36dbf5efb |