Skip to content
1. Scope and boundary

Roadmap

Baseline: v2.11.0 (published and provenance-verified 2026-11-13). Current target: v2.12.0 — validation and statistical drift (Phase 3).

This roadmap is the working plan. Every version below is a scoped, tested, documented, and verified release — not a wish list.

Universal Data Cleaner is a production-grade, auditable, reproducible tabular data preparation and quality-assurance toolkit for Python and scikit-learn.

It covers one lifecycle and does it end to end:

Output
raw data
  -> ingestion and normalization
  -> contract enforcement
  -> cleaning and transformation
  -> validation and quality assurance
  -> audit, reproducibility, and monitoring hooks
  -> trusted ML-ready dataset

The durable value is not another cleaning function. It is making the assumptions behind a cleaning step explicit, checkable, explainable, and reusable on the next batch — without becoming an orchestration or observability platform.


  • A per-dataset, in-process transformer for pandas and scikit-learn.
  • Leak-safe by construction: fit on training data, reuse learned rules at inference, never mutate the input, never drop inference rows.
  • Auditable: every learned or overridden decision has a reason and can be inspected, exported, versioned, and reloaded.
  • Quality-aware: safe ingestion, contracts, expectations, drift reports, split audits, and reproducible fingerprints in one dependency-light package.

Keep this boundary. Integrate with these systems; do not rebuild them.

Do not buildUse or integrate instead
Another complete ML pipeline frameworkscikit-learn
An enormous transformation catalogueFeature-engine
A replacement for enterprise validation platformsGreat Expectations, Pandera
A distributed compute engineDask
Another high-performance dataframe enginePolars, PyArrow
A complete data-monitoring dashboardEvidently, Monte Carlo, Soda
An orchestration and scheduling frameworkAirflow, Dagster, Prefect
An enterprise governance or ownership systemExisting catalog/governance tools
An auto-ML tool that chooses business rulesThe user

Also out of scope: scheduling, alerting, incident routing, a data catalog, and automatic business-rule inference without user confirmation.


Having a capability is not the same as hardening it. This table separates the two.

CapabilityCurrent stateRemaining gap
CSV ingestionImplementedPerformance and adversarial edge cases
Excel ingestionImplementedLarge-workbook handling
Chunked CSV readingImplementedBounded-memory unique tracking, aggregated reports
Type inferenceImplementedAmbiguity and precision policies
Identifier protectionImplementedBroader numeric precision safeguards
Missing-value handlingImplementedSpecialized policies where justified
Outlier handlingImplementedAdditional carefully selected methods
Categorical cleaningImplementedEncoding integration depth
Datetime handlingImplementedTimezone and DST edge-case validation
Data contractsImplementedContract evolution and migrations
Schema driftImplementedStatistical distribution drift
Train/test leakage auditImplementedBroader adversarial validation
Join diagnosticsImplementedPerformance stress testing
Referential integrityImplementedMore complex relationship checks
DeduplicationImplementedLarge-scale deduplication
Data validationImplementedCustom, conditional, and cross-column checks
Decision loggingImplementedBatch-level historical tracking
Cleaning reportsImplementedReport sinks and monitoring integrations
Artifact manifestsImplementedRuntime dependency compatibility policy
FingerprintingImplementedExact content-integrity fingerprints
scikit-learn integrationImplementedFull estimator compatibility testing
CLIImplementedOperational integration
CI and wheel testsImplementedStress, property, fuzz, and security gates
Release provenanceVerified in 2.9.1Automated post-publication verification

Shipped in 2.9.1 (previously merged to main):

  • iter_csv_safe() infers the schema once and reuses it for later chunks.
  • Safe ingestion enforces ColumnSpec(unique=True), including across chunks.
  • Missing fitted columns are always fatal, with matching documentation.
  • Contract uniqueness ignores nulls consistently.
  • CI tests minimum, latest, and pandas 3.x dependencies.
  • CI installs and exercises the built wheel.
  • Release builds generate PEP 740 and GitHub provenance attestations.

