Project
Open Caddie
Track match play, skins games, tournament rounds, and season standings for golf clubs
Golf scorekeeping platform covering match play, skins and tournaments, where clubs run seasons on their own points rules. Scorecard photos become course data and round scores through AI, with an eval harness measuring each model.
TypeScript · Next.js · React · PostgreSQL · Drizzle · Vercel AI SDK · Tailwind CSS · Vitest · Playwright
Match play, skins and tournaments
Built scoring for singles, three-ball, four-ball and skins on relative playing handicaps, with one write path for every Round scorecard and Pairings that let players score their own group.
Club seasons and standings
Gave clubs numbered seasons with their own points rules, and derived standings from the underlying rounds through a pure computation, so a corrected score reorders the table.
AI scorecard import with evals
Automated capturing course data and round scores from scorecard photos, backed by an eval harness that scores model output against hand-checked scorecards so swapping models is a measured decision.
Deep modules with enforced boundaries
Restructured the app into deep modules whose entry points are enforced by dependency-cruiser, split by runtime, with tests arranged through those entry points.
Isolated test databases and CI
Guarded tests to local databases with one per worker, added a Playwright end-to-end harness with golden-path tests, and split CI into static, unit and integration jobs.