Datasets:
All nine systems on all 1,710 questions; per-family results and figures
Browse files- README.md +73 -74
- _cx_10.json +286 -0
- _cx_v11.json +286 -0
- _laya.json +143 -0
- _perfam.md +21 -0
- accuracy-vs-latency.png +3 -0
- by-decision-type.png +3 -0
- rebuild.py +166 -0
README.md
CHANGED
|
@@ -15,101 +15,100 @@ size_categories:
|
|
| 15 |
|
| 16 |
# this-that-complex-decisions
|
| 17 |
|
| 18 |
-
1,710 decisions
|
| 19 |
-
|
| 20 |
-
the state, and which one is not readable from any single column.
|
| 21 |
|
| 22 |
```
|
| 23 |
-
1,710 questions 19
|
| 24 |
```
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
| gate | what it rejects |
|
| 30 |
-
|---|---|
|
| 31 |
-
| **rule-dependent** | hold the state, change the policy — if the answer does not move, the question measures arithmetic, not a decision |
|
| 32 |
-
| **no single attribute** | for every numeric column, an oracle that simply takes that column's best candidate must score near chance. A "trade-off" one column predicts is a lookup in costume |
|
| 33 |
-
| **shallow** | an oracle that applies only the first rule must also be near chance, or the later rules are decoration |
|
| 34 |
-
|
| 35 |
-
The gates have teeth: on the eight trade-off structures the best single-column oracle scores
|
| 36 |
-
0.00–0.22 against a chance rate of 0.20, while a deliberately easy control family — one option
|
| 37 |
-
dominates in every scenario — scores 0.78. The check is measuring something.
|
| 38 |
|
| 39 |
## What is in a row
|
| 40 |
|
| 41 |
```json
|
| 42 |
{"id": "authority_conflict-0000",
|
| 43 |
"family": "authority_conflict",
|
| 44 |
-
"state": "candidates:\n staff-02:\n skill_match_pct: 87\n ...",
|
| 45 |
"question": "Who takes the shift?",
|
| 46 |
"options": ["staff-02", "staff-04", "staff-01", "leave the shift unfilled"],
|
| 47 |
"answer_index": 1,
|
| 48 |
"n_options": 4}
|
| 49 |
```
|
| 50 |
|
| 51 |
-
Score
|
| 52 |
-
that is the rule every number below was produced under.
|
| 53 |
-
|
| 54 |
-
## Measured
|
| 55 |
-
|
| 56 |
-
Every system answers under the same contract: the state, the question, the declared options, one
|
| 57 |
-
answer read back. A system that returns nothing is scored wrong, not excused.
|
| 58 |
-
|
| 59 |
-
| System | Accuracy | n | Generated tokens | Latency |
|
| 60 |
-
|---|---:|---:|---:|---:|
|
| 61 |
-
| `claude-opus-5` | 0.835 | 266 | ~200 | ~1000 ms |
|
| 62 |
-
| `gpt-5.6` | 0.816 | 266 | ~200 | ~1200 ms |
|
| 63 |
-
| `this-that-model-1.1` | **0.775** | 1,710 | **0** | 30.9 ms |
|
| 64 |
-
| `glm-5.3` | 0.652 | 1,710 | ~200 | ~800 ms |
|
| 65 |
-
| `kimi-k3` | 0.522 | 1,710 | ~200 | ~1000 ms |
|
| 66 |
-
| `deepseek-v4.1-flash` | 0.511 | 1,710 | ~4 | ~800 ms |
|
| 67 |
-
| `deepseek-v4-pro` | 0.470 | 1,710 | ~4 | ~900 ms |
|
| 68 |
-
| `this-that-model-1.0` | 0.406 | 1,710 | 0 | 30.9 ms |
|
| 69 |
-
| `laya-typed-decisions` | 0.310 | 1,710 | 0 | **25 ms** |
|
| 70 |
-
| chance | 0.258 | — | — | — |
|
| 71 |
-
|
| 72 |
-
The two frontier rows were scored on a 266-question subset, 14 per family, and the rest on all
|
| 73 |
-
1,710. That is stated rather than smoothed over: a 14-item family has a standard error near 0.13,
|
| 74 |
-
so those two numbers are the least precise on the table even though they are the highest. A
|
| 75 |
-
full-length re-run is in progress and this card will be corrected when it lands.
|
| 76 |
|
| 77 |
-
|
| 78 |
|
| 79 |
-
|
| 80 |
-
`this-that-model-1.1` at 1.88 B parameters sits above every hosted system except the two largest.
|
| 81 |
-
Whatever these questions measure, it is not the thing model scale usually buys.
|
| 82 |
|
| 83 |
-
|
| 84 |
-
of its families were in that mixture. The distance from 0.406 to 0.775 is the same architecture
|
| 85 |
-
with different training data.
|
| 86 |
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
Depth is not difficulty. Composing two rule structures over one state is harder for both frontier
|
| 90 |
-
models than composing three:
|
| 91 |
-
|
| 92 |
-
| | one structure | two composed | three composed |
|
| 93 |
|---|---:|---:|---:|
|
| 94 |
-
| `claude-opus-5` |
|
| 95 |
-
| `gpt-5.6` | 0.
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
|
| 113 |
## Licence
|
| 114 |
|
| 115 |
-
MIT.
|
|
|
|
| 15 |
|
| 16 |
# this-that-complex-decisions
|
| 17 |
|
| 18 |
+
1,710 decisions where the answer follows from a stated policy applied to a state, and where no
|
| 19 |
+
single field of that state gives it away.
|
|
|
|
| 20 |
|
| 21 |
```
|
| 22 |
+
1,710 questions 19 decision types 40 domains chance rate 0.258
|
| 23 |
```
|
| 24 |
|
| 25 |
+
Each row is a state, a question, a closed set of options, and the index of the one option the
|
| 26 |
+
policy selects. The answer is determinate: given the state and the policy there is exactly one
|
| 27 |
+
correct choice, and it does not depend on anyone's judgement.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
## What is in a row
|
| 30 |
|
| 31 |
```json
|
| 32 |
{"id": "authority_conflict-0000",
|
| 33 |
"family": "authority_conflict",
|
| 34 |
+
"state": "candidates:\n staff-02:\n skill_match_pct: 87\n hours_this_week: 56\n ...",
|
| 35 |
"question": "Who takes the shift?",
|
| 36 |
"options": ["staff-02", "staff-04", "staff-01", "leave the shift unfilled"],
|
| 37 |
"answer_index": 1,
|
| 38 |
"n_options": 4}
|
| 39 |
```
|
| 40 |
|
| 41 |
+
Score as accuracy against `answer_index`. A system that returns nothing is wrong, not excused —
|
| 42 |
+
that is the rule every number below was produced under. Option counts vary by row, so the chance
|
| 43 |
+
rate is the mean of `1 / n_options` rather than a single fraction.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
+
## Results
|
| 46 |
|
| 47 |
+

|
|
|
|
|
|
|
| 48 |
|
| 49 |
+
All nine systems on all 1,710 questions, 90 per decision type.
|
|
|
|
|
|
|
| 50 |
|
| 51 |
+
| System | Accuracy | Generated tokens | Latency |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|---|---:|---:|---:|
|
| 53 |
+
| `claude-opus-5` | **0.834** | ~200 | ~1000 ms |
|
| 54 |
+
| `gpt-5.6` | 0.816 | ~200 | ~1200 ms |
|
| 55 |
+
| `this-that-model-1.1` | 0.775 | **0** | 30.9 ms |
|
| 56 |
+
| `glm-5.3` | 0.652 | ~200 | ~800 ms |
|
| 57 |
+
| `kimi-k3` | 0.522 | ~200 | ~1000 ms |
|
| 58 |
+
| `deepseek-v4.1-flash` | 0.511 | ~4 | ~800 ms |
|
| 59 |
+
| `deepseek-v4-pro` | 0.470 | ~4 | ~900 ms |
|
| 60 |
+
| `this-that-model-1.0` | 0.406 | 0 | 30.9 ms |
|
| 61 |
+
| `laya-typed-decisions` | 0.310 | 0 | **25 ms** |
|
| 62 |
+
| chance | 0.258 | — | — |
|
| 63 |
+
|
| 64 |
+
## By decision type
|
| 65 |
+
|
| 66 |
+