Reached by v2.9.0. Cleaning, contracts, ingestion, validation, reporting, reproducibility, and CI are in place and documented. v2.9.1 hardens the ingestion and release paths on top of that foundation.

Next target. Requires concurrency safety, numeric precision guarantees, bounded memory, artifact reliability, performance evidence, stronger validation, statistical drift, and verified releases.

Long-term. Requires proven performance, stable APIs, integrations, external users, trusted releases, reviewed examples, and multiple maintainers.

Decision: target Level 2 before adding any new data primitive.


This is the standard the library is measured against. A row is only “done” when the named evidence exists in the repository and in a verified release.

StandardDefinition of doneProven by
CorrectnessNo silent data corruption or unintended row lossInvariant tests on every release
Input safetyMalformed inputs produce controlled, understandable failuresAdversarial/fuzz suites
Data contractsSchema changes are explicitly detected and handledDrift matrix tests
TransformationsIdentical learned rules across training and inferenceLeak-safety tests
Numerical safetyPrecision loss is detected and handled by policyBoundary-value tests around 2^53
PerformanceWorkload limits are documented and benchmarkedBenchmark suite and docs
MemoryProcessing behavior is predictable and testedPeak-RAM benchmarks
ConcurrencyParallel batch operations produce independent resultsConcurrent transform tests
ReproducibilityTransformations and environments can be inspected and verifiedManifest, fingerprints, artifact tests
SerializationAtomic writes, compatibility policy, trust boundariesCorruption/interrupt tests
ValidationClear, extensible, reusable quality rulesValidation protocol tests
MonitoringReports can be retained and integrated externallyReport-sink tests
TestingAdversarial, integration, property, compatibility testsCI matrix
SecurityDependencies, builds, published artifacts verifiableAudit + post-publish verification
DXStable, documented, intuitive APIsAPI docs and deprecation policy
MaintenanceRelease policy, deprecation strategy, contributionsMaintainer docs

Each version is a release train. Scope is frozen at the start; items move to the next train rather than expanding the current one.

VersionThemeBacklogBreaking?
2.9.1Ship merged hardening; prove provenancePR #38 fixes + first attested releaseNo
2.10.0Production correctnessPhase 1No (new APIs opt-in)
2.11.0Large data and performancePhase 2No
2.12.0Validation and statistical driftPhase 3No
2.13.0Reproducibility and operationsPhase 4No
2.14.0Testing and securityPhase 5No
3.0.0Ecosystem readinessPhase 6Possibly

If Phase 1 slips, split it into 2.10.0 and 2.10.1. Do not pull Phase 2 forward to hide incomplete correctness work.

Ship what is already merged, then verify the release pipeline end to end.

Deliverables:

  • [x] Version bump, changelog, and release documentation prepared for 2.9.1.
  • [x] Release the chunked-schema, uniqueness, missing-column, CI-matrix, and installed-wheel changes already on main.
  • [x] Confirm PyPI shows provenance for both the wheel and the sdist.
  • [x] Record the post-publication verification result in this roadmap.
  • [x] Clean-install 2.9.1 from PyPI in a fresh environment and run the CLI.

Post-publication verification (2026-11-11, release v2.9.1, published from main at aab2070):

CheckResult
PyPI artifactswheel sha256:d02a1fb2…, sdist sha256:f7c50cb1…
PyPI Integrity API (wheel)Provenance present; publisher GitHub / devlprkhan/universal-data-cleaner, workflow publish.yml
PyPI Integrity API (sdist)Provenance present; same publisher identity
gh attestation verify (wheel)Passed; signer publish.yml@refs/tags/v2.9.1, source commit aab2070
gh attestation verify (sdist)Passed; same builder identity
Clean install from PyPIPublished wheel installed in a fresh venv resolved from PyPI (pandas 3.1.1, NumPy 2.5.4, scikit-learn 1.9.1)
data-cleaner --versionReports data-cleaner 2.9.1
Installed-wheel smoke testFit/transform preserved row count, did not mutate the input, and produced the missing indicators

