Results / updated 31 October 2026
Every number behind Kern, with its interval.
The overview page shows the headline figures. This page has the tables behind them: which model, which exam, how many tasks and how sure we are. Intervals are 95%. Comparisons are paired and resample whole clusters of related tasks, so near duplicates do not count twice.
01 / Dev exam TS v0.1
450 edits on code no model of ours trained on.
The exam we use to accept or reject a training recipe. 450 tasks in 127 clusters from 14 open-source repositories: rxjs, mobx, ufo, cac, graphql-js, date-fns, marked, vue core, react-router, uuid, preact signals, react-hook-form, path-to-regexp and htmlparser2. 200 test fixes, 135 function edits, 70 refactors and 45 compile fixes. 150 instructions are in Polish. Every reference solution passes the hidden tests and every starting snapshot fails them.
A task passes when the edit applies, compiles, lints and passes the hidden tests.
| Model | First answer | 95% interval | After one repair | Compiles |
|---|---|---|---|---|
| Qwen3.5-4B the Kern trunk, bare | 72 · 16.0% | 12.9 to 19.7 | n/a | 41.6% |
| Qwen3.5-9B bare | 175 · 38.9% | 34.5 to 43.5 | n/a | 78.0% |
| Kern 4B v0.6 public, mean of 3 seeds | 36.7% | seeds 35.6 to 37.6 | 40.0% | 77.2% |
| Kern 4B v0.13 seed 0 | 196 · 43.6% | 39.0 to 48.2 | 206 · 45.8% | 84.7% |
| Kern 4B v0.13 seed 1 | 194 · 43.1% | 38.6 to 47.7 | 204 · 45.3% | 83.8% |
| Kern 9B v0.12 seed 0 | 207 · 46.0% | 41.4 to 50.6 | n/a | 86.9% |
| Qwen3.8-27B bare | 254 · 56.4% | 51.8 to 61.0 | 305 · 67.8% | 70.4% |
What the gaps are worth.
| Comparison, first answer | Points | 95% interval |
|---|---|---|
| Kern 4B v0.13 vs its bare trunk | +27.6 | +22.7 to +32.5 |
| v0.13 vs v0.6 2 and 3 seeds | +6.7 | +3.3 to +10.0 |
| Kern 9B v0.12 vs bare 9B | +7.1 | +2.9 to +11.3 |
| Kern 4B v0.13 vs bare 9B | +4.7 | −0.7 to +10.1 |
| Kern 9B v0.12 vs Kern 4B v0.13 | +2.4 | −2.4 to +7.4 |
| Kern 4B v0.13 vs Qwen3.8-27B | −12.9 | −18.6 to −7.1 |
Where each model wins and loses.
| Model | Compile of 45 | Function of 135 | Test of 200 | Refactor of 70 |
|---|---|---|---|---|
| Qwen3.5-4B | 21 | 23 | 26 | 2 |
| Qwen3.5-9B | 37 | 53 | 70 | 15 |
| Kern 4B v0.6 s0 | 34 | 49 | 73 | 10 |
| Kern 4B v0.13 s0 | 36 | 59 | 74 | 27 |
| Kern 9B v0.12 | 37 | 58 | 84 | 28 |
| Qwen3.8-27B | 44 | 90 | 114 | 6 |
02 / Pilot on production code
306 tasks, end to end, on a MacBook Air.
218 tasks on Moxxy, our desktop agent, and 88 on Umami, an open-source analytics app. Each configuration ran the whole product on an M4 MacBook Air with 24 GB from 19 to 29 October: context, answer, build and lint checks, one repair turn. Hidden tests decided correctness afterwards. The decision rule was registered before the first run.
The 4B module is the only setup that is both right often and fast.
| Configuration | Accepted | Precision | Correct and accepted | Within 15 s | Peak memory |
|---|---|---|---|---|---|
| Kern 4B module v0.6 3 seeds | 74.2% | 67.1% | 49.8% | 29.8% | 7.4 GiB |
| Qwen3.5-4B + worked examples | 55.9% | 64.9% | 36.3% | 21.6% | 7.5 GiB |
| Qwen3.5-4B bare | 22.5% | 65.2% | 14.7% | 11.4% | 7.1 GiB |
| Kern 9B module 3 seeds | 78.0% | 72.5% | 56.5% | 20.2% | 10.3 GiB |
| Qwen3.5-9B + worked examples | 74.8% | 69.0% | 51.6% | 17.0% | 10.3 GiB |
| Qwen3.5-9B bare | 44.1% | 67.4% | 29.7% | 8.5% | 10.2 GiB |
| Liquid LFM2.5-8B-A1B 3 seeds | 24.0% | 14.0% | 3.4% | 0.4% | 8.0 GiB |
| Liquid LFM2.5-2.6B 3 seeds | 48.7% | 24.2% | 11.8% | 2.8% | 4.8 GiB |
points within 15 s for the 4B module over the best setup without one (95% interval +4.4 to +12.6). The registered bar was +5 with a lower bound above zero. Passed.
points for the 9B module. It is the most accurate setup and the slowest: its first answer takes about 18 s at the median against 10 s for the 4B module.
refactors finished within 15 s by any configuration. The gain sits in compile fixes (+7.2), function edits (+9.2) and test fixes (+12.8).
03 / Green checks
How often an accepted edit is actually right.
The same 306 pilot tasks, module v0.6, three seeds. Arm A accepts an edit on build and lint. Arm B also runs the repository's own tests. Hidden tests decide which accepted edits were right.
Repository tests raise precision by 10 points.
| Checks | Accepted | Precision | Correct and accepted |
|---|---|---|---|
| A · build and lint | 74.2% | 67.1% | 49.8% |
| B · + repo tests | 68.0% | 77.1% | 52.4% |
| B minus A | −6.2 | +10.0 | +2.6 |
Near proof for some edits, weak evidence for others.
| Category | A · build, lint | B · + tests |
|---|---|---|
| Compile fixes | 93.8% | 98.0% |
| Test fixes | 65.0% | 95.0% |
| Refactors | 40.0% | 50.0% |
| Function edits | 40.1% | 42.5% |
04 / Real GitHub issues
Public benchmarks, where we are weakest.
Issues from real projects, graded by the projects' own test suites run natively. One answer per issue, no repair turn, with the files of the merged fix shown to the model. Agents that search a repository over many turns solve far more of these.
A single local edit resolves few real issues, for every model we tried.
| Model | SWE-bench Multilingual JS and TS slice | SWE-PolyBench Verified TS |
|---|---|---|
| Qwen3.5-4B bare | 1 / 43 | 1 / 97 |
| Kern 4B v0.13 | 4 / 43 | 6 / 97 |
| Qwen3.5-9B bare | 2 / 43 | 4 / 98 |
| Kern 9B v0.12 | 5 / 43 | 6 / 98 |
| Qwen3.8-27B bare | 3 / 43 | 11 / 99 |
05 / Expert modules
One trunk, one adapter per job.
Each module is a 65 MB LoRA adapter on the same frozen Qwen3.5-4B trunk, loaded at run time. Only TS edit v0.6 is public today.
Specialized adapters beat one adapter for everything.
| Module | Job | Result |
|---|---|---|
| TS edit v0.13 | Edits TypeScript | Dev exam 43.6% and 43.1% (two seeds), from 36.7% for v0.6 |
| TS edit v0.6 | The public release | Dev exam 36.7%, pilot gate passed; on Hugging Face |
| React frontend v1.1 | React, TSX and CSS edits | Frontend exam r6 (200 tasks, 50 of them ask or decline): 48% against 44% for the TS module, one seed each |
| Explain v0.1 | Answers questions about the code, edits nothing | Tried on live questions in the 28 October demo; no scored exam yet |
| Joint TS and frontend v1.3 | One adapter for both jobs | Dev exam 43.8% (TS module 43.6%), r6 45% (frontend module 48%), Multilingual 2 of 43 (TS module 4). Not adopted |
06 / Where we started
The 14 October proof of concept.
Our first public results, kept here unchanged. Golden TS v0.1 is an exam of 101 edits with hidden tests, frozen on 8 October and run once at the end, on the laptop as Kern ships. On 101 tasks a single score has an interval about 19 points wide, which is why we built the 450-task dev exam above.
The module lifted the 4B trunk about four times.
| Model | Runs on | Passed of 101 | pass@1 |
|---|---|---|---|
| Qwen2.5-Coder 7B bare | GPU | 11 | 10.9% |
| Qwen3.5-4B bare, the trunk | MacBook, Q4 | 12 | 11.9% |
| Kern 4B TS module 3 seeds | MacBook, Q4 | 49, 47, 47 | 47.2% |
| Kern 4B + repair loop 3 seeds | MacBook, Q4 | 54, 51, 47 | 50.2% |
| Kern 7B same recipe | GPU | 57 | 56.4% |
| Qwen2.5-Coder 32B bare | GPU | 67 | 66.3% |
| GLM-5.2 744B, the teacher | GPU | 81 | 80.2% |
Thresholds set before we measured. One met, three partly.
| Hypothesis | Target | Result | Verdict |
|---|---|---|---|
| H1 Quality | 70% of a frontier model, no worse than a bare 7B | 59% of the teacher (49 to 69); +36 points over the 7B | Partly |
| H2 Toolchain data | +5 points from data the toolchain checked | Filtered 131, unfiltered 139 of 160 | Not met |
| H3 Toolchain reward | +5 points over supervised training | RL raised the training reward, not the exams | Not met |
| H4 Confidence | Probe AUROC 0.80, 0.05 above a text baseline | AUROC 0.70, at most 0.044 above TF-IDF | Not met |
| H5 Out of scope | F1 0.95, at most 5% false refusals | F1 0.96 on verify TS, 0.75 to 0.85 on 19 golden decisions | Partly |
| H6 Latency | 3 s per function edit | 7.3 to 9.6 s cold, 5.8 s warm | Not met |
| H7 Modules | LoRA at 90% of full fine-tuning in 20% of the GPU time | TS: 102% (96 to 107) in 16% of the time | Met on TS |
| H8 Multi-token prediction | 1.3× faster, at most 1 point lower | Frontend 1.38×, TS 1.13×, no quality loss | Partly |
| H9 Router | 98% module accuracy within 50 ms | Learned router 89%; a file-extension rule 435 of 435 | Not met |
07 / Method and limits
How we measure, and what it does not prove.
- Exams stay out of training. Golden and dev tasks never enter training data or the prompts that generate it. Training data is screened against every exam for 13-gram overlap.
- A pass needs everything. A versioned harness applies the edit in a container, then runs strict tsc, ESLint, Prettier and the hidden tests. Compiling alone is not a pass.
- Seeds matter. Seeds of one recipe differ by up to 4.4 points on the dev exam. We accept a recipe on the mean of its seeds and read single-seed rows as indicative.
- Teachers, filtered. Training data come from larger teacher models and pass the toolchain before use. Every record keeps the name of the model that wrote it.
- Our exams, not a leaderboard. Dev and golden are our own exams on public code. The public benchmarks in section 04 are where we compare on other people's terms, and there we are weak.
- Tests bound the claim. Hidden tests make a superficial fix less likely. They cannot prove an edit right for every input.
- GPU and laptop differ. Exam rows marked bf16 ran on a GPU. The 4-bit laptop build scores about 4 points lower on the dev exam.