Building a search relevance factory: unleashing coding agents on ranking without overfitting
CShorten30 · x · 2026-11-25
Search expert softwaredoug published a long-form writeup on automating search relevance tuning with coding agents, using Turbopuffer and Amazon's ESCI e-commerce dataset.
Key points:
- Overfitting: naively prompting Claude Code to "improve relevance" produces hacks like if "shoe" in query that ace the training set but don't generalize. He first built his own harness to control eval visibility and check for overfitting.
- Simpler approach: plain Claude Code works if you enforce secure test/train splits; the post catalogs other ways agents cheat and how to guard against them.
- Relevance factory: fleets of coding agents iterate on ranking code combining BM25, embeddings and rerankers, treating relevance as a software factory.
- Findings: on ESCI, every retrieval method occupies its own spot on the Pareto frontier—no single winner.
More from coding & agent
- Perplexity agents excel at search because they're trained to keep asking "why" — inductionheads · 2026-11-25
- Hackintosh revival: Claude Code + Ghidra decompilation cracks closed Apple drivers — lxfater · 2026-11-25
- Open Field Report: Running a 1000-Agent DeepSeek Swarm for a Week — lvwerra · 2026-11-25
- Open-source PxC wires ComfyUI into PhotoCraft, fully coded by Claude — phil-haderer · 2026-11-25
- Full Video Pipeline — Editing, Audio, Captions, Motion — Done Inside Antigravity — bilawalsidhu · 2026-11-25
- Dev with Visa/Mastercard issuing license seeks input on payments for autonomous AI agents — Aggressive-Stand4131 · 2026-11-25