Why first: 2.9.0 predates the attestation workflow, so PyPI correctly shows no provenance for it. Verified on 2026-11-11: the PyPI Integrity API returns 404 for both the wheel and the sdist. This is expected, not a broken signature. 2.9.1 is the first release that proves provenance and closes the release-gate rehearsal before the larger 2.10.0.

Exit criteria:

  • [x] All Phase 1 items complete.
  • [x] Concurrent transform() calls return independent reports.
  • [x] Numeric precision and infinity/NaN policies tested at boundaries.
  • [x] Artifact writes are atomic and dependency compatibility is enforced.
  • [x] Chunked uniqueness tracking has a bounded/disk-backed mode.
  • [x] Full gate, pandas 3.x, minimum dependencies, installed wheel, and docs pass. Verified on PR #43 (2026-11-12): lint, typecheck, tests 3.10–3.13, compat (minimum, latest, pandas 3), build, installed wheel, docs, and ci-success.
  • [x] Post-publication provenance verification passes.

Post-publication verification (2026-11-12, release v2.10.0, published from main at a0759d6):

CheckResult
PyPI artifactswheel sha256:602e6e60…, sdist sha256:9bb95624…
PyPI Integrity APIProvenance present for both artifacts; workflow publish.yml
gh attestation verify (wheel)Passed; signer publish.yml@refs/tags/v2.10.0, source commit a0759d6
gh attestation verify (sdist)Passed; same builder identity and source commit
Clean install from PyPIFresh venv resolved 2.10.0 from PyPI (pandas 3.1.1, NumPy 2.5.4, scikit-learn 1.9.1)
Installed-wheel smoke testtransform_with_report, int64 preservation, exact 2^53 handling, disk uniqueness, report aggregation, and atomic save/load passed

Exit criteria:

  • [x] A reproducible benchmark suite covers 100K, 1M, and larger datasets.
  • [x] Peak RAM is measured separately from runtime.
  • [x] Ingestion, fit, transform, reporting, and validation are benchmarked separately.
  • [x] A supported chunked transformation workflow and report aggregation exist.
  • [x] A documented supported workload is derived from measurements.
  • [x] No performance claim appears without benchmark evidence.

Post-publication verification (2026-11-13, release v2.11.0, published from main at 392b1f8):

CheckResult
PyPI artifactswheel sha256:62cefc11…, sdist sha256:5ba28b7a…
PyPI Integrity APIProvenance present for both artifacts; workflow publish.yml
gh attestation verify (wheel)Passed; signer publish.yml@refs/tags/v2.11.0, source commit 392b1f8
gh attestation verify (sdist)Passed; same builder identity and source commit
Clean install from PyPIFresh venv resolved 2.11.0 from PyPI (pandas 3.1.1, NumPy 2.5.4, scikit-learn 1.9.1, PyArrow 26.0.1)
Installed-wheel smoke testtransform_with_report, transform_chunks aggregation, bare-frame rejection, int64 preservation, Parquet read and batch streaming, CSV streaming, and atomic save/load passed

Exit criteria:

  • [x] A custom validation protocol supports cross-column, conditional, and grouped rules.
  • [x] Reference-versus-current distribution comparison ships with PSI, Wasserstein distance, missingness deltas, and category deltas.
  • [x] Drift policies and thresholds are documented and reproducible.
  • [x] Failing-row diagnostics are bounded and privacy-safe.
  • [x] Historical batch comparison is available through a report sink.

Release gate: the full local gate (ruff, formatting, mypy, pytest, uv build, and strict MkDocs) passes. CI on the release PR must cover lint, typecheck, tests on 3.10–3.13, compatibility, build, installed wheel, docs, and ci-success before tagging. Post-publication provenance verification is recorded after the release.

Exit criteria:

  • [ ] Contracts have explicit versions and documented migration rules.
  • [ ] An exact content-integrity fingerprint complements the summary fingerprint.
  • [ ] Artifact integrity and runtime compatibility policies are verified.
  • [ ] Structured logging and stable error categories exist.
  • [ ] A report-sink interface ships with a JSON Lines implementation.
  • [ ] Serving and scheduled batch-processing guidance is documented.

Exit criteria:

  • [ ] Property-based and fuzz tests cover malformed and adversarial input.
  • [ ] Duplicate columns/indexes, unusual dtypes, timezones, and DST cases pass.
  • [ ] Serialization corruption and interrupted-write tests pass.
  • [ ] scikit-learn estimator checks pass or document deliberate differences.
  • [ ] Cross-platform CI covers every claimed platform.
  • [ ] Dependency audit and supply-chain review run in CI.

Only when the work requires a breaking change. Requires:

  • [ ] Stable public API and migration guides between releases.
  • [ ] Independently reviewed example pipelines and benchmark datasets.
  • [ ] Production case studies from real users.
  • [ ] More than one active maintainer.
  • [ ] A clear release, support, and deprecation policy.

Status legend: [ ] not started · [~] partially done · [x] done.

Execution tracker: Phase 1 complete and verified in 2.10.0. The checkboxes below are authoritative.

1. Verify actual PyPI provenance

  • [x] Add PEP 740 and GitHub provenance generation to the release workflow.
  • [x] Verify the published wheel and sdist attestations.
  • [x] Add post-publication verification as a release gate, not just a local file existence check.
  • [x] Verify GitHub build provenance against the repository and release artifact.

Verified on 2.9.1 (2026-11-11): both artifacts carry provenance from publish.yml@refs/tags/v2.9.1 at commit aab2070, and gh attestation verify passed for the wheel and sdist. Automating this check after publication remains open.

v2.9.0 has no provenance because it was published before the workflow existed. Verified on 2026-11-11 via the PyPI Integrity API (404 for both artifacts). Do not claim otherwise; prove it on the next release.

Verified again on 2.10.0 (2026-11-12): both PyPI artifacts carry provenance from publish.yml@refs/tags/v2.10.0 at commit a0759d6, and gh attestation verify passed for the wheel and sdist. Automating this check after publication remains open.

2. Make transformation reporting concurrency-safe

  • [x] Introduce a request-specific transformation result that returns the output frame and its drift report together.
  • [x] Eliminate reliance on the shared last-transform drift state for batch findings.
  • [x] Keep transform() backward compatible and document the concurrency contract.
  • [x] Add concurrent execution tests.

Target shape (name to be finalized in an ADR):

Python
cleaned, report = cleaner.transform_with_report(X_batch)

drift_report() remains available for the last call, but it is explicitly documented as per-instance state, not a concurrency-safe batch result.

3. Harden numerical correctness

  • [x] Detect precision loss in numeric conversions.
  • [x] Preserve integer and nullable integer dtypes where possible.
  • [x] Add explicit raise, warn, and coerce precision policies.
  • [x] Test infinity, NaN, very large integers, and boundary values around 2^53.

4. Harden artifact persistence

  • [x] Enforce artifact format and library-major compatibility.
  • [x] Implement atomic artifact writes: temp file, validation, os.replace, cleanup after failure.
  • [x] Enforce compatibility with the recorded runtime dependency environment.
  • [x] Define and document the compatibility policy.
  • [x] Test corruption, truncation, and interrupted writes.
  • [x] Keep the pickle trust boundary explicit; evaluate skops.io for untrusted artifacts. Evaluated for 2.10.0; not adopted in the 2.x line, and the trust boundary is documented in Artifacts.

