Let the Model Pick Thread Interleavings Instead of Random Test Order
cto_junior · x · 2026-09-23
The author proposes a concurrency-testing approach: rather than letting tests run whatever thread order the machine happens to pick, let the model choose the interleaving order itself and keep trying new ones.
The trick: each operation is written as small steps, split wherever another thread could cut in. A scheduler picks which step runs next, and a second function knows what the right answer should be.
Related event: Engineers Use LLMs to Hunt Concurrency Bugs Tests Miss(4 posts)→
More from coding & agent
- Harvard, Andrew Ng and Karpathy Teach AI Engineering Free: A 9-Step Learning Path — mdancho84 · 2026-09-23
- Cookie banners vs agents: X user shows Europe's web friction makes AI agents look superhuman — jeff_weinstein · 2026-09-23
- New ComfyUI nodes let you mask any video area and insert characters — roychodraws · 2026-09-23
- Shopping agents shouldn't delete shared ingredients when you cancel one meal — Electrical-Yard-287 · 2026-09-23
- From 1 Month of Runway to YC: Founder Sold Computer-Use 'AI Employees' on Orgo — nick_linck · 2026-09-23
- New Claude Opus Spontaneously Uses Temp Symlinks to Fix Rust Image Pipeline — generativist · 2026-09-23