Why ScalableCoding?
Static coding benchmarks leak into pretraining corpora within months. When a small local model solves two_sum or is_palindrome, it is impossible to tell whether it is reasoning or reciting.
ScalableCoding v1.0 solves this by generating every task from a deterministic seed (seed=42 for our reference run). Every function name (fn_uhbrp), parameter name (v_hig8), class name (Yel532), method name (m_vuuj), and constant is synthesized on the fly alongside a hidden ground-truth Python oracle and randomized unit tests. Each model’s response is extracted and executed in an isolated Python 3 subprocess with a 5-second timeout—awarding a point if and only if every assertion passes.
The 5-tier procedural ramp
ScalableCoding scales complexity across five 10-task tiers, moving from single-parameter pure functions to multi-object systems:
- Tier 1 (
SC_01–SC_10) — Single-Param Pure Functions: One randomly named function and parameter with arithmetic, modulo, string reversal/joining, clamping, or list filtering (e.g.fn_uhbrp(v_hig8)). - Tier 2 (
SC_11–SC_20) — Multi-Param & Branching: Two to four randomly named parameters with parity branching, deduplicated divisibility sorting, prefix+length counting, tuple min/max, or dict intersection math (e.g.op_ggg1w(p_n03d, p_vgdz, p_xvgp)). - Tier 3 (
SC_21–SC_30) — Multi-Function Pipelines: Two or three randomly named functions that must call each other in a specified dependency chain (e.g.fn_njp70composingfn_oktbcandfn_kdswx). - Tier 4 (
SC_31–SC_40) — Stateful Classes & Methods: Randomly named classes (capped accumulators and keyed score ledgers) with multiple interacting mutator and query methods tested via stateful call sequences. - Tier 5 (
SC_41–SC_50) — Multi-Class + Function Systems: Two interacting randomly named classes plus an orchestrator function that instantiates, registers, and aggregates across objects.
3-way local model results
We evaluated all three generations of Orion’s on-device models on identical Apple M2 Metal hardware (llama.cpp prism-b12128, n_ctx = 8192, temperature = 0.2, enable_thinking = False) on seed=42:
| Tier / Metric | Qwen 3.5 4B 2.14 GiB · Q3_K_M |
Ternary-Bonsai-2-4B 1.12 GiB · Q2_0 |
Dolphin 3.0 3B 1.80 GiB · Q4_0 |
|---|---|---|---|
| Tier 1 — Single-Param Pure (10) | 90.0% (9) | 100.0% (10) | 90.0% (9) |
| Tier 2 — Multi-Param & Branching (10) | 100.0% (10) | 100.0% (10) | 90.0% (9) |
| Tier 3 — Multi-Function Pipeline (10) | 80.0% (8) | 70.0% (7) | 40.0% (4) |
| Tier 4 — Stateful Class & Methods (10) | 100.0% (10) | 60.0% (6) | 20.0% (2) |
| Tier 5 — Multi-Class + System (10) | 100.0% (10) | 100.0% (10) | 100.0% (10) |
| Total Score (50 tasks) | 47 / 50 (94.0%) | 43 / 50 (86.0%) | 34 / 50 (68.0%) |
| Wall Time (50 tasks) | 394.8s (6.6m) | 255.3s (4.3m) | 371.2s (6.2m) |
| Completion Tokens | 5,955 | 5,898 | 9,892 |
Key findings & v2 roadmap
- Efficiency vs. ceiling: Ternary-Bonsai-2-4B (
1.12 GiB) beats Dolphin 3.0 by +18.0 points (86.0% vs. 68.0%) while finishing 1.55× faster than Qwen 3.5 4B in 47.7% less storage. Qwen 3.5 4B (2.14 GiB) leads overall at 94.0% by acing stateful class edge cases in Tier 4. - Where models actually break: Simple syntax and multi-class boilerplate (Tier 5) are already saturated even at 3B–4B. The real discriminator is stateful side-effect tracking (Tier 4: clamping, conditional bonuses, pop-and-return) and subtle multi-step data pipelines (Tier 3).
- ScalableCoding v2 roadmap: We plan to harden Tier 5 with randomized inheritance hierarchies, state machines, custom exception handling, and randomized attribute/method names—plus multi-seed averaging so no single prompt phrasing can skew a score.