DataCard CI

Your dataset README says the IDs are unique. Are they still unique after the next update?

I built DataCard CI to help check promises like that. The model reads a short claim and the table schema, then suggests a check. You review what it meant before the verifier runs against your CSV files.

The latest release, v0.4, makes that review-and-check workflow usable without loading a model. It runs on CPU, works offline after installation, and needs no API key. The Qwen3-0.6B LoRA adapter can help draft checks; each suggestion needs review before use.

What you can use it for

  • Check an exact row count against the documentation.
  • Catch repeated IDs within a table.
  • Check whether train and test tables share IDs.
  • Find missing entries using a policy you specify, including how to treat values such as NA.

The model proposes the first three operations. Missing-value checks are available in the verifier when you write the check explicitly.

A result stays tied to the documentation, the reviewed check, the exact CSV files and the verifier version. Change any of those inputs and the workflow asks for a new review. It won't silently reuse an old approval on new data.

Try it in Colab

Download the v0.4 quick-start notebook and open it through Colab's File → Upload notebook menu. Choose a CPU runtime. It installs the small verifier wheel, runs a toy example, then changes the data so you can see the old review get rejected. No training or Hugging Face login is required.

For a local installation, download the wheel and run:

python3 -m pip install --no-index datacard_ci-0.4.0-py3-none-any.whl
datacard-review --help

The source archive includes the tests, examples and workflow instructions. Python 3.10 or newer is required. The isolated installation test also needs host pip 22.3 or newer.

What changed—and what we actually tested

I tested the release locally and in a real Google Colab CPU session:

  • 46 portable tests passed in Colab.
  • A clean installation passed in an isolated environment with no model libraries installed.
  • Valid reviewed data passed; duplicate IDs failed; changed files and missing reviews were blocked.
  • Colab exposed an installation-test issue because it doesn't include ensurepip. I fixed the runner and repeated the check successfully.
  • The full local project suite passed 116 tests before the Colab runner fix. The affected installation check was tested again on both machines afterward.

The release also rejects malformed JSON, invalid UTF-8, unsupported checks and blank physical CSV records. It limits file size and total cells instead of quietly checking only part of a large file. See the Colab report, raw test evidence and release notes.

The training dataset is available separately. For evaluation details and supported-use boundaries, see READINESS.md. The test counts above cover the software and review workflow.

Trying the adapter

The adapter needs the Qwen3-0.6B base model plus PyTorch, Transformers and PEFT. The research helper predict_v2.py returns an unapproved proposal and rejects unsupported output. For the model-loading example and pinned settings, see the adapter usage guide. Use the new CPU quick-start notebook for the v0.4 verifier workflow.

This repository supplies files, not a hosted inference service. Downloading them does not use my API credentials. If you choose a paid runtime or inference provider, its compute is your own choice and cost. There is no need to start a GPU for the verifier.

Limits worth knowing

This checks small, complete CSV files: up to 10 splits, 2 MB and 20,000 rows per file, 100 columns and 500,000 data cells across the batch. It accepts up to 100 claims and 64 KB each for documentation and claims JSON. Every nonzero checking-command exit should block a pipeline.

A pass applies to the selected checks and supplied files. It does not establish consent, redistribution rights, fairness or overall dataset quality. Review records are local attestations, not authenticated signatures. Reports include documentation text, so keep confidential reports out of public logs. More detail is in SECURITY.md.

What would make this useful to you?

If dataset checks are a recurring pain point, start a Hugging Face Discussion. Tell me what you check by hand, what tends to break, and what you'd want caught before training or publishing.

A small invented example is enough: a claim, the column names, the check you expected, and what happened. Critique is welcome—including “I'd rather write this check myself.” Please leave out private records and credentials.

Original project code and synthetic examples are MIT licensed. The Qwen base is Apache-2.0; no base weights are included. The older UCI Wine Quality integration fixture has separate CC BY 4.0 attribution. This v0.4 distribution contains original code and toy examples, not third-party research datasets.

Downloads last month
17
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for khursheed/datacard-ci

Finetuned
Qwen/Qwen3-0.6B
Adapter
(767)
this model