Commit 3bae4a8
Cover the unprovisioned-model category and fix a wrong annotation
Greptile (5/5, safe to merge) named the two gaps on this PR.
UPSTREAM_MODEL_UNAVAILABLE had no tests. It is the taxonomy's most dangerous
silent failure -- unclassified, a model that is configured but not deployed
makes every call 404, the agent writes no answer, and each case is recorded as
an informative task failure, i.e. the harness scoring the candidate down for a
model that does not exist. Tests now pin the provider error codes it matches,
its terminating/not-a-sample/counts-toward-invalidity policy, and the
deliberate narrowness: a bare "does not exist" must stay unmatched, or it would
swallow "loading container: file does not exist".
load_build was annotated `-> dict` while returning `(dict, Path)`; the caller
unpacks two values. Corrected rather than merely added.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 19e03b4 commit 3bae4a8
2 files changed
Lines changed: 40 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
23 | 62 | | |
24 | 63 | | |
25 | 64 | | |
| |||
0 commit comments