Repository navigation
feat: allow suppressing sample ID previews - #12
Conversation
|
Thanks @uuzzrm — this is well aligned with #5, and the first static review confirms the change keeps ID-preview suppression presentation-only while retaining IDs in the semantic sample hashes. I’m holding the final review until the repository’s hosted Python 3.11–3.13 CI is approved and runs for this first-time contributor branch. After that, I’ll verify the matrix and complete the maintainer review. |
seva9523
left a comment
There was a problem hiding this comment.
Reviewed the implementation and hosted CI evidence. The privacy opt-out changes presentation only, preserves semantic digests and default behaviour, includes focused tests and documentation, and passes the Python 3.11–3.13 quality matrix.
|
Thanks @uuzzrm — this has been reviewed and squash-merged as |
Problem
Manifests include compact previews from the configured sample ID field. Those values can expose customer, document, case, or benchmark identifiers even though the manifest otherwise avoids raw sample records.
Change
Add
--no-id-previewto both built-in snapshot commands:evalrepro snapshot jsonl ... --no-id-previewevalrepro snapshot inspect ... --no-id-previewThe option emits an empty preview while leaving IDs in the normalised samples, ordered/unordered sample digests, and field digests. The default remains unchanged.
Evidence
docs/privacy.md.ruff format --check .ruff check .mypy src/evalrepropytest --cov=evalrepro— 54 passed, 96.22% total coverageAI-assisted development
I used a coding agent to help implement and test this change. I reviewed the diff and ran the full project formatting, lint, type-check, and offline test suite locally.