Propose automated fixes for failed Data Quality checks (impute, normalize, dedupe) and provide a safe preview + confidence score
Deliverables
- repair-suggester service (Python)
- web preview showing proposed diffs and confidence
- Unit tests for strategies and safety rollbacks
Starter tasks
- collect sample failing records and failure types
- implement basic strategies: mean/median imputation, fill-forward, trim whitespace, normalize case, dedupe by key
- compute confidence heuristics (matching ratios, value distributions)
- implement preview/diff generation and rollback guard
hi sir I’ve reviewed the issue and have an idea for the fix. I’d like to work on this. Please assign it to me.
Hi @PubChimps, I've reviewed the issue and the deliverables. I would like to work on this.
Hi @PubChimps , this looks like a substantial main-track paradox (new Python service + UI preview + tests), probably more suited for me. I'd love if you assign this to me and appreciate the pointer there. Thanks!
Hi @PubChimps , I'd love to take ownership of this issue!
I have a clear implementation plan in mind:
For the repair-suggester service (Python):
- Build it as a standalone Python module under
ingestion/src/metadata/data_quality/repair/following the existing connector/workflow patterns in the ingestion framework - Strategy classes using an abstract base
RepairStrategywith concrete implementations forMeanMedianImputer,FillForwardStrategy,WhitespaceTrimmer,CaseNormalizer, andDeduplicatorByKey - Each strategy will expose a
confidence_score()method using value distribution matching ratios and null-fill heuristics
For the web preview (UI diff):
- A React component under
openmetadata-uithat renders a before/after diff table with color-coded changes - Confidence score badge (green/yellow/red) per suggested fix
- A rollback guard that stores the original snapshot before any patch is applied, ensuring safe one-click revert
For tests:
- Unit tests for each repair strategy with edge cases (all-null columns, mixed types, duplicate keys)
- Safety rollback tests ensuring original state is always recoverable
I'm confident this will integrate cleanly with OpenMetadata's existing Data Quality framework (TestSuite, TestCase, TestCaseResult entities) and the ingestion workflow lifecycle. Would love to be assigned — I'll have a draft PR up quickly!