Timeout and Retry Anti-Patterns in LLM-Generated Code: Benchmark and Analysis Code
A Go mock service that injects nine faults into HTTP exchanges, the drivers that run Python, TypeScript, Java and Go solutions against it, generation code, reference solutions, mutants, and the scripts behind the tables of the paper A Timeout Is Not a Deadline: An Empirical Study of Timeout and Retry Anti-Patterns in LLM-Generated Code. Eight LLMs wrote solutions to 16 HTTP client tasks in Python, TypeScript, Java and Go, with and without explicit resilience requirements (3,072 generations). Every runnable solution was run in a sandbox against a mock service that stalls in each phase of an HTTP exchange, fails transiently, rate-limits with Retry-After, fails for 30 s, refuses connections, or resets the connection after a write. The same faults were applied to the default calls of 15 HTTP client libraries. Preregistration: doi:10.5281/zenodo.24012023. Raw data: 10.5281/zenodo.24447083.
- Link
- https://doi.org/10.5281/zenodo.24447080
- Found by
- DataCite
- Authors
- Violetta Pidvolotska
- Organizations
- Independent Researcher, Warsaw, Poland
- Categories
- benchmark
- Published
- 2026-11-22
- Last seen by the radar
- 2026-11-24
- Citations
- 0
- Downloads
- 0
- Views
- 0
- Radar score
- 28.41 / 100 (how it is scored)
- Why it scored so
- Also found via DataCite; Matched: benchmark; Primary record: DataCite
- Related links
- https://zenodo.org/doi/10.5281/zenodo.24447080
https://doi.org/10.5281/zenodo.24447081
https://zenodo.org/doi/10.5281/zenodo.24447081