T-022: Experiment harness and measures
Goal
The machinery for tuning: run many worlds, measure how interesting each one is, and search
over settings. See docs/DESIGN.md section 14. The hard part is deciding what to measure.
Scope
- Batch runs over seeds and param sets, several at once on separate cores, with a budget in steps or wall time.
- Measures per run: population and biomass over time, number and lifetime of distinct genome groups, mix of energy sources, spread of body shapes, whether new genes keep appearing and persisting, extinction and takeover events.
- A report per batch: a table, charts, and rendered snapshots of the most and least interesting worlds, so a person or an agent can check the numbers against what the world looks like.
- Search over
Params: start simple (random and grid), designed so smarter search can be added. - Guard against measures that a boring world can score well on. Say how you tested that.
Done when
- ☐ One command runs a batch and writes a report under
docs/tuning/. - ☐ The measures rank a hand-made "dead" world, a "one blob takes over" world and a "several lineages coexist" world in the right order.
Added 2026-12-02: size spread
Add a measure of the spread of living body sizes on a logarithmic scale (how many orders of
magnitude of body mass are alive at once), over time and by lineage. See "Scale is free" in
docs/DESIGN.md section 5. It is something to watch in every report, not a score to push
up by itself.
Added 2026-12-02: measures by place (from T-011)
The world now has places that differ: light by depth and shade, nutrients, vents, rock and sand, warm and cold water, currents. A measure that averages the whole box hides that. Let any measure be broken down by where things live, with the regions found from the fields themselves, not from a list of named biomes.