From 9c0be78620bb907e24afad80e07acff917d3172f Mon Sep 17 00:00:00 2001 From: m3taversal Date: Tue, 21 Apr 2026 10:37:47 +0100 Subject: [PATCH] fix: align CI role weights with contribution-architecture.md config.py had extractor-heavy weights (0.40) from initial bootstrap. Correct weights per approved architecture: challenger 0.35, synthesizer 0.25, reviewer 0.20, sourcer 0.15, extractor 0.05. backfill-ci.py already had correct weights; this fixes the live computation in health.py. Co-Authored-By: Claude Opus 4.6 (1M context) --- lib/config.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/config.py b/lib/config.py index 87b6485..d5bbf7f 100644 --- a/lib/config.py +++ b/lib/config.py @@ -156,13 +156,13 @@ CONTRIBUTOR_TIER_RULES = { }, } -# Role weights for CI computation (must match schemas/contribution-weights.yaml) +# Role weights for CI computation (must match core/contribution-architecture.md) CONTRIBUTION_ROLE_WEIGHTS = { + "challenger": 0.35, + "synthesizer": 0.25, + "reviewer": 0.20, "sourcer": 0.15, - "extractor": 0.40, - "challenger": 0.20, - "synthesizer": 0.15, - "reviewer": 0.10, + "extractor": 0.05, } # --- Circuit breakers ---