Form PIP-2026 · Appendix A
Subject: The Grading Itself
Published

How PIP grades: the rubric

Every grade PIP issues is plain arithmetic over your own git record: no AI, no model, no server, and no hidden weighting. This page is the whole formula book. If you disagree with a grade, this is where the argument starts, and the formulas below are the ones the tool actually runs.

The letter bands

Each of the five categories is scored from 0 to 100. The overall score is the plain average of the five, and one set of bands turns any score, category or overall, into a letter:

LetterScoreThe verdict that ships with it
A88 to 100Exceeds expectations. Management is as surprised as you are.
B74 to 87Meets and often exceeds expectations. Keep doing most of this.
C58 to 73Meets some expectations. There is a conversation to be had.
D42 to 57Partially meets expectations. This plan exists for a reason.
Fbelow 42Does not yet meet expectations. The plan below is not optional.

Communication

Evidence: the subject line and body of every commit in the reviewed record. A message counts as vague when its subject is under 8 characters, when every word in it comes from the tool's vague-word list ("stuff", "wip", "fix", "misc", "changes", "update", "asdf" and their friends), or when it has at most two words, at most one of them meaningful, and under 16 characters.

score = 100 − (vague share × 110) − 18 if the average subject is under 14 characters + (share of commits with a body × 10)

The vague share can pull the score below zero on its own; like every category, the result is clamped to 0 to 100. Writing an actual explanation in the body is the only positive term in the book.

Reliability

Evidence: commit timestamps, reverts, and fix commits. A night commit is one made between 10pm and 5am. A fix commit is a subject starting with "fix", "fixes", "fixed", "fixup", "hotfix" or "bugfix".

score = 100 − (night share × 45) − (revert share × 160) − (fix share × 35)

Reverts are priced as the most expensive habit in the book: a record that is one revert in sixteen loses ten points. Commits shipped on a Friday at or after 4pm are counted and quoted in the evidence, but they deduct nothing. The grade judges what went wrong, not when you like to ship.

Follow-through

Evidence: the TODO, FIXME and XXX markers still sitting in the current tree, found with git grep (at most 300 are collected). Ages come from git blame on a bounded sample of 80 markers, and blame honors .git-blame-ignore-revs when the repo carries one, so a mass-reformat commit stops owning the TODOs it only swept through.

score = 100 − min(45, marker count × 2.5) − min(35, oldest marker's age in years × 12)

Eighteen open TODOs max out the count term. The age term is why a single ancient TODO can hold a grade down for years: it is, formally, a promise in default.

Judgment

Evidence: the spots in the current tree labelled temporary, and the commits openly checked in as work in progress. A spot counts when its marker kind is HACK or TEMPORARY, or when its text matches "temp", "temporary", "hack", "workaround", "for now" or "quick fix".

score = 92 − min(40, temporary count × 4) − (WIP commits × 1.5) − min(30, oldest temporary's age in years × 10)

Judgment is the one category that does not start at 100. It starts at 92, and the formula above is the entire explanation the tool offers.

Consistency

Evidence: the calendar. Active days are the distinct dates with at least one commit; the span runs from the first active day to the last; the longest disappearance is the largest gap between consecutive active days.

score = 45 + (active days ÷ span days × 65) − min(25, longest gap in days ÷ 30)

A record active every single day of its span scores 110 before clamping. Each 30 days of the longest disappearance costs one point, up to 25.

Who gets reviewed, and what never counts

NOT FOR EMPLOYMENT DECISIONS. PIP grades a commit record, not a person, and it reads best when the person reading it is the person who wrote the commits. That sentence is printed on every report PIP writes, this page included.

Back to the review itself, or read the formulas where they live, in the one Python file that runs them.