Open source · Data & Analytics

Data Quality Rule Runner

Run declarative quality rules with row samples and actionable failures.

v0.1.0 · Node.js 22+ · MIT

Browse the public repository · View releases

Most quality checks answer "did the data pass?" with two values, and put everything they could not evaluate into the same bucket as everything that was fine. That is the failure mode this tool is built against.

This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+.

Run the checked-in example

node bin/data-quality-rule-runner.mjs \
  --rules examples/clean/quality.rules.json \
  --data examples/clean

Read the result

A consumer that pipes stdout must handle an empty stdout on exit 2. Emitting a fake report for a run that never started would be worse.

Scope

Every bound is enforced before the work it bounds, not after. A dataset's size is taken from stat before the file is opened.