fix: a wait for loading_end after a watched load is skipped, the planner stops asking for one, and one start a side is not judged #140

Merged
HumanBean merged 1 commit from HumanBean/Beanstalk:fix/load-wait into main 2026-11-22 18:47:56 +00:00
Owner

Summary

Every report of Longshot #2228's second round ran out of time at the same step, on every target: wait event=loading_end straight after age to=adult. With the load_time probe, the age step already returns once its load has ended (LoadTimeAsync), so the bridge's loading_end then waits for the next load, which never comes. The planner prompt itself said "after an age step, wait for loading_end". The timeout also ended each scenario after one start a side. The Linux RADV report then failed on that one load each way (5.3 s against 7.8 s), while a Windows NVIDIA tester saw the opposite (12.7 s against 4.7 s).

  • Agent: a wait for loading_end straight after a teleport or age switch whose load the agent watched end is skipped (ScenarioRunner.LoadAlreadyEnded), so plans already written stop timing out there.
  • Planner: after an age step, no wait when the plan has load_time; loading_end without it.
  • Rules: a percentage rule in a scenario of runs >= 2 with fewer than two starts a side giving the value is inconclusive, not a fail. Frame-time rules already worked this way.
  • Docs: test-plan.md.

Tests

On Unraid: agent core 2440 checks passed (--strict); coordinator 628 passed, 1 skipped.

πŸ€– Generated with Claude Code

## Summary Every report of Longshot #2228's second round ran out of time at the same step, on every target: `wait event=loading_end` straight after `age to=adult`. With the `load_time` probe, the age step already returns once its load has ended (`LoadTimeAsync`), so the bridge's `loading_end` then waits for the *next* load, which never comes. The planner prompt itself said "after an age step, wait for loading_end". The timeout also ended each scenario after one start a side. The Linux RADV report then failed on that one load each way (5.3 s against 7.8 s), while a Windows NVIDIA tester saw the opposite (12.7 s against 4.7 s). - **Agent:** a `wait` for `loading_end` straight after a teleport or age switch whose load the agent watched end is skipped (`ScenarioRunner.LoadAlreadyEnded`), so plans already written stop timing out there. - **Planner:** after an age step, no wait when the plan has `load_time`; `loading_end` without it. - **Rules:** a percentage rule in a scenario of `runs >= 2` with fewer than two starts a side giving the value is `inconclusive`, not a fail. Frame-time rules already worked this way. - Docs: test-plan.md. ## Tests On Unraid: agent core 2440 checks passed (`--strict`); coordinator 628 passed, 1 skipped. πŸ€– Generated with [Claude Code](https://claude.com/claude-code)
fix: a wait for loading_end after a watched load is skipped, the planner stops asking for one, and one start a side is not judged
Some checks failed
CI / Conventional Commit title (pull_request) Successful in 7s
CI / Workflow lint (actionlint) (pull_request) Successful in 8s
CI / Coordinator image (pull_request) Successful in 23s
CI / Agent build and checks (pull_request) Successful in 1m32s
CI / Coordinator tests (pull_request) Failing after 1m37s
20f36f2a72
An age switch with the load_time probe returns once its load has ended, so the planner's
"after an age step, wait for loading_end" waited for a load that never came: every report of
Longshot #2228's second round ran out of time there.

- agent: a wait for loading_end straight after a teleport or age switch whose load it watched end is skipped
- planner: after an age step, no wait with the load_time probe; loading_end without it
- rules: a percentage rule in a scenario of runs >= 2 with fewer than two starts a side giving the value is inconclusive

Assisted-by: Claude Code
Co-Authored-By: Claude Opus 5.5 <[email protected]>
HumanBean changed title from WIP: fix: a wait for loading_end after a watched load is skipped, the planner stops asking for one, and one start a side is not judged to fix: a wait for loading_end after a watched load is skipped, the planner stops asking for one, and one start a side is not judged 2026-11-22 18:47:52 +00:00
HumanBean deleted branch fix/load-wait 2026-11-22 18:47:57 +00:00
Member

Possibly related, for context:

  • issue #112 Scenarios time out at the first map wait because the teleport right after a save loads doesn't take β€” Related wait/load timeouts in farm scenarios
  • PR #94 fix(rules): mark under-sampled frame-time comparisons inconclusive β€” Merged precedent for inconclusive under-sampled rules
  • PR #133 fix: a frame-time comparison gets at least two starts a side, scheduled runs can be judged again, and a PC failing alike is paused β€” Merged planner/runs and minimum-start rule context
  • PR #134 fix(agent): a scenario with a start that ran out of time is judged on its other starts when each side has enough β€” Merged timeout judgment behavior in agent rules
Possibly related, for context: - issue #112 Scenarios time out at the first map wait because the teleport right after a save loads doesn't take β€” Related wait/load timeouts in farm scenarios - PR #94 fix(rules): mark under-sampled frame-time comparisons inconclusive β€” Merged precedent for inconclusive under-sampled rules - PR #133 fix: a frame-time comparison gets at least two starts a side, scheduled runs can be judged again, and a PC failing alike is paused β€” Merged planner/runs and minimum-start rule context - PR #134 fix(agent): a scenario with a start that ran out of time is judged on its other starts when each side has enough β€” Merged timeout judgment behavior in agent rules
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Beanstalk!140
No description provided.