Jeremy Lee

AI engineer · Los Angeles, open to relocation

Jeremy Lee

I build LLM systems and the evals that show whether they work: a frozen test set, a baseline, the cost and latency of every answer, and the failures written down.

Most recently I led a natural-language analytics platform on Claude and MCP at Kandu, a stroke-recovery health company. Before that: data scientist at InstaAgent (Y Combinator), and nine years as co-founder and Chief Strategy Officer of an education company that grew enrollment 5.2 times. MSBA at UCLA Anderson, December 2026.

Email meResume (PDF)LinkedInGitHub

The Berlin Marathon course, 42.6 km as recorded in a public GPX of the 2023 race, redrawn by 160 rotating circles: a Fourier series, the method behind Fourier Pen. I ran it in 2:48.

Methods

Where each technique is used

A filled square means the project's write-up shows that technique with a measured result. Pick a column to see only those projects.

Project
Marathon Strategy RAGyesyesnoyesnoyesyesnoyesyes
Menu Decodernonoyesnoyesyesyesnonoyes
Podcastifynononononoyesyesnoyesyes
When Can I Retire?yesyesyesnononononoyesyes
Connection Oddsyesyesyesnononononoyesyes
Wine Sommelier RAGnoyesyesyesnononoyesnoyes
Wine Pairing Agentyesnoyesyesnoyesnonoyesyes
Marathon Training Agentyesyesyesnonononononoyes
One in a Hundrednononononononoyesnoyes
downtimenononononononononoyes
Receipt Auditornonononoyesnonononoyes
Cellar Scannernononoyesyesnonononoyes
Race Day Copilotnononoyesyesyesnononoyes
SkillCompassnonononononoyesnonoyes

How I test AI systems

The numbers behind the AI projects

Each row comes from the project's own eval files: a test set frozen before the first run, the baseline it has to beat, what an answer costs at API prices and how long it takes. The last column is the failure I would fix next.

