The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the DataSentry listing page.
Find bad data before your users do.
Automatic data-quality discovery, evidence-backed explanations, and safe reversible repair.
Local-first. Deterministic by default. AI optional.
Live demo · 30-second start · Use cases · FAQ · PyPI · Examples · MCP setup · Contribute
中文导读:DataSentry 会先自动发现数据质量问题,再给出样本、比例、置信度等证据。修复采用
propose → preview → apply to a copy → verify → rollback的保守流程。检测与评分不依赖 LLM,AI 只作为可选辅助,数据可以完全留在本机。
Install the current PyPI release and run the zero-config product tour:
datasentry-demo is also available as a direct console alias.
The demo generates synthetic dirty data, runs the built-in detectors, exports JSON + HTML reports, applies one safe repair to a copy, re-scans the repaired copy, and prints a rollback command. It needs no dataset, cloud service, API key, or LLM.
Prefer scanning your own data immediately?
Or launch the interactive interfaces:
| If you need to... | Start here |
|---|---|
| Find suspicious data before you know every rule | datasentry scan data.csv |
| See the full discovery → repair → verify loop | datasentry demo |
| Block severe data issues in CI | docs/GITHUB_ACTIONS.md |
| Add quality gates to dbt / Airflow | examples/integrations/ |
| Inspect and repair issues without overwriting the source | Safe repair |
| Give AI agents deterministic data-quality tools | docs/MCP.md |
The default path is intentionally low-commitment: scan first, inspect evidence, then decide whether a finding deserves a permanent rule or a repair.
Most data-quality tools are excellent once you already know the expectations, checks, or contracts you want to enforce. Real incidents often start one step earlier: you do not yet know what is wrong.
DataSentry is built around the complete remediation loop:
DataSentry fits best when you are looking at data you do not fully trust yet, want evidence before codifying checks, or need a conservative remediation path. It complements expectation- and contract-driven tools rather than requiring you to replace them.
DataSentry ships with 39 deterministic detectors covering common failure modes such as:
Every scan produces an evidence-backed issue list and a six-dimension quality score across completeness, validity, uniqueness, consistency, integrity, and timeliness.
Repairs are fingerprinted, auditable, and reversible. AI-generated repair proposals remain human-approved state changes.
For GitHub repositories, reuse DataSentry's maintained workflow_call gate instead of duplicating installation and exit-code handling:
See docs/GITHUB_ACTIONS.md for inputs, artifacts, security boundaries, and version-pinning guidance.
Reports can be exported as JSON, Markdown, HTML, JUnit, and SARIF. The GitHub Actions example fails the workflow on severe findings while still uploading an HTML report for review.
DataSentry includes an MCP stdio server:
MCP-capable clients can scan files, inspect evidence-backed issues, read quality scores and trends, compare drift, validate contracts, manage scheduled jobs, and call DataSentry tools without bypassing the same underlying safety rules used by the CLI and REST API.
Copy-paste setup recipes for VS Code and Claude Desktop are in docs/MCP.md.
Boundary: AI may propose; humans approve state-changing repairs.
This is a positioning guide, not a winner/loser feature scorecard. These projects solve overlapping but different jobs; check their upstream documentation for current capabilities.
| Project | Core mental model | A strong fit when you want... |
|---|---|---|
| DataSentry | discover → explain → repair → verify | automatic issue discovery plus a controlled, reversible remediation loop |
| Great Expectations | Expectations / expressive data tests | explicit validation rules, validation results, and generated data-quality documentation |
| Soda Core | data contracts and quality checks | YAML contracts and verification across a broad data stack |
| Deequ | “unit tests for data” on Spark | large-scale data verification in Spark-centric environments |
| ydata-profiling | one-line profiling / EDA | fast exploratory profiling and shareable analysis reports |
DataSentry is intentionally not trying to replace a metadata catalog, lineage platform, or every validator. Its focus is narrower: find bad data, show why it was flagged, and close the repair loop without gambling on the source.
s3://, gs://, and az:// objectsPersist scans and compare data over time:
Tracked signals include schema changes, row-count movement, quality-score changes, and issue-distribution drift.
The benchmark generates synthetic dirty data and measures profiling, detection/fusion/scoring, numeric-outlier detection, JSONL reading, sampling, score drift, and memory high-water marks. See docs/BENCHMARKS.md.
Useful contributions include new detectors, connectors, integration examples, reproducible benchmark cases, documentation/translations, minimal bug reproductions, and CLI/TUI/Web usability improvements.
Want a small first contribution? Start with good first issue #14 or good first issue #15.
See CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, and ROADMAP.md. Small contributions are tracked with good first issue and help wanted labels.
docs/FAQ.md — evaluation, safety boundaries, and how DataSentry fits alongside other data-quality toolsexamples/ — scenario-first runnable examplesdocs/MCP.md — VS Code and Claude Desktop MCP setupdocs/GITHUB_ACTIONS.md — reusable GitHub quality gateexamples/integrations/github-actions/ — copy-paste CI gatedocs/BENCHMARKS.md — benchmark policydocs/DEVELOPMENT.md — engineering notesApache-2.0 — see LICENSE.
If DataSentry helps you catch bad data before it reaches production, consider giving the repository a ⭐.
It helps other data engineers discover the project.