86/ 100 · B
A top-tier open source project. Docs, tests, and CI are all in excellent shape.
Minimalist ML framework for Rust
Rust20,476 starsApache-2.0updated 5d ago
DocumentationREADME, setup, examples, license
EngineeringTests, CI, linting, lockfiles
Project healthDescription, activity, stars, deps
What to fix first
The highest-impact improvements for this repo.
- 1CI/CDEngineeringInfo
Upload coverage to Codecov, Coveralls, or report it with `--coverage` flags.
- 2Install and run instructionsDocumentationInfo
Add a .env.example listing all required environment variables so contributors know what to set up.
- 3ReproducibilityEngineeringInfo
Add a Dockerfile, .nvmrc, or .python-version to pin the runtime version and make the environment reproducible.
Detailed breakdown
Documentation
93- README100
- README is present.
- README is well structured with multiple sections.
- README includes screenshots or visuals. Great for first impressions.
- README has code examples.
- README links to a live demo or deployed app.
- README includes status badges.
- Install and run instructions90
- README documents how to install the project.
- README documents how to run the project.
- If your project uses environment variables, add a .env.example listing them (+10 pts).Add a .env.example listing all required environment variables so contributors know what to set up.
- License100
- Licensed under Apache-2.0.
- Contributing guide70
- CONTRIBUTING guide or docs directory present.
- Optional: add a Code of Conduct (+5 pts).A CODE_OF_CONDUCT.md signals that your project is welcoming. GitHub has a template you can add in one click.
Engineering
80- Tests90
- Test files detected (candle-core/tests).
- Rust workspace with test files detected. Run with `cargo test --workspace`.
- CI/CD100
Not applicable?
- CI is configured (.github/workflows/ci_cuda.yaml).
- CI workflow runs tests.
- CI runs on pull requests, not just on pushes to main.
- CI workflow runs a lint or format check.
- CI runs type checking (tsc, mypy, cargo check, etc.).
- Optional: report test coverage in CI.Upload coverage to Codecov, Coveralls, or report it with `--coverage` flags.
- CI caches dependencies for faster runs.
- CI tests across multiple environments or versions.
- Linting and formatting80
- Rust linting enforced in CI: cargo clippy + cargo fmt.
- No rustfmt.toml found.Add a rustfmt.toml to enforce a consistent code style across contributors.
- Reproducibility82
- Lockfile present (candle-examples/examples/marian-mt/python/requirements.txt). Installs are reproducible.
- No Dockerfile or runtime version pin found. Adding one earns +10 pts.Add a Dockerfile, .nvmrc, or .python-version to pin the runtime version and make the environment reproducible.
- Dependabot configured for cargo.
- Dependabot only covers one ecosystem (+12 pts; covering 2+ earns +20 pts).Add additional package-ecosystem entries (especially github-actions) to keep all dependencies current.
- Issue and PR templates0
- No issue or PR templates found (−90 pts).Add .github/ISSUE_TEMPLATE/ with bug_report.md and feature_request.md to guide contributors. It dramatically improves issue quality.
- Optional: add a SECURITY.md.A SECURITY.md explains how to responsibly disclose vulnerabilities. Worth adding once the project has real users.
Project health
92- Dependency manifest100
- Dependency manifest found (Cargo.toml).
- Cargo.toml is a workspace manifest for a multi-crate Rust project.
- Repository metadata70
- Repository has a description.
- Primary language detected: Rust.
- Activity100
- Actively maintained (pushed within the last month).
- 20,476 stars.
- Housekeeping100
- .gitignore present.
Repository files26 root entries
- .cargo
- .githubGood: CI is configured (.github/workflows/ci_cuda.yaml).Good: Dependabot configured for cargo.
- candle-book
- candle-coreGood: Licensed under Apache-2.0.Good: Test files detected (candle-core/tests).
- candle-datasets
- candle-examplesGood: Lockfile present (candle-examples/examples/marian-mt/python/requirements.txt). Installs are reproducible.
- candle-flash-attn
- candle-flash-attn-v3
- candle-kernels
- candle-metal-kernels
- candle-nn
- candle-onnx
- candle-pyo3
- candle-transformers
- candle-ug
- candle-wasm-examples
- candle-wasm-tests
- tensor-tools
- .gitignoreGood: .gitignore present.
- .pre-commit-config.yaml
- Cargo.tomlGood: Dependency manifest found (Cargo.toml).
- CHANGELOG.mdGood: CONTRIBUTING guide or docs directory present.
- LICENSE-APACHE
- LICENSE-MIT
- Makefile
- README.mdGood: 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.