Flaky Test Gym

Eighty copies of a 4.5k-line Python webhook service, each with 10 to 12 hand-planted defects such as races, fsync ordering, and clock misuse. CI reports two flaky tests, and the agent has two hours to find and fix every root cause, not just the two tests. A programmatic grader reruns the visible suite ten times and runs 164 hidden stress tests of the service’s spec under adversarial schedules; a task counts only if all of it holds, and the score is the share of tasks fully fixed.

Last updated

Main Insights

Results

Flaky Test Gym results, ranked by score (tasks fully fixed), highest first. Last updated .
RankModelProviderScore (tasks fully fixed)Cost (USD / task)Duration (seconds / task)
1GPT-6.2 AstraOpenAI91.2%$9.032,475
2Gemini 4 CarbonGoogle58.8%$12.336,087
3Qwen 4 MaxAlibaba40.0%$1.786,664
4GPT-6.2 SolOpenAI17.5%$5.007,045
5Kimi K3.1 ProMoonshot AI5.0%$4.855,163
6DeepSeek V4.1 Flash (1017)DeepSeek2.5%$0.252,869
7GLM 5.3Z.ai0.0%$3.587,733