Repository navigation
feat(runner): expose N-way decision policies in configs and docs - #1014
Open
nachiketb-nvidia wants to merge 1 commit into
Open
nachiketb-nvidia wants to merge 1 commit into
nachiketb-nvidia wants to merge 1 commit into
Conversation
|
nachiketb-nvidia
force-pushed
the
nachiketb/feat-decision-cutoff-policy
branch
from
October 16, 2026 00:17
8482fdf to
e12b2ea
Compare
nachiketb-nvidia
force-pushed
the
nachiketb/feat-decision-policy-config
branch
from
October 16, 2026 00:18
47b19fa to
917a399
Compare
nachiketb-nvidia
force-pushed
the
nachiketb/feat-decision-cutoff-policy
branch
from
October 19, 2026 15:22
e12b2ea to
8802008
Compare
nachiketb-nvidia
force-pushed
the
nachiketb/feat-decision-policy-config
branch
from
October 19, 2026 15:23
917a399 to
99f2ffc
Compare
nachiketb-nvidia
force-pushed
the
nachiketb/feat-decision-cutoff-policy
branch
from
October 19, 2026 15:39
8802008 to
4dbbd9e
Compare
nachiketb-nvidia
force-pushed
the
nachiketb/feat-decision-policy-config
branch
from
October 19, 2026 15:39
99f2ffc to
eb952bf
Compare
Signed-off-by: nachiketb <nachiketb@nvidia.com>
nachiketb-nvidia
force-pushed
the
nachiketb/feat-decision-policy-config
branch
from
October 19, 2026 15:53
eb952bf to
ae76df2
Compare
nachiketb-nvidia
force-pushed
the
nachiketb/feat-decision-cutoff-policy
branch
from
October 19, 2026 15:53
4dbbd9e to
93e8fba
Compare
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Stack and Review Order
This PR targets
nachiketb/feat-decision-cutoff-policy. Merge #1013 first, then rebase/retarget this PR ontomain.What and Why
Expose the core policy from #1013 through standalone N-way TOML routes and migrate the shipped examples. Every candidate becomes an available completion destination; decision judges no longer need a strong/weak pair. Ordinary LLM judges still require their pair, and composite/stage routes retain their two-tier boundary.
All auxiliary deployment/configuration documentation from #1013 is moved here. The assembled stack keeps the same routing implementation.
What Changed
strong_targetandweak_targetare optional for those routes.dev-server/config.tomlmigrates its composite decision judge topolicy.rulesand an explicit fallback.benchmark/routing-profiles/tb21-jev-opus-glm.tomlmigrates the Jev task route. Its instructions are retained. The example 0.05 cutoff carries a recalibration warning; no new benchmark result is claimed.The TypeScript fixture migration is in #1013 because its existing tests must pass with the core API change. Other composite TOMLs use ordinary/custom LLM judges and do not need migration.
N-way Configuration
Assume completion targets
strong,medium, andweak, and decision targetjudge, are already configured:Each rule checks and selects the same candidate. The fallback is used when no rule matches or the verdict is unavailable. Provider errors propagate with
fail_open = false, or select the fallback when true. Every candidate needs a valid score, and all scores come from one judge call.The same configuration shape supports more candidates. Evaluate thresholds on the intended workload. Candidate-choice probabilities are not calibrated task-success probabilities and do not preserve the old relative-advantage cutoff semantics.
What to Review
Validation
No new test functions/files or dependencies. No paid provider calls. CI is not being awaited.
Diff Size