paper-with-me

홈 › Papers

Triage: Routing Software Engineering Tasks to Cost-Effective LLM Tiers via Code Quality Signals

2026-04-08 · Lech Madeyski arxiv

Context: AI coding agents route every task to a single frontier large language model (LLM), paying premium inference cost even when many tasks are routine. Objectives: We propose Triage, a framework that uses code health metrics -- indicators of software maintainability -- as a routing signal to assign each task to the cheapest model tier whose output passes the same verification gate as the expensive model. Methods: Triage defines three capability tiers (light, standard, heavy -- mirroring, e.g., Haiku, Sonnet, Opus) and routes tasks based on pre-computed code health sub-factors and task metadata. We design an evaluation comparing three routing policies on SWE-bench Lite (300 tasks across three model tiers): heuristic thresholds, a trained ML classifier, and a perfect-hindsight oracle. Results: We analytically derived two falsifiable conditions under which the tier-dependent asymmetry (medium LLMs benefit from clean code while frontier models do not) yields cost-effective routing: the light-tier pass rate on healthy code must exceed the inter-tier cost ratio, and code health must discriminate the required model tier with at least a small effect size ($\hat{p} \geq 0.56$). Conclusion: Triage transforms a diagnostic code quality metric into an actionable model-selection signal. We present a rigorous evaluation protocol to test the cost--quality trade-off and identify which code health sub-factors drive routing decisions.

📄 PDF Abstract BibTeX arXiv:2604.07494

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SWE-Router: Routing in Multi-turn Agentic Software Engineering Tasks

2026-06-30 · Seongho Son, Sangwoong Yoon, Jiahua Tang, Shuhan Wang 외 arxiv

Large language models (LLMs) embedded in multi-turn agentic harnesses are reshaping software engineering (SWE), but routing every task to a frontier model is wasteful when many issues admit cheap fixes. Existing LLM rout…

DeepTriage: Automated Transfer Assistance for Incidents in Cloud Services

2020-11-25 · Phuong Pham, Vivek Jain, Lukas Dauterman, Justin Ormont 외

As cloud services are growing and generating high revenues, the cost of downtime in these services is becoming significantly expensive. To reduce loss and service downtime, a critical primary step is to execute incident …

BIG-bench Machine LearningClustering

CASTER: Breaking the Cost-Performance Barrier in Multi-Agent Orchestration via Context-Aware Strategy for Task Efficient Routing

2026-01-27 · Shanyv Liu, Xuyang Yuan, Tao Chen, Zijun Zhan 외 arxiv

Graph-based Multi-Agent Systems (MAS) enable complex cyclic workflows but suffer from inefficient static model allocation, where deploying strong models uniformly wastes computation on trivial sub-tasks. We propose CASTE…

Routesplain: Towards Faithful and Intervenable Routing for Software-related Tasks

2025-11-12 · Adam Štorek, Vikas Upadhyay, Marianne Menglin Liu, Daniel W. Peterson 외 arxiv

LLMs now tackle a wide range of software-related tasks, yet we show that their performance varies markedly both across and within these tasks. Routing user queries to the appropriate LLMs can therefore help improve respo…

Code Generation

SastBench: A Benchmark for Testing Agentic SAST Triage

2026-01-06 · Jake Feiglin, Guy Dar arxiv

SAST (Static Application Security Testing) tools are among the most widely used techniques in defensive cybersecurity, employed by commercial and non-commercial organizations to identify potential vulnerabilities in soft…