Skip to content

Loop 78: Bulk rejection-event validator - #764

Merged
cschanhniem merged 1 commit into
mainfrom
feat/loop-78-bulk-rejection-validator
Jul 9, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
feat/loop-78-bulk-rejection-validator

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Change

Bulk rejection-event validator CLI — reads a JSON list of rejection events, validates each rejection_code against the rejection taxonomy, checks required fields, outputs PASS/FAIL validation report with per-event errors.

Why

F8 in the negative-result infrastructure stretch (Phase F). Enables machine-checkable validation of rejection events before they enter the bulk rejection pipeline. Makes failure data reviewable at scale.

Evidence

  • 26 new pytest tests passing
  • make agent-check all checks pass
  • make validate-rejection-events runs against example data
  • 2849 total tests collected

Safety impact

None. Validates structural correctness of rejection events, not biological claims. A PASS result confirms valid fields and known rejection codes, not correctness of rejection decisions. Fail-closed on missing/invalid input.

Proof level

N/A — infrastructure only. No scientific claims affected.

Limitations

  • Validates structural correctness, not biological truth
  • Unknown rejection codes may indicate stale taxonomy rather than invalid event
  • Does not enforce downstream adoption of rejection taxonomy

Human review needed

No

@cschanhniem
cschanhniem merged commit a2a7cf9 into main Jul 9, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant