Skip to content

feat: Phase K K1 candidate selection rationale schema -- CSR- auditable selection with calibration gate enforcement - #862

Merged
cschanhniem merged 1 commit into
mainfrom
feat/k1-candidate-selection-rationale
Jul 10, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
feat/k1-candidate-selection-rationale

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Summary

  • CandidateSelectionRationale: 12 fields, auditable record of why candidates were selected for a batch
  • 12 validation rules: CSR- prefix, pipeline_version+batch_id non-empty, BSP- prefix, ISO date, strategy vocab (4: exploit/explore/diversity/mixed), candidate_count ≥1, count/ids consistency check, ranking_method vocab (6 values), calibration_gate_passed=True enforced, rationale non-empty and ≤400 chars, notes ≤300 chars
  • 3 warnings: large batch (>20), random_balanced without notes, expert_review without notes
  • 63 tests; BASELINE 5603->5666
  • CLI: openamp-foundry candidate-selection-rationale-check
  • Implements Phase K K1 — enforces calibration→selection dependency and makes selection decisions auditable

…le selection decisions with calibration gate enforcement and strategy/method vocabulary
@cschanhniem
cschanhniem merged commit fc4d57f into main Jul 10, 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