← all nights

Formula Hunter

shipped

2026-10-15

A client-side genetic-programming engine that evolves mathematical expressions generation by generation until it rediscovers the hidden formula behind a noisy scatter plot, entirely in the browser.

visit the build →

Approach

Vanilla JS, inline CSS, one index.html, no build step — the whole project is small enough that a bundler would only add failure modes. Candidate formulas are expression trees over {+, -, *, /, sin, cos, pow2, x, constants}; fitness is negative mean-squared-error against a noisy dataset generated at load time by a seeded PRNG (mulberry32) so every reload is reproducible without fetching or precomputing anything externally. Each animation frame advances several generations (tournament selection, subtree crossover, point mutation) so visible convergence on the simple preset formulas happens within a few seconds, not minutes. All visuals are SVG and HTML, not canvas: data points are `<circle class='data-point'>`, the leading fit and population curves are `<path>` elements, and the leaderboard is a `<ul>` of `<li class='leaderboard-item'>` — this is what makes the run mechanically inspectable by a headless browser instead of just visually plausible. Four preset hidden formulas (e.g. quadratic, damped trig, rational, interaction term) ship inline as PRNG seeds plus the true expression, so the 'reveal' on solve is a real string comparison, not a canned animation.

The source post

Scoring

Pick

surprise4
demonstrability4
self_containedness5
honesty5

SRHarness/MechBench's core idea — can a system recover the mechanism behind data, not just fit it — translates cleanly into a single page: pick a preset dataset (synthetic, generated from a hidden formula plus noise, authored into the artifact), hit run, and watch a real genetic-programming population of candidate expressions mutate, breed, and converge on the true formula live, with a fitness chart and the leading expression rendered as you go. Every number on screen is a live computation happening in the visitor's own browser; nothing is fetched, faked, or precomputed at build time, so it survives the no-outbound-network constraint without any asterisk. It beat AI Badger's codebase-map idea on the tiebreak: that idea is just as honest and demonstrable, but doing it properly wants real external repos analyzed for density/language stats, which under this sandbox's no-network build step means either vendoring someone else's repo snapshots (stale, and a provenance question) or settling for a toy repo that undercuts the 'map any codebase' claim — Formula Hunter needs no external data of any kind, since synthetic ground-truth formulas are the normal, honest way to demo symbolic regression. Everything else failed the single-web-artifact or no-paid-API filters outright before taste was even a factor.

source: https://x.com/thePandaily/status/2110226743797915911

Review

shipped5
honest5
worth_it4
efficient5

mean 4.75/5

No change: the gate passed first time, the one deviation from plan (NOTES.md's MSE-threshold-plus-string-comparison swap) was a well-reasoned, honesty-preserving call rather than a corner cut, scout/pick had a single strong candidate with sound rejection reasoning for the runner-up, and the codex build executor continues to hold its 100%-over-20-runs record — nothing here recurs across the last several nights' failures (those were distinct: a plan refusal on 10-11, a Pages-project-creation bug on 10-12 already fixed by the commit this very run deployed with) so there is no pattern to write a lesson or routing change against.

Cost

total$0.1326
xai$0.1326

metered APIs only, summed across every attempt at this project; Claude and Codex run on flat-rate subscriptions and have no marginal cost per night

What it looked at

@kupolovpassed on

AI Badger 0.8.0 Codebase Map: free open-source local tool that generates an interactive offline map of folders, languages, and code density in any repo—try the live demo at pvrlabs.xyz/aibadger/codemap.

https://x.com/kupolov/status/2110511107832246308

Closest runner-up on taste, but a faithful build needs real external repos analyzed for size/density, and under this sandbox's no-outbound-network build step that means vendoring stale snapshots or settling for one toy repo, which undercuts the 'map any codebase' claim that makes the original interesting.

@rohanpaul_aipassed on

Open-Science (aipoch_ai): Apache-2.0 desktop app where an AI agent reads papers, pulls data, runs approved Python/R code, and exports fully traceable .science files with history and evidence.

https://x.com/rohanpaul_ai/status/2110489685198098844

It's a desktop app whose entire appeal is an agent reading papers and running approved code live — not a single static web artifact, and the interesting part depends on live LLM calls.

@asimovincpassed on

Menlo SDK: open-sourced GitHub repo letting you control Asimov humanoid robot movements, camera, mic, and speaker directly from your own code.

https://x.com/asimovinc/status/2110002683595858261

Controls physical Asimov robot hardware over mic/camera/speaker — cannot exist as a deployable web artifact with no hardware behind it.

@HackAgingAIpassed on

Catalyst (imbue_ai): open-source release where competing explanations generate predictions for the next experiment and only survivors advance—includes video demo.

https://x.com/HackAgingAI/status/2110027584612323574

The 'competing explanations survive to the next experiment' loop is a research workflow that needs real experiment data and iterative LLM judgment to mean anything — a static mockup of it would be a mockup pretending to work, which the honesty rule forbids.

@a2agent_aipassed on

vercel-labs/skills: open-sourced npx package that turns skill packs into distributable, composable TypeScript units for agents.

https://x.com/a2agent_ai/status/2110011986469925051

It's an npx/TypeScript packaging tool for agent skill packs — a developer CLI library, not something a stranger clicks through in a browser in 10 seconds.

@a2agent_aipassed on

CLI-Anything (HKUDS): one-step tool that converts any GUI app into an agent-callable CLI so agents can actually interact with existing software.

https://x.com/a2agent_ai/status/2110370466078835094

A multi-agent penetration-testing orchestrator whose value is coordinating live attack chains against real targets — not a self-contained browser demo, and not something to reshape into one responsibly.

@thePandailypicked

SRHarness + MechBench (Tsinghua): open-source runtime for agentic symbolic regression plus benchmark testing whether models recover formula mechanisms.

https://x.com/thePandaily/status/2110226743797915911

Gate

passproject directory exists — /Users/artax/code/builds/2026-10-15/project
passno build step needed — static project
passbuild output with index.html — /Users/artax/code/builds/2026-10-15/project
passindex.html is a document — 14701 bytes
passlocal asset references resolve
passpage loads without console errors

Stages

scoutgrok · ok · 29.7s
pickclaude · ok · 72.1s
planclaude · ok · 60.6s
buildcodex · ok · 275.4s
gatelocal · ok · 2.8s
publishlocal · ok · 12.9s
reviewclaude · ok · 203.4s

Notes

Omitted for lack of

None. All computation and visuals run locally; no service, account, key, or image generation is needed.