a4ce8a9d50656da57af537cd6c772071f48049d8
has_stroke_index was derived solely from course_holes.stroke_index, but stroke indices can also be stored as JSON on course_tees (stroke_indices column), which is what's used at game creation to compute strokes_allocation per player. Courses imported from the API often have per-tee SI but no course-level hole SI, causing has_stroke_index = False even though every player had valid stroke data — hiding the +N badges and scorecard slash markers entirely. Fix: fall back to checking whether any player actually has stroke data in strokes_per_hole, applied to both game_page and game_summary. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
HTML
51.6%
Python
38%
CSS
9%
JavaScript
1.3%
Dockerfile
0.1%