Lineform
Independent full-stack development
A sports analytics and research platform that brings schedules, statistics, market odds, and model evaluation into one place.
- React
- TypeScript
- Python
- FastAPI
- PostgreSQL
- Claude API
The live app can take a moment to load. If it’s unavailable, everything on this page still explains how it works.
Read the case study
How the data moves
Choose a stage
Collect on a schedule.
Seventeen scheduled GitHub Actions jobs gather schedules, box scores, sportsbook odds, and prop lines from 8+ providers for tennis, the NFL, the NBA, and the NHL.
Four decisions behind Lineform
I built Lineform’s frontend, backend, and data workflows. These are a few of the decisions behind the product.
Query performance
An N+1 query pattern was causing endpoint timeouts. I replaced it with batched queries, and moved heavy report builds into scheduled jobs so the API stays within a 512 MB host.
LessonA responsive interface starts with understanding what happens behind the API.
Data quality
I built the FastAPI backend and a 50-migration PostgreSQL schema alongside the React client. Shared player and event identities make providers comparable, and about 5,600 automated tests run in CI.
LessonCollecting data is only the beginning. Keeping it coherent is part of the product.
Model evaluation
I validated every model on held-out seasons, including 12,068 tennis matches, under evaluation rules written before the data was read. The app withholds predictions when the evidence does not support them.
LessonAn honest model track record is more useful than an impressive-looking prediction.
AI assistant
Ask Lineform answers questions about the app’s data in plain English. I wrote its Claude tool loop by hand, and a 30-question evaluation checks that every number in an answer comes from the app’s own data.
LessonAn assistant is only as trustworthy as the data it is allowed to quote.


