fix(planner): a plan is made by a method, a performance change is tested on every GPU maker, and pictures are judged against main's nearest #139
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!139
Loadingβ¦
Reference in a new issue
No description provided.
Delete branch "HumanBean/Beanstalk:fix/planner-method"
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
Planning was too narrow and too short. Longshot #2194 (a perf change to the ASTC decoder, whose description asks for NVIDIA, Intel and RADV) was planned on one
anytarget. #2193 (a Vulkan pipeline-cache perf change) gotlinux+radvalone, one start a side and only absolute limits, with a note that Windows was left out "to keep the run short". The prompt opened with "Keep it short: a few minutes per tester is better than thirty", told the model to use one target for "most renderer work", and gave it a time to aim for that it read as covering every target.The prompt (
planner.system_text) is restructured:METHOD, before the reference): 1 the claim and the risk, 2 the hardware, 3 the places, 4 the samples, 5 the rules, 6 the checks. The target rules leave the schema's tag syntax for step 2. The schema keeps syntax and accounting only.max_delta_pct,min_delta_pct) on 3 starts a side, and may use 50 minutes a tester (PERF_AIM_MIN; others 30).as_isscenario rather than drop Windows.Pictures failed on the scene alone. 146 picture rules failed in 4 days. Main's own pictures differ by 0.11 at the median between game starts (0.74 at p90). 86 of the failures had one start a side, so no measure of that noise, with limits of 0.02 to 0.05. Some pictures were taken after a stick's movement. Recomputing the stored failing pairs at 8x and 16x downscale barely changed them (most are 0.8 to 0.95 at any scale): they are different views, not small shifts.
ScenarioRunner.Nearest: each PR picture is judged against the nearest of main's pictures, and main's noise is measured the same way (each from the nearest of its others). Pairing start k with start k counted the scene's drift as the PR's.plan.pyandPlan.cs: a scenario whose picturespass.screenshotcompares needsruns = 2or more (fixturebad-shot-one-start.toml).compare = "none"after movement, andmax_diff0.15 to 0.3. The docs' example (andexample*.toml) said 0.02.Nothing on screen changes.
Testing
Tested on the farm's server, in containers:
test_plan.pyandtest_planner.pyagain after the last test was added (239 passed, the database tests left out). The rendered prompt was read whole.dotnet/sdk:10.0): build, thentest_agent_core.py --strict: 2433 checks passed. New:Nearest(two main views and PR pictures that match one each: no change; a black PR picture: over main's noise; one main picture: no noise).Still to test: the next performance PRs' plans, and their picture rules.
π€ Generated with Claude Code
Possibly related, for context:
WIP: fix(planner): a plan is made by a method, a performance change is tested on every GPU maker, and pictures are judged against main's nearestto fix(planner): a plan is made by a method, a performance change is tested on every GPU maker, and pictures are judged against main's nearest