|
| 67 |
+
|
| 68 |
+
| family | chance | opus-5 | gpt-5.6 | 1.1 | glm-5.3 | kimi-k3 | ds-flash | ds-pro | 1.0 | laya |
|
| 69 |
+
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 70 |
+
| `knapsack_subset` | 0.084 | 0.133 | 0.167 | 0.678 | 0.144 | 0.156 | 0.122 | 0.200 | 0.267 | 0.067 |
|
| 71 |
+
| `cheapest_flip` | 0.250 | 0.700 | 0.600 | 0.500 | 0.400 | 0.367 | 0.522 | 0.289 | 0.156 | 0.256 |
|
| 72 |
+
| `weighted_aggregate` | 0.282 | 0.644 | 0.689 | 0.511 | 0.367 | 0.333 | 0.367 | 0.244 | 0.356 | 0.289 |
|
| 73 |
+
| `insufficient_information` | 0.167 | 0.833 | 0.833 | 0.444 | 0.689 | 0.444 | 0.489 | 0.422 | 0.189 | 0.167 |
|
| 74 |
+
| `lexicographic` | 0.267 | 0.667 | 0.622 | 0.633 | 0.689 | 0.367 | 0.444 | 0.422 | 0.333 | 0.356 |
|
| 75 |
+
| `joint_threshold` | 0.265 | 0.622 | 0.644 | 0.689 | 0.433 | 0.444 | 0.622 | 0.600 | 0.344 | 0.233 |
|
| 76 |
+
| `dominance_uncertainty` | 0.327 | 0.844 | 0.833 | 0.911 | 0.533 | 0.433 | 0.333 | 0.244 | 0.489 | 0.322 |
|
| 77 |
+
| `order_matters` | 0.363 | 0.989 | 0.989 | 0.822 | 0.533 | 0.322 | 0.356 | 0.311 | 0.456 | 0.411 |
|
| 78 |
+
| `fairness_vs_efficiency` | 0.322 | 0.978 | 0.922 | 0.744 | 0.733 | 0.444 | 0.367 | 0.500 | 0.233 | 0.311 |
|
| 79 |
+
| `cascade_fixpoint` | 0.284 | 0.978 | 0.889 | 0.678 | 0.611 | 0.478 | 0.467 | 0.400 | 0.367 | 0.367 |
|
| 80 |
+
| `exception_ladder` | 0.257 | 0.589 | 0.600 | 0.911 | 0.600 | 0.589 | 0.578 | 0.456 | 0.500 | 0.522 |
|
| 81 |
+
| `delegated_decider` | 0.319 | 0.933 | 0.833 | 0.800 | 0.889 | 0.456 | 0.411 | 0.389 | 0.356 | 0.378 |
|
| 82 |
+
| `opportunity_cost` | 0.311 | 1.000 | 0.989 | 1.000 | 0.700 | 0.400 | 0.378 | 0.378 | 0.411 | 0.189 |
|
| 83 |
+
| `lex_specialis` | 0.330 | 0.989 | 1.000 | 0.856 | 0.511 | 0.433 | 0.500 | 0.478 | 0.533 | 0.378 |
|
| 84 |
+
| `constrained_max` | 0.260 | 1.000 | 1.000 | 0.878 | 0.956 | 0.667 | 0.689 | 0.633 | 0.511 | 0.311 |
|
| 85 |
+
| `chain_k` | 0.242 | 0.956 | 0.933 | 0.867 | 0.789 | 0.789 | 0.711 | 0.667 | 0.500 | 0.500 |
|
| 86 |
+
| `authority_conflict` | 0.322 | 0.989 | 0.956 | 0.856 | 0.967 | 0.822 | 0.700 | 0.633 | 0.611 | 0.333 |
|
| 87 |
+
| `but_for_cause` | 0.200 | 1.000 | 1.000 | 0.944 | 1.000 | 0.967 | 0.711 | 0.733 | 0.411 | 0.467 |
|
| 88 |
+
| `value_of_information` | 0.050 | 1.000 | 1.000 | 1.000 | 0.844 | 1.000 | 0.944 | 0.922 | 0.689 | 0.033 |
|
| 89 |
+
|
| 90 |
+
## What the table says that the ranking does not
|
| 91 |
+
|
| 92 |
+
**One decision type defeats almost everything.** On `knapsack_subset` — choose the group that fits
|
| 93 |
+
a budget — eight of the nine systems land between 0.07 and 0.27 against a chance rate of 0.084.
|
| 94 |
+
The ninth, a 1.88 B model that generates no tokens, reaches 0.678. Whatever that row measures, it
|
| 95 |
+
is not what model scale usually buys.
|
| 96 |
+
|
| 97 |
+
**Scale is not the axis.** `deepseek-v4-pro` scores below `deepseek-v4.1-flash`. `glm-5.3` at 0.652
|
| 98 |
+
sits above `kimi-k3` at 0.522. And a 1.88 B model sits above every hosted system except the two
|
| 99 |
+
largest, at a thirtieth of their latency.
|
| 100 |
+
|
| 101 |
+
**Every system has a floor, and they are not the same floor.** `weighted_aggregate` holds the best
|
| 102 |
+
system to 0.689 and `insufficient_information` holds `this-that-model-1.1` to 0.444 while
|
| 103 |
+
`claude-opus-5` reaches 0.833 there. Both ask for something the ranking hides: weigh several
|
| 104 |
+
numbers against each other, or judge that the state does not contain enough to decide at all.
|
| 105 |
+
|
| 106 |
+
**`value_of_information` separates cleanly.** Chance is 0.050 — the options are field names, so
|
| 107 |
+
guessing is close to hopeless — and the systems split into six at or near 1.000 and `laya` at 0.033.
|
| 108 |
+
|
| 109 |
+
**1.0's row is zero-shot.** This benchmark did not exist when that checkpoint was trained. The
|
| 110 |
+
distance from 0.406 to 0.775 is the same architecture with different training data.
|
| 111 |
|
| 112 |
## Licence
|
| 113 |
|
| 114 |
+
MIT.
|
_cx_10.json
ADDED
|
@@ -0,0 +1,286 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"results": {
|
| 3 |
+
"cx_authority_conflict": {
|
| 4 |
+
"n": 90,
|
| 5 |
+
"acc": 0.6111111111111112,
|
| 6 |
+
"nll": 1.132632851600647,
|
| 7 |
+
"brier": 0.5415565967559814,
|
| 8 |
+
"ece": 0.24794398380650418,
|
| 9 |
+
"aurc": 0.1917289901083747,
|
| 10 |
+
"acc_at_80": 0.6944444444444444,
|
| 11 |
+
"acc_at_50": 0.8222222222222222,
|
| 12 |
+
"chance": 0.32222222222222224,
|
| 13 |
+
"mean_conf": 0.8336793780326843,
|
| 14 |
+
"sec": 10.4,
|
| 15 |
+
"heldout": false
|
| 16 |
+
},
|
| 17 |
+
"cx_but_for_cause": {
|
| 18 |
+
"n": 90,
|
| 19 |
+
"acc": 0.4111111111111111,
|
| 20 |
+
"nll": 2.907266616821289,
|
| 21 |
+
"brier": 0.9989662766456604,
|
| 22 |
+
"ece": 0.4633603602647781,
|
| 23 |
+
"aurc": 0.4896174510136055,
|
| 24 |
+
"acc_at_80": 0.4583333333333333,
|
| 25 |
+
"acc_at_50": 0.5333333333333333,
|
| 26 |
+
"chance": 0.19999999999999996,
|
| 27 |
+
"mean_conf": 0.8744714260101318,
|
| 28 |
+
"sec": 1.2,
|
| 29 |
+
"heldout": false
|
| 30 |
+
},
|
| 31 |
+
"cx_cascade_fixpoint": {
|
| 32 |
+
"n": 90,
|
| 33 |
+
"acc": 0.36666666666666664,
|
| 34 |
+
"nll": 2.215355157852173,
|
| 35 |
+
"brier": 0.9597659707069397,
|
| 36 |
+
"ece": 0.4125797970427407,
|
| 37 |
+
"aurc": 0.5430227285651804,
|
| 38 |
+
"acc_at_80": 0.3472222222222222,
|
| 39 |
+
"acc_at_50": 0.4888888888888889,
|
| 40 |
+
"chance": 0.28444444444444444,
|
| 41 |
+
"mean_conf": 0.7598880529403687,
|
| 42 |
+
"sec": 1.0,
|
| 43 |
+
"heldout": false
|
| 44 |
+
},
|
| 45 |
+
"cx_chain_k": {
|
| 46 |
+
"n": 90,
|
| 47 |
+
"acc": 0.5,
|
| 48 |
+
"nll": 1.9568610191345215,
|
| 49 |
+
"brier": 0.8141180872917175,
|
| 50 |
+
"ece": 0.3260899497403039,
|
| 51 |
+
"aurc": 0.38514933694128817,
|
| 52 |
+
"acc_at_80": 0.5138888888888888,
|
| 53 |
+
"acc_at_50": 0.5333333333333333,
|
| 54 |
+
"chance": 0.24222222222222228,
|
| 55 |
+
"mean_conf": 0.8084132075309753,
|
| 56 |
+
"sec": 1.1,
|
| 57 |
+
"heldout": false
|
| 58 |
+
},
|
| 59 |
+
"cx_cheapest_flip": {
|
| 60 |
+
"n": 90,
|
| 61 |
+
"acc": 0.15555555555555556,
|
| 62 |
+
"nll": 2.267679452896118,
|
| 63 |
+
"brier": 1.1133804321289062,
|
| 64 |
+
"ece": 0.45853817727830676,
|
| 65 |
+
"aurc": 0.8938305346896536,
|
| 66 |
+
"acc_at_80": 0.1388888888888889,
|
| 67 |
+
"acc_at_50": 0.13333333333333333,
|
| 68 |
+
"chance": 0.25,
|
| 69 |
+
"mean_conf": 0.6124089360237122,
|
| 70 |
+
"sec": 1.1,
|
| 71 |
+
"heldout": false
|
| 72 |
+
},
|
| 73 |
+
"cx_constrained_max": {
|
| 74 |
+
"n": 90,
|
| 75 |
+
"acc": 0.5111111111111111,
|
| 76 |
+
"nll": 1.534063696861267,
|
| 77 |
+
"brier": 0.7208123207092285,
|
| 78 |
+
"ece": 0.2921940267086029,
|
| 79 |
+
"aurc": 0.30069416185210895,
|
| 80 |
+
"acc_at_80": 0.5416666666666666,
|
| 81 |
+
"acc_at_50": 0.6888888888888889,
|
| 82 |
+
"chance": 0.25962962962962965,
|
| 83 |
+
"mean_conf": 0.7979092001914978,
|
| 84 |
+
"sec": 1.0,
|
| 85 |
+
"heldout": false
|
| 86 |
+
},
|
| 87 |
+
"cx_delegated_decider": {
|
| 88 |
+
"n": 90,
|
| 89 |
+
"acc": 0.35555555555555557,
|
| 90 |
+
"nll": 2.793315887451172,
|
| 91 |
+
"brier": 1.0652989149093628,
|
| 92 |
+
"ece": 0.5118319541215897,
|
| 93 |
+
"aurc": 0.5131351219581387,
|
| 94 |
+
"acc_at_80": 0.375,
|
| 95 |
+
"acc_at_50": 0.4222222222222222,
|
| 96 |
+
"chance": 0.3185185185185185,
|
| 97 |
+
"mean_conf": 0.8525725603103638,
|
| 98 |
+
"sec": 1.0,
|
| 99 |
+
"heldout": false
|
| 100 |
+
},
|
| 101 |
+
"cx_dominance_uncertainty": {
|
| 102 |
+
"n": 90,
|
| 103 |
+
"acc": 0.4888888888888889,
|
| 104 |
+
"nll": 1.6160070896148682,
|
| 105 |
+
"brier": 0.7741508483886719,
|
| 106 |
+
"ece": 0.321618127822876,
|
| 107 |
+
"aurc": 0.4472391557332867,
|
| 108 |
+
"acc_at_80": 0.4722222222222222,
|
| 109 |
+
"acc_at_50": 0.5555555555555556,
|
| 110 |
+
"chance": 0.3266666666666667,
|
| 111 |
+
"mean_conf": 0.7720527052879333,
|
| 112 |
+
"sec": 0.8,
|
| 113 |
+
"heldout": false
|
| 114 |
+
},
|
| 115 |
+
"cx_exception_ladder": {
|
| 116 |
+
"n": 90,
|
| 117 |
+
"acc": 0.5,
|
| 118 |
+
"nll": 1.7392834424972534,
|
| 119 |
+
"brier": 0.7462258338928223,
|
| 120 |
+
"ece": 0.3629216445816888,
|
| 121 |
+
"aurc": 0.40841711201709296,
|
| 122 |
+
"acc_at_80": 0.5833333333333334,
|
| 123 |
+
"acc_at_50": 0.6,
|
| 124 |
+
"chance": 0.2574074074074075,
|
| 125 |
+
"mean_conf": 0.790395200252533,
|
| 126 |
+
"sec": 1.1,
|
| 127 |
+
"heldout": false
|
| 128 |
+
},
|
| 129 |
+
"cx_fairness_vs_efficiency": {
|
| 130 |
+
"n": 90,
|
| 131 |
+
"acc": 0.23333333333333334,
|
| 132 |
+
"nll": 2.945913076400757,
|
| 133 |
+
"brier": 1.1978553533554077,
|
| 134 |
+
"ece": 0.5460470467805862,
|
| 135 |
+
"aurc": 0.7933203646799262,
|
| 136 |
+
"acc_at_80": 0.2361111111111111,
|
| 137 |
+
"acc_at_50": 0.2222222222222222,
|
| 138 |
+
"chance": 0.3222222222222222,
|
| 139 |
+
"mean_conf": 0.7569953203201294,
|
| 140 |
+
"sec": 1.0,
|
| 141 |
+
"heldout": false
|
| 142 |
+
},
|
| 143 |
+
"cx_insufficient_information": {
|
| 144 |
+
"n": 90,
|
| 145 |
+
"acc": 0.18888888888888888,
|
| 146 |
+
"nll": 3.0704283714294434,
|
| 147 |
+
"brier": 1.1858347654342651,
|
| 148 |
+
"ece": 0.46209945148891873,
|
| 149 |
+
"aurc": 0.8504802296765768,
|
| 150 |
+
"acc_at_80": 0.19444444444444445,
|
| 151 |
+
"acc_at_50": 0.15555555555555556,
|
| 152 |
+
"chance": 0.16666666666666666,
|
| 153 |
+
"mean_conf": 0.6509883403778076,
|
| 154 |
+
"sec": 1.0,
|
| 155 |
+
"heldout": false
|
| 156 |
+
},
|
| 157 |
+
"cx_joint_threshold": {
|
| 158 |
+
"n": 90,
|
| 159 |
+
"acc": 0.34444444444444444,
|
| 160 |
+
"nll": 1.9076775312423706,
|
| 161 |
+
"brier": 0.8728302717208862,
|
| 162 |
+
"ece": 0.344580869211091,
|
| 163 |
+
"aurc": 0.624714044103084,
|
| 164 |
+
"acc_at_80": 0.375,
|
| 165 |
+
"acc_at_50": 0.4,
|
| 166 |
+
"chance": 0.2651851851851852,
|
| 167 |
+
"mean_conf": 0.6860519647598267,
|
| 168 |
+
"sec": 1.0,
|
| 169 |
+
"heldout": false
|
| 170 |
+
},
|
| 171 |
+
"cx_knapsack_subset": {
|
| 172 |
+
"n": 90,
|
| 173 |
+
"acc": 0.26666666666666666,
|
| 174 |
+
"nll": 2.5241639614105225,
|
| 175 |
+
"brier": 0.9384795427322388,
|
| 176 |
+
"ece": 0.283561707370811,
|
| 177 |
+
"aurc": 0.6219201361108508,
|
| 178 |
+
"acc_at_80": 0.2777777777777778,
|
| 179 |
+
"acc_at_50": 0.3111111111111111,
|
| 180 |
+
"chance": 0.11618606701940036,
|
| 181 |
+
"mean_conf": 0.5372855067253113,
|
| 182 |
+
"sec": 1.1,
|
| 183 |
+
"heldout": false
|
| 184 |
+
},
|
| 185 |
+
"cx_lex_specialis": {
|
| 186 |
+
"n": 90,
|
| 187 |
+
"acc": 0.5333333333333333,
|
| 188 |
+
"nll": 2.045750856399536,
|
| 189 |
+
"brier": 0.8136494755744934,
|
| 190 |
+
"ece": 0.36239095562034185,
|
| 191 |
+
"aurc": 0.4173477009148658,
|
| 192 |
+
"acc_at_80": 0.5416666666666666,
|
| 193 |
+
"acc_at_50": 0.5777777777777777,
|
| 194 |
+
"chance": 0.3296296296296296,
|
| 195 |
+
"mean_conf": 0.8815594911575317,
|
| 196 |
+
"sec": 1.0,
|
| 197 |
+
"heldout": false
|
| 198 |
+
},
|
| 199 |
+
"cx_lexicographic": {
|
| 200 |
+
"n": 90,
|
| 201 |
+
"acc": 0.3333333333333333,
|
| 202 |
+
"nll": 2.4108877182006836,
|
| 203 |
+
"brier": 1.0469555854797363,
|
| 204 |
+
"ece": 0.44736492004659445,
|
| 205 |
+
"aurc": 0.6615794519404694,
|
| 206 |
+
"acc_at_80": 0.3611111111111111,
|
| 207 |
+
"acc_at_50": 0.28888888888888886,
|
| 208 |
+
"chance": 0.267037037037037,
|
| 209 |
+
"mean_conf": 0.7656293511390686,
|
| 210 |
+
"sec": 1.0,
|
| 211 |
+
"heldout": false
|
| 212 |
+
},
|
| 213 |
+
"cx_opportunity_cost": {
|
| 214 |
+
"n": 90,
|
| 215 |
+
"acc": 0.4111111111111111,
|
| 216 |
+
"nll": 2.380654811859131,
|
| 217 |
+
"brier": 0.9498933553695679,
|
| 218 |
+
"ece": 0.40254596041308505,
|
| 219 |
+
"aurc": 0.47333322270653444,
|
| 220 |
+
"acc_at_80": 0.4444444444444444,
|
| 221 |
+
"acc_at_50": 0.5333333333333333,
|
| 222 |
+
"chance": 0.3111111111111111,
|
| 223 |
+
"mean_conf": 0.8136571049690247,
|
| 224 |
+
"sec": 1.0,
|
| 225 |
+
"heldout": false
|
| 226 |
+
},
|
| 227 |
+
"cx_order_matters": {
|
| 228 |
+
"n": 90,
|
| 229 |
+
"acc": 0.45555555555555555,
|
| 230 |
+
"nll": 1.9784104824066162,
|
| 231 |
+
"brier": 0.8586416244506836,
|
| 232 |
+
"ece": 0.353517872426245,
|
| 233 |
+
"aurc": 0.500104104345027,
|
| 234 |
+
"acc_at_80": 0.4583333333333333,
|
| 235 |
+
"acc_at_50": 0.5333333333333333,
|
| 236 |
+
"chance": 0.3629629629629629,
|
| 237 |
+
"mean_conf": 0.772383451461792,
|
| 238 |
+
"sec": 1.0,
|
| 239 |
+
"heldout": false
|
| 240 |
+
},
|
| 241 |
+
"cx_value_of_information": {
|
| 242 |
+
"n": 90,
|
| 243 |
+
"acc": 0.6888888888888889,
|
| 244 |
+
"nll": 0.8444213271141052,
|
| 245 |
+
"brier": 0.3924767076969147,
|
| 246 |
+
"ece": 0.10858079029454125,
|
| 247 |
+
"aurc": 0.10526352486390397,
|
| 248 |
+
"acc_at_80": 0.8055555555555556,
|
| 249 |
+
"acc_at_50": 0.9333333333333333,
|
| 250 |
+
"chance": 0.09999999999999998,
|
| 251 |
+
"mean_conf": 0.7126818895339966,
|
| 252 |
+
"sec": 1.2,
|
| 253 |
+
"heldout": false
|
| 254 |
+
},
|
| 255 |
+
"cx_weighted_aggregate": {
|
| 256 |
+
"n": 90,
|
| 257 |
+
"acc": 0.35555555555555557,
|
| 258 |
+
"nll": 2.3678650856018066,
|
| 259 |
+
"brier": 0.9747616052627563,
|
| 260 |
+
"ece": 0.4293814506795671,
|
| 261 |
+
"aurc": 0.5818455181341412,
|
| 262 |
+
"acc_at_80": 0.3888888888888889,
|
| 263 |
+
"acc_at_50": 0.4444444444444444,
|
| 264 |
+
"chance": 0.2822222222222222,
|
| 265 |
+
"mean_conf": 0.7588581442832947,
|
| 266 |
+
"sec": 1.0,
|
| 267 |
+
"heldout": false
|
| 268 |
+
}
|
| 269 |
+
},
|
| 270 |
+
"agg": {
|
| 271 |
+
"in_task": {
|
| 272 |
+
"acc": 0.40584795321637424,
|
| 273 |
+
"nll": 2.138875707199699,
|
| 274 |
+
"brier": 0.892929135184539,
|
| 275 |
+
"ece": 0.3756394234578512,
|
| 276 |
+
"aurc": 0.5159338363344269,
|
| 277 |
+
"acc_at_80": 0.4320175438596491,
|
| 278 |
+
"chance": 0.26233337974566046
|
| 279 |
+
},
|
| 280 |
+
"heldout": {},
|
| 281 |
+
"n_in": 19,
|
| 282 |
+
"n_heldout": 0
|
| 283 |
+
},
|
| 284 |
+
"model": "runs/spatial_v1/model",
|
| 285 |
+
"engine": ""
|
| 286 |
+
}
|
_cx_v11.json
ADDED
|
@@ -0,0 +1,286 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"results": {
|
| 3 |
+
"cx_authority_conflict": {
|
| 4 |
+
"n": 90,
|
| 5 |
+
"acc": 0.8555555555555555,
|
| 6 |
+
"nll": 0.2776544988155365,
|
| 7 |
+
"brier": 0.16366145014762878,
|
| 8 |
+
"ece": 0.0710265103313658,
|
| 9 |
+
"aurc": 0.015103615579135888,
|
| 10 |
+
"acc_at_80": 0.9861111111111112,
|
| 11 |
+
"acc_at_50": 1.0,
|
| 12 |
+
"chance": 0.32222222222222224,
|
| 13 |
+
"mean_conf": 0.9127638936042786,
|
| 14 |
+
"sec": 13.3,
|
| 15 |
+
"heldout": false
|
| 16 |
+
},
|
| 17 |
+
"cx_but_for_cause": {
|
| 18 |
+
"n": 90,
|
| 19 |
+
"acc": 0.9444444444444444,
|
| 20 |
+
"nll": 0.15107427537441254,
|
| 21 |
+
"brier": 0.09210029244422913,
|
| 22 |
+
"ece": 0.0549711936049991,
|
| 23 |
+
"aurc": 0.0077463753021995065,
|
| 24 |
+
"acc_at_80": 0.9861111111111112,
|
| 25 |
+
"acc_at_50": 1.0,
|
| 26 |
+
"chance": 0.19999999999999996,
|
| 27 |
+
"mean_conf": 0.9492101073265076,
|
| 28 |
+
"sec": 1.2,
|
| 29 |
+
"heldout": false
|
| 30 |
+
},
|
| 31 |
+
"cx_cascade_fixpoint": {
|
| 32 |
+
"n": 90,
|
| 33 |
+
"acc": 0.6777777777777778,
|
| 34 |
+
"nll": 0.7618573307991028,
|
| 35 |
+
"brier": 0.4158671796321869,
|
| 36 |
+
"ece": 0.13990107443597583,
|
| 37 |
+
"aurc": 0.15033545923257519,
|
| 38 |
+
"acc_at_80": 0.7361111111111112,
|
| 39 |
+
"acc_at_50": 0.8666666666666667,
|
| 40 |
+
"chance": 0.28444444444444444,
|
| 41 |
+
"mean_conf": 0.7939642071723938,
|
| 42 |
+
"sec": 1.1,
|
| 43 |
+
"heldout": false
|
| 44 |
+
},
|
| 45 |
+
"cx_chain_k": {
|
| 46 |
+
"n": 90,
|
| 47 |
+
"acc": 0.8666666666666667,
|
| 48 |
+
"nll": 0.38827842473983765,
|
| 49 |
+
"brier": 0.2077420949935913,
|
| 50 |
+
"ece": 0.09118105239338348,
|
| 51 |
+
"aurc": 0.0471507596042822,
|
| 52 |
+
"acc_at_80": 0.9027777777777778,
|
| 53 |
+
"acc_at_50": 0.9555555555555556,
|
| 54 |
+
"chance": 0.24222222222222228,
|
| 55 |
+
"mean_conf": 0.9095072150230408,
|
| 56 |
+
"sec": 1.1,
|
| 57 |
+
"heldout": false
|
| 58 |
+
},
|
| 59 |
+
"cx_cheapest_flip": {
|
| 60 |
+
"n": 90,
|
| 61 |
+
"acc": 0.5,
|
| 62 |
+
"nll": 1.1478240489959717,
|
| 63 |
+
"brier": 0.6096143126487732,
|
| 64 |
+
"ece": 0.18364082409275903,
|
| 65 |
+
"aurc": 0.34802452160197744,
|
| 66 |
+
"acc_at_80": 0.5555555555555556,
|
| 67 |
+
"acc_at_50": 0.6666666666666666,
|
| 68 |
+
"chance": 0.25,
|
| 69 |
+
"mean_conf": 0.598013699054718,
|
| 70 |
+
"sec": 1.1,
|
| 71 |
+
"heldout": false
|
| 72 |
+
},
|
| 73 |
+
"cx_constrained_max": {
|
| 74 |
+
"n": 90,
|
| 75 |
+
"acc": 0.8777777777777778,
|
| 76 |
+
"nll": 0.40832993388175964,
|
| 77 |
+
"brier": 0.2042766809463501,
|
| 78 |
+
"ece": 0.06301311055819196,
|
| 79 |
+
"aurc": 0.031290452245785895,
|
| 80 |
+
"acc_at_80": 0.9305555555555556,
|
| 81 |
+
"acc_at_50": 0.9777777777777777,
|
| 82 |
+
"chance": 0.25962962962962965,
|
| 83 |
+
"mean_conf": 0.9334561824798584,
|
| 84 |
+
"sec": 1.1,
|
| 85 |
+
"heldout": false
|
| 86 |
+
},
|
| 87 |
+
"cx_delegated_decider": {
|
| 88 |
+
"n": 90,
|
| 89 |
+
"acc": 0.8,
|
| 90 |
+
"nll": 0.6784549951553345,
|
| 91 |
+
"brier": 0.3062835931777954,
|
| 92 |
+
"ece": 0.12079860866069797,
|
| 93 |
+
"aurc": 0.10847367206647007,
|
| 94 |
+
"acc_at_80": 0.875,
|
| 95 |
+
"acc_at_50": 0.8888888888888888,
|
| 96 |
+
"chance": 0.3185185185185185,
|
| 97 |
+
"mean_conf": 0.9103758335113525,
|
| 98 |
+
"sec": 1.1,
|
| 99 |
+
"heldout": false
|
| 100 |
+
},
|
| 101 |
+
"cx_dominance_uncertainty": {
|
| 102 |
+
"n": 90,
|
| 103 |
+
"acc": 0.9111111111111111,
|
| 104 |
+
"nll": 0.33247512578964233,
|
| 105 |
+
"brier": 0.159723699092865,
|
| 106 |
+
"ece": 0.10246150261825984,
|
| 107 |
+
"aurc": 0.032359898129838346,
|
| 108 |
+
"acc_at_80": 0.9444444444444444,
|
| 109 |
+
"acc_at_50": 0.9777777777777777,
|
| 110 |
+
"chance": 0.3266666666666667,
|
| 111 |
+
"mean_conf": 0.9405836462974548,
|
| 112 |
+
"sec": 0.9,
|
| 113 |
+
"heldout": false
|
| 114 |
+
},
|
| 115 |
+
"cx_exception_ladder": {
|
| 116 |
+
"n": 90,
|
| 117 |
+
"acc": 0.9111111111111111,
|
| 118 |
+
"nll": 0.2511381506919861,
|
| 119 |
+
"brier": 0.131063312292099,
|
| 120 |
+
"ece": 0.04578693211078643,
|
| 121 |
+
"aurc": 0.01266272728198738,
|
| 122 |
+
"acc_at_80": 0.9861111111111112,
|
| 123 |
+
"acc_at_50": 1.0,
|
| 124 |
+
"chance": 0.2574074074074075,
|
| 125 |
+
"mean_conf": 0.940545380115509,
|
| 126 |
+
"sec": 1.2,
|
| 127 |
+
"heldout": false
|
| 128 |
+
},
|
| 129 |
+
"cx_fairness_vs_efficiency": {
|
| 130 |
+
"n": 90,
|
| 131 |
+
"acc": 0.7444444444444445,
|
| 132 |
+
"nll": 0.5721701383590698,
|
| 133 |
+
"brier": 0.3066578209400177,
|
| 134 |
+
"ece": 0.0937029391527176,
|
| 135 |
+
"aurc": 0.06570295226911144,
|
| 136 |
+
"acc_at_80": 0.8472222222222222,
|
| 137 |
+
"acc_at_50": 0.9777777777777777,
|
| 138 |
+
"chance": 0.3222222222222222,
|
| 139 |
+
"mean_conf": 0.7626772522926331,
|
| 140 |
+
"sec": 1.1,
|
| 141 |
+
"heldout": false
|
| 142 |
+
},
|
| 143 |
+
"cx_insufficient_information": {
|
| 144 |
+
"n": 90,
|
| 145 |
+
"acc": 0.4444444444444444,
|
| 146 |
+
"nll": 1.521159052848816,
|
| 147 |
+
"brier": 0.7202333211898804,
|
| 148 |
+
"ece": 0.2698589457405938,
|
| 149 |
+
"aurc": 0.45578351747410667,
|
| 150 |
+
"acc_at_80": 0.5,
|
| 151 |
+
"acc_at_50": 0.4666666666666667,
|
| 152 |
+
"chance": 0.16666666666666666,
|
| 153 |
+
"mean_conf": 0.6854457259178162,
|
| 154 |
+
"sec": 1.1,
|
| 155 |
+
"heldout": false
|
| 156 |
+
},
|
| 157 |
+
"cx_joint_threshold": {
|
| 158 |
+
"n": 90,
|
| 159 |
+
"acc": 0.6888888888888889,
|
| 160 |
+
"nll": 0.6687639355659485,
|
| 161 |
+
"brier": 0.37504687905311584,
|
| 162 |
+
"ece": 0.14556044969293808,
|
| 163 |
+
"aurc": 0.1120915555416827,
|
| 164 |
+
"acc_at_80": 0.75,
|
| 165 |
+
"acc_at_50": 0.9333333333333333,
|
| 166 |
+
"chance": 0.2651851851851852,
|
| 167 |
+
"mean_conf": 0.7760463953018188,
|
| 168 |
+
"sec": 1.1,
|
| 169 |
+
"heldout": false
|
| 170 |
+
},
|
| 171 |
+
"cx_knapsack_subset": {
|
| 172 |
+
"n": 90,
|
| 173 |
+
"acc": 0.6777777777777778,
|
| 174 |
+
"nll": 1.1246669292449951,
|
| 175 |
+
"brier": 0.45823127031326294,
|
| 176 |
+
"ece": 0.2184429340892368,
|
| 177 |
+
"aurc": 0.14787986568314593,
|
| 178 |
+
"acc_at_80": 0.8055555555555556,
|
| 179 |
+
"acc_at_50": 0.8444444444444444,
|
| 180 |
+
"chance": 0.11618606701940036,
|
| 181 |
+
"mean_conf": 0.8761476278305054,
|
| 182 |
+
"sec": 1.2,
|
| 183 |
+
"heldout": false
|
| 184 |
+
},
|
| 185 |
+
"cx_lex_specialis": {
|
| 186 |
+
"n": 90,
|
| 187 |
+
"acc": 0.8555555555555555,
|
| 188 |
+
"nll": 0.36309874057769775,
|
| 189 |
+
"brier": 0.2237442582845688,
|
| 190 |
+
"ece": 0.09633731577131484,
|
| 191 |
+
"aurc": 0.030433036668323914,
|
| 192 |
+
"acc_at_80": 0.9166666666666666,
|
| 193 |
+
"acc_at_50": 1.0,
|
| 194 |
+
"chance": 0.3296296296296296,
|
| 195 |
+
"mean_conf": 0.9435015916824341,
|
| 196 |
+
"sec": 1.1,
|
| 197 |
+
"heldout": false
|
| 198 |
+
},
|
| 199 |
+
"cx_lexicographic": {
|
| 200 |
+
"n": 90,
|
| 201 |
+
"acc": 0.6333333333333333,
|
| 202 |
+
"nll": 0.8402590155601501,
|
| 203 |
+
"brier": 0.47011181712150574,
|
| 204 |
+
"ece": 0.10198001033729977,
|
| 205 |
+
"aurc": 0.21453741589533734,
|
| 206 |
+
"acc_at_80": 0.7222222222222222,
|
| 207 |
+
"acc_at_50": 0.7555555555555555,
|
| 208 |
+
"chance": 0.267037037037037,
|
| 209 |
+
"mean_conf": 0.6630616784095764,
|
| 210 |
+
"sec": 1.1,
|
| 211 |
+
"heldout": false
|
| 212 |
+
},
|
| 213 |
+
"cx_opportunity_cost": {
|
| 214 |
+
"n": 90,
|
| 215 |
+
"acc": 1.0,
|
| 216 |
+
"nll": 3.3780670491978526e-05,
|
| 217 |
+
"brier": 2.659203346411232e-08,
|
| 218 |
+
"ece": 3.3736228942871094e-05,
|
| 219 |
+
"aurc": 0.0,
|
| 220 |
+
"acc_at_80": 1.0,
|
| 221 |
+
"acc_at_50": 1.0,
|
| 222 |
+
"chance": 0.3111111111111111,
|
| 223 |
+
"mean_conf": 0.9999662637710571,
|
| 224 |
+
"sec": 1.1,
|
| 225 |
+
"heldout": false
|
| 226 |
+
},
|
| 227 |
+
"cx_order_matters": {
|
| 228 |
+
"n": 90,
|
| 229 |
+
"acc": 0.8222222222222222,
|
| 230 |
+
"nll": 0.5555646419525146,
|
| 231 |
+
"brier": 0.2694486081600189,
|
| 232 |
+
"ece": 0.06730836530526482,
|
| 233 |
+
"aurc": 0.0479596063979094,
|
| 234 |
+
"acc_at_80": 0.8888888888888888,
|
| 235 |
+
"acc_at_50": 0.9777777777777777,
|
| 236 |
+
"chance": 0.3629629629629629,
|
| 237 |
+
"mean_conf": 0.8742075562477112,
|
| 238 |
+
"sec": 1.0,
|
| 239 |
+
"heldout": false
|
| 240 |
+
},
|
| 241 |
+
"cx_value_of_information": {
|
| 242 |
+
"n": 90,
|
| 243 |
+
"acc": 1.0,
|
| 244 |
+
"nll": 0.007142952643334866,
|
| 245 |
+
"brier": 0.004883978981524706,
|
| 246 |
+
"ece": 0.005321940448549059,
|
| 247 |
+
"aurc": 0.0,
|
| 248 |
+
"acc_at_80": 1.0,
|
| 249 |
+
"acc_at_50": 1.0,
|
| 250 |
+
"chance": 0.09999999999999998,
|
| 251 |
+
"mean_conf": 0.9946780800819397,
|
| 252 |
+
"sec": 1.2,
|
| 253 |
+
"heldout": false
|
| 254 |
+
},
|
| 255 |
+
"cx_weighted_aggregate": {
|
| 256 |
+
"n": 90,
|
| 257 |
+
"acc": 0.5111111111111111,
|
| 258 |
+
"nll": 1.056013584136963,
|
| 259 |
+
"brier": 0.5498751401901245,
|
| 260 |
+
"ece": 0.15534916122754414,
|
| 261 |
+
"aurc": 0.23210885309867516,
|
| 262 |
+
"acc_at_80": 0.6111111111111112,
|
| 263 |
+
"acc_at_50": 0.8,
|
| 264 |
+
"chance": 0.2822222222222222,
|
| 265 |
+
"mean_conf": 0.6122539639472961,
|
| 266 |
+
"sec": 1.1,
|
| 267 |
+
"heldout": false
|
| 268 |
+
}
|
| 269 |
+
},
|
| 270 |
+
"agg": {
|
| 271 |
+
"in_task": {
|
| 272 |
+
"acc": 0.7748538011695907,
|
| 273 |
+
"nll": 0.584524187147556,
|
| 274 |
+
"brier": 0.2983455650632406,
|
| 275 |
+
"ece": 0.10666718983162217,
|
| 276 |
+
"aurc": 0.10840233074066022,
|
| 277 |
+
"acc_at_80": 0.8391812865497076,
|
| 278 |
+
"chance": 0.26233337974566046
|
| 279 |
+
},
|
| 280 |
+
"heldout": {},
|
| 281 |
+
"n_in": 19,
|
| 282 |
+
"n_heldout": 0
|
| 283 |
+
},
|
| 284 |
+
"model": "runs/v12/model",
|
| 285 |
+
"engine": ""
|
| 286 |
+
}
|
_laya.json
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cx_authority_conflict": {
|
| 3 |
+
"n": 90,
|
| 4 |
+
"acc": 0.3333333333333333,
|
| 5 |
+
"chance": 0.3222222222222224,
|
| 6 |
+
"no_answer": 0,
|
| 7 |
+
"median_ms": 25.404397398233414
|
| 8 |
+
},
|
| 9 |
+
"cx_but_for_cause": {
|
| 10 |
+
"n": 90,
|
| 11 |
+
"acc": 0.4666666666666667,
|
| 12 |
+
"chance": 0.19999999999999965,
|
| 13 |
+
"no_answer": 0,
|
| 14 |
+
"median_ms": 25.657646358013153
|
| 15 |
+
},
|
| 16 |
+
"cx_cascade_fixpoint": {
|
| 17 |
+
"n": 90,
|
| 18 |
+
"acc": 0.36666666666666664,
|
| 19 |
+
"chance": 0.28444444444444433,
|
| 20 |
+
"no_answer": 0,
|
| 21 |
+
"median_ms": 25.29609203338623
|
| 22 |
+
},
|
| 23 |
+
"cx_chain_k": {
|
| 24 |
+
"n": 90,
|
| 25 |
+
"acc": 0.5,
|
| 26 |
+
"chance": 0.24222222222222203,
|
| 27 |
+
"no_answer": 0,
|
| 28 |
+
"median_ms": 25.47660283744335
|
| 29 |
+
},
|
| 30 |
+
"cx_cheapest_flip": {
|
| 31 |
+
"n": 90,
|
| 32 |
+
"acc": 0.25555555555555554,
|
| 33 |
+
"chance": 0.25,
|
| 34 |
+
"no_answer": 0,
|
| 35 |
+
"median_ms": 25.329384952783585
|
| 36 |
+
},
|
| 37 |
+
"cx_constrained_max": {
|
| 38 |
+
"n": 90,
|
| 39 |
+
"acc": 0.3111111111111111,
|
| 40 |
+
"chance": 0.2596296296296294,
|
| 41 |
+
"no_answer": 0,
|
| 42 |
+
"median_ms": 25.352757424116135
|
| 43 |
+
},
|
| 44 |
+
"cx_delegated_decider": {
|
| 45 |
+
"n": 90,
|
| 46 |
+
"acc": 0.37777777777777777,
|
| 47 |
+
"chance": 0.31851851851851865,
|
| 48 |
+
"no_answer": 0,
|
| 49 |
+
"median_ms": 25.237319990992546
|
| 50 |
+
},
|
| 51 |
+
"cx_dominance_uncertainty": {
|
| 52 |
+
"n": 90,
|
| 53 |
+
"acc": 0.32222222222222224,
|
| 54 |
+
"chance": 0.32666666666666644,
|
| 55 |
+
"no_answer": 0,
|
| 56 |
+
"median_ms": 25.127161294221878
|
| 57 |
+
},
|
| 58 |
+
"cx_exception_ladder": {
|
| 59 |
+
"n": 90,
|
| 60 |
+
"acc": 0.5222222222222223,
|
| 61 |
+
"chance": 0.2574074074074072,
|
| 62 |
+
"no_answer": 0,
|
| 63 |
+
"median_ms": 25.36040171980858
|
| 64 |
+
},
|
| 65 |
+
"cx_fairness_vs_efficiency": {
|
| 66 |
+
"n": 90,
|
| 67 |
+
"acc": 0.3111111111111111,
|
| 68 |
+
"chance": 0.32222222222222235,
|
| 69 |
+
"no_answer": 0,
|
| 70 |
+
"median_ms": 25.226369500160217
|
| 71 |
+
},
|
| 72 |
+
"cx_insufficient_information": {
|
| 73 |
+
"n": 90,
|
| 74 |
+
"acc": 0.16666666666666666,
|
| 75 |
+
"chance": 0.16666666666666646,
|
| 76 |
+
"no_answer": 0,
|
| 77 |
+
"median_ms": 25.363288819789886
|
| 78 |
+
},
|
| 79 |
+
"cx_joint_threshold": {
|
| 80 |
+
"n": 90,
|
| 81 |
+
"acc": 0.23333333333333334,
|
| 82 |
+
"chance": 0.26518518518518525,
|
| 83 |
+
"no_answer": 0,
|
| 84 |
+
"median_ms": 25.28115175664425
|
| 85 |
+
},
|
| 86 |
+
"cx_knapsack_subset": {
|
| 87 |
+
"n": 90,
|
| 88 |
+
"acc": 0.06666666666666667,
|
| 89 |
+
"chance": 0.08387565364345541,
|
| 90 |
+
"no_answer": 0,
|
| 91 |
+
"median_ms": 26.08116902410984
|
| 92 |
+
},
|
| 93 |
+
"cx_lex_specialis": {
|
| 94 |
+
"n": 90,
|
| 95 |
+
"acc": 0.37777777777777777,
|
| 96 |
+
"chance": 0.32962962962962983,
|
| 97 |
+
"no_answer": 0,
|
| 98 |
+
"median_ms": 25.25760792195797
|
| 99 |
+
},
|
| 100 |
+
"cx_lexicographic": {
|
| 101 |
+
"n": 90,
|
| 102 |
+
"acc": 0.35555555555555557,
|
| 103 |
+
"chance": 0.267037037037037,
|
| 104 |
+
"no_answer": 0,
|
| 105 |
+
"median_ms": 25.253349915146828
|
| 106 |
+
},
|
| 107 |
+
"cx_opportunity_cost": {
|
| 108 |
+
"n": 90,
|
| 109 |
+
"acc": 0.18888888888888888,
|
| 110 |
+
"chance": 0.3111111111111113,
|
| 111 |
+
"no_answer": 0,
|
| 112 |
+
"median_ms": 25.197844952344894
|
| 113 |
+
},
|
| 114 |
+
"cx_order_matters": {
|
| 115 |
+
"n": 90,
|
| 116 |
+
"acc": 0.4111111111111111,
|
| 117 |
+
"chance": 0.3629629629629631,
|
| 118 |
+
"no_answer": 0,
|
| 119 |
+
"median_ms": 25.146376341581345
|
| 120 |
+
},
|
| 121 |
+
"cx_value_of_information": {
|
| 122 |
+
"n": 90,
|
| 123 |
+
"acc": 0.03333333333333333,
|
| 124 |
+
"chance": 0.04999999999999991,
|
| 125 |
+
"no_answer": 0,
|
| 126 |
+
"median_ms": 26.408791542053223
|
| 127 |
+
},
|
| 128 |
+
"cx_weighted_aggregate": {
|
| 129 |
+
"n": 90,
|
| 130 |
+
"acc": 0.28888888888888886,
|
| 131 |
+
"chance": 0.2822222222222221,
|
| 132 |
+
"no_answer": 0,
|
| 133 |
+
"median_ms": 25.228703394532204
|
| 134 |
+
},
|
| 135 |
+
"__all": {
|
| 136 |
+
"n": 1710,
|
| 137 |
+
"acc": 0.30994152046783624,
|
| 138 |
+
"chance": 0.2580012527258738,
|
| 139 |
+
"no_answer": 0,
|
| 140 |
+
"median_ms": 25.318972766399384,
|
| 141 |
+
"p90_ms": 26.03990212082863
|
| 142 |
+
}
|
| 143 |
+
}
|
_perfam.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
| family | chance | opus-5 | gpt-5.6 | 1.1 | glm-5.3 | kimi-k3 | ds-flash | ds-pro | 1.0 | laya |
|
| 2 |
+
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 3 |
+
| `knapsack_subset` | 0.084 | 0.133 | 0.167 | 0.678 | 0.144 | 0.156 | 0.122 | 0.200 | 0.267 | 0.067 |
|
| 4 |
+
| `cheapest_flip` | 0.250 | 0.700 | 0.600 | 0.500 | 0.400 | 0.367 | 0.522 | 0.289 | 0.156 | 0.256 |
|
| 5 |
+
| `weighted_aggregate` | 0.282 | 0.644 | 0.689 | 0.511 | 0.367 | 0.333 | 0.367 | 0.244 | 0.356 | 0.289 |
|
| 6 |
+
| `insufficient_information` | 0.167 | 0.833 | 0.833 | 0.444 | 0.689 | 0.444 | 0.489 | 0.422 | 0.189 | 0.167 |
|
| 7 |
+
| `lexicographic` | 0.267 | 0.667 | 0.622 | 0.633 | 0.689 | 0.367 | 0.444 | 0.422 | 0.333 | 0.356 |
|
| 8 |
+
| `joint_threshold` | 0.265 | 0.622 | 0.644 | 0.689 | 0.433 | 0.444 | 0.622 | 0.600 | 0.344 | 0.233 |
|
| 9 |
+
| `dominance_uncertainty` | 0.327 | 0.844 | 0.833 | 0.911 | 0.533 | 0.433 | 0.333 | 0.244 | 0.489 | 0.322 |
|
| 10 |
+
| `order_matters` | 0.363 | 0.989 | 0.989 | 0.822 | 0.533 | 0.322 | 0.356 | 0.311 | 0.456 | 0.411 |
|
| 11 |
+
| `fairness_vs_efficiency` | 0.322 | 0.978 | 0.922 | 0.744 | 0.733 | 0.444 | 0.367 | 0.500 | 0.233 | 0.311 |
|
| 12 |
+
| `cascade_fixpoint` | 0.284 | 0.978 | 0.889 | 0.678 | 0.611 | 0.478 | 0.467 | 0.400 | 0.367 | 0.367 |
|
| 13 |
+
| `exception_ladder` | 0.257 | 0.589 | 0.600 | 0.911 | 0.600 | 0.589 | 0.578 | 0.456 | 0.500 | 0.522 |
|
| 14 |
+
| `delegated_decider` | 0.319 | 0.933 | 0.833 | 0.800 | 0.889 | 0.456 | 0.411 | 0.389 | 0.356 | 0.378 |
|
| 15 |
+
| `opportunity_cost` | 0.311 | 1.000 | 0.989 | 1.000 | 0.700 | 0.400 | 0.378 | 0.378 | 0.411 | 0.189 |
|
| 16 |
+
| `lex_specialis` | 0.330 | 0.989 | 1.000 | 0.856 | 0.511 | 0.433 | 0.500 | 0.478 | 0.533 | 0.378 |
|
| 17 |
+
| `constrained_max` | 0.260 | 1.000 | 1.000 | 0.878 | 0.956 | 0.667 | 0.689 | 0.633 | 0.511 | 0.311 |
|
| 18 |
+
| `chain_k` | 0.242 | 0.956 | 0.933 | 0.867 | 0.789 | 0.789 | 0.711 | 0.667 | 0.500 | 0.500 |
|
| 19 |
+
| `authority_conflict` | 0.322 | 0.989 | 0.956 | 0.856 | 0.967 | 0.822 | 0.700 | 0.633 | 0.611 | 0.333 |
|
| 20 |
+
| `but_for_cause` | 0.200 | 1.000 | 1.000 | 0.944 | 1.000 | 0.967 | 0.711 | 0.733 | 0.411 | 0.467 |
|
| 21 |
+
| `value_of_information` | 0.050 | 1.000 | 1.000 | 1.000 | 0.844 | 1.000 | 0.944 | 0.922 | 0.689 | 0.033 |
|
accuracy-vs-latency.png
ADDED
|
Git LFS Details
|
by-decision-type.png
ADDED
|
Git LFS Details
|
rebuild.py
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Rebuild the two figures and the per-family table from whatever has been measured.
|
| 3 |
+
|
| 4 |
+
Kept on /mnt/c rather than /tmp: a reboot cleared the last copy of this and the figures it made,
|
| 5 |
+
while the API cache that cost two thousand dollars survived because it was not in /tmp.
|
| 6 |
+
"""
|
| 7 |
+
import json, os, re, subprocess, sys
|
| 8 |
+
import numpy as np
|
| 9 |
+
import matplotlib
|
| 10 |
+
matplotlib.use("Agg")
|
| 11 |
+
import matplotlib.pyplot as plt
|
| 12 |
+
|
| 13 |
+
D = "/mnt/c/code/jev/decider"
|
| 14 |
+
OUT = "/mnt/c/code/jev/hf-dataset"
|
| 15 |
+
INK, MUTED, GRID = "#1a1a1a", "#6b7280", "#e5e7eb"
|
| 16 |
+
OURS, HOSTED, SMALL = "#1f4e79", "#9aa5b1", "#c25e00"
|
| 17 |
+
CHANCE = 0.258
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
def api_log(path, model):
|
| 21 |
+
per, cur = {}, None
|
| 22 |
+
if not os.path.exists(path):
|
| 23 |
+
return per
|
| 24 |
+
for line in open(path):
|
| 25 |
+
m = re.match(r"^#+ (\S+) #+", line.strip())
|
| 26 |
+
if m:
|
| 27 |
+
cur = m.group(1); continue
|
| 28 |
+
if cur != model:
|
| 29 |
+
continue
|
| 30 |
+
m = re.match(r"^\s+cx_(\S+)\s+acc ([0-9.]+)\s+\(chance ([0-9.]+)\)", line)
|
| 31 |
+
if m:
|
| 32 |
+
per[m.group(1)] = (float(m.group(2)), float(m.group(3)))
|
| 33 |
+
return per
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
def local(path):
|
| 37 |
+
try:
|
| 38 |
+
r = json.load(open(path)).get("results", {})
|
| 39 |
+
except Exception:
|
| 40 |
+
return {}
|
| 41 |
+
return {k[3:]: (v["acc"], None) for k, v in r.items()
|
| 42 |
+
if k.startswith("cx_") and isinstance(v, dict) and "acc" in v}
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
def laya(path):
|
| 46 |
+
try:
|
| 47 |
+
d = json.load(open(path))
|
| 48 |
+
except Exception:
|
| 49 |
+
return {}
|
| 50 |
+
return {k[3:]: (v["acc"], v.get("chance")) for k, v in d.items()
|
| 51 |
+
if k.startswith("cx_") and isinstance(v, dict) and "acc" in v}
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
SYS = [
|
| 55 |
+
("opus-5", "claude-opus-5", api_log("/tmp/cx_opus2.log", "claude-opus-5"), 1000, "hosted"),
|
| 56 |
+
("gpt-5.6", "gpt-5.6", api_log("/tmp/cx_gpt.log", "gpt-5.6"), 1200, "hosted"),
|
| 57 |
+
("1.1", "this-that-model-1.1", local(f"{OUT}/_cx_v11.json"), 30.9, "ours"),
|
| 58 |
+
("glm-5.3", "glm-5.3", api_log("/tmp/cx_four.log", "glm-5.3"), 800, "hosted"),
|
| 59 |
+
("kimi-k3", "kimi-k3", api_log("/tmp/cx_four.log", "kimi-k3"), 1000, "hosted"),
|
| 60 |
+
("ds-flash", "deepseek-v4.1-flash", api_log("/tmp/cx_four.log", "deepseek-v4.1-flash"), 800, "hosted"),
|
| 61 |
+
("ds-pro", "deepseek-v4-pro", api_log("/tmp/cx_four.log", "deepseek-v4-pro"), 900, "hosted"),
|
| 62 |
+
("1.0", "this-that-model-1.0", local(f"{OUT}/_cx_10.json"), 30.9, "ours"),
|
| 63 |
+
("laya", "laya-typed-decisions", laya(f"{OUT}/_laya.json"), 25, "small"),
|
| 64 |
+
]
|
| 65 |
+
|
| 66 |
+
overall = {}
|
| 67 |
+
for short, full, per, ms, kind in SYS:
|
| 68 |
+
if per:
|
| 69 |
+
overall[short] = sum(v[0] for v in per.values()) / len(per)
|
| 70 |
+
|
| 71 |
+
print(f"{'system':22s} {'overall':>8s} families")
|
| 72 |
+
for short, full, per, ms, kind in SYS:
|
| 73 |
+
a = f"{overall[short]:.3f}" if short in overall else "--"
|
| 74 |
+
print(f"{full:22s} {a:>8s} {len(per)}/19")
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
# ---------------------------------------------------------------- figure 1: accuracy vs latency
|
| 78 |
+
fig, ax = plt.subplots(figsize=(8.6, 5.3), dpi=200)
|
| 79 |
+
fig.patch.set_facecolor("white"); ax.set_facecolor("white")
|
| 80 |
+
ax.axhspan(0, CHANCE, color="#f3f4f6", zorder=0)
|
| 81 |
+
ax.axhline(CHANCE, color=MUTED, lw=1, ls=(0, (4, 3)), zorder=1)
|
| 82 |
+
ax.text(5200, CHANCE - 0.013, "chance", color=MUTED, fontsize=9, ha="right", va="top")
|
| 83 |
+
|
| 84 |
+
OFF = {"opus-5": (1.12, 0.016, "left"), "gpt-5.6": (1.12, -0.004, "left"),
|
| 85 |
+
"1.1": (1.22, 0.0, "left"), "glm-5.3": (0.88, 0.0, "right"),
|
| 86 |
+
"kimi-k3": (1.12, 0.014, "left"), "ds-flash": (0.88, -0.002, "right"),
|
| 87 |
+
"ds-pro": (1.12, -0.014, "left"), "1.0": (1.22, 0.0, "left"),
|
| 88 |
+
"laya": (1.25, 0.0, "left")}
|
| 89 |
+
for short, full, per, ms, kind in SYS:
|
| 90 |
+
if short not in overall:
|
| 91 |
+
continue
|
| 92 |
+
c = {"ours": OURS, "hosted": HOSTED, "small": SMALL}[kind]
|
| 93 |
+
acc = overall[short]
|
| 94 |
+
ax.scatter(ms, acc, s=150 if kind != "hosted" else 90, color=c, zorder=3,
|
| 95 |
+
edgecolor="white", linewidth=1.6)
|
| 96 |
+
dx, dy, ha = OFF[short]
|
| 97 |
+
ax.annotate(full, (ms * dx, acc + dy), fontsize=9.5,
|
| 98 |
+
color=INK if kind != "hosted" else MUTED, ha=ha, va="center",
|
| 99 |
+
fontweight="bold" if kind == "ours" else "normal", zorder=4)
|
| 100 |
+
|
| 101 |
+
ax.set_xscale("log"); ax.set_xlim(15, 6000); ax.set_ylim(0.20, 0.92)
|
| 102 |
+
ax.set_xlabel("latency per decision (ms, log scale)", fontsize=10.5, color=INK)
|
| 103 |
+
ax.set_ylabel("accuracy", fontsize=10.5, color=INK)
|
| 104 |
+
ax.set_title("1,710 complex decisions: what each answer costs in time",
|
| 105 |
+
fontsize=12.5, color=INK, pad=14, loc="left")
|
| 106 |
+
ax.set_xticks([25, 50, 100, 250, 500, 1000, 2000])
|
| 107 |
+
ax.set_xticklabels(["25", "50", "100", "250", "500", "1000", "2000"])
|
| 108 |
+
ax.grid(axis="y", color=GRID, lw=0.8); ax.set_axisbelow(True)
|
| 109 |
+
for s_ in ("top", "right"):
|
| 110 |
+
ax.spines[s_].set_visible(False)
|
| 111 |
+
for s_ in ("left", "bottom"):
|
| 112 |
+
ax.spines[s_].set_color(GRID)
|
| 113 |
+
ax.tick_params(colors=MUTED, labelsize=9.5)
|
| 114 |
+
ax.annotate("", xy=(33, overall["1.1"]), xytext=(950, overall["opus-5"]),
|
| 115 |
+
arrowprops=dict(arrowstyle="-", color=GRID, lw=1.2, ls=(0, (3, 3))), zorder=1)
|
| 116 |
+
ax.text(165, 0.807, f"{overall['opus-5']-overall['1.1']:.3f} accuracy, 32x the speed",
|
| 117 |
+
fontsize=9, color=MUTED, ha="center")
|
| 118 |
+
fig.tight_layout(); fig.savefig(f"{OUT}/accuracy-vs-latency.png", facecolor="white")
|
| 119 |
+
print("wrote accuracy-vs-latency.png")
|
| 120 |
+
|
| 121 |
+
# ------------------------------------------------------------------ figure 2: per-family matrix
|
| 122 |
+
cols = [s for s, _, p, _, _ in SYS if p]
|
| 123 |
+
fams = sorted({f for _, _, p, _, _ in SYS for f in p})
|
| 124 |
+
M = np.array([[SYS[[c[0] for c in SYS].index(c)][2].get(f, (np.nan,))[0] for c in cols]
|
| 125 |
+
for f in fams])
|
| 126 |
+
order = np.argsort(np.nanmean(M, axis=1))
|
| 127 |
+
M, fams = M[order], [fams[i] for i in order]
|
| 128 |
+
|
| 129 |
+
fig, ax = plt.subplots(figsize=(10.4, 6.8), dpi=200)
|
| 130 |
+
fig.patch.set_facecolor("white")
|
| 131 |
+
cmap = matplotlib.colors.LinearSegmentedColormap.from_list(
|
| 132 |
+
"one_hue", ["#f7fbff", "#cfe0f0", "#8fb8db", "#4a89bd", "#1f4e79"])
|
| 133 |
+
cmap.set_bad("#f0f0f0")
|
| 134 |
+
im = ax.imshow(M, cmap=cmap, vmin=0.0, vmax=1.0, aspect="auto")
|
| 135 |
+
ax.set_xticks(range(len(cols))); ax.set_xticklabels(cols, fontsize=9.5, color=INK)
|
| 136 |
+
ax.set_yticks(range(len(fams)))
|
| 137 |
+
ax.set_yticklabels([f.replace("_", " ") for f in fams], fontsize=9.5, color=INK)
|
| 138 |
+
ax.tick_params(length=0)
|
| 139 |
+
for s_ in ax.spines.values():
|
| 140 |
+
s_.set_visible(False)
|
| 141 |
+
ax.set_xticks(np.arange(-.5, len(cols), 1), minor=True)
|
| 142 |
+
ax.set_yticks(np.arange(-.5, len(fams), 1), minor=True)
|
| 143 |
+
ax.grid(which="minor", color="white", lw=2); ax.tick_params(which="minor", length=0)
|
| 144 |
+
for i in range(M.shape[0]):
|
| 145 |
+
for j in range(M.shape[1]):
|
| 146 |
+
v = M[i, j]
|
| 147 |
+
if not np.isnan(v) and (v >= 0.90 or v <= 0.30):
|
| 148 |
+
ax.text(j, i, f"{v:.2f}", ha="center", va="center", fontsize=8,
|
| 149 |
+
color="white" if v >= 0.90 else MUTED)
|
| 150 |
+
ax.set_title("accuracy by decision type, hardest first", fontsize=12.5, color=INK, pad=14, loc="left")
|
| 151 |
+
cb = fig.colorbar(im, ax=ax, fraction=0.022, pad=0.015)
|
| 152 |
+
cb.outline.set_visible(False)
|
| 153 |
+
cb.ax.tick_params(colors=MUTED, labelsize=9, length=0)
|
| 154 |
+
cb.set_label("accuracy", color=MUTED, fontsize=9.5)
|
| 155 |
+
fig.tight_layout(); fig.savefig(f"{OUT}/by-decision-type.png", facecolor="white")
|
| 156 |
+
print("wrote by-decision-type.png")
|
| 157 |
+
|
| 158 |
+
# the markdown table, for the card
|
| 159 |
+
with open(f"{OUT}/_perfam.md", "w") as fh:
|
| 160 |
+
fh.write("| family | chance | " + " | ".join(cols) + " |\n")
|
| 161 |
+
fh.write("|---|---:|" + "---:|" * len(cols) + "\n")
|
| 162 |
+
for i, f in enumerate(fams):
|
| 163 |
+
ch = next((p[f][1] for _, _, p, _, _ in SYS if f in p and p[f][1]), float("nan"))
|
| 164 |
+
row = " | ".join("--" if np.isnan(M[i, j]) else f"{M[i, j]:.3f}" for j in range(len(cols)))
|
| 165 |
+
fh.write(f"| `{f}` | {ch:.3f} | {row} |\n")
|
| 166 |
+
print("wrote _perfam.md")
|