Repository navigation
feat(routing): emit true-θ̂ RMSE and persist effort snapshots #650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
eb428a5
feat(routing): add role reasoning-effort profiles and equal-budget ab…
cursoragent 2a5456e
feat(routing): attach opt-in reasoning-effort snapshot on route and c…
cursoragent cb4a026
docs: note opt-in reasoning-effort snapshot in CHANGELOG
cursoragent a1ab71e
feat(routing): emit true-θ̂ RMSE and persist effort snapshots
cursoragent 1e5e60c
chore: re-trigger product gates (Full unit + Semgrep) after concurren…
seonghobae File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to this project are documented in this file. | ||
|
|
||
| The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), | ||
| and this project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
|
||
| ## [Unreleased] | ||
|
|
||
| ### Added | ||
|
|
||
| - Versioned `reasoning_effort_profile` catalog (issue #568) with fail-closed | ||
| parse, per-role bindings, replayable snapshot hash, and an equal-budget | ||
| true-θ RMSE ablation that emits θ̂ and RMSE(θ̂, θ). Sampling temperature | ||
| is not reasoning effort. Production route/conduct defaults stay locked | ||
| until `production_default_change_allowed` is true. | ||
| Next action: run `python tests/test_reasoning_effort_profile.py` and keep | ||
| live defaults unchanged while the gate is false. Pass | ||
| `role_effort_catalog=default_role_effort_catalog()` to attach the same | ||
| `reasoning_effort_snapshot` on `complete`, `run`, `stream_route`, and | ||
| `batch_route`; omit it to keep today's payload. | ||
|
|
||
| ### Fixed | ||
|
|
||
| - Reject missing profiles, blank `profile_version`, and fractional seeds. | ||
| Snapshot hashing now fails closed on extra or missing roles. The | ||
| production-default gate returns false on junk reports and on | ||
| `measurement_status=estimated`. Access-list scope is a real ablation | ||
| factor, not a duplicate label. | ||
|
|
||
| ### References | ||
|
|
||
| - Sakana AI. (2026). *Sakana Fugu Technical Report*. | ||
| https://github.com/SakanaAI/fugu/blob/main/Fugu_technical_report.pdf | ||
| - Xu, J., Sun, Q., Schwendeman, P., Nielsen, S., Cetin, E., & Tang, Y. (2025). | ||
| *Trinity: An evolved LLM coordinator* (arXiv:2512.04695). | ||
| https://arxiv.org/abs/2512.04695 | ||
| - Nielsen, S., Cetin, E., Schwendeman, P., Sun, Q., Xu, J., & Tang, Y. (2025). | ||
| *Learning to orchestrate agents in natural language with the Conductor* | ||
| (arXiv:2512.04388). https://arxiv.org/abs/2512.04388 | ||
| - Baker, F. B. (2001). *The basics of item response theory* (2nd ed.). | ||
| ERIC Clearinghouse on Assessment and Evaluation. | ||
| https://eric.ed.gov/?id=ED458219 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
runandbatch_routecall_store.saveafter_with_effort_snapshot.stream_routeonly writes_workflow_runs. With--state-db, a process restart drops the streamed run and itsreasoning_effort_snapshotwhile route/batch snapshots survive.Persist this record when
self._store is not None, same as the other two paths this slice claims to keep.Landed on #662.