#experiment design
Articles with this tag, 3 in total, newest first.
3 articles · 2026-11-17 – 2026-11-17
Does LSP help AI agents: a hands-on test log
What the LSP code intelligence tool is, how Claude Code connects to it, and how I designed a fair experiment to measure whether it actually improves agents' correctness and token cost.
3 articles · 2026-11-17 – 2026-11-17- p.01
How to fairly test whether “an AI agent with LSP installed is better”: experiment design
Installing a plugin does not mean it gets used. This note records how I designed the experiment (three groups that each differ by one thing, two task sets with deliberate traps, a scorer validated first, and predictions and reading rules written before the runs), and it also caught a design error that made the main test impossible to reach significance.
2026-11-17
Chapter 2 - p.02
AI agent with LSP installed: results from 66 runs, zero difference, and a 0.5-second timing gap
The pre-registered 66-run experiment: all three groups answered correctly, and enabling the plugin did not make the agent cheaper. Telling it to use LSP actually cost 12–34% more tokens (not statistically significant). Digging further showed that Claude Code always sent its queries before Pyright had finished indexing, and all 13 queries returned only the definition itself.
2026-11-17
Chapter 3 - p.03
What happens when LSP is made to wait before answering: a post-hoc experiment, discussion, and my advice for Claude Code users
When the agent is told to wait 15 seconds and query again after an incomplete lookup, LSP returns the full answer every time, and the cost of the rename task also falls back below baseline; but the agent still checks the answer again with grep. This post covers the post-hoc experiment, the overall discussion and practical advice, and ends with a method list and a note on the data.
2026-11-17
Chapter 4