File size: 6,276 Bytes
f3042bd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Which interface wins, per grammar and model

Exploratory, not registered. Generated by `bun analyze/phase6-interface-map.ts` from the published cell summaries: `analysis-v1` (cohort), `open-weights-v1` (DeepSeek), and, for `json-complete` and `code-complete`, each grammar's corrected-docs cells (`vega-lite-docs-fix-v2`, `gosling-docs-fix-v1`, `genomespy-docs-fix-v2`). Quality is mean final quality over 24 rows (8 tasks × 3 repetitions). The 10 groups every grammar has are compared; Vega-Lite's Flint groups are left out.

How to read it: with 8 tasks, differences below about 0.02 are noise, so "tied" lists every group within 0.02 of the best. Picking the best of 10 noisy cells favors luck, so regret is biased upward, most for groups that are rarely best. The hint groups' hints were learned from other tasks' errors on the same grammar, leaving out the task tested, with text taken only from the schema (experiment-phase-6.md §2).

## 1. Best interface per cell

| Grammar | Model | No-docs first try | Best | Quality | Tied (≤ 0.02) | Cheapest tied | Spread |
|---|---|---|---|---|---|---|---|
| Vega-Lite | gpt-6-sol | 0.98 | json-functions | 0.987 | 8 | json-complete-index-hints | 0.028 |
| Vega-Lite | gpt-6-sol-low | 0.98 | json-functions | 0.988 | 3 | code-complete-index | 0.040 |
| Vega-Lite | claude-opus-5.5 | 0.95 | json-complete | 1.000 | 10 | json-complete-index-hints | 0.010 |
| Vega-Lite | claude-opus-5.5-low | 1.00 | json-complete | 0.997 | 10 | json-complete-index-hints | 0.006 |
| Vega-Lite | gemini-3.8-flash | 0.50 | json-complete | 1.000 | 2 | json-complete-index | 0.375 |
| Vega-Lite | deepseek-v4.1-flash | 0.81 | code-functions-index | 0.978 | 2 | code-complete | 0.205 |
| Gosling | gpt-6-sol | 0.57 | json-functions | 0.785 | 2 | json-complete-index | 0.154 |
| Gosling | gpt-6-sol-low | 0.62 | code-complete | 0.792 | 1 | code-complete | 0.239 |
| Gosling | claude-opus-5.5 | 0.75 | code-functions | 0.842 | 5 | json-complete | 0.034 |
| Gosling | claude-opus-5.5-low | 0.82 | json-complete-index-hints | 0.839 | 2 | json-complete-index-hints | 0.121 |
| Gosling | gemini-3.8-flash | 0.71 | json-complete-index | 0.825 | 1 | json-complete-index | 0.386 |
| Gosling | deepseek-v4.1-flash | 0.17 | json-complete-index | 0.783 | 1 | json-complete-index | 0.354 |
| GenomeSpy | gpt-6-sol | 0.00 | json-functions | 0.940 | 1 | json-functions | 0.500 |
| GenomeSpy | gpt-6-sol-low | 0.05 | json-functions | 0.899 | 2 | json-functions-index | 0.332 |
| GenomeSpy | claude-opus-5.5 | 0.68 | json-complete-index-hints | 0.978 | 6 | json-complete | 0.085 |
| GenomeSpy | claude-opus-5.5-low | 0.63 | json-complete | 0.993 | 5 | code-complete-index-hints | 0.068 |
| GenomeSpy | gemini-3.8-flash | 0.04 | code-complete-index-hints | 0.959 | 2 | code-complete-index-hints | 0.496 |
| GenomeSpy | deepseek-v4.1-flash | 0.00 | code-complete-index-hints | 0.896 | 1 | code-complete-index-hints | 0.280 |

## 2. One interface for every cell

Regret = best quality in the cell − this group's quality, over the 18 grammar × model cells. Cost, tokens, and time are means per generation over the same cells. Time is wall-clock, with model calls and host checks; it depends on provider load, and the corrected-docs cells ran on a later day.

| Group | Mean regret | Max regret (cell) | Cells within 0.02 | Mean cost | Mean tokens | Mean time |
|---|---|---|---|---|---|---|
| code-complete-index-hints | 0.043 | 0.169 (genomespy gpt-6-sol) | 8 / 18 | $0.029 | 22k | 20 s |
| json-complete | 0.046 | 0.146 (gosling deepseek) | 6 / 18 | $0.040 | 82k | 33 s |
| code-complete | 0.052 | 0.160 (genomespy gpt-6-sol) | 5 / 18 | $0.037 | 87k | 27 s |
| json-complete-index-hints | 0.063 | 0.175 (gosling deepseek) | 5 / 18 | $0.035 | 32k | 25 s |
| json-functions | 0.074 | 0.253 (vega-lite gemini-3.8-flash-medium) | 9 / 18 | $0.247 | 1508k | 65 s |
| json-complete-index | 0.083 | 0.468 (genomespy gpt-6-sol) | 9 / 18 | $0.034 | 35k | 28 s |
| code-functions-index | 0.088 | 0.354 (gosling deepseek) | 4 / 18 | $0.055 | 57k | 30 s |
| code-functions | 0.093 | 0.386 (gosling gemini-3.8-flash-medium) | 6 / 18 | $0.043 | 96k | 22 s |
| json-functions-index | 0.109 | 0.496 (genomespy gemini-3.8-flash-medium) | 7 / 18 | $0.175 | 405k | 61 s |
| code-complete-index | 0.110 | 0.500 (genomespy gpt-6-sol) | 5 / 18 | $0.031 | 37k | 26 s |

## 3. What the winners have in common

Per cell: the best whole-spec group − the best constructor group, and the best code group − the best JSON group.

| Grammar | Model | No-docs first try | Strength | Whole spec − constructors | Code − JSON |
|---|---|---|---|---|---|
| Vega-Lite | gpt-6-sol | 0.98 | 0.812 | −0.005 | −0.005 |
| Vega-Lite | gpt-6-sol-low | 0.98 | 0.811 | −0.013 | −0.013 |
| Vega-Lite | claude-opus-5.5 | 0.95 | 0.925 | +0.000 | +0.000 |
| Vega-Lite | claude-opus-5.5-low | 1.00 | 0.916 | +0.000 | +0.000 |
| Vega-Lite | gemini-3.8-flash | 0.50 | 0.803 | +0.025 | −0.025 |
| Vega-Lite | deepseek-v4.1-flash | 0.81 | 0.770 | −0.011 | +0.020 |
| Gosling | gpt-6-sol | 0.57 | 0.812 | −0.000 | −0.054 |
| Gosling | gpt-6-sol-low | 0.62 | 0.811 | +0.067 | +0.025 |
| Gosling | claude-opus-5.5 | 0.75 | 0.925 | −0.000 | +0.005 |
| Gosling | claude-opus-5.5-low | 0.82 | 0.916 | +0.072 | −0.033 |
| Gosling | gemini-3.8-flash | 0.71 | 0.803 | +0.084 | −0.031 |
| Gosling | deepseek-v4.1-flash | 0.17 | 0.770 | +0.139 | −0.071 |
| GenomeSpy | gpt-6-sol | 0.00 | 0.812 | −0.142 | −0.046 |
| GenomeSpy | gpt-6-sol-low | 0.05 | 0.811 | −0.122 | −0.071 |
| GenomeSpy | claude-opus-5.5 | 0.68 | 0.925 | +0.004 | −0.004 |
| GenomeSpy | claude-opus-5.5-low | 0.63 | 0.916 | +0.000 | +0.000 |
| GenomeSpy | gemini-3.8-flash | 0.04 | 0.803 | +0.019 | +0.067 |
| GenomeSpy | deepseek-v4.1-flash | 0.00 | 0.770 | +0.069 | +0.068 |

Spearman's ρ over the 18 cells (descriptive; cells share models and grammars, and API size takes only 3 values). Strength is the model's mean final quality over every grammar and group.

| Predictor | spread (best − worst) | whole spec − constructors | code − JSON |
|---|---|---|---|
| no-docs first-try quality | −0.81 | −0.15 | +0.10 |
| model strength | −0.67 | −0.27 | −0.02 |
| API size | −0.34 | −0.46 | +0.22 |