Yuvraj Sehgal and colleagues tested the explanations behind speedups proposed by coding assistants. A second assistant built both versions and wrote a workload without seeing the original claim. The team timed the runs and separately checked signals such as file reads and time spent waiting on locks.

  • Of 82 measured changes, 32 ran faster, 28 showed no clear change and 22 ran slower. The output differed in 42 cases, so a faster run alone is an incomplete check.
  • The signal predicted by the claim moved in 34 cases. For faster changes, operating-system traces moved about 1.7 times as often for a claimed mechanism as for one the author did not claim. Raw instruction counts separated them by only 1.15 times.
  • One pagination change went from 2.60 seconds to 2.28 seconds while issuing more system calls and reading more bytes. The timing gain was real on that workload, but the evidence did not support the stated explanation.

Caveat: The 82 changes were mostly Python and the generated workloads can miss the circumstances in which a change helps. A matching signal supports a mechanism without proving it.

Daily coverage