make turnout description more clear. fix curves from breaking running track.

This commit is contained in:
Jesse
2026-08-05 10:03:50 -04:00
parent 9c76b1a5e2
commit 1c321d4cea
9 changed files with 226 additions and 28 deletions
+7 -1
View File
@@ -969,7 +969,13 @@ describe('the freight figures count both halves (regression)', () => {
let loads = 0;
let unloads = 0;
let begun = 0;
for (const seed of [1000, 8919, 16838]) {
// A WIDER SAMPLE than the three seeds this used to take. The subject is the instrument — does
// `freightUnload` count Revenue EARNED rather than unloads STARTED — and `unloads > 0` is only
// the precondition that makes the comparison mean anything. Three deals is a thin thread to hang
// that on: an unload needs an inbound industry built, reachable, and a loaded car spotted at it,
// and whether the bot manages all three on a given deal is luck, not the thing under test.
// Measured across these twelve: 34 unloads earned, on 12 of 40 deals sampled more widely.
for (const seed of [1000, 8919, 16838, 24757, 32676, 40595, 48514, 56433, 64352, 72271, 80190, 88109]) {
const s = createGame({
id: `fu-${seed}`, seed,
config: { ...config, length: 'standard' },