Repository navigation
test: replayable challenge-pack fixtures - #82
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_presentandresearch_adaptersensure_live_save— pin-match versus stale AppData (LiveSavePinError)preflight_contract—stockpile_delete_quarantineon anaction_execevent, plus the preflight gate receiptcomposite_receipt— scoring 1.2 summary fields;n_runs,pass_rate, andreasoning_tracesfail closedtests/unit/challenge_pack_loader.pyloadschallenge.yaml(expected judgment names + predicates).tests/unit/test_challenge_packs.pyasserts the pass receipts pass and the fail receipts fail.How to run
Unchanged
Scoring, the game loop, scenario YAML, and published board numbers are unchanged. Fixture
final_scorevalues are shape checks, not board results. The live cite remainsspread-2026-09-07, N=1.Test plan
pytest tests/unit/test_challenge_packs.pyruff check tests/unit/challenge_pack_loader.py tests/unit/test_challenge_packs.py