Methodology version 1 — effective 2026-11-01 · This is the current version. Earlier versions, when there are any, stay published at /methodology/vN/; this one is permanently at /methodology/v1/.
A ScratchBuddy grade is an opinion. It is produced by the rules on this page, from numbers each state lottery publishes about its own scratch-off games, and nothing else. This page is the complete method. Where it names a rule in monospace type, that is the function in our scoring code that applies it, so the description can be checked against the thing that actually runs.
What a grade is not. It is not a prediction, a probability of winning, or advice. Every scratch-off is designed to pay out less than it takes in. A higher grade means a game is offering relatively better value than the other games at the same price in the same state on the day we checked — less bad, not good. ScratchBuddy does not recommend buying any ticket.
Each state lottery publishes a table for each game: the ticket price, the prize tiers, how many prizes of each tier were printed and how many are still unclaimed, and (in most states) the overall odds of winning anything. We read that table on the state's own schedule — our collector runs twice a day, but a state may only refresh its figures weekly — and keep every reading as a dated snapshot.
States differ in how much they publish. Some give the full prize table with odds. Some give the full table without odds. Some give only the top prize tier. We never fill in what a state leaves out. Instead, each game is graded in the richest mode its state's data supports (_tier_metrics):
| Mode | Chosen when the state publishes | What the grade measures |
|---|---|---|
| Expected value ( ev) | At least three prize tiers with printed totals, plus overall odds | Estimated prize money per dollar still in the game |
| Change since launch ( delta) | At least three tiers with totals, but no overall odds | Whether the remaining pool is richer or poorer per ticket than when the game began |
| Top-prize signals ( top) | Fewer than three tiers with totals (typically the top prize only) | Top-prize availability, published odds, and prize-to-price upside |
The in-app grade sheet names the mode for each game under "Why this grade."
ev)Computed in _tier_metrics:
delta)Without overall odds we cannot estimate tickets remaining, so there is no EV per dollar. But the improvement ratio does not need a ticket count: improvement = (prize money remaining ÷ total prize money) ÷ (prizes remaining ÷ total prizes). That ratio is the number graded.
top)With only the top tier visible, the score is a weighted blend of three signals, each compared with the other games at the same price in the state (_raw_score):
These are the coarsest grades we publish. They sharpen when a state's data is enriched, and the mode changes to one of the two above.
Grades are relative. Each game is compared only with games in the same state, at the same ticket price, graded in the same mode — the choice a person actually faces at one display (score_games). A $5 game in Massachusetts is never ranked against a $20 game, or against anything in Texas.
Within that pool, every game's number from section 2 is converted to a standard score (how many standard deviations it sits from the pool's average; _zscores), the pool is ranked, and each game receives a percentile from 0 (worst in pool) to 100 (best). The percentile sets the starting letter (_grade, cut points in GRADE_CUTS):
| Percentile | Starting grade |
|---|---|
| 90 and above | A+ |
| 75 to 89.9 | A |
| 55 to 74.9 | B |
| 30 to 54.9 | C |
| 10 to 29.9 | D |
| Below 10 | F |
A game with no same-price peers in its state has no basis for comparison and receives a C.
A pure ranking has a flaw: any pool of two or more games would always produce one A+ and one F, however close or however poor the games actually are. So after the percentile grade, these adjustments apply (_apply_absolute_anchors, constants SMALL_POOL_MAX_N, IMPROVE_GOOD, IMPROVE_STRONG, IMPROVE_WEAK):
After everything above, one rule always wins (score_games): a game with zero top prizes left is capped at B in the expected-value and change-since-launch modes (its remaining smaller prizes may still make it decent value, but the headline prize is gone), and capped at D in top-prize-signal mode, where the top prize is most of what we can see.
If a non-cash prize (a vehicle, say) sits above the cash top prize, we cannot value it, so the cash figure is used for the arithmetic and the grade sheet names the non-cash prize as the headline.
Separately from the grade, a game is flagged a "unicorn" when all four hold (score_games): it is graded in expected-value mode; at least one top prize is still unclaimed; estimated EV per dollar is 1.00 or more; and an estimated 2% or fewer of its tickets remain. These are the least certain numbers in the system — the uniform-density assumption is weakest for a nearly sold-out game — so the flag is shown in the app only after a person has checked the state's figures by hand (gate_unicorns in the app build). Unverified unicorns are hidden, not shown with a caveat.
The app lists games best grade first. Inside a grade, expected-value states are ordered by EV per dollar; other states by percentile.
A wrong-but-confident grade is the failure we most want to avoid, so the pipeline fails closed:
scraper/validate.py).validate_scores).Any change to a grading rule — a cut point, a weight, an anchor, a cap, a mode's formula or its selection — is a new version of this page, with a new number and effective date, and the previous version stays published at its own address. A grade is only ever claimed against the version in effect on its data date.
| Version | Effective | What changed |
|---|---|---|
| 1 | 2026-11-01 | First published description. Describes scoring engine v1 with the absolute anchors of grading v1.1 (in force since 2026-07-31). |
ScratchBuddy LLC · 500 Hudson Rd., Sudbury, MA 01776 · hello@scratchbuddy.ai