0

/ 100

GradeF

Huge star count, but README, tests, and CI need real investment.

Higher than 31% of 5,156 graded repos

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.

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 (70).

See your top fixes
Now
F
44
Potential
C
70

Top fixes

Highest-impact changes first, ranked by point weight

17 to address
  1. 1
    Tests18pt

    Add automated tests. They prove the code works and give contributors confidence to make changes.

  2. 2
    CI/CD14pt

    Add a step like `run: npm test`, `run: pytest`, or `run: tox` to your workflow file.

  3. 3
    CI/CD14pt

    Add a lint step to catch style issues automatically.

  4. 4
    CI/CD14pt

    Add `tsc --noEmit`, `mypy`, or `cargo check` to catch type errors before they merge.

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.

Install the GitHub App

Scorecard

Every check, grouped by category and sorted worst-first

Documentation

64

Install and run instructions9pt0

No install instructions found in the README (−45 pts).

Add a section showing how to install dependencies.

README12pt85

README is present.

Contributing guide5pt85

Contributing guide is detailed and thorough.

License6pt100

Licensed under MIT.

Engineering

29

Tests18pt0

No tests detected anywhere in the repository.

Add automated tests. They prove the code works and give contributors confidence to make changes.

Linting and formatting5pt0

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.

Reproducibility6pt0

No dependency lockfile found (−70 pts).

Commit the lockfile for this project's package manager so installs produce the same dependency versions everywhere.

CI/CD14pt57

CI is configured (.github/workflows/approved-label.yml).

Issue and PR templates6pt100

Issue or PR templates present.

Project health

53

Dependency manifest6pt0

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.

Activity5pt40

Last pushed 6-12 months ago (−60 pts).

A recent commit signals the project is still maintained.

Repository metadata5pt100

Repository has a description.

Housekeeping3pt100

.gitignore present.

Repository files41 root entries
  • .github
    Good: CI is configured (.github/workflows/approved-label.yml).
    Good: Issue or PR templates present.
  • .vscode
  • backtracking
  • bit_manipulation
  • ciphers
  • cpu_scheduling_algorithms
  • data_structures
  • divide_and_conquer
  • doc
  • dynamic_programming
  • games
  • geometry
  • graph
  • graphics
  • greedy_algorithms
  • hashing
  • machine_learning
  • math
  • numerical_methods
  • operations_on_datastructures
  • others
  • physics
  • probability
  • range_queries
  • scripts
  • search
  • sorting
  • strings
  • .clang-format
  • .clang-tidy
  • .gitignore
    Good: .gitignore present.
  • .gitpod.dockerfile
  • .gitpod.yml
  • CMakeLists.txt
  • CODE_OF_CONDUCT.md
    Good: Code of conduct present.
  • CodingGuidelines.md
  • CONTRIBUTING.md
    Good: Contributing guide is detailed and thorough.
    Issue: Contributing guide lacks a setup section (−12 pts).Fix: Show new contributors how to get a local dev environment running.
    Issue: Contributing guide lacks a code style section (−8 pts).Fix: Describe your linting/formatting rules and how to run them.
    Good: Contributing guide explains how to run tests.
    Good: Contributing guide describes the PR/review workflow.
    Good: Contributing guide includes code examples.
  • DIRECTORY.md
  • LICENSE
    Good: Licensed under MIT.
  • README.md
    Good: README is present.
    Good: README is well structured with multiple sections.
    Good: README includes screenshots or visuals. Great for first impressions.
    Issue: README has no code examples (−15 pts).Fix: Show a quick-start snippet so contributors can see what using your project looks like.
    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.
    Issue: No run or usage instructions found (−45 pts).Fix: Add a section showing how to start or use the project.
  • REVIEWER_CODE.md
RepoGrade badge preview

Add this badge to your README

It updates automatically each time the repo is re-graded.

[![RepoGrade](https://www.repo-grade.com/api/badge/thealgorithms/c-plus-plus)](https://www.repo-grade.com/report/thealgorithms/c-plus-plus)

More graded C++ repos