ProjectFrozen eval setResult vs baselineCost per taskLatencyMain failure
Marathon strategy coach (tools, MCP)43 questions with 42 numeric targets, frozen by hash; 15 red-team cases frozen before their run42 of 42, against 21 for RAG and 14 for the bare model; 0 of 15 attacks worked, before or after the new guard; 12 of 12 values right across reruns$0.017 median8.4 s median, 14.6 s p95 (n=11)42 of 42 is close to circular, since the targets come from the models it calls; strict rules scored refusals as attacks
Menu Decoder (LoRA vs Claude)303 held-out dishes, plus 60 adversarial dishes hiding 123 allergens, frozen before the runFalse-safe 7.3% to 0.8% with the guard layers; hidden misses 22 to 0; Claude alone 1.7%$0.18 per 1,000 dishes for the Haiku layer; Claude alone $56Local 2.8 s median; Haiku 13 s per 10-dish batchOver-warning up to 27%; one of three Haiku runs cleared hummus of sesame
Podcastify124 script lines, 56 broken by code so the answer is known, frozen before any judge ranOpus caught 56 of 56 broken lines; the pipeline's Sonnet checker 44 to 49; a three-judge vote 52$0.0025 per line (Opus); $0.35 per episode10.6 s median per judge call (124 lines in 8 calls); 3 min 43 s per episodeSonnet forgives flipped negations, and a parser bug had left 33 lines unchecked (fixed)
Marathon Training Agent (schema)6 runners, frozen before the run6 of 6 plans pass every check, against 1 of 6 for the old loop; wrong plan lengths 0 against 3$0.10 median47 s median, 66 s p95First drafts broke the note-length limit 4 times in 6
Retirement what-if agent (MCP)30 questions with expected scenarios, frozen before any run28 of 30 end to end; headline matches the engine 19 of 20, against 3 of 20 for the bare model$0.00877.7 s median, 9.5 s p95A reply that dropped the what-if result passed, since nothing in it was invented
Itinerary checker (MCP)30 synthetic itineraries in mixed formats, frozen before any run30 of 30 parsed; all 24 miss chances equal to the model's; bare model a median 9.4 points off$0.00686.3 s median, 9.6 s p95Replies said 'no chance' when they meant no figure
Wine Sommelier RAG30 rubric queries, plus 28 requests with stated limits, each set committed before its runResults breaking a stated limit: 77.5% to 0 with Sonnet extraction; nDCG@10 0.76 against 0.59 for dense retrieval$0 retrieval; $0.053 extraction (Haiku $0.003)Retrieval 196 ms median; extraction 2.4 sA word filter for 'not oaky' drops unoaked Chardonnays; the regex extractor I wrote ties Sonnet on my own phrasing
Wine Pairing Agent10 dishes, rubric and protocol frozen before the runSelf-critique passes 10 of 10, against 0 for the old prompt; first pick an accepted grape 10 of 10, against 3 for search$0.49 median33.7 s median, 54.9 s p95A second judge on Sonnet agreed on 6 of 10 verdicts (kappa 0.20)
Receipt Auditor (LoRA vs Claude)220 items from 158 merchants the model never sawFine-tuned 1.5B model 90.5%, against 80.0% for Claude zero-shot$0 local; Claude $3.03 per 1,000 itemsLocal 0.19 s median; Claude 3.6 s median, 9.0 s p95Hardware and gasoline items, whose training labels themselves split two ways
One in a Hundred (in-browser parser)200 questions frozen earlier, plus a 104-question dev splitIn-browser hybrid 66 of 104 on new wording against 58 for rules, but 172 of 200 against 181 on the frozen set$0; 53 MB download once4.9 ms median, 8.2 ms p95 in the browserStripping numbers before embedding also removed the words that name the measure
SkillCompass question bank645 shipped questions compared with their draftsReview pass rewrote 266; longest-option giveaways down from 37% to 23%; key positions rebalanced to 165/164/158/158$0 (free tiers)Not measuredAs drafted, 64% of keys were option A. Fixed: options shuffle on every showing and the stored bank is rebalanced

Cost is the API-equivalent price reported by the Claude CLI; local-model timings are on an Apple M4 laptop. n is given where it is small.

Changelog

Recent work on these projects

Dated changes, newest first. Corrections are listed with the upgrades.

  1. Ten projects upgraded: guard layers and an adversarial set for Menu Decoder, judges tested on deliberately broken lines for Podcastify, agents that call my own models for the retirement and connection tools (both also MCP servers), constraint extraction and in-browser search for Wine RAG, a rubric critic for the pairing agent, an in-browser parser for One in a Hundred, a Claude Code plugin for downtime, plus red-teaming and schema-checked plans for the two marathon agents. Every project has a demo video.

  2. Tests on GitHub Actions for 13 repos; fresh-clone runs of 25 READMEs fixed; cost and latency measured for the agents and the fine-tuning series.

  3. Result-first write-ups with error analysis; Wine RAG re-evaluated on 30 new frozen queries, and an earlier claim about BM25 fusion withdrawn.

  4. Audit of three new studies: a duplicated source file and a wrong API date found and fixed, with dated notes on the pages.

  5. Six studies rebuilt into tools: a pacing predictor tested on Boston 2024, an 80-race heat model, a record-survival model backtested on 2011 to 2025, and the tool-calling coach with its MCP server.

Experience

