Skip to content

fix: v3 grading for front-only uploads, resilient detection#114

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

fix: v3 grading for front-only uploads, resilient detection#114
Pyronewbic merged 1 commit into
mainfrom
dev

Conversation

@Pyronewbic

Copy link
Copy Markdown
Owner

Summary

  • gradeDetailedLLM now runs for front-only uploads (was falling back to v2)
  • Card detection wrapped in try/catch — failures skip detection, continue grading
  • TOGETHER_API_KEY placeholder ignored (must be >20 chars)

Test plan

  • node test/unit-test.js — 224 pass
  • POST /api/grade with front-only image returns mode: llm-detailed-v3

- gradeDetailedLLM runs even without back image (was skipping to v2 fallback)
- Card detection wrapped in try/catch — failures continue with original images
- TOGETHER_API_KEY must be >20 chars (ignores placeholder values)
@Pyronewbic Pyronewbic merged commit dd3203f into main May 15, 2026
14 of 15 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