-
Notifications
You must be signed in to change notification settings - Fork 0
fix: implement AAR recommendations (threshold, dep floor, warnings, blog) #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| # We Certified 170+ Repos — Governance Is the Bottleneck, Not Code Quality | ||
|
|
||
| *By Reuben Bowlby | HUMMBL | April 2026* | ||
|
|
||
| We built [Arbiter](https://github.com/hummbl-dev/arbiter), a deterministic code quality scoring tool, and used it to certify **173 open-source repositories** across 20 industry categories. The results surprised us. | ||
|
|
||
| ## The Finding | ||
|
|
||
| **Code quality is not the bottleneck. Governance is.** | ||
|
|
||
| Popular open-source repos consistently score 85+ on code quality. What separates CERTIFIED from PROVISIONAL is governance maturity: CONTRIBUTING.md, SECURITY.md, Code of Conduct, DCO/CLA processes, and CI/CD configuration. | ||
|
|
||
| ## The Data | ||
|
|
||
| ### LLM Frameworks — HUMMBL's Target Market | ||
|
|
||
| | Framework | Code Quality | Governance | Certification | | ||
| |-----------|-------------|-----------|---------------| | ||
| | LlamaIndex | 96.4 | 90/100 | **CERTIFIED** | | ||
| | Instructor | 93.4 | 65/100 | CERTIFIED | | ||
| | **LangChain** | **95.4** | **45/100** | **PROVISIONAL** | | ||
| | Guidance | 90.7 | 55/100 | PROVISIONAL | | ||
| | Outlines | 89.9 | 45/100 | PROVISIONAL | | ||
|
|
||
| LangChain — the most popular LLM framework in the world — scores 95.4 on code quality but only 45 on governance. That's a D grade on the dimension enterprises care about most. | ||
|
|
||
| ### The Gold Standard | ||
|
|
||
| Project MONAI (NVIDIA's healthcare AI toolkit) scored **98.2** — the highest of any repo we tested. Perfect governance: 100/100. LICENSE, CONTRIBUTING, SECURITY, Code of Conduct, issue templates, PR templates, CI/CD, DCO — everything. That's what CERTIFIED looks like. | ||
|
|
||
| ### The Surprise Failures | ||
|
|
||
| - **Sentry** — 98.5 code quality (best we tested), but **FAILED** certification due to 109 unpinned dependencies | ||
| - **Prefect** — 97.8 code quality, but FAILED due to dependency governance | ||
| - **Flask** — foundational Python library, PROVISIONAL due to 45/100 governance | ||
|
|
||
| ## Why This Matters | ||
|
|
||
| If you're an enterprise adopting open-source AI tools, code quality is table stakes. Every popular framework writes good code. What you should be evaluating is: | ||
|
|
||
| 1. **Do they have a security disclosure process?** (SECURITY.md) | ||
| 2. **Can contributors understand the rules?** (CONTRIBUTING.md + Code of Conduct) | ||
| 3. **Are dependencies pinned and managed?** (requirements.txt + lockfiles) | ||
| 4. **Is there CI/CD?** (automated quality gates) | ||
| 5. **Is there an audit trail?** (governance receipts, not just git log) | ||
|
|
||
| ## What We Built | ||
|
|
||
| [Arbiter](https://github.com/hummbl-dev/arbiter) scores repositories across three dimensions: | ||
|
|
||
| - **Code Quality** (50%): lint, security, complexity via ruff, bandit, radon, shellcheck | ||
| - **Governance** (30%): 10 checks for governance artifacts | ||
| - **Dependencies** (20%): version pinning, dependency count, known-good packages | ||
|
|
||
| The certification decision is deterministic: same repo always gets the same score. No AI in the scoring path — just structured analysis. | ||
|
|
||
| ## Try It | ||
|
|
||
| ```bash | ||
| pip install arbiter-score | ||
| arbiter certify /path/to/your/repo | ||
| arbiter certify --json https://github.com/your-org/your-repo | ||
| ``` | ||
|
|
||
| Or check the [public leaderboard](https://hummbl.io/audit) to see how top repos score. | ||
|
|
||
| --- | ||
|
|
||
| *[HUMMBL](https://hummbl.io) builds governed AI infrastructure for enterprises. Arbiter is our open-source code quality and governance scoring tool.* |
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_run_analysisnow callsos.environ.setdefault(...), butsrc/arbiter/__main__.pydoes not importos, so any command path that reaches this function (e.g.,analyze,score,diff) will raiseNameError: name 'os' is not definedbefore analyzers run. This is a hard runtime failure in core CLI flows introduced by this change.Useful? React with 👍 / 👎.