Where I have shipped this

  1. Jul to Sep 2026

    Data Engineer, Enterprise Systems and IntelligenceKandu, Los Angeles (stroke-recovery health tech)

    Led the architecture of a natural-language analytics platform on Claude and MCP, from proposal to production: the access model, semantic grounding and promotion gates that let commercial, clinical and operations teams query data themselves. Built the dbt warehouse under it from 13 post-merger systems, under HIPAA and GDPR; identity matching raised record linkage from 75.7% to 97.5%.

  2. Jun to Dec 2026

    Data Analyst, and graduate student researcherUCLA Anderson

    Designed the Office of Inclusive Excellence's first data pipeline (450+ files, versioned and checksum-verified). Research with Prof. Jane Wu on LA's deep-tech cluster (5,022 firms) and with Prof. Yihao Yuan on how LLM voice agents affect debt recovery across 36,000 calls.

  3. Jun 2025 to Mar 2026

    Data ScientistInstaAgent, Los Angeles (AI marketing, Y Combinator)

    Built the LLM content-generation system for nine small-business clients across X, LinkedIn, Instagram and TikTok, which cut content production cost by more than 80%. Deployed engagement and send-time models that lifted engagement 25% and campaign ROI 18%.

  4. 2016 to 2025

    Co-founder and Chief Strategy OfficerCasual Ace Learning Centre, Hong Kong

    Grew from one location to eight with a geo-demographic demand model and A/B pricing tests: enrollment up 5.2 times, revenue 6.7 times, more than 1,000 students. Shipped the company's learning platform end to end, LLM tutor included, and led 28 staff.

Full resume (PDF)

Applied AI

The fine-tuning series

Four photo-to-data apps. Each pairs an LLM pipeline with a small Qwen2.5 model I fine-tuned on my laptop (LoRA) for one step of the task, then benchmarks base, fine-tuned and Claude zero-shot on held-out data.

AppWhat the small model doesFine-tunedClaude zero-shotLinks
Receipt AuditorSpend category for merchants it has never seen90.5%80.0%aSiteWrite-up
Cellar ScannerGrape variety from a blind tasting note (1.5B)27.7%23.0%bSiteWrite-up
Menu DecoderCuisine and 14 allergen tags from a bare dish name99.3% cuisine, 69.3% allergen recall79.3% allergen recallcSiteWrite-up
Race Day CopilotKm-by-km pacing plan, checked by six rules (3B)95.7% valid plans; 0.0% pass all six checks90.0% valid; 75.7% passSiteWrite-up
  1. a Clean rerun on 2026-10-28: Claude saw only the merchant text and the 12 labels, with tools off. Most of its misses are noisy labels in the test set (hardware and cables marked other). The first run scored 56.0% with a leaked category list.
  2. b Scored on the same 200 notes, the fine-tuned model is right on 55 and Claude on 46 (sign test p = 0.33), so the gap is within noise.
  3. c Claude needs the full allergen schema in every prompt to get there; the fine-tuned model gets the dish name only.

Analysis

Data stories

Running and wine supply most of the questions.

Average points awarded, by reviewer.
Average points awarded, by reviewer.

Wine Score Inflation cellar

The 100-point wine scale is an 8-point scale

Across about 120,000 unique professional reviews (the source file repeats 9,983) nothing scores below 80, and 85% land between 84 and 92. Some critics are simply more generous than others.

The live split card on the write-up, mid-race.
The live split card on the write-up, mid-race.

Hitting the Wall road

Predicting the wall from the first few splits

A model trained on 176,059 Boston finishers from 2014 to 2023 reads your splits as you pass each mat and gives a finish range and the chance of hitting the wall. On the unseen 2024 race it missed by 7.9 minutes at halfway, against 18.1 for even pace.

Average characters per word in hit lyrics, by year.
Average characters per word in hit lyrics, by year.

Are Song Lyrics Getting Simpler? language

Song lyrics got longer, not simpler

Fifty years of Billboard hits doubled in length and grew more repetitive, while the vocabulary stayed about where it was.

Index

All 37 projects

37 projects, each with a live site and 37 with a write-up. Each site has its own look, in one of five families. Pick a family to narrow the list.

Products and apps 6

  1. workshopSkillCompassTwo-minute skill checks in 40-plus fields, scored Elo-style, with peer percentiles and three LLM features. Full stack on $0 a month.SiteWrite-upCode
  2. workshopLeewayEV trip planner for a five-year-old battery: range adjusted for elevation and weather, and a detour budget for avoiding risky turns.SiteWrite-upCode
  3. workshopOne in a HundredWhat it takes to be top 1%, top 10% or median: 950 graded facts, and a question box with an opt-in MiniLM parser that runs in your browser.SiteWrite-upCode
  4. workshopFourier PenAny picture or prompt becomes one continuous line, drawn by a chain of rotating arrows in the browser.SiteWrite-upCode
  5. languageCantonese LearnerToday's Hong Kong news rewritten into spoken Cantonese, with neural audio, jyutping and speech grading. Rebuilt daily.SiteWrite-upCode
  6. languageMandarin Learning ReaderA tutor built from any Chinese EPUB: pinyin over every character, read-aloud, and offline pronunciation grading.SiteWrite-upCode

The fine-tuning series 4

  1. cellarCellar ScannerWine label photo to a cited profile and pairings; a 1.5B LoRA names the grape from a blind tasting note.SiteWrite-upCode
  2. workshopMenu DecoderMenu photo to translated dishes with 14-allergen tags. A LoRA behind two guard layers that only add warnings: hidden misses on 60 adversarial dishes went from 22 to 0.SiteWrite-upCode
  3. workshopReceipt AuditorReceipt photos to categorized spending; 90.5% category accuracy on merchants the model never saw.SiteWrite-upCode
  4. roadRace Day CopilotCourse map photo to a km-by-km pacing plan that has to pass six deterministic checks.SiteWrite-upCode

Retrieval and agents 4

  1. cellarWine Sommelier RAGHybrid search over 30,000 wine reviews that reads price, place and grape from the request first: limit-breaking results 77.5% to 0. Also runs in your browser.SiteWrite-upCode
  2. roadMarathon Strategy RAGA coach that calls my pace and heat models as tools, also an MCP server: 42 of 42 frozen numeric checks against 14 for the bare model, plus a red-team set and reruns.SiteWrite-upCode
  3. cellarWine Pairing AgentA LangGraph agent whose self-critique is a schema-checked rubric: 10 of 10 dishes pass, every run replayable node by node.SiteWrite-upCode
  4. roadMarathon Training AgentA LangGraph planner rebuilt on schema-validated plans: 6 of 6 pass every check with no length drift, against 1 of 6 for its old critique loop.SiteWrite-upCode

Running and athletics 10

  1. roadThe Heat Tax80 Boston Marathons against ERA5 course weather: heat is free to 55°F, then costs about 0.4% of finish time per degree, with a live race-day forecast.SiteWrite-upCode
  2. roadThe Negative-Split MythOnly 2.5% of 31,912 Boston 2014 finishers ran a negative split; across eight Boston years the share runs from 2.4% to 10.8%.SiteWrite-upCode
  3. roadHitting the WallEight Boston years of 5 km splits and a live race predictor: enter splits as you pass each mat for a finish range and wall risk, tested on 2024.SiteWrite-upCode
  4. roadPerformance ContinuumWhere any marathon time sits among 31,842 finishers, and how far out the world record is, using extreme-value theory.SiteWrite-upCode
  5. roadBoston BQ FairnessAre Boston qualifying times equally hard for every age and gender group?SiteWrite-upCode
  6. roadMajors Course DifficultyThree ways to rank the six Majors by difficulty, tested on simulated races with planted penalties.SiteWrite-upCode
  7. roadMarathon Shoe RevolutionHow much of the recent drop in marathon times comes from the shoes.SiteWrite-upCode
  8. trackWorld-Record Half-LivesEvery Olympic event's world-record progression, a frailty survival model tested on 2011 to 2025, and the odds each current record falls before LA 2028.SiteWrite-upCode
  9. trackScoring-Table FairnessKruskal-Wallis tests on 6,400 elite marks: the best in some events score 68 points more than in others.SiteWrite-upCode
  10. trackNational Strength ProfilesK-means and PCA on 43 nations across five disciplines, which fall into five profiles.SiteWrite-upCode

Wine, words and money 8

  1. cellarWine Score InflationNothing in about 120,000 unique reviews scores below 80, and 85% land between 84 and 92.SiteWrite-upCode
  2. cellarVintage HeatA season 1 °C warmer than normal moved scores by 0.24 points in cool regions, across 55,597 reviews and 55 regions. The checks weaken even that.SiteWrite-upCode
  3. workshopFuel LockstepHong Kong's five petrol brands post one price on 88% of days. Six years of posted prices screened against import costs, with Perth and Los Angeles for contrast.SiteWrite-upCode
  4. languageFame Half-LifeHalf the extra Wikipedia attention a death brings is gone about two days after the peak; a year later the page still draws 1.08 times its old traffic. 1,905 deaths and 178 awards, 2016 to 2025.SiteWrite-upCode
  5. languageAre Song Lyrics Getting Simpler?Fifty years of Billboard hits got longer and more repetitive, but the vocabulary held.SiteWrite-upCode
  6. languageLove Island Lexical AnalysisThe top 100 words make up 61% of everything said; about 1,250 words cover 95%.SiteWrite-upCode
  7. languageEPUB Reading-Level AnalyzerGrade level, vocabulary richness and a word-coverage curve for any EPUB, computed in the browser.SiteWrite-upCode
  8. workshopWhen Can I Retire?Replays a retirement plan through every start year since 1871. Ask it in plain English: an agent fills the scenario and the engine does all the math (also an MCP server).SiteWrite-upCode

Small tools 5

  1. workshopLeave Time OptimizerWhen to leave to arrive on time, from Google Maps traffic estimates.SiteWrite-upCode
  2. workshopConnection OddsA 45-minute layover at a US hub missed 17% of the time, from 23 million flights. Paste an itinerary and an agent scores each connection with the model.SiteWrite-upCode
  3. languageEPUB to AudiobookA desktop app for read-along audiobooks in English, Mandarin and Cantonese.SiteWrite-upCode
  4. languagePodcastifyA whole book becomes a two-host episode where every claim cites its source. Its checkers were tested on 56 lines broken on purpose: Opus caught all 56.SiteWrite-upCode
  5. workshopdowntimeTerminal trivia while a slow build runs, now also a Claude Code plugin whose hooks open a companion pane while a tool call or subagent works.SiteWrite-upCode

About

Background

I spent nine years running a business before I wrote production code. I co-founded Casual Ace Learning Centre in Hong Kong and, as Chief Strategy Officer, grew enrollment 5.2 times to more than 1,000 students across eight locations, and shipped its learning platform, LLM tutor included. That is why my projects report cost and failure modes next to accuracy. I came to AI engineering through an MSBA at UCLA Anderson (GPA 3.92), after graduate analytics coursework at Georgia Tech and a BBA in Accounting and Finance from the University of Hong Kong.

Outside work I have run 14 marathons, with a best of 2:48 in Berlin, and I hold WSET Level 3 in wine. Between them they account for most of the questions on this page.

lyhjeremy@gmail.comResume (PDF)LinkedIn

Modeling
scikit-learn, PyTorch, XGBoost. Regression, classification, clustering, time series, survival analysis, causal inference, A/B testing.
LLM systems
Claude and MCP, tool use, agents (LangGraph), RAG (BM25, dense, cross-encoder reranking), LoRA fine-tuning, evals with frozen gold sets and LLM judges, grounding checks, cost and latency measurement.
Engineering
Python, TypeScript, SQL, FastAPI, React, Git, CI/CD, GCP, Claude Code.
Optimization
Gurobi; LP, IP, QP and non-convex programs; branch-and-bound, duality, Monte Carlo simulation.
Data
Snowflake, dbt, Airflow, Spark, R, Tableau, Power BI. Apps deployed on Render, Vercel and GitHub Pages.