Skip to content

gh-ruff-area

The answer is used to label an issue with its area, only when sure. Objective: coverage at 95% accuracy, because the area decides who looks at the issue, so a wrong label sends it to the wrong person.

Measured 2026-11-23 on 361 labeled development cases. Source: GitHub issues of astral-sh/ruff (labels applied by maintainers).

The question asked (choice)

Which part of Ruff (a Python linter and formatter) does this issue concern?

  • linter: Lint rules, their fixes, suppression comments (noqa), import sorting, docstring checks, diagnostics or preview rules.
  • formatter: The code formatter: how formatted code looks.
  • server: The language server (LSP) and editor integration.
  • configuration: Settings, the command-line interface, or selecting which rules are enabled.
Candidate coverage at 95% accuracy accuracy (all) macro-F1 AUROC Brier score ECE accepted accuracy p50 latency p90 latency API cost / 10k
d1.2-ultra = 89% [86, 92] 91% 0.904 0.986 0.136 0.056 94% 145 ms 389 ms $0.17
drex-max-1.1@vercel = 89% [86, 92] 92% 0.916 0.985 0.128 0.021 95% 338 ms 425 ms $0.14
decider-1.3@vercel = 89% [86, 93] 91% 0.902 0.985 0.140 0.032 94% 369 ms 507 ms $0.09
drex-max@openrouter = 88% [84, 91] 91% 0.899 0.986 0.135 0.026 95% 230 ms 324 ms $0.28
mammoth@openrouter = 87% [83, 90] 90% 0.900 0.987 0.141 0.018 95% 187 ms 241 ms $0.47
mo@vercel = 87% [83, 90] 90% 0.897 0.987 0.146 0.043 95% 337 ms 422 ms $0.19
decider@openrouter = 87% [83, 90] 92% 0.909 0.985 0.136 0.022 94% unknown unknown $0.09
d1-ultra@openrouter = 85% [81, 89] 90% 0.895 0.988 0.143 0.030 95% 232 ms 386 ms $0.17
bison@openrouter = 85% [81, 88] 89% 0.875 0.987 0.150 0.019 95% 238 ms 397 ms $0.49
span@openrouter = 83% [79, 87] 89% 0.876 0.982 0.172 0.048 95% 194 ms 267 ms $0.05
reflex@openrouter = 82% [78, 86] 91% 0.906 0.987 0.155 0.057 95% 249 ms 286 ms $0.20
clef-omni@openrouter 77% [72, 81] 89% 0.868 0.976 0.174 0.050 94% 181 ms 217 ms $0.76
jev:1.14 76% [72, 81] 85% 0.829 0.976 0.202 0.067 95% 110 ms 140 ms ~$0.29
gemini-decision@google 76% [72, 81] 86% 0.859 0.986 0.182 0.025 95% 265 ms 375 ms ~$0.49
decision-1.1@openrouter 76% [71, 80] 91% 0.910 0.981 0.163 0.055 95% 223 ms 255 ms $0.18
d1.1@openrouter 75% [71, 80] 87% 0.865 0.982 0.187 0.035 95% 297 ms 503 ms $0.08
clef-flash@openrouter 75% [70, 79] 88% 0.857 0.972 0.187 0.028 93% 277 ms 524 ms $0.13
decision-1@openrouter 74% [70, 79] 87% 0.860 0.977 0.188 0.055 96% 232 ms 301 ms $0.17
luna@decisions 73% [69, 78] 88% 0.877 0.975 0.193 0.065 95% 185 ms 350 ms ~$0.47
groundhog@openrouter 73% [68, 77] 85% 0.825 0.978 0.210 0.037 95% 228 ms 313 ms $0.17
elephant@openrouter 71% [66, 76] 86% 0.841 0.976 0.203 0.041 95% 167 ms 189 ms $0.16
heygen-decision@openrouter 71% [66, 76] 85% 0.843 0.980 0.230 0.073 94% 312 ms 617 ms $0.50
d1.2 70% [66, 75] 86% 0.852 0.983 0.204 0.051 96% 112 ms 168 ms $0.08
kev@openrouter 70% [65, 75] 81% 0.778 0.968 0.282 0.161 94% 644 ms 920 ms $0.16
clef@openrouter 69% [65, 74] 86% 0.852 0.976 0.211 0.049 95% 298 ms 729 ms $1.10
decider-flash@openrouter 68% [63, 73] 86% 0.847 0.975 0.223 0.057 95% 137 ms 166 ms $0.05
joey@openrouter 36% [31, 41] 78% 0.718 0.937 0.315 0.029 92% 165 ms 189 ms $0.05

= marks the candidates whose interval reaches the best one's: the objective cannot tell them apart, so they are not ranked against each other. Rows start best first, then faster, then cheaper; select a column heading to sort by it. Accuracy (all) reads every answer at its most likely option, without the objective's threshold; accuracy (task rule) reads them with the objective's threshold. Accepted accuracy is the accuracy of the answers above the coverage threshold. Lower is better for latency, cost, ECE, Brier score, MAE, loss, false alarms and refusals.

Open the full comparison with the probability curves and a trade-off chart, or download comparison.json.