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 #133
No reviewers
Labels
No labels
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Beanstalk!133
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Beanstalk:fix/compare-starts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Farm data, last 1 to 7 days (Nov 2026):
titlescenario hadruns = 1underframetime_p99_ms.max_delta_pct, andRules.csjudges a frame-time comparison only on 2 usable starts a side or more, so it wasinconclusiveevery time.runs = 1(the planner aimed for 20 minutes a tester, about 4 game starts).linux+radvones that often had no other PC, so the pause, which waits for another PC to get past the same stage, rarely fired, and then for an hour only.Changes:
plan.pyandPlan.cs(kept alike; the agent's checks compare them on every fixture) refuse a scenario ofruns = 1under a frame-time rule compared with main (a run metric's, every segment's when it measures, or one of its segments'). An absolutemax/minis still judged from one start.runs = 3for a measured scenario, two places in one scenario before two scenarios, andAIM_MIN30 instead of 20. Measured again against the farm's own history (the 14-day run factor): a start costs about 3 min at the median and 8 at p75, so the 5 min a start estimate stays.regression_plan.toml: one scenario, Hyrule Field then the Market from the Kokiri checkpoint in each of 4 starts a side: 4 samples of each place in 8 starts (54 min estimated), instead of 2 in 10 plus a title screen that was never judged. Boot time is still read from every start.scheduler.setup_pauses: 3 tries at 2 jobs or more that failed alike (but for numbers and ids) atsetuporprefetchcount as the PC's own trouble with no other PC needed.fetchand main's build still need another PC, as before, since they fail alike on every PC when the forge or main is broken. A PC that goes on so after its pause is paused twice as long each time, up to 6 h.build-variants.tomlandmatrix.tomlhadruns = 1under such a rule: they get an absolute limit (two starts a side would take them over the hour). New fixturebad-compare-one-start.toml.On screen: only the count in the existing pause message changes ("its last 6 tests failed ..."), so there are no new screenshots.
Testing
Tested on the farm's server, in containers:
test_a_frame_time_comparison_needs_two_starts_a_side,test_the_built_in_plans_judge_their_frame_times,test_a_pc_that_fails_alike_before_the_fetch_is_paused_with_no_other_pc,test_same_failure_is_alike_but_for_numbers_and_ids;dotnet/sdk:10.0): build, thentest_agent_core.py --strict: 2356 checks passed.Still to test: the next scheduled run's reports.
🤖 Generated with Claude Code
Possibly related, for context:
WIP: fix: a frame-time comparison gets at least two starts a side, scheduled runs can be judged again, and a PC failing alike is pausedto 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