fix(agent): a scenario with a start that ran out of time is judged on its other starts when each side has enough #134
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!134
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Beanstalk:fix/judge-past-timeouts"
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
Rules.Resultgaveerror(could not be judged) to any report with a scenario of statustimeout, which a single start that ran out of time at a step causes. On the farm that is mostly a teleport from the Kokiri checkpoint that the game holds for an event that never ends ("cheats: teleport waits until the current event ends"), on main and PRs alike: 53 scenarios in 4 days had a step run out of time. So adding starts, to get more samples (#133), only added chances to lose the report.Rules.JudgedDespiteTimeouts: atimeoutscenario is judged on its other starts when each side has at least 2 usable starts (the frame-time comparison's own minimum), more usable starts than timed-out ones, and no start crashed, hung or failed otherwise. A PR that breaks a load times out every start and still getserror; a PR crash still fails first.ScenarioResult.Medianleaves out a side's timed-out starts when it has others: a start stuck at a teleport measured the wait, not the place (itsrun_frametime_max_mswas 2 s).Rules.Usablenames the existing usable-start test, now shared.docs/report-schema.mdsays so. The scenario'snotestill says what ran out of time.Nothing on screen changes.
Testing
Tested on the farm's server, in a container (
dotnet/sdk:10.0): build, thentest_agent_core.py --strict: 2363 checks passed. New checks inProbeChecks: 2 good starts a side plus one stuck PR start is judged and passes, with the stuck start's 9000 MB left out of the median (4050, not 4100); one good PR start is too few; a hang besides is never left out; as many timed-out PR starts as good ones stayserror.Still to test: the farm's reports after the next nightly.
🤖 Generated with Claude Code
Possibly related, for context:
WIP: fix(agent): a scenario with a start that ran out of time is judged on its other starts when each side has enoughto fix(agent): a scenario with a start that ran out of time is judged on its other starts when each side has enough