Run the entire audit family — DecayWatch, EnrichAudit, FilterGap, LinguaCheck, NuanceBench, ReadyPack, SourceLock, and WhyChanged — as a single pipeline over one dataset, and package the result.
The individual tools stay separate (they are included as git submodules under
repos/); this repository only adds an orchestrator that imports each tool's
run() function, collects its findings, and folds them into ReadyPack.
| Tool | Repository | What it does |
|---|---|---|
| DecayWatch | hexsyro/DecayWatch | Measures how much of a previously collected dataset still exists: survival rates, metadata drift, representativity, and purged records. |
| EnrichAudit | hexsyro/EnrichAudit | Finds bugs that enrichment pipelines keep shipping, such as impossible rates, mismatches, and stale fields. |
| FilterGap | hexsyro/FilterGap | Scores social/listening mentions with layered signals to catch spam and bots that cheap tools count as engagement. |
| LinguaCheck | hexsyro/LinguaCheck | Flags sentiment scores computed in languages the model does not actually speak. |
| NuanceBench | hexsyro/NuanceBench | Scores any sentiment tool against a curated set of hard sentences (sarcasm, slang, emoji, mixed language). |
| SourceLock | hexsyro/SourceLock | Catches unsupported claims in AI-generated summaries relative to their source posts. |
| WhyChanged | hexsyro/WhyChanged | Explains significant shifts in a tracked metric and localizes slow regime changes. |
| ReadyPack | hexsyro/ReadyPack | Aggregates every finding above into a data-health score, datasheet, Croissant metadata, changelog, and human-readable report, and packages the dataset. |
git clone --recurse-submodules https://github.com/hexsyro/HonestyPipeline.git
cd HonestyPipeline
python -m pip install -e .For development:
python -m pip install -e ".[dev]"
python -m pytestThe tools live as git submodules. If you cloned without
--recurse-submodules, rungit submodule update --init --recursive.
honestypipeline dataset.csv --name "my-dataset" --out ./packWithout --out, the ReadyPack report is printed to stdout. Pass --config config.json to tune any underlying tool (top-level keys: decaywatch,
enrichaudit, filtergap, linguacheck, nuancebench, sourcelock,
whychanged, readypack, plus a tools object).
| Flag | Description |
|---|---|
--format, -f |
Output format: table (default), json, csv, md/markdown. |
--output, -o |
Write the rendered report to a file instead of stdout. |
--out |
Write the packaged output (cleaned.csv, docs, package.zip) to a directory. |
--fail-on |
Exit 1 if any finding is at or above low/medium/high severity. |
--config |
JSON file of options. |
--name |
Dataset name for the packaged report. |
--description |
Dataset description. |
--drop-id |
Drop a reviewed row id (repeatable). |
--only, --skip |
Run or skip selected audits (comma-separated tool names). |
--list-tools |
Print available audits and their versions. |
--cache-dir, --no-cache |
Cache audit envelopes by input+version+options. |
--baseline, --fail-on-regression |
Compare with a previous JSON run and fail on regressions. |
--version-tag |
Dataset version recorded in Croissant metadata. |
--explain |
Show FilterGap signal explanations in table output. |
--quiet, -q |
Suppress progress messages on stderr. |
--version |
Print version and exit. |
Exit codes: 0 success, 1 --fail-on gate or regression tripped, 2
usage/config/input error, 3 an audit tool errored, 130 interrupted. See
honestypipeline --help. Argument files are supported with @args.txt.
The JSON output has a published contract at
schema/honestypipeline-result.schema.json.
Options can be supplied at the top level or nested under a tools object:
{
"name": "my-dataset",
"drop_ids": ["r1", "r2"],
"tools": {
"enrichaudit": { "max_examples": 5 },
"linguacheck": { "language_column": "lang" }
}
}Top-level convenience keys (name, description, drop_ids/drop_id,
dataset_name) are forwarded to ReadyPack; per-tool sections are forwarded to
the matching tool.
from honestypipeline import run_pipeline, PipelineResult
from readypack.common import load_rows
result: PipelineResult = run_pipeline(load_rows("dataset.csv"), {"name": "demo"})
result.summary["health_score"]["score"]run_pipeline(rows, options) returns a PipelineResult with:
status— overall status ("success"or"error").findings— aggregated, audit-tagged findings.warnings— aggregated warnings.summary— ReadyPack summary, including the data-health score.tools— per-tool envelopes (decaywatch,enrichaudit, …).readypack— the ReadyPack envelope.schema_version,run_id,started_at,finished_at,duration_ms,input_fingerprint,tool_runs— reproducibility metadata (v0.2.0).
Findings that several audits raise for the same record_id + field are
tagged with metadata.corroboration; the count is in
summary.corroborated_findings.
With --out DIR, HonestyPipeline writes:
cleaned.csv— the dataset, minus any explicitly reviewed removals.datasheet.md— a dataset card.croissant.json— Croissant (mlcommons) metadata.changelog.json— the action history.report.md— a human-readable report.run.json— provenance manifest (input hash, tool versions, timings, options).datasheet.json,dataset.jsonld,findings.json— machine-readable documentation (Datasheets, schema.org/Dataset, normalized findings).package.zip— all of the above zipped together.
Nothing is deleted silently; rows leave the export only via explicit, reviewed
--drop-id values, and every action is recorded in the changelog.
--format json includes a run manifest so a report can be reproduced and
audited later. Store it as a baseline and gate future runs:
honestypipeline data.csv --format json -o baseline.json
honestypipeline data.csv --baseline baseline.json --fail-on-regression --fail-on highUse --cache-dir .cache/honestypipeline to skip unchanged audits and --only
to re-run just one tool before re-packaging. --out always writes run.json
alongside the dataset package.
The v0.2.0 upgrade and the research behind it are documented in docs/RELEASE_NOTES_v0.2.0.md.
python -m pip install -e ".[dev]"
python -m ruff check src tests
python -m pytestMIT. See LICENSE.
