Skip to main content

AGILAB deterministic data contract, drift, leakage, and promotion gate

Project description

agi-app-data-quality-gate

Release artifact PyPI License: BSD 3-Clause

agi-app-data-quality-gate packages the data_quality_gate_project AGILAB app. It is a deterministic data contract, drift, leakage, and promotion-gate example for teams that need a concrete proof before a candidate dataset reaches model training or pilot promotion.

Purpose

Use this package to show how AGILAB can turn a data-readiness review into replayable evidence. The app generates a baseline dataset and a candidate dataset, validates the expected columns, profiles quality, measures drift, and writes a decision that can be reviewed before another system takes ownership.

What You Learn

The packaged project demonstrates the same contract-first workflow without requiring a source checkout. A first run shows the generated datasets, the quality profiles, the drift table, the gate decision, and the manifest that ties those artifacts together. It is intended to make a data promotion review easy to rerun and easy to inspect from AGILAB.

Installed Project

The distribution name is agi-app-data-quality-gate; the AGILAB project name is data_quality_gate_project. The package exposes both data_quality_gate and data_quality_gate_project through the agilab.apps entry point group, so AgiEnv(app="data_quality_gate_project") resolves the project without a monorepo checkout once this payload package is installed.

Install

pip install agi-app-data-quality-gate

This is the stable package install shape once this distribution is promoted to PyPI. For the current release artifact path, install the wheel directly:

pip install /path/to/agi_app_data_quality_gate-<version>-py3-none-any.whl

This app project is built as wheel and source-distribution artifacts in the GitHub Release archive, but it is not promoted to PyPI in the current release plan and is not pulled by the agi-apps umbrella. Install it directly only when validating the data quality gate package from a release artifact or a locally built wheel.

Run In AGILAB

Select data_quality_gate_project, open ORCHESTRATE, then run INSTALL and EXECUTE. Open ANALYSIS or inspect the exported evidence directory to review the contract, drift metrics, gate decision, and artifact manifest.

Expected Inputs

The default run generates deterministic synthetic baseline and candidate datasets. It does not require private data, a model registry, a cloud account, an LLM, or an external network service.

Expected Outputs

The app writes baseline and candidate CSV files, JSON profiles, a data contract, drift metrics, a gate decision, a Markdown evidence report, a run manifest, and a data-quality summary with artifact hashes.

Change One Thing

Change only drift_strength, then rerun the app. Lower values should move the gate toward promote; higher values should move it toward manual-review or block. Keep seed=2026 when you want artifact deltas that remain easy to explain.

Troubleshooting

If the package resolves but custom data does not, rerun the default synthetic case first. Then verify that CSV and JSON paths are AGILAB-share-relative and that the candidate file contains every column required by the contract. A noisy or unexpected manual-review decision usually means the drift threshold was tighter than the candidate distribution, so inspect drift_metrics.csv before loosening the gate.

Scope

This is a compact data-quality gate example. It does not replace a full data observability platform, feature store, enterprise governance workflow, or production approval authority. Its purpose is to make one data-readiness review portable, deterministic, and evidence-backed.

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

agi_app_data_quality_gate-2026.6.23.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

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

agi_app_data_quality_gate-2026.6.23-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file agi_app_data_quality_gate-2026.6.23.tar.gz.

File metadata

File hashes

Hashes for agi_app_data_quality_gate-2026.6.23.tar.gz
Algorithm Hash digest
SHA256 f40eee95075520f925eb9006393e8f6426027936878258e40ac5b226634a5e55
MD5 829dc1021fc86f4dd6b6a6010d23c18d
BLAKE2b-256 9067825f79b534053cc9ae11ad46ed70cc731809905819b010c5f6665d86f283

See more details on using hashes here.

Provenance

The following attestation bundles were made for agi_app_data_quality_gate-2026.6.23.tar.gz:

Publisher: pypi-publish.yaml on ThalesGroup/agilab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agi_app_data_quality_gate-2026.6.23-py3-none-any.whl.

File metadata

File hashes

Hashes for agi_app_data_quality_gate-2026.6.23-py3-none-any.whl
Algorithm Hash digest
SHA256 1ffb7d6b70ca784b6aa4124b626f1ce47da92227f6ba5eb9cc0c2a93e15912ac
MD5 7917108144783eb606652d65766d232f
BLAKE2b-256 0506c7cddecce065dc946378c23b2595784128a34bfa9546679219f372ce2edb

See more details on using hashes here.

Provenance

The following attestation bundles were made for agi_app_data_quality_gate-2026.6.23-py3-none-any.whl:

Publisher: pypi-publish.yaml on ThalesGroup/agilab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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