Repository navigation
swe-router 0.2.0: route on a six-question rubric - #227
Merged
Merged
Conversation
The changes reviewed and approved in #226, which merged into its stacked base branch rather than main. The tree is identical to #226's head. The skill answers the six questions in rubric.md about the task, and route.py turns the answers into a difficulty bucket (from four answers) and a required quality (from blast radius and verification), then picks the cheapest permitted model whose mean benchmark score in that bucket clears it. It skips any model that failed a benchmark task in the bucket, reads the next harder bucket when the benchmark has none for the task's, and keeps the developer on their model when confidence is low. --tier/--floor still work for one release. models.json moves to schema 2.0 with score_by_difficulty and completion_by_difficulty, built from the v2 Opus 5.5 rubric pass. rubric.md and routing-policy.json move into vend/swe-router/; the installer ships both, keeps an edited policy on upgrade, and refuses to install without python3 3.8+. SKILL.md names no measured model. The workflow slide, its PNG, the ASCII diagram and both READMEs describe the new flow, and docs/swe-router-how-it-works and docs/swe-router-rubric-scores explain it. On the 21 v2 tasks against claude-opus-5 on everything: 74.7% saved for -3.22 points and 4 tasks below the bar, where the previous skill gave 70.5%, -5.06 and 9.
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.
Re-lands #226 on
main. #226 merged into its stacked base branch (bench/cli-cli-set-a) before #225 merged, so GitHub never retargeted it and its changes did not reachmain.This branch applies the same diff to
main; the resulting tree is identical to #226's reviewed head (af3eb85). See #226 for the summary, the measured effect and the review.Test plan
git diff --cached --quiet af3eb85)uv run python -m unittest discover -s tests: 671 tests OKbuild_vended_models.py --checkpasses