Skip to content

Fit optional native Score cuts and Choice weights on calibration - #101

Merged
CompleteDotTech merged 1 commit into
mainfrom
feat/native-calibration-policy
Oct 3, 2026
Merged

CompleteDotTech merged 1 commit into
mainfrom
feat/native-calibration-policy

Conversation

@CompleteDotTech

Copy link
Copy Markdown
Contributor

Flat compilation can now opt in to native Score cuts and Choice selection weights with --fit-decision-knobs. Fitting uses cached calibration predictions, five group-preserving held-out folds, bounded positive weights and ordered scale-bounded cuts; conservative ties/failures keep an explicit unchanged result. The default compilation path is unchanged. Raw native probabilities, Noul P(true), vendor confidence and selected-outcome gate provenance remain distinct. Hierarchy rejects this unsupported opt-in before backend construction.

Closes #92. Native fitting decision was approved and recorded on #95/#92; #95 is closed. Existing serialized artifacts retain their payloads and checksums. Schemas, inspect output and docs are updated; no measured gain is claimed.

Validation: independent review passed, 22 focused policy tests; full installed-DSPy-3.3.1 suite 640 passed, zero skipped; whole-tree Ruff passed. Wheel/sdist built, 49 package/starter files and four entrypoints verified; fresh installed-wheel flat/hierarchy demos and synthetic study register/select/test/report passed outside checkout with zero provider calls and no DSPy/GEPA runtime imports. Synthetic fitted artifact roundtrip/raw-probability checks passed.

Retained earlier verification failures: an interrupted mutable-root run; a nested replay identity failure while concurrent build created package metadata. Stable post-build causal test and full suite passed. Initial wheel study attempts mixed incompatible fixtures and correctly rejected; final complete fixture passed. Hosted exact-head checks remain required before merge.

@CompleteDotTech
CompleteDotTech merged commit aa44827 into main Oct 3, 2026
10 checks passed
@CompleteDotTech
CompleteDotTech deleted the feat/native-calibration-policy branch October 3, 2026 13:03
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.

Fit Score cuts and Choice weights on the calibration split (only Noul thresholds are fitted today)

1 participant