Skip to content

Blind sim screens visiting ram first; rare alleles x2 - #13

Merged
deadp merged 3 commits into
complete-gamefrom
queue/q358
Oct 22, 2026
Merged

deadp merged 3 commits into
complete-gamefrom
queue/q358

Conversation

@deadp

@deadp deadp commented Oct 22, 2026

Copy link
Copy Markdown
Owner

A (policy.ts): the blind farmer screens a down-south visiting ram before hiring him.
B (genetics/breeds.ts): new RARE_ALLELE_SCALE 1 -> 2 on all breed fantasy freqs (steel 0.03->0.06, paua 0.015->0.03, GW/CL/SO 0.02->0.04); old values in the comment.
npm test: only the 2 known failures; typecheck not run. 1-seed blind30a run printed the stats block (seed 1: rare fleece season 28, no ending); range restored. Game-value tuning: do not auto-merge.

Queued from the dashboard (item 358). The request:

Goal (proposal 8, step 6): the 30-seed blind sim after the farmer-goals fix still misses: rare fleece by season 27 in 2 of 30 seeds (target 15), chapter 3 median season 16 to 17 (target about 11), ending 10 of 30. Do the two changes docs/BACKLOG.md already plans for a miss, as two separate commits in one PR:

  1. Commit A (sim only): in packages/game/scripts/policy.ts make the farmer screen a visiting ram BEFORE hiring him (the screen works before the hire; docs/BACKLOG.md says the sim never does this; see rareScreens). Use only what a real player knows.
  2. Commit B (game value): raise the rare allele frequencies x2 in the sources of rare alleles (market, visitors, founder pool; find them from noteRareWools and the rare loci in core/config.ts). Change one named constant or table, not scattered numbers. Add a comment with the old values.
    Read docs/BACKLOG.md lines 24 to 37 first: it lists what 11 earlier lever sets did (x2 with 2 screens gave 14 of 30 by 27 at the old chapter timing). Do not make steel more common than about 6 percent.

Done when: npm test passes (known failures: ui.test.ts:64 and a v3 timing flake, not yours); a temporary 1-seed run through the blind30a test (then restore its range) prints the stats block. Do NOT run the full 15-seed range: I run the long runs after review. State in RESULT the old and new values.

Do not touch: save format, world3d/, the chapter ladder code in core/acts.ts, workflows, dependency files, AGENTS.md/CLAUDE.md. This is game-va

Opened by the queue runner on LXC 113. The runner squash-merges this once CI checks pass.

🤖 Generated with Claude Code

@deadp
deadp merged commit 99d6707 into complete-game Oct 22, 2026
2 checks passed
@deadp
deadp deleted the queue/q358 branch October 22, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant