Skip to content

Validate final routing policies and harden artifact loading - #89

Merged
adrida merged 1 commit into
mainfrom
fix/policy-validation
Sep 29, 2026
Merged

adrida merged 1 commit into
mainfrom
fix/policy-validation

Conversation

@adrida

@adrida adrida commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Check the selected routing policy once on untouched data, including its OOD filter, before publishing it. Reject missing or corrupt required OOD artifacts and preserve the previous generation if fitting or publication raises an exception.

A completed fit that does not pass certification publishes a null-policy manifest. The documentation explains that behavior, separate-directory promotion, teacher agreement, and the existing prediction API. Examples and scan-report wording are corrected accordingly.

The README introduces task-specific ML students, direct label prediction and teacher fallback before the API details. It distinguishes acceptance-policy deferral from OOD rejection, while preserving the two-value response schema, independent final-policy check and statistical limitations.

Validation: 71 tests passed with two optional skips; 12 final-policy safety checks and 11 scan/report checks passed again. Documentation examples, API arguments and local links were checked. The scan algorithm and prediction response schema are unchanged.

@adrida
adrida force-pushed the fix/policy-validation branch 4 times, most recently from 31502d5 to 8de81bc Compare September 29, 2026 17:54
Reserve independent final-policy data, validate required OOD artifacts and stage artifact publication with rollback on exceptions. Update API documentation, examples and diagnostic reports to match serving behavior.
@adrida
adrida force-pushed the fix/policy-validation branch from 8de81bc to 2281840 Compare September 29, 2026 18:06
@adrida
adrida merged commit 28de14f into main Sep 29, 2026
6 checks passed
@adrida
adrida deleted the fix/policy-validation branch September 29, 2026 18:10
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