The score, over time.
Best dev score and its held-out score, every experiment.
Hillclimb tests one idea at a time and keeps only real gains.
The live dashboard (hillclimb ui) during a second, separately recorded run of the same demo, sped up 4×.
Prompt, attempt #6Current best: 9.04. Journal: 5 past experiments, with scores and reasons. Choose ONE hypothesis different from all of them.
AgentSubtract the herd-wide median of today's per-animal multi-signal score from each animal's score, and do the same for yesterday's term
Experiment #7. The agent was told only “not kept after validation”.
Best dev score and its held-out score, every experiment.
What was tried, and why it was kept or not.
Experiment #6: subtract the herd’s daily median.
+def _shift(herd, day):+ if day in _SHIFT:+ return _SHIFT[day]+ vals = []+ for r in herd:+ h = _H.get(r["animal"], [])+ if len(h) >= 5:+ vals.append(_score(h, r))+ _SHIFT[day] = statistics.median(vals) if len(vals) >= 10 else 0.0+ for r in herd:+ _H.setdefault(r["animal"], []).append(r)+ return _SHIFT[day]++ def risk(history, today, herd):- t = _score(history, today)
hillclimb report, HTML and markdown.
Every idea is built in its own git worktree. Your checked-out branch never moves; wins land on hillclimb/best.
The scorer and its data are hashed at the start and restored from a pristine copy before every score.
Dev winners face a second score the agent never sees. Its numbers never enter a prompt.
Repeated baselines set a margin. A change must clear it to be kept.
Workers share one journal. A win found on an older best is replayed onto the new one.
Everything lives in SQLite. Ctrl-C, crash or reboot, then run again to continue.
A synthetic herd-alert problem. False alarms per 100 healthy animal-weeks at 80% early recall.
Best dev score, 55.94 → 1.04
Add 0.35 times the multi-signal score from two days ago to the existing today + 0.6×yesterday sum
In every later prompt, the agent read only: not kept after validation (details withheld)
An open-source loop that gives a coding agent one measurable problem. The agent tests one idea at a time; Hillclimb keeps only changes that beat the best and hold up on held-out data.
Python 3.12+, uv, git, and a command that prints a score. The default agent is the Claude Code CLI, logged in. No API key is needed.
It can only change the files you mark editable. Frozen files are hash-checked and restored before every score, and planted caches and symlinks are refused. Code that games the metric’s meaning inside editable files is still possible, which is what the held-out gate is for.
No. Held-out files are removed from its worktree, its file tools are confined to that worktree, and held-out scores are stripped from every prompt.
Ctrl-C marks in-flight attempts as interrupted. Run it again and it resumes from the SQLite journal without re-measuring the baseline.
Yes, from one recorded run on synthetic data on 2026-11-27. The full report, journal, final diff and run log are linked in the footer.
$ uv sync
$ uv run hillclimb init --metric "python3 eval.py"
$ uv run hillclimb run