Skip to content

Improved AI grading: detailed prompts, corner crops, high-res images#59

Merged
Pyronewbic merged 1 commit into
mainfrom
dev
May 12, 2026
Merged

Improved AI grading: detailed prompts, corner crops, high-res images#59
Pyronewbic merged 1 commit into
mainfrom
dev

Conversation

@Pyronewbic
Copy link
Copy Markdown
Owner

Summary

  • Rewrote all 4 subgrade prompts with full PSA rubric (5-10), perspective correction, per-corner/edge defect taxonomy, dark-border awareness, holo-specific surface guidance
  • Added sharp-based corner crop preprocessing — 8 magnified crops (front+back) sent to corners subgrade
  • Upgraded eBay images from s-l500 (500px) to s-l1600 (full resolution)
  • All listing images passed to centering/edges/surface subgrades (corners gets front+back + crops only to limit token cost)
  • Re-graded all 10 demo listings with improved prompts — more conservative scores, honest confidence (0.35-0.60)
  • 98 unit tests (was 92), 214 total

Breaking changes

None. API response shape unchanged — grade objects have same fields, just different values from improved prompts.

Demo data

  • Sample data works with updated grades
  • No missing fields
  • All eBay URLs upgraded to s-l1600

…images

Rewrote all 4 subgrade prompts with full PSA rubric (5-10), perspective
correction for tilted listing photos, per-corner/edge defect taxonomy,
dark-border awareness, and holo-specific surface guidance.

Added sharp-based corner crop preprocessing (8 magnified crops from
front+back). Upgraded eBay images to s-l1600. All listing images now
passed to centering/edges/surface subgrades. Re-graded demo data with
new prompts — more conservative scores and honest confidence values.

98 unit tests (was 92), 214 total.
@Pyronewbic Pyronewbic merged commit 54472e7 into main May 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant