Skip to content

Rename the leaderboard to Project reports, and drop the ranking - #466

Open
leftibot wants to merge 1 commit into
cpp-best-practices:mainfrom
leftibot:project-reports
Open

leftibot wants to merge 1 commit into
cpp-best-practices:mainfrom
leftibot:project-reports

Conversation

@leftibot

@leftibot leftibot commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #455.

The public "leaderboard" becomes Project reports, in code as well as on the site. The site also stops presenting the projects as a ranking.

The data branch

The reports start from scratch: the first nightly run creates project-reports-data, and the old history isn't carried over. Once the site has published from the new branch, leaderboard-data can be deleted.

The rename

  • Package: leaderboard/ becomes project_reports/ (python -m project_reports).
  • Tests: tests/test_leaderboard.py becomes tests/test_project_reports.py.
  • Workflows: they become project-reports.yml, project-reports-check.yml and project-reports-comment.yml, with the concurrency group, artifact names and preview marker renamed to match.
  • Data branch: project-reports-data.
  • Site paths: the pages move under project-reports/ (index, projects, reports, badges, data/latest.json), with no redirects. The navigation says "Project reports".
  • Build flag: tests/build_site.py --project-reports DATA.
  • Issue template: .github/ISSUE_TEMPLATE/project-report-removal.yml ("Remove your project's report").
  • Other references: pyproject.toml, .jscpd.json, ci.yml (lizard), release.yml, pages.yml, the CSS, theme.py, docs/score.md, docs/architecture.md, CHANGELOG.md, and the 2026-11-19 design doc.

git grep -i leaderboard finds nothing.

The framing

  • The index is a list of reports:
    • it is sorted by name and has no position column;
    • every column sorts: name, language, kind, size, score, level, and "Since the last report". Numbers sort by value. Clicking a column again reverses it, and aria-sort marks the current column;
    • the rank colours for the top three are gone;
    • the language, kind and size tabs only filter; they no longer renumber anything.
  • Change since the last report: each row shows the project's own change ("+25.0 points"). The column sorts by points_since, which movement now uses as well. A first report says "first report" instead of "new on the board".
  • Project pages lead with what to do: "Where points are lost" and "Next steps" come before the history. The facts line says "o/first, a Rust project" instead of "on the Rust board".
  • Wording:
    • the PR preview is "Project report preview" and no longer says the board ranks by score;
    • the rule message is "X is not a known language";
    • the README sections are "Adding your project's report" and "Removing your project's report";
    • the intro drops the showcase / "wall of shame" line.
  • Badges: the package README and the removal template give the new badge endpoint, .../project-reports/badges/OWNER--REPO.json, and say the old address has no redirect.
  • data/latest.json is sorted by name.

Tests

  • New tests:
    • the index is sorted by name, with no rank cell;
    • every column has a sort button of the right type;
    • the cells carry data-sort values, with -1 for a project never scored;
    • no page's visible text contains "board" or "rank";
    • the project page orders next steps before history;
    • the preview has the new heading and doesn't say "board";
    • points_since.
  • Updated tests: the old ranking-order tests are replaced by the name order.
  • Browser check: I loaded the generated index in headless Chromium and clicked the headings and a tab. The order changed as expected for score ascending and descending, size, and back to name, and the "tool" tab hid the other rows.
  • Gates: all passed locally (ruff, ruff format, mypy, lizard, 3,374 tests with 99% coverage, jscpd, markdownlint and the strict self-check).

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

…best-practices#455)

The package becomes project_reports, with project-reports workflows, the
project-reports-data branch and site paths under project-reports/, with no
redirects. The index lists the reports by name, with no position column,
and every column sorts. Each row shows the project's own change since its
last report. Project pages lead with where points are lost and the next
steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt
@codecov

codecov Bot commented Nov 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.48%. Comparing base (9440220) to head (6f31906).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #466   +/-   ##
=======================================
  Coverage   99.48%   99.48%           
=======================================
  Files         369      369           
  Lines       26200    26206    +6     
  Branches     3263     3263           
=======================================
+ Hits        26065    26071    +6     
  Misses        135      135           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename the public "leaderboard" to "Project reports" (code included), and drop the ranking framing

1 participant