formachines / errata

Errata / PyPI

scipy: outdated calls AI models write

2 corrections for scipy 1.18.1 (PyPI): code that gemini-3.8-flash and gpt-6.1-sol wrote in our sandbox runs for 1.17.1 and earlier, which fails on 1.18.1. Each one is verified on both versions.

Corrections
2
Fails on
1.18.1
Works on
1.17.1
Released
2026-08-21
Corrections for scipy 1.18.1
Changed APIChangeModels wroteCorrectErrorSeen inWorked
scipy.optimize.nnlsremovedx, residual_norm = nnls(A, b, atol=1e-8)x, residual_norm = nnls(A, b)TypeErrorgpt-6.1-sol2/2
scipy.linalg.sqrtmchangedroot, errest = linalg.sqrtm(A, disp=False)root = linalg.sqrtm(A)TypeErrorgemini-3.8-flash, gpt-6.1-sol4/4

Wide table: scroll it sideways to see every column.

Sandbox runs per model for scipy (answers that ran; counts, not a quality score)
ModelAnswers runOutdated code foundShare
claude-sonnet-5-512217 %
gpt-6.1-sol12650 %
gemini-3.8-flash12433 %

For agents