Why does a case file need a score you can reproduce later?
A score is a claim about one moment. Also, a case file that holds only the number cannot answer a later question. Next, the open questions are which rules produced it, whether the site changed and whether the rules changed.
Without a way to rebuild the score, the team argues from memory. In fact, with one, the reviewer can show the same inputs and the same result. That does not make the score right.
However, it makes the review honest about how the number was made.
What does the replay check, and what does it leave out?
The verify-scan command scores the stored observations of a scan again with the current rules. It does not touch the network or the live site. Thus, it compares the whole rule ledger with the stored one, and not only the total.
The comparison covers which rules matched and which points were applied. Two different sets of rule outcomes can add up to the same total. As a result, a total-only check could hide a compensating error.
The replay never calls a model. Next, the reason is that the answers of the model are already inside the stored observations.
How do you read each of the four replay outcomes on a file?
Each scan ends in one of four outcomes. Learn the wording before an audit starts.
- Verified means that the same inputs gave the same score, and exit code 0 is returned.
- Drifted means that the rules, data or catalogue changed since the scan, and exit code 0 is returned.
- Mismatch means that identical inputs gave a different result, and exit code 2 is returned.
- Unverifiable means that provenance or stored observations are missing, and exit code 3 is returned.
A drifted outcome is not an error. Every scan becomes drifted once someone edits the rules. Also, a command that failed on drift would stay red and be ignored.
The replayed score is shown as what the method of today says. Indeed, it is never presented as a correction of the original.
A mismatch is a different case. It needs identical input digests and a different ledger, which means that some unrecorded input leaked into the score. You must stop and investigate it.
An unverifiable result means that the score is unproven. You should say that in the file.
What wording should a case file use for each outcome?
Plain sentences protect the reviewer. Name the scan id, the date of the replay and the outcome. Next, then add one sentence on what it means.
What does a file note for a verified replay say?
Write that the stored observations were scored again on a named date with no network access. That the result matched the stored ledger. Add that this shows reproducibility only.
Do not write that the score is correct or accurate.
What does a file note for a drifted replay say?
Write that the rules, data or catalogue changed after the scan. List the rules that differ. Next, state both scores: the stored one and the replayed one.
Say that the stored score was correct for the method at the time of the scan. That the replay shows what the method of today would say.
How do the stored digests support the note in the file?
The How this was produced drawer shows the ruleset digest, the dataset digest, the catalogue digest and the engine version. Indeed, file a note of it with the case. The digests are computed from the bytes that were loaded.
As a result, they cannot be forgotten or mistyped.
If two scans of one merchant have the same digests, the same method scored both. Also, a gap in score comes from the observations. If the digests differ, the method moved as well.
The merchant portfolio review workflow uses this test.
What can a reproducible score never prove about a merchant?
Replay proves that stored observations and a ruleset give a score. It does not prove that the observations were complete. Hence, the reason is that a one-URL scan stores one fetched page plus domain checks.
If a key policy page was never fetched, the replay reproduces a score built without it.
It also does not prove that the rules are sound. The article on score limits goes further.
A case file should state both limits in one short paragraph. As a result, no reader mistakes reproducibility for accuracy.