A frozen test, with every outcome counted
On 150 fresh NIH photos (300 label–photo pairs), Second Look called 1 of 150 wrong pills fine. When it answered, it was right 83 of 88 times; it said “can't tell” 70.6% of the time.
- Direct AI also said “can’t tell” on 206/300 pairs (68.6%, about 69%). These 2016-era single-view photos were hard for both systems in this test.
- When Second Look answered, it was right 83/88 times, versus 83/94 for direct AI. It made 4 false alarms versus 9, and passed 1 wrong pill versus 2. Most pairs still went unanswered.
- The fresh test found a real safety bug: a single “5” looked like one side of “598;S”. We fixed it. The frozen results above stay unchanged; the separate before/after audit below is post-hoc.
A wrong pill called fine matters. So does how often we cannot tell. We show both, along with false alarms and correct answers. These are engineering measurements, not a promise of clinical safety.
Whole-bottle photos: a separate feature
These numbers describe the frozen pill-v2 release, not the current reader prompt or later shared color and identification rules. The whole-bottle check is not part of this benchmark. Code finds separate pills on a plain, contrasting surface, AI reads each crop, and the same rules compare each reading with FDA records. Touching pills are circled and never counted as checked.
The look-alike check (a pill that differs in size, shape or color from the others in the same photo) and the face-down state are bottle-level rules. Their thresholds were set from drawn test scenes and development composites, not from the demo photos, and they are separate from this benchmark. Their sensitivity and false-warning rate on independent real bottle photos have not been measured.
Development-only composites reuse selected NIH consumer photographs to test the pipeline. They are functional demonstrations, not fresh accuracy evidence or a test of real bottle photos. No holdout photos or frozen benchmark results were changed. Only detected pills are checked; inspect the numbering for missed pills.
Frozen holdout: before either fix
150 photos of 75 new products; 300 balanced pairs. 126/150 wrong pairs share the FDA color and shape but have different imprints and medicines. Product-code overlap with development: 0.
Mistakes, not just catches
Lower is better. Counts out of the same right/wrong pairs; the full table follows.
How often does it answer?
Accuracy among answers must be read with coverage. Abstaining is not a correct answer. If there are no answers, accuracy is n/a.
| Method | Wrong caught | Wrong called fine | False alarms | Right passed | Correct / answered | Coverage | Can’t tell |
|---|---|---|---|---|---|---|---|
| Sonnet, one view | 46/150 | 1/150 | 4/150 | 37/150 | 83/88 (94.3%) | 88/300 (29.3%) | 212/300 (70.6%) |
| Sonnet, two views | 26/150 | 0/150 | 4/150 | 20/150 | 46/50 (92%) | 50/300 (16.6%) | 250/300 (83.3%) |
| Direct Sonnet | 45/150 | 2/150 | 9/150 | 38/150 | 83/94 (88.2%) | 94/300 (31.3%) | 206/300 (68.6%) |
“When it answered” excludes UNSURE, but does not exclude mistakes. Correct answers are right pills passed plus wrong pills caught. All methods use the same pairs. The one-view pipeline was chosen for the headline before testing, not because it won.
After two fixes (post-hoc — this holdout is no longer untouched)
We blocked folded short or partial imprint passes and let close colors agree across two photos. All readings, photos and pairs are unchanged. This rescore made zero model calls ($0). These photos informed a fix, so the numbers below are not fresh evidence of accuracy or safety.
On the same holdout, one view goes from 1 to 0 wrong passes, 83/88 to 83/87 correct answered, and 212 to 213 uncertain pairs. Two views go from 4 to 7 false alarms and 50 to 64 answered pairs. Higher coverage came with more false alarms; zero observed wrong passes is not proof of safety.
| Method | Wrong caught | Wrong called fine | False alarms | Right passed | Correct / answered | Coverage | Can’t tell |
|---|---|---|---|---|---|---|---|
| Sonnet, one view | 46/150 | 0/150 | 4/150 | 37/150 | 83/87 (95.4%) | 87/300 (29%) | 213/300 (71%) |
| Sonnet, two views | 33/150 | 0/150 | 7/150 | 24/150 | 57/64 (89%) | 64/300 (21.3%) | 236/300 (78.6%) |
| Method | Wrong caught | Wrong called fine | False alarms | Right passed | Correct / answered | Coverage | Can’t tell |
|---|---|---|---|---|---|---|---|
| Sonnet, one view | 66/200 | 0/200 | 2/200 | 56/200 | 122/124 (98.3%) | 124/400 (31%) | 276/400 (69%) |
| Sonnet, two views | 45/200 | 0/200 | 4/200 | 37/200 | 82/86 (95.3%) | 86/400 (21.5%) | 314/400 (78.5%) |
Audit the post-hoc holdout · Audit the post-hoc development set
What changed before this test
The old 200-photo test became our development set. Its diagnosis found missing text, low-confidence readings and eight rejected readings. We kept the 0.7 imprint-confidence threshold, cleaned overly long strings without inventing letters, and clarified that confidence means text legibility, not medicine identification.
You can now flip the same pill for another photo, or skip. Two-view checks combine visible text, but disagreeing colors, incompatible shapes or an unclear view remain uncertain. We did not add a looser partial-imprint rule.
Development only: the older photos
These 200 photos helped develop the changes. The table reuses old pill-v1 readings with the new engine; they were not reread with v2. Strict two-view checks increased abstentions here. That result is not hidden and is not the headline.
| Method | Wrong caught | Wrong called fine | False alarms | Right passed | Correct / answered | Coverage | Can’t tell |
|---|---|---|---|---|---|---|---|
| Sonnet, one view | 66/200 | 0/200 | 2/200 | 56/200 | 122/124 (98.3%) | 124/400 (31%) | 276/400 (69%) |
| Sonnet, two views | 34/200 | 0/200 | 2/200 | 32/200 | 66/68 (97%) | 68/400 (17%) | 332/400 (83%) |
| Direct Sonnet | 91/200 | 3/200 | 9/200 | 49/200 | 140/152 (92.1%) | 152/400 (38%) | 248/400 (62%) |
How the holdout stayed separate
A new fixed seed excludes every development product code, including other packages. To meet the hard-look-alike requirement, we selected 60 mutually paired look-alike products from the first 100 eligible seeded records, then 15 additional products. This is a challenging, stratified sample, not a random sample of prescriptions. The code is committed and frozen before any model reading. Failed readings stay in every denominator.
Frozen commit: 7cb343a9bf00668b77a20465edc2a884160f60ec
Seed 20261110 · claude-sonnet-5-5 · pill-v2 · 2026-11-10
New estimated spend $3.0625 / $5. One-photo reading: 2.45 seconds; direct AI: 1.09 seconds/pair. These exclude the label, FDA lookup, explanation, upload and UI.
What this cannot establish
These are public, controlled NIH photos from the 2016 challenge era, with known label NDCs. Some products are discontinued and FDA records have changed. A second archive view is not guaranteed to show the opposite side or the same physical tablet. There are only 75 distinct two-view groups in the holdout, reused across anchors: observations are correlated, not independent clinical cases. Size and authenticity cannot be measured.
Models may have seen these public images during training. Product disjointness separates our tuning, not model pretraining. Different cohorts do not prove that a change caused a better result. Zero observed wrong passes would not prove safety. Ask your pharmacist about an uncertain or mismatched pill.