summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-27 22:04:31 +0300
committerPaul Buetow <paul@buetow.org>2026-05-27 22:04:31 +0300
commite2e563264015c35075ae8bbce504124753b3b6da (patch)
tree8800a2b8350b7765324af7a6ec8b03f0c0da8a0a /test
parent30df482b7dbacf434a4a2ba5c10a668166803f34 (diff)
showcase: simplify inactivity to AvgCommitAge>730 only — drop last-activity guard
The previous condition (AvgCommitAge>730 AND lastActivityDate>365d) allowed projects like muttdelay to slip through: a single 'add deprecation notice' commit in March 2026 made LastActivityDate recent while AvgCommitAge remained 4228 days (~11.6 years). New rule: AvgCommitAge>730 alone. AvgCommitAge is the mean age of the last 42 commits, so a genuinely revived project needs ~42 recent commits before the average drops below the threshold — one stray commit cannot mask decay. LastActivityDate (all-branches) is kept in the struct for potential future use. Also removes the now-unused 'time' import from rank_history_svg.go. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions