Skip to main content

rai-check-ml

Fairness, robustness, data quality, and production drift audits for tabular ML models.

from rai_audit.ml import ClassificationAudit, DriftAudit, RegressionAudit

DriftAudit compares a reference window with a current batch. It checks numeric feature distributions, prediction distributions, sensitive-feature subgroup composition, and classification error-rate changes per sensitive group. Numeric drift evidence includes corrected KS p-values, population stability index, and Jensen-Shannon divergence.

Classification fairness checks include equalized odds, calibration by group when probabilities are available, Wilson confidence intervals, and explicit warnings for undersized groups. Data-quality checks include common PII patterns, numeric outliers, and target-deterministic features.

Use split_data_quality_findings to catch entity overlap and exact duplicate rows across train and test datasets:

from rai_audit.ml import split_data_quality_findings

findings = split_data_quality_findings(train, test, id_columns=["patient_id"])

See examples/ml_drift_monitoring/batch_monitor.py and examples/mlops_integrations/ for monitoring examples.

Metadata

Release files for rai-check-ml 0.0.2

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

Source distribution (sdist)

Source distribution for rai-check-ml 0.0.2
File Size Uploaded Provenance Actions
rai_check_ml-0.0.2.tar.gz 26.8 kB With provenance Details for rai_check_ml-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rai-check-ml 0.0.2
File Interpreter ABI Platform Actions
rai_check_ml-0.0.2-py3-none-any.whl Python 3 none any Details for rai_check_ml-0.0.2-py3-none-any.whl

Total release size: 54.4 kB

Release files / rai_check_ml-0.0.2.tar.gz

Download URL rai_check_ml-0.0.2.tar.gz
Size 26.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d8b256b19236a5156cc276a2e1d9d8874722d440cc710656a641ae572e313d10
BLAKE2b-256 checksum
How to use checksums
f8e3e48c1459a7ec2eb9f055ff69079607ffdfb39b9ad4d8d2d482488d7d88f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / rai_check_ml-0.0.2-py3-none-any.whl

Download URL rai_check_ml-0.0.2-py3-none-any.whl
Size 27.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1d23e92ff78fd8341369b0d77888df086701b9cbc3280fda18b6461878662ad
BLAKE2b-256 checksum
How to use checksums
7fffde35ff0ae81c10edc8a02a6404491a4be83119da7d9fd57db53bd95b83d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Security for rai-check-ml 0.0.2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rai_check_ml-0.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files Full provenance

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