Config is the single source of truth for parameters (TS types will be generated from these structs in milestone 2); all randomness flows from its three seeds, so identical configs give identical results. Golden test pins the default world: none=99/120 (82%), random=70/120 (58%), most-connected=7/120 (6%). Same story as the prototype's 85/64/8 with different dice; the ordering and the collapse are asserted explicitly, exact Python numbers are out of scope by design. 'go run ./cmd/spreadlab' prints the three-scenario comparison. This completes milestone 1 (engine ported, parameterised, tested). |
||
|---|---|---|
| .. | ||
| cascade.go | ||
| cascade_test.go | ||
| educate.go | ||
| educate_test.go | ||
| graph.go | ||
| graph_test.go | ||
| holmekim.go | ||
| holmekim_test.go | ||
| rng.go | ||
| rng_test.go | ||
| scenario.go | ||
| scenario_test.go | ||