Skip to content

Program improvementΒΆ

Source

Reproduction record from hylo-harness: adapters/hylo-code-agents/examples/README.md. Every number on this page was measured by the scripts next to it; run them to reproduce.

All program and tool experiments

A campaign on stack starts from a hand-written parent that is deliberately weak: it stacks two blocks only and never retries. The generator research.llm gives gpt-oss:20b a research session with three development cases, in which it rewrites the parent. The campaign's gate then compares the new program with the parent on unseen initial states. The model never sees the gate or held-out results. Full details are on campaign/README.md.

uv run hylo evolve run harness/adapters/hylo-code-agents/examples/campaign/campaign.yaml
uv run hylo evolve status runs/campaign/campaign
Step Split (episodes) Candidate Parent Wins / losses (pairs) p
Research session search, 3 dev cases 3/3 (each of 3 submissions)
Stage 1: early rejection first 10 of search_val 6 / 0 (10)
Stage 2 search_val (20) 1.00 0.30 14 / 0 (20) 6.1e-5
Gate (McNemar, alpha 0.05) gate (20) 0.95 0.50 9 / 0 (20) 0.002
Held-out report heldout (20) 1.00 0.60 8 / 0 (20) 0.0039

The candidate was promoted as sealed artifact 0a1ee96b2f810ab6. The campaign took 44 min (a 22 min session and 22 min of rollouts) and used 30 model calls with 406,698 input and 7,082 output tokens, for $0.

Held-out seed 30080, "build a tower: the blue block at the bottom, then the green block, then the orange block on top". Left: the parent stops after one level (failure, 177 steps). Right: the promoted program builds all three levels (success, 424 steps). Blender Cycles.

Limitations.

  • This is one campaign on one task, against a parent that was weakened on purpose.
  • From scratch, the local models did not get this far: three gpt-oss research sessions without a parent produced no program that solved a development case (see RESULTS.md, section 2).
  • The promoted program wastes a motion: it lifts the bottom block and drops it back before stacking on it. The gate did not penalise this.