open-standards/joule-code/joule-code-rs/crates/joule-code-remediate/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science ccb382ba08 joule-code-remediate, sandbox-meter: name the probe an attribution was read by
joule-code-remediate's meter source said "attributed(ModelBased over IOReport
HwShunt)" for every attributed run, whatever counter its windows were read
by. Today only the Apple Silicon attribution path can attribute, so the label
happened to fit, but it was a constant, not a record: an attribution read by
RAPL, or by several probes, would still have claimed IOReport.

sandbox-meter's Attribution now carries the window's own Measurement::source
(the probe that read it, "composite" for several, "estimator" for an
estimate), so a caller names the reading by what read it. joule-code-remediate
collects the sources of its attributed windows and names them; the meter
source string moves into EnergyTally::source, where a test pins that an
attribution read by "rapl-powercap" says so and never says IOReport.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 22:23:23 -04:00
..
bin proof-solvers: grade wall time × the default 15 W Estimator, not ModelBased 2026-10-11 10:11:54 -04:00
lib.rs joule-code-remediate, sandbox-meter: name the probe an attribution was read by 2026-10-11 22:23:23 -04:00