Skip to main content

AI Verify Test Engine

Description

AI Verify Test Engine provides core interfaces, converters, data, model and plugin managers to facilitate the development of tests for AI systems. It is used as a base library for all AI Verify official stock-plugins and can be used to develop custom plugins.

Installation

Install aiverify-test-engine via pip. The following table list the available install options and the optional dependencies along with the additional functionality that is supported.

Installation Command Description
pip install aiverify-test-engine Installs only the core functionalites. Supports tabular data formats like CSV, as well as Pandas pickle and Joblib files, and Scikit-learn models.
pip install aiverify-test-engine[dev] Includes additional dependencies for development. Intended for developers who want to contribute to the project.
pip install aiverify-test-engine[tensorflow] Installs optional Tensorflow and Keras dependencies.
pip install aiverify-test-engine[pytorch] Installs optional PyTorch dependencies.
pip install aiverify-test-engine[gbm] Installs XGBoost and LightGBM packages. Supports serializing models in these formats.
pip install aiverify-test-engine[all] Installs the core package along with all additional non development dependencies.

Developer Guide

Local Installation

To contribute changes to the test engine code, clone the repository, navigate to the aiverify-test-engine folder, and install the dev version of the library:

pip install '.[dev]'

Here's an overview of the project folder structure and a brief description of each:

aiverify-test-engine/
├── aiverify_test_engine/   # Core library code
│   ├── interfaces/         # Core interfaces (algorithm, converter, data, model, pipeline, serializer, plugin)
│   ├── io/                 # Data and model IO related logic
│   ├── plugins/            # Manage the loading and execution of algorithm, data, model, pipeline and plugins
│   ├── utils/              # Utility functions and validators
├── tests/                  # Test cases
├── pyproject.toml          # Project configuration file

Running Tests

python -m pytest tests

If Tensorflow has trouble with GPU, use following environment variable to force Tensorflow to use CPU:

CUDA_VISIBLE_DEVICES="" TF_CPP_MIN_LOG_LEVEL=2 TF_NUM_INTEROP_THREADS=1 TF_NUM_INTRAOP_THREADS=1 XLA_FLAGS="--xla_gpu_unsafe_fallback_to_driver_on_ptxas_not_found" python -m pytest tests

Building the Package

hatch build

License

  • Licensed under Apache Software License 2.0

Developers:

  • AI Verify

Metadata

Release files for aiverify-test-engine 2.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiverify-test-engine 2.2.1
File Size Uploaded Provenance Actions
aiverify_test_engine-2.2.1.tar.gz 84.6 MB Without provenance Details for aiverify_test_engine-2.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aiverify-test-engine 2.2.1
File Interpreter ABI Platform Actions
aiverify_test_engine-2.2.1-py3-none-any.whl Python 3 none any Details for aiverify_test_engine-2.2.1-py3-none-any.whl

Total release size: 84.7 MB

Release files / aiverify_test_engine-2.2.1.tar.gz

Download URL aiverify_test_engine-2.2.1.tar.gz
Size 84.6 MB
Tags Source
SHA-256 checksum
How to use checksums
19812a26147aba7631f9a320b2a3828b573b4e63e97b62888010330aa376a231
BLAKE2b-256 checksum
How to use checksums
31570fc6850a78686b7102ac1265e38b11929c6d76eeb7d3b7b40ab876f70cfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.5 cpython/3.11.15 HTTPX/0.28.1

Release files / aiverify_test_engine-2.2.1-py3-none-any.whl

Download URL aiverify_test_engine-2.2.1-py3-none-any.whl
Size 103.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8d55b45419f7816854ad6ade3b14c80cda9cf530a67a1a0829eda7f31607a94
BLAKE2b-256 checksum
How to use checksums
cf8580ff4d3d95e258b0e9a9970a9af1258b82448b692a0c78aaaaba637239c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.5 cpython/3.11.15 HTTPX/0.28.1

Security for aiverify-test-engine 2.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page