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
feat(cost): amortized fixed-cost attribution for shared pool runs (calque#102)
cost.Measured gains WarmHit (default false = today's dedicated-acquisition
behavior, unchanged for every existing caller). Verdict now labels which
fixed-cost regime produced a K — DEDICATED ACQUISITION (this run paid the
full acquire+enter alone) vs WARM HIT (this run reused an already-loaded
pool worker) — mirroring the existing occupancy-scope labeling discipline
so a reader can't mistake one regime's fixed cost for the other's.
internal/pool's Worker now captures whether the runner was already warm
BEFORE each claim's drain (not after — DrainBatch always leaves it warm on
a clean finish, which would make every claim after the pool's first look
like a hit) and reports it in the completion summary via ResultWriter's
new warmHit param, so a future submitter (#103) can set
cost.Measured.WarmHit honestly per claim.
0 commit comments