From 7fc33e552a217651f20f83e2e2832418dabc5b16 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 7 Aug 2026 14:13:03 +0000 Subject: [PATCH 1/2] Initial plan From 4e421f43f0f1f8f208712e6c2700d2a31adceea9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 7 Aug 2026 14:14:04 +0000 Subject: [PATCH 2/2] Fix hasSO detection in scoring to key off soUserId Co-authored-by: sajeetharan <4833351+sajeetharan@users.noreply.github.com> --- lib/scoring.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scoring.js b/lib/scoring.js index cb65215..87fc715 100644 --- a/lib/scoring.js +++ b/lib/scoring.js @@ -32,7 +32,7 @@ function computeScore(dev, maxValues) { }; // If developer has no SO data, redistribute SO weight to GitHub dimensions - const hasSO = (dev.soReputation || 0) > 0 || (dev.soAnswers || 0) > 0; + const hasSO = Boolean(dev.soUserId) || (dev.soReputation || 0) > 0 || (dev.soAnswers || 0) > 0; let weights = WEIGHTS; if (!hasSO) { const soWeight = WEIGHTS.soReputation + WEIGHTS.soEngagement;