Skip to content

fix(.github/scorecard): calibrate scoring strictness and fix utility overall math#1013

Open
bpmct wants to merge 4 commits into
mainfrom
bpmct/scorecard-calibration
Open

fix(.github/scorecard): calibrate scoring strictness and fix utility overall math#1013
bpmct wants to merge 4 commits into
mainfrom
bpmct/scorecard-calibration

Conversation

@bpmct

@bpmct bpmct commented Jul 14, 2026

Copy link
Copy Markdown
Member

Follow-up to #1012, which merged before the last two commits on its branch landed. This carries the scoring calibration fix and the index intro restructure.

Why

An audit of the initial batch found the model systematically over-crediting Restricted-Network Readiness. 10 modules scored 20/20; most were wrong. The model's own notes rationalized credit with reasoning like "the URL could be proxied/mirrored at network level" (any URL can) and endpoints being "implicit in API key usage" (implicit is not documented). claude-code scored 20/20 on restricted-network with no mirror variable and no air-gap docs.

Changes

  • SCORECARD.md: tightened criteria definitions. Mirrorable artifact source requires an actual module variable overriding the tool's own download URL (auxiliary config URLs, proxies, and DNS rewrites do not count). Egress transparency requires a dedicated section enumerating endpoints. New Strictness rule: never credit out-of-module workarounds or infer undocumented behavior.
  • score-modules.ts: calibration anchors in the scoring prompt. Highlights: name the exact URL-override variable or score 0; offline/skip-install modes count only toward bring-your-own binary; theme-level N/A is for modules that download nothing, 0 is for missing capability; inline placeholder keys in README examples cap the secrets criterion at half; perfect theme scores trigger a self-recheck.
  • score-modules.ts: fixOverall now catches a utility overall emitted as X / 75 and normalizes it to / 100 (previously passed through unrecomputed).
  • scorecard-index.ts: index intro restructured as what / why / how it's generated.

Validation

All 48 discussions were re-scored with this code. Only 3 modules retain 20/20 restricted-network, each verified legitimate: Amazon Q (q_install_url + air-gapped section), Portable Desktop (url + checksum), Mux (registry_url). claude-code dropped to 67 (matches a manual hand-score of ~65), code-server 97 → 87. Live results: 📊 Module Scorecards.

Known limitation, unchanged by this PR: ±3-5 run-to-run noise on subjective criteria even at temperature 0. If the PR regression comments get noisy, a follow-up can add a tolerance band.

🤖 Generated with Coder Agents

@bpmct bpmct requested a review from jdomeracki-coder as a code owner July 14, 2026 23:55
@bpmct bpmct requested a review from DevelopmentCats July 14, 2026 23:56
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.

1 participant