fix(certify): reweight when code is unscorable instead of auto-failing#61
Merged
hummbl-dev merged 1 commit intomainfrom Apr 19, 2026
Merged
fix(certify): reweight when code is unscorable instead of auto-failing#61hummbl-dev merged 1 commit intomainfrom
hummbl-dev merged 1 commit intomainfrom
Conversation
Previously, repos with no Python LOC got code_score=0, causing automatic FAILED certification even for well-governed Go/Rust/TS repos. Now reweights to governance 60% + deps 40% when code scoring is unavailable, with a transparent note in reasons. Before: prometheus/prometheus → FAILED (47.0) After: prometheus/prometheus → CERTIFIED (94.0) Found by scanning 10 Go repos: all failed despite excellent governance because code scoring was Python-only. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
f2ca4a6 to
e9b6da0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Repos with no Python LOC were getting code_score=0 → automatic FAILED certification.
Now reweights to governance 60% + deps 40% when code is unscorable.
Before: prometheus, traefik, gh CLI → FAILED (47.0)
After: prometheus, traefik, gh CLI → CERTIFIED (94.0)
Adds transparent note: "Code quality not scored (no supported analyzers for primary language)"
Found by scanning 10 Go repos — all failed despite excellent governance.
Test plan
🤖 Generated with Claude Code