pub fn refresh_trend_rows(
committed: &str,
probes: &[Probe],
) -> Result<String, String>Expand description
committed (the table’s current text) with every trend row’s reading replaced
by probes’ live one: the mirror of refresh_gated_rows. Gated rows, prose
and the rule-ledger pointer are left exactly as committed, so the weekly
trend-refresh workflow (.github/workflows/greenfield-trends.yml) and the
stamp never write the same lines.
Errors, rather than committing a bad table, when a trend probe has no row to
rewrite, or when a probe reports a measurement failure as its reading. Today
that is only wildcard_arms’ error running clippy: ...; a failed clippy pass
must never be recorded as a measurement. Other non-figure readings are not
refused: keystroke_latency reads a committed benchmark file, so its
not measured ... is a truthful reading when the file is absent, not a failure.