5. Harden chunked ingestion

  • [x] Infer the schema once and reuse it across chunks.
  • [x] Check ColumnSpec(unique=True) within and across chunks.
  • [x] Bound memory used by cross-chunk uniqueness tracking.
  • [x] Add disk-backed tracking for high-cardinality identifiers.
  • [x] Aggregate chunk reports correctly.
  • [x] Define supported streaming semantics and their limits.

  • [x] Build a proper benchmark suite.
  • [x] Benchmark 100K, 1M, and larger realistic datasets.
  • [x] Test narrow and extremely wide DataFrames.
  • [x] Test high-cardinality categorical and identifier columns.
  • [x] Measure peak RAM, not just execution time.
  • [x] Benchmark ingestion, fit, transform, reporting, and validation separately.
  • [x] Identify unnecessary DataFrame copies.
  • [x] Add chunked transformation and aggregated reporting.
  • [x] Define a documented supported workload based on measured results.
  • [x] Add optional Parquet ingestion using PyArrow.

The suite lives in benchmarks/run_benchmarks.py and the results and guidance in Performance and large data. CI runs a 10K-row smoke matrix so the suite cannot silently rot. transform() no longer deep-copies its input. The reference run covered 42 cases (7 operations × 6 shape/size combinations) up to 2M rows; ingestion is cell-bound at ~150K cells/s, while transform holds 8.6–11M cells/s.

Do not publish speed claims until the benchmark results support them. Do not add partial_fit() by averaging chunk statistics. Exact medians and quantiles require a statistically correct global algorithm.

  • [x] Custom validation protocol.
  • [x] Cross-column expectations.
  • [x] Conditional rules.
  • [x] Grouped validations.
  • [x] Statistical distribution drift (PSI, Wasserstein, missingness, categories).
  • [x] Reference-data comparisons.
  • [x] Row-level diagnostics with bounded, privacy-safe sampling.
  • [x] Historical batch comparison.
  • [ ] Optional integration with Pandera and Evidently.

This remains an extensible validation layer, not a Pandera replacement.

  • [ ] Explicit contract versions and migration rules.
  • [ ] Exact content fingerprints.
  • [ ] Artifact integrity verification.
  • [ ] Runtime compatibility policies (completed in Phase 1 where applicable).
  • [ ] Atomic artifact persistence (completed in Phase 1 where applicable).
  • [ ] Aggregated batch reports.
  • [ ] Report-sink interface with JSON Lines as the reference implementation.
  • [ ] Structured logging and stable error categories.
  • [ ] Optional metrics integration.
  • [ ] Serving and scheduled batch-processing documentation.

  • [ ] Property-based testing with Hypothesis.
  • [ ] Fuzz testing malformed and adversarial CSV inputs.
  • [ ] Duplicate columns, duplicate indexes, and unusual pandas dtypes.
  • [ ] Timezone, daylight-saving, and ambiguous datetime tests.
  • [ ] Serialization compatibility and corruption tests.
  • [ ] scikit-learn check_estimator() / parametrize_with_checks().
  • [ ] Cross-platform CI where support is claimed.
  • [ ] Security scanning with tools such as pip-audit.
  • [ ] GitHub Actions dependency pinning and supply-chain review.
  • [ ] Test coverage reporting for critical modules.

  • [ ] Stable public API and deprecation policy (largely in place).
  • [ ] Migration guides between releases.
  • [ ] Compatibility documentation.
  • [ ] Independently reviewed example pipelines.
  • [ ] External contributor reviews.
  • [ ] Real-world benchmark datasets.
  • [ ] Production case studies.
  • [ ] More than one active maintainer.
  • [ ] Clear release and support policies.

Every release must pass these gates. A release is not “done” when the tag is created; it is done when the published artifacts are verified.

  • [ ] Scope matches the version in this roadmap.
  • [ ] Every behavior change has tests, including failure and boundary cases.
  • [ ] Performance work has benchmark evidence; no unsupported claims.
  • [ ] Public API changes have an ADR and a migration note.
  • [ ] Documentation matches behavior.

Terminal
uv run ruff check .
uv run ruff format --check .
uv run mypy
uv run pytest
uv build
uv run python docs/build.py

