How Org Scan estimates its figures
An Org Scan report is built from the history of your merged pull requests. This page explains each figure in the report email: what is counted, where the AI spend number comes from, and what the report leaves out.
The passing share
The headline is the share of your merged pull requests that passed every check, when the email can state it (see below). It counts pull requests merged in the report period, across all the repositories the scan covered, pooled together.
A pull request passed every check when each automated check on its final commit finished and none failed. Checks that finish as success, neutral or skipped count as passing. A pull request with no checks, or with checks still running, does not count as passing. The scan reads the first 100 checks on each pull request.
The share is out of the pull requests the scan examined, and the report says how many that was. If a scan covers more pull requests than it reads, it reads an even sample and says so.
When the email states the share, it also gives a range, “between X% and Y% at 95% confidence”, worked out from how many pull requests were examined and how many passed (a Wilson score interval). The fewer pull requests examined, the wider the range.
The email does not state a share when the scan examined fewer than 20 merged pull requests: so few cannot support a share. It says how many were examined instead. It also leaves the share out unless our accuracy check of this estimate passed in the last 48 hours. When the share is left out for either reason, the email says why.
AI spend
The report shows AI spend from the best source available, in this order, and labels which one it used:
- From your usage key. Measured spend read from your Anthropic usage and cost reports, for the period.
- From the figure you gave us. The monthly spend your CTO or admin entered when running the scan. It is not verified.
- Our estimate. A range worked out from the pull requests that carry an AI tool mark, using public list prices and a typical amount of AI work per line changed. It is not billing data. When too few pull requests carry a mark, the report shows no spend line at all.
Pull request size
Size is lines changed in one merged pull request: lines added plus lines removed. These are the size bands we define. Reports do not yet show anything by size.
| Size | Lines changed |
|---|---|
| Small | Under 50 |
| Medium | 50 to 500 |
| Large | Over 500 |
Cost per merged pull request and cost by pull request size are not yet available.
What is left out
- Pull requests that were closed without merging, and pull requests merged outside the period.
- Reverts. They are counted as merged but not read or checked.
- Pull requests over 20,000 changed lines, and pull requests the scan could not read. The report counts these and says how many.
- Lines in lockfiles and generated files, which are not counted toward size, so a dependency update does not look like a large pull request.
- Anything else inside the pull requests: the scan does not read code, comments, branch names or author names. Titles and descriptions are checked in memory, for a revert marker and for AI tool marks, and dropped.
Limits
This is an estimate from pull request history and, where you provide it, your usage data. It is not a measurement. Lines changed is a rough stand-in for effort, and a share of passing checks is not a judgement of code quality.
What Mnemom keeps
When you start a scan from this site, Mnemom keeps the signed report for a set time after the scan finishes, so you can come back to it, then deletes it. The report shows when it will be deleted. A short summary is emailed. When you run the scan with the Mnemom CLI, the report is shown live in your terminal and Mnemom stores none of these numbers. Your share choice only decides what Mnemom may keep once storage is built. Our email provider keeps a delivery log. See our Privacy Policy and sub-processors list.
