0
/ 100
Good shape overall. A few tweaks would push it into the top tier.
Modern astrophysics and cosmology particle-based code. Mirror of gitlab developments at https://gitlab.cosma.dur.ac.uk/swift/swiftsim
Top 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.
- 2Install and run instructions9pt
Add a .env.example listing all required environment variables so contributors know what to set up.
- 3Reproducibility6pt
Commit the lockfile for this project's package manager so installs produce the same dependency versions everywhere.
- 4Reproducibility6pt
Add a Dockerfile, .nvmrc, or .python-version to pin the runtime version and make the environment reproducible.
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
93
Contributing guide is too short for full depth credit (−6 pts). 400+ words earns the full +12 pts.
→ Add setup instructions, code style notes, and how to run tests.
README documents how to install the project.
README is present.
Licensed under LGPL-3.0.
Engineering
58
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 dependency lockfile found (−70 pts).
→ Commit the lockfile for this project's package manager so installs produce the same dependency versions everywhere.
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.
Test files detected (examples/Cooling/CoolingHalo/test_energy_conservation.py).
CI is configured (.gitlab-ci.yml).
Project health
68
No dependency manifest detected at root.
→ Add a manifest (package.json, pyproject.toml, Cargo.toml, go.mod, etc.) so others can install dependencies in one command.
Repository has a description.
Actively maintained (pushed within the last month).
.gitignore present.
Repository health signals
Activity, community, and responsiveness at scan time
Activity
- -Commits (30d / 90d)
- 78Forks
- 6Releaseslatest 3mo ago
Community
- -Community health
- -authors own >50% of commits
- 156Watchers
Responsiveness
- 3hMedian issue response
- 17hMedian PR merge time
- 17Open issues
Repository files33 root entries
- argparseGood: Licensed under LGPL-3.0.
- ci
- doc
- examplesGood: Test files detected (examples/Cooling/CoolingHalo/test_energy_conservation.py).
- m4
- src
- tests
- theory
- tools
- .clang-format
- .gitignoreGood: .gitignore present.
- .gitlab-ci.ymlGood: CI is configured (.gitlab-ci.yml).
- .gitmodules
- AUTHORS
- autogen.sh
- ChangeLog
- CITATION.cff
- CODE_OF_CONDUCT.mdGood: Code of conduct present.
- configure.ac
- CONTRIBUTING.mdIssue: Contributing guide is too short for full depth credit (−6 pts). 400+ words earns the full +12 pts.Fix: Add setup instructions, code style notes, and how to run tests.Issue: Contributing guide lacks a setup section (−12 pts).Fix: Show new contributors how to get a local dev environment running.Good: Contributing guide describes code style expectations.Issue: Contributing guide lacks a testing section (−8 pts).Fix: Show contributors how to run the test suite (e.g. npm test, pytest, cargo test).Good: Contributing guide describes the PR/review workflow.Issue: Contributing guide has no code examples (−5 pts).Fix: Add code blocks showing example commands for setup, running tests, and submitting a PR.
- COPYING
- COPYING.LESSER
- csds
- format_python.sh
- format.sh
- INSTALL.swift
- Makefile.am
- NEWS
- READMEGood: README is present.Good: README is well structured with multiple sections.Good: README includes screenshots or visuals. Great for first impressions.Good: README has code examples.Good: README links to a live demo or deployed app.Good: README includes status badges.Good: README documents how to install the project.Good: README documents how to run the project.
- README-mpi-hints.md
- README.md
- swift_fof.c
- swift.c
Add this badge to your README
It updates automatically each time the repo is re-graded.
[](https://www.repo-grade.com/report/swiftsim/swift)