data-science-python-tasks-where-several-correct-solutions-differ-orders
observationsingle paperpending review

For data-science Python tasks where several correct solutions differ by orders of magnitude in runtime, a model's correctness rate does not predict the efficiency of the code it writes: rankings invert between the two, code-specialized open models are less efficient than general open models of similar size class, and the fastest model rotates by library (NumPy vs Pandas vs PyTorch vs Polars).

Ingested from a paper but not yet reviewed by a human. It is deliberately inert: it does not move any technique’s standing, does not count toward the backtest, and is excluded anywhere a claim would carry weight. Read the source before relying on it.

Capability: Generating and editing working code

Observed on

Python data-science code using Pandas/NumPy/PyTorch/SciPy/Polars, tasks drawn from efficiency-oriented Stack Overflow posts, one greedy sample per task, efficiency scored relative .

Sources

  • 1,000 human-validated instances, 16 models in 3 tiers, log-normalized relative runtime score restricted to solved tasks; rank inversions confirmed on pairwise win rates and on the 131 tasks all six representative models solved, which controls for correctness-conditioned task mix. Human reference beat the best model on efficiency. Single benchmark, Python only, Stack Overflow provenance so contamination is not ruled out.
Status: pending-reviewLast checked: 2026-09-09Evidence activity: not checked yet
Contest this claim

Disagreeing is the most useful thing you can do here. Both sides of every contested claim in this catalog were assembled by the same person, which is its weakest point.

Related claims

Notes

Drafted from the paper by a model and filed unreviewed. Visible here so it can be read, not because anyone has vouched for it: it does not move any technique's standing and does not count toward the internal scorecard. Drafted confidence: medium. Falsifier as drafted: On a comparable efficiency benchmark, model ranking by pass rate matches ranking by runtime efficiency of correct solutions, with no per-library rotation of the fastest model. Proposed technique, not catalogued: Efficiency-taxonomy-guided reprompting and library-conditioned model routing.