Plus, where applicable:

  • pandas 3.x suite;
  • minimum-dependency suite;
  • installed-wheel smoke test;
  • concurrency, property, fuzz, and security checks.

  • [ ] CHANGELOG.md updated and version bumped.
  • [ ] Distributions inspected.
  • [ ] Release notes reviewed.
  • [ ] Explicit maintainer approval.
  • [ ] Provenance files present for every artifact.

  • [ ] Verify PyPI attestations for the wheel and sdist.
  • [ ] Verify GitHub build provenance against this repository.
  • [ ] Clean-install from PyPI in a fresh environment.
  • [ ] Run data-cleaner --version, import checks, and a small workflow.
  • [ ] Record the result in the release notes and this roadmap.
  • [ ] Close the version’s tracking issue.

Verification commands:

Terminal
uvx "pypi-attestations==0.0.31" verify pypi \
  --repository https://github.com/devlprkhan/universal-data-cleaner \
  pypi:universal_data_cleaner-<version>-py3-none-any.whl
 
gh attestation verify universal_data_cleaner-<version>-py3-none-any.whl \
  --repo devlprkhan/universal-data-cleaner

This is the operating loop for every version. No release skips a step.

  1. Open a tracking issue from the version section and copy its checklist.
  2. Freeze scope. Anything new goes to the next version.
  3. Write an ADR for public API or behavior changes.
  4. Implement one backlog item at a time, with tests.
  5. Prove it with benchmarks, concurrency tests, or adversarial input as the item requires.
  6. Update docs and changelog in the same PR.
  7. Run the full gate locally and in CI.
  8. Merge only when green, then prepare the release.
  9. Publish only with explicit approval, then run the post-publish gate.
  10. Record the result and close the tracking issue.

Rules:

  • Do not mix unrelated feature work into a hardening release.
  • Do not weaken a check to make a release pass; fix the cause.
  • Do not claim production readiness without evidence in the repository.
  • Keep the core dependency set light: pandas, NumPy, scikit-learn, joblib. Optional capabilities belong in extras.

Study these for their engineering standard; do not copy their scope.

ProjectWhat to learn from itUse here as
PanderaRich, extensible schemas and lazy validationValidation API reference
Feature-enginesklearn-compatible transformation designTransformer conventions
scikit-learnEstimator checks, pipelines, compositionCompatibility target
Great ExpectationsPersistent results and checkpointsOperational inspiration
EvidentlyStatistical drift and data-quality metricsDrift methodology
PolarsLazy and streaming executionPerformance reference
DaskLarger-than-memory executionBoundary reference
skops.ioSafer model serializationArtifact security option

Optional integrations are opt-in extras, never core dependencies.


VersionThemeStatus
2.9.1Ship merged hardening; prove PyPI and GitHub provenanceShipped
2.9.0Reliability hardening across contracts, joins, artifacts, clipping, ingestion, and API docsShipped
2.8.0Excel ingestion on the same IngestionReport modelShipped
2.7.0CleanerReport and the data-cleaner audit CLIShipped
2.6.0Safe CSV ingestion with contract-driven coercionShipped
2.5.0Train/test split and leakage auditShipped
2.4.0Expectations, join diagnostics, integrity, and audited dedupShipped
2.3.0Decision log, manifest, and fingerprintsShipped
2.2.0Typed src/ package, py.typed, CI quality gatesShipped
2.1.0Contracts, drift guard, and identifier protectionShipped

See the changelog for details.


Current release: 2.11.0 — shipped and provenance-verified on 2026-11-13. See the verification table in section 5.

Next release: 2.12.0 — Phase 3, validation and statistical drift: a custom validation protocol with cross-column and conditional rules, PSI and Wasserstein drift, reference comparisons, and privacy-safe row diagnostics.

The strategic rule stands: do not add another twenty cleaning capabilities. Prove that the capabilities already shipped behave reliably under demanding conditions.

The standard to meet:

A developer can feed Universal Data Cleaner an unfamiliar, messy tabular dataset, explicitly define its expectations, process it safely, inspect every important decision, reproduce the result, and confidently pass the cleaned output into an ML pipeline.