67
/ 100
Popular for its size, but the engineering basics lag behind the interest.
SGLang kernel library for NPU
A low grade is a to-do list, not a judgment of your code
Most gaps here are documentation, tests, and setup, not the code itself. Closing your top 3 gaps alone would lift this repo to C (77).
See your top fixesTop fixes
Highest-impact changes first, ranked by point weight
- 1Tests18pt
Wire your tests to a documented command (e.g. a test script in your build config) so the suite is reproducible.
- 2CI/CD14pt
Add a step like `run: npm test`, `run: pytest`, or `run: tox` to your workflow file.
- 3CI/CD14pt
Add `tsc --noEmit`, `mypy`, or `cargo check` to catch type errors before they merge.
- 4CI/CD14pt
Upload coverage to Codecov, Coveralls, or report it with `--coverage` flags.
Working through the fixes? Let every push regrade itself.
The free GitHub App rescans this repo on every push and posts the grade as a commit check, so the score climbs without coming back to rescan by hand.
Scorecard
Every check, grouped by category and sorted worst-first
Documentation
61
No CONTRIBUTING.md found (−47 pts base + up to −53 pts more for content).
→ Add a CONTRIBUTING.md telling newcomers how to get involved. Include setup, code style, test, and PR instructions.
No install instructions found in the README (−45 pts).
→ Add a section showing how to install dependencies.
README is present.
Licensed under MIT.
Engineering
59
No linter or formatter config found.
→ Add a linter config such as .eslintrc.json, .prettierrc, ruff.toml, or .golangci.yml to enforce consistent code style.
No issue or PR templates found (−100 pts).
→ Add .github/ISSUE_TEMPLATE/ with bug_report.md and feature_request.md to guide contributors. It dramatically improves issue quality.
Lockfile present (python/attentions/requirements.txt). Installs are reproducible.
CI is configured (.github/workflows/build_and_release.yml).
Test files detected (contrib/torch_memory_saver/test).
Project health
100
Dependency manifest found (.github/workflows/scripts/wheel/pyproject.toml).
Repository has a description.
Actively maintained (pushed within the last month).
.gitignore present.
Repository health signals
Activity, community, and responsiveness at scan time
Activity
- 28 / 88Commits (30d / 90d)
- 144Forks
- 51Releaseslatest 9mo ago
Community
- 50% - FairCommunity health
- 12 bus factorauthors own >50% of commits
- 146Watchers
Responsiveness
- 1d 21hMedian issue response
- 1d 9hMedian PR merge time
- 90Open issues
Repository files20 root entries
- .githubGood: CI is configured (.github/workflows/build_and_release.yml).Good: Dependency manifest found (.github/workflows/scripts/wheel/pyproject.toml).
- .opencode
- benchmark
- cmake
- contribGood: Test files detected (contrib/torch_memory_saver/test).
- csrc
- docs
- include
- pythonGood: Lockfile present (python/attentions/requirements.txt). Installs are reproducible.
- scripts
- tests
- third_party
- .gitignoreGood: .gitignore present.
- .gitmodules
- .pre-commit-config.yaml
- build.sh
- CMakeLists.txt
- config.ini
- LICENSEGood: Licensed under MIT.
- README.mdGood: README is present.Good: README is well structured with multiple sections.Issue: No screenshots or images in the README (−20 pts).Fix: Add a GIF, screenshot, or logo image. It is the fastest way to show what your project does.Good: README has code examples.Good: README links to a live demo or deployed app.Good: README includes status badges.Issue: No install instructions found in the README (−45 pts).Fix: Add a section showing how to install dependencies.Good: README documents how to run the project.
Add this badge to your README
It updates automatically each time the repo is re-graded.
[](https://www.repo-grade.com/report/sgl-project/sgl-kernel-npu)