refactor: updates to quality QA mechanics to improve utility#171
refactor: updates to quality QA mechanics to improve utility#171asteier2026 wants to merge 5 commits into
Conversation
Greptile SummaryThis PR refactors the quality/QA mechanics in the rewrite pipeline: it introduces a dedicated
Confidence Score: 5/5Safe to merge; the new generalization workflow is well-isolated behind required_columns dependency declarations and degrades gracefully when no generalize entities exist. The pipeline wiring is correct, all new code paths have explicit fallbacks (empty dict defaults, src/anonymizer/engine/rewrite/generalization_suggestions.py — the Important Files Changed
|
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
|
I think making utility QA aware of generalization and suppress-inference makes a lot of sense. I do have a concern that I tried a disposition-only stress probe on two high-entity trace records:
So I’m worried this field will be fragile in exactly the long/high-entity cases where rewrite already struggles. Thoughts on moving this into a narrower follow-up protection-planning step that runs only for entities marked Aside from the big design question above, I think this PR needs two fixes to truly work.
|
Changes include: