card-grader/static
Barely Removable 6c612c1f4a Audit fixes: mis-framed crops, GPT cost 2.2x low, camera button losing photos
1. detail_crops had no equivalent of the margin guard the measurements got.
   When box detection fails (card still in a case), every crop is cut
   relative to the wrong rectangle -- verified the 'TOP-LEFT CORNER'
   close-up of the cased Ohtani is actually the CASE's corner bracket. The
   measurements refuse and explain; the crops kept being produced and
   captioned authoritatively, and the prompt tells the model to judge
   corners/edges/surface *from* them. Now surfaces a framing caveat telling
   the model to locate the real card edge inside each crop and say
   cannot_assess rather than grade the holder.

2. gpt-5.6-sol's approx_image_tokens was a pre-launch guess (1500) that
   advertised ~2.2x under true cost across all 9 real calls. Recalibrated
   to 3560 against median real usage, and added a per-model output estimate
   since GPT writes ~1.2k tokens of verdict vs Sonnet's ~0.9k. Both models
   now advertise within ~3% of observed cost.

3. 'Take photo' didn't reset after a completed grade, unlike 'Choose from
   library'. The result view has no photo strip, so new photos piled up
   invisibly behind the old verdict, silently, to the 6-photo cap. Also
   fixed the cap itself being a silent no-op with no explanation.
2026-08-25 08:00:48 -07:00
..
app.js Audit fixes: mis-framed crops, GPT cost 2.2x low, camera button losing photos 2026-08-25 08:00:48 -07:00
icon-180.png Initial commit: Card Grader deployed to hippofam.com/cards 2026-08-22 09:22:41 -07:00
icon-192.png Initial commit: Card Grader deployed to hippofam.com/cards 2026-08-22 09:22:41 -07:00
icon-512-maskable.png Initial commit: Card Grader deployed to hippofam.com/cards 2026-08-22 09:22:41 -07:00
icon-512.png Initial commit: Card Grader deployed to hippofam.com/cards 2026-08-22 09:22:41 -07:00
icon.svg Full PSA palette: light silver ground, brand red accent, dark text 2026-08-22 12:41:53 -07:00
index.html Track grading spend per user 2026-08-22 17:17:14 -07:00
manifest.json Full PSA palette: light silver ground, brand red accent, dark text 2026-08-22 12:41:53 -07:00
style.css Replace History-row authenticity dot with a visible badge 2026-08-23 11:55:29 -07:00
sw.js Initial commit: Card Grader deployed to hippofam.com/cards 2026-08-22 09:22:41 -07:00