You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should the Grader panel's spending limit span the whole Experiment rather than each run? #1952
Pull request #1951 (for #1884, under Spec #1872) adds --panel-spending-limit <usd> to the Bar. The limit counts the Grader panel's spend in each run of thirdshift experiment. Reaching it pauses grading, and every resume gets the limit afresh. The Spec review raised that repeated resumes can therefore spend without bound. #1872's story 26 asks for a limit "so that API-billed Models can't overspend".
Evidence
src/evals/experiment/panel.rsrun() keeps spent per call of run and checks spent < limit before each panel session. Each resume starts again from zero.
Estimate and cap the Grader panel's spend #1884 says: "Reaching it pauses grading, as an unavailable Grader does now, and resuming continues from the completed calls." Its acceptance criterion: "With a low limit, grading pauses after the limit is reached and resumes without regrading completed calls."
The Bar can't change after the first Trial (src/evals/experiment/store.rs: "Bar cannot change after the first Trial"). A limit that spanned the whole Experiment would therefore pause every later resume at once, with no way to raise it. That is why Estimate and cap the Grader panel's spend (#1884) #1951 reads "resumes" as each run getting a fresh limit, and documents it in docs/guide.md and docs/experiment-results.md.
Why this needs the Day shift
Each reading changes what the Bar promises, and the Spec doesn't settle between them:
a per-run budget, as implemented;
a whole-Experiment cap that a resume can't pass;
a whole-Experiment cap that a resume may raise, as an exception to the fixed Bar (ADR 0028).
Choosing among them is a Spec decision, not an implementation detail of #1884.
Activity