Skip to content

fix(matrix): a practice board that cannot exist must degrade, not block - #46

Merged
drewstone merged 1 commit into
mainfrom
fix/practice-board-fallback
Aug 30, 2026
Merged

drewstone merged 1 commit into
mainfrom
fix/practice-board-fallback

Conversation

@drewstone

Copy link
Copy Markdown
Member

Practice runs at a different board so building a player is not memorising the graded one. Some games cannot offer a different board: a packaged reference derives its contract at one seed and nowhere else.

Verified directly: CartPole builds at seed 7 and refuses at seed 1000010 with mark survived-50-steps never fires on the reference playthrough.

Measured cost of blocking instead: all four CartPole cells of a twenty-cell arena blocked, and the transfer statistic covered four games rather than five. An entire game left the study because of a seed offset it never asked for.

The offset board is still tried first. When a game refuses it, practice happens on the cell's own seed and the row says so — an author that practised on the board it was graded on is a weaker measurement, and a reader has to be able to tell those cells apart. A game that builds at neither is still blocked, with the reason.

Local: 20 of 20 test files, boundary check, 0 typecheck errors.

Practice runs at a different board so that building a player is not memorising
the graded one. Some games cannot offer a different board: a packaged
reference derives its contract at one seed and nowhere else. Verified on
CartPole, whose contract builds at seed 7 and refuses at seed 1000010 with
"mark survived-50-steps never fires on the reference playthrough".

Measured cost of blocking instead: all four CartPole cells of a twenty-cell
arena blocked, and the transfer statistic covered four games rather than five.
An entire game left the study because of a seed offset it never asked for.

The offset board is still tried first. When a game refuses it, practice
happens on the cell's own seed and the row says so, because an author who
practised on the board it was graded on is a weaker measurement and a reader
has to be able to tell those cells apart. A game that builds at neither is
still blocked, with the reason.
@drewstone
drewstone merged commit e81669f into main Aug 30, 2026
6 checks passed
@drewstone
drewstone deleted the fix/practice-board-fallback branch August 30, 2026 20:06
@drewstone drewstone mentioned this pull request Nov 7, 2026
drewstone added a commit that referenced this pull request Nov 7, 2026
chore(release): 1.0.0

Release preparation: package.json 0.10.0 -> 1.0.0 and a CHANGELOG entry. Published 0.10.0 (v0.10.0, f635d1a) predates 7 merged commits that change shipped dist: matrix runner (#44 #45 #46, matrix-run.ts, matrix.mts), drivers (#43: cli, persistent-cli, stream-sandbox), retroarch worker. Version follows agent-runtime docs/release-versioning.md rule 4 (a 0.x library graduates to 1.0.0 at its next release). Per docs/releasing.md: this PR changes package.json and CHANGELOG.md only; after the admitted gate it is merged and the tip of main is tagged v1.0.0, which starts publish.yml.

Run ID: run_58712eb1f8ae770bd3d591334a8d9ce5
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