Calibrate the DEFAULT cost constant — it dominates real closures #23
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
In the emmett test, 10,584 of 18,729 drvs hit the DEFAULT (1.0 min) bucket = 55% of total modeled work (10,584 of 19,269 min). The headline estimate is mostly one guessed constant. Ship a calibration: mine a corpus with the #12 miner and fit DEFAULT (and TRIVIAL/FIXED_OUTPUT) from measured medians; or at minimum document the sensitivity and add a --default-min knob.
added
cost(..., default_min=),costmodel.fit_defaults(), a--default-min FLOATknob threaded through estimate(), and acalibrate <attr> --history FILEsubcommand printing measured per-bucket medians vs current constants.