Skip to content

test: replayable challenge-pack fixtures - #82

Merged
jkbennitt merged 1 commit into
masterfrom
cursor/challenge-pack-fixtures-0db5
Oct 7, 2026
Merged

jkbennitt merged 1 commit into
masterfrom
cursor/challenge-pack-fixtures-0db5

Conversation

@jkbennitt

Copy link
Copy Markdown
Member

Summary

Adds CI-replayable public-proof challenge packs and unit tests that load them and evaluate pass/fail over checked-in fixture receipts. No live RimWorld, no Docker, and no billed model calls.

Packs under tests/fixtures/challenge_packs/:

  • research_unblock — research_bench_present and research_adapters
  • ensure_live_save — pin-match versus stale AppData (LiveSavePinError)
  • preflight_contract — stockpile_delete_quarantine on an action_exec event, plus the preflight gate receipt
  • composite_receipt — scoring 1.2 summary fields; n_runs, pass_rate, and reasoning_traces fail closed

tests/unit/challenge_pack_loader.py loads challenge.yaml (expected judgment names + predicates). tests/unit/test_challenge_packs.py asserts the pass receipts pass and the fail receipts fail.

How to run

pytest tests/unit/test_challenge_packs.py

Unchanged

Scoring, the game loop, scenario YAML, and published board numbers are unchanged. Fixture final_score values are shape checks, not board results. The live cite remains spread-2026-09-07, N=1.

Test plan

  • pytest tests/unit/test_challenge_packs.py
  • ruff check tests/unit/challenge_pack_loader.py tests/unit/test_challenge_packs.py
Open in Web Open in Cursor 

Checked-in Crashlanded packs plus a unit loader that evaluates
pass/fail over fixture receipts. No live RimWorld and no billed
model calls. Scoring and published claims are unchanged.

Co-authored-by: Jason <jkbennitt@users.noreply.github.com>
@jkbennitt
jkbennitt merged commit 726c231 into master Oct 7, 2026
5 checks passed
@jkbennitt
jkbennitt deleted the cursor/challenge-pack-fixtures-0db5 branch October 7, 2026 00:46
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.

2 participants