Skip to content

docs(thresholds): correct stale hotspot-risk rationale comment - #61

Merged
Eilodon merged 1 commit into
mainfrom
claude/hotspot-threshold-analysis-jf673v
Aug 6, 2026
Merged

docs(thresholds): correct stale hotspot-risk rationale comment#61
Eilodon merged 1 commit into
mainfrom
claude/hotspot-threshold-analysis-jf673v

Conversation

@Eilodon

@Eilodon Eilodon commented Aug 6, 2026

Copy link
Copy Markdown
Owner

The comment justifying max_hotspot_risk = 0.80 described common.rs as the churn/complexity leader (~41 commits/6mo, risk 0.74) driving the gate to within 0.01 of the 0.75 default. That story predates this repo's current git history (starts 2026-07-30, 50 commits total) — verified via calm fitness-check --config thresholds.toml and git log --since="6 months ago" that the actual max hotspot risk is 0.15 (driven by tools.rs, not common.rs, which is down to 7 commits/6mo), a margin of ~0.65 rather than ~0.01. Left the threshold at 0.80 since churn is still artificially low from the recent history reset, but corrected the comment so it no longer misleads future readers into thinking a real regression is imminent.

The comment justifying max_hotspot_risk = 0.80 described common.rs as the
churn/complexity leader (~41 commits/6mo, risk 0.74) driving the gate to
within 0.01 of the 0.75 default. That story predates this repo's current
git history (starts 2026-07-30, 50 commits total) — verified via
`calm fitness-check --config thresholds.toml` and `git log --since="6
months ago"` that the actual max hotspot risk is 0.15 (driven by tools.rs,
not common.rs, which is down to 7 commits/6mo), a margin of ~0.65 rather
than ~0.01. Left the threshold at 0.80 since churn is still artificially
low from the recent history reset, but corrected the comment so it no
longer misleads future readers into thinking a real regression is imminent.
@Eilodon
Eilodon merged commit 2a16674 into main Aug 6, 2026
21 of 22 checks passed
@Eilodon
Eilodon deleted the claude/hotspot-threshold-analysis-jf673v branch August 6, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants