No description
  • Python 88.4%
  • C# 8.7%
  • Shell 2.9%
Find a file
0xrsydn f59aa87fa3 fix(run): end the session with the run, and clear a parked game-over
A session was `--steps 600`, and dying did not stop it: the bot returned to the
menu and started a fresh run inside the same session. One session therefore
produced several run records, and nothing could be attributed to an experimental
arm. The A/B harness then compared "the last 2N runs", which silently included
runs from earlier experiments.

Add `--stop-on-run-end`, so one session is one run.

Two deadlocks found while making it work, both measured:

  * Breaking on `game_over` BEFORE dismissing the screen left the game parked
    there. Every later session then saw `game_over` at step 1 and stopped
    instantly -- `takes=0 skips=0` across a whole batch.
  * `preflight` could not recover from that parked screen, so it now dismisses
    it. The dismissal is not instant, hence the wait: without it the loop
    re-reads the state, still sees `game_over`, and still stops at step 1.

`preflight` also fails fast on a pending Timeline epoch, which the mod refuses
to automate. A whole A/B arm once ran with 0 decisions because of it.
2026-09-22 06:06:06 +07:00
capture Add reference game-state captures 2026-09-22 00:02:24 +07:00
docs Add design doc and research notes 2026-09-22 00:01:22 +07:00
utils Migrate docdump tool from sts2-re 2026-09-22 00:01:37 +07:00
vendor Vendor STS2MCP mod source and 0.4.0 release DLL 2026-09-22 00:01:30 +07:00
.gitignore Ignore run artifacts and trace logs 2026-09-22 00:02:31 +07:00
ab_card_skip.sh Add batch eval and card-skip A/B scripts 2026-09-22 00:02:18 +07:00
brain.py Add decision brain with tests 2026-09-22 00:02:04 +07:00
capture.py Add STS2MCP HTTP client and state capture tool 2026-09-22 00:01:44 +07:00
eval_batch.sh Add batch eval and card-skip A/B scripts 2026-09-22 00:02:18 +07:00
facts.py Add combat facts layer with tests 2026-09-22 00:01:50 +07:00
jev.py feat(jev): structured question shapes, Score primitive, per-call answer record 2026-09-22 06:06:06 +07:00
run.py feat(run): log every decision with the answers and the run outcome 2026-09-22 06:06:06 +07:00
sts2.py Add STS2MCP HTTP client and state capture tool 2026-09-22 00:01:44 +07:00
test_brain.py Add decision brain with tests 2026-09-22 00:02:04 +07:00
test_facts.py Add combat facts layer with tests 2026-09-22 00:01:50 +07:00
test_run.py feat(run): log every decision with the answers and the run outcome 2026-09-22 06:06:06 +07:00