Add commit pattern, code churn, risky commit, and velocity analyzers
Some checks failed
CI / test (push) Failing after 10s
CI / build (push) Has been skipped

This commit is contained in:
2026-02-01 08:28:18 +00:00
parent 315d76c5fc
commit 93e4864b2d

View File

@@ -44,8 +44,8 @@ class VelocityAnalyzer:
recent_commits = commits[:10] recent_commits = commits[:10]
older_commits = commits[10:20] older_commits = commits[10:20]
recent_avg = sum(1 for _ in recent_commits) / max(1, len(recent_commits)) recent_avg = len(recent_commits) / max(1, len(recent_commits))
older_avg = sum(1 for _ in older_commits) / max(1, len(older_commits)) older_avg = len(older_commits) / max(1, len(older_commits))
if recent_avg > older_avg * 1.1: if recent_avg > older_avg * 1.1:
velocity_trend = "increasing" velocity_trend = "increasing"