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.
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:
| Letter | Score | The verdict that ships with it |
|---|---|---|
| A | 88 to 100 | Exceeds expectations. Management is as surprised as you are. |
| B | 74 to 87 | Meets and often exceeds expectations. Keep doing most of this. |
| C | 58 to 73 | Meets some expectations. There is a conversation to be had. |
| D | 42 to 57 | Partially meets expectations. This plan exists for a reason. |
| F | below 42 | Does not yet meet expectations. The plan below is not optional. |
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.
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.
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".
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.
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.
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.
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".
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.
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.
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.
git log runs with --use-mailmap, and a
Co-authored-by: trailer earns the co-author shared credit for that commit. By default
the most prolific identity in the record is reviewed.--include-bots lets them in.--tz Europe/Berlin
re-grades the whole record in one chosen zone instead.Back to the review itself, or read the formulas where they live, in the one Python file that runs them.