94

/ 100

GradeA

A top-tier open source project. Docs, tests, and CI are all in excellent shape.

Top 7% of 5,156 graded repos

Train transformer language models with reinforcement learning.

Python18,764Apache-2.028d ago

Top fixes

Highest-impact changes first, ranked by point weight

3 to address
  1. 1
    Install and run instructions9pt

    Add a .env.example listing all required environment variables so contributors know what to set up.

  2. 2
    Reproducibility6pt

    Commit poetry.lock, uv.lock, pdm.lock, Pipfile.lock, conda-lock.yml, or another lockfile for your Python dependency manager.

  3. 3
    Reproducibility6pt

    Add additional package-ecosystem entries (especially github-actions) to keep all dependencies current.

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

97

Install and run instructions9pt90

README documents how to install the project.

README12pt100

README is present.

License6pt100

Licensed under Apache-2.0.

Contributing guide5pt100

Contributing guide is detailed and thorough.

Engineering

90

Reproducibility6pt22

No dependency lockfile found (−70 pts).

Commit poetry.lock, uv.lock, pdm.lock, Pipfile.lock, conda-lock.yml, or another lockfile for your Python dependency manager.

Tests18pt100

Test files detected (tests).

CI/CD14pt100

CI is configured (.github/workflows/build_documentation.yml).

Linting and formatting5pt100

Linter or formatter configured ([tool.ruff] / [tool.black] in pyproject.toml).

Issue and PR templates6pt100

Issue or PR templates present.

Project health

100

Dependency manifest6pt100

Dependency manifest found (pyproject.toml).

Repository metadata5pt100

Repository has a description.

Activity5pt100

Actively maintained (pushed within the last month).

Housekeeping3pt100

.gitignore present.

Repository health signals

Activity, community, and responsiveness at scan time

Activity

  • 211 / 490
    Commits (30d / 90d)
  • 2,821
    Forks
  • 88
    Releaseslatest 3y ago

Community

  • 75% - Good
    Community health
  • 2 bus factor
    authors own >50% of commits
  • 18,764
    Watchers

Responsiveness

  • 19d 3h
    Median issue response
  • 2h
    Median PR merge time
  • 415
    Open issues
Repository files25 root entries
  • .ai
  • .cursor
  • .github
    Good: CI is configured (.github/workflows/build_documentation.yml).
    Good: Dependabot configured for github-actions.
    Good: Issue or PR templates present.
  • assets
  • docker
    Good: Environment pinned via docker/trl-dev/Dockerfile.
  • docs
  • examples
  • scripts
  • tests
    Good: Test files detected (tests).
  • trl
  • .gitignore
    Good: .gitignore present.
  • .pre-commit-config.yaml
  • AGENTS.md
  • CITATION.cff
  • CLAUDE.md
  • CODE_OF_CONDUCT.md
    Good: Code of conduct present.
  • CONTRIBUTING.md
    Good: Contributing guide is detailed and thorough.
    Good: Contributing guide includes setup/install instructions.
    Good: Contributing guide describes code style expectations.
    Good: Contributing guide explains how to run tests.
    Good: Contributing guide describes the PR/review workflow.
    Good: Contributing guide includes code examples.
  • LICENSE
    Good: Licensed under Apache-2.0.
  • Makefile
  • MANIFEST.in
  • MIGRATION.md
  • pyproject.toml
    Good: Dependency manifest found (pyproject.toml).
  • README.md
    Good: 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.
  • RELEASE.md
  • VERSION
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/huggingface/trl)](https://www.repo-grade.com/report/huggingface/trl)

More graded Python repos