Same task, two spellings
The Plink side runs right here in your browser. Edit it and press Run. Its grade uses the same rule as the experiment: the expected output must be the last lines printed.
The score
25 loop tasks, each answered 5 times (1 greedy, 4 sampled) in each language, with and without the reference. A task counts as solved if any of the 5 answers passes.
Every answer
Each cell holds the 5 answers for one task. passed wouldn't compile or parse ran, wrong output Select a cell to read the answers.
Then: no reference, but tools
Rounds 2 and 3 dropped the reference. Each model got just the task, plus tools to list, search and read the language's real docs and to run its code, for up to 15 turns. 3 attempts per task.
| Model | Zig 0.17 solved | Plink solved | Attempts that opened the docs |
|---|---|---|---|
| Qwen3 0.6B | 0 of 25 | 0 of 25 | 0 of 150 |
| Gemma 4 E2B | 9 of 25 | 4 of 25 | 2 of 75 in Zig, 43 of 75 in Plink |
| Tiny Gemma 4 (my 0.6B cut-down) | 0 of 25 | 0 of 25 | 5–6 of 75, file listings only |
Gemma 4 E2B almost never read the Zig docs. It got there by running its code about 11 times per attempt and changing it after each compiler error. Qwen3 0.6B also ran its code, but after an error it said it would fix it and sent the identical program again.
Loading transcripts…
What it says
- Both models have the loop concept: in Python they solve 21–22 of the 25 tasks.
- A looked-up reference doesn't carry that concept into a new spelling. It roughly halves syntax failures, but those mostly turn into wrong output, not passes.
- The models treat the reference as the answer to imitate, not a template to fill. Qwen3 0.6B pastes the
reference's own example (
list(3, 1, 4),"even") into 66% of its Plink answers, and the reference makes its plain Python worse (66% → 44%). - Qwen3 1.7B's Zig errors show the same gap: the reference says signed integers need
@mod, and it still writesi % 2. - What the small models lack is a habit, not knowledge: noticing "I don't know this", going to look, and changing course after an error. Gemma 4 E2B has the last part. That's what the next experiments try to train.