CodeTriage
A repair LLM proposes edits to failing programs, unit tests score each revision, and a small learned policy picks which pending edit across the whole repair tree to try next.
In one paragraph
CodeTriage (2026) pairs Qwen3-Coder-30B-A3B-Instruct for training trees with Unit-test sandbox plus a frontier-wide best-first search ordered by a learned 0.6B priority model (verifier-guided repair). On held-out repair trees, fixes take 11.54 expansions on average versus 14.59 for AB-MCTS (21% fewer) and 12% fewer output tokens than REx. Limit: tested only on Python competitive-programming tasks, mostly by replaying precomputed repair trees.
Verified against primary sources on · It matched its sources.
How does CodeTriage work?
- Proposes
Proposed edits (with diagnoses) for programs that fail tests, each expanded into a revised program
- Judged by
Unit-test execution of each revised program (pass rate and test output)
- Steers
A 0.6B priority model reads test output, diagnosis and edit text, predicts steps-to-fix, and orders the whole frontier of pending edits for the next expansion
What did CodeTriage report?
On held-out repair trees, fixes take 11.54 expansions on average versus 14.59 for AB-MCTS (21% fewer) and 12% fewer output tokens than REx; trained only on Qwen3-Coder-30B trees, it has the best budget-averaged success for each of 11 unseen repair LLMs.
What does CodeTriage not prove?
Tested only on Python competitive-programming tasks (KodCode: Codeforces, TACO, CodeContests, APPS), mostly by replaying precomputed repair trees; the policy only reorders edits the proposer already made, and repository-scale repair is untested.
What a pass means here
The judge is a test, benchmark or score, so a pass means the candidate did well on those checks, not that it is right on every input. The loop runs each time an answer is needed.
See how this kind of check sits among the others: how to validate LLM output with code.
How it generalizes the harness
Search, not the LLM, decides which repair branch receives the next generation and test run.
Classification
| Classification dimension | Verified value |
|---|---|
| What it proposes | Code patch |
| Generative model | Qwen3-Coder-30B-A3B-Instruct for training trees; 11 other repair LLMs for transfer |
| Algorithmic authority | Unit-test sandbox plus a frontier-wide best-first search ordered by a learned 0.6B priority model |
| Feedback | Test results |
| What gets updated | Search tree |
| When it runs | At inference time |
| Validity | Empirical (measured) |
| Evidence | Experiments reported |
| Lineage | Original system |