Devlog
Short notes on what changed, what broke, and what is on my mind. Newest first.
Rewrote the runner
The old runner spawned one process per scenario. Fine for small batches, miserable for large ones. Replaced it with a worker pool that keeps a fixed number of processes alive and feeds them scenarios from a queue.
Roughly 6x faster on a 500-scenario sweep. Memory stays flat, which is the part I am happiest about.
Scenario format v2
Switched from one giant file to a directory of small files, one per scenario. Diffs are readable now, and I can reuse scenarios by copying files around.
The old format still loads, but I am not going to maintain two parsers forever. It goes away once the remaining scenarios are migrated.
Parameter sweeps
Basic support for sweeping a parameter across a range. Syntax is minimal
(sweep attack 100..200 step 10) and it works, though the result
table is getting wide enough that I probably need a better summary view.
Result format
Settled on tab-separated output for results. Not exciting, but it is trivially readable and loads into anything. No more custom binary blobs.
Starting over
Deleted the first attempt. It had accumulated a small pile of features that all depended on each other, and none of them were the thing I actually wanted.
Rewriting from scratch with a much narrower scope: read scenarios, run them, write results. That is it.