← News

ResearchSources: arXiv · 17 Nov 2026

LangChoiceBench finds LLMs over-select Python when building projects

A new arXiv benchmark measures which programming languages large language models choose for project-level code, finding strong Python bias across 25 models.

In plain words

When asked to build a whole software project, AI models often pick the Python programming language even when another language would suit better. Researchers built a test, LangChoiceBench, to measure this habit and found it is widespread, with models rarely explaining their choice against project needs.

What was announced

The benchmark's authors report that Python remains heavily over-selected across 28 projects in seven software areas where Python is often a poor default, and that recommendation-implementation consistency is low. Evaluating 25 diverse models, they found smaller open-weight models generally show stronger Python preference and lower language diversity.

Analysing 9,826 reasoning traces, the authors found most Python choices are automatic or driven mainly by ease rather than explicit consideration of project requirements. They also describe a failure mode called phantom evidence, where models fabricate contextual support for choosing Python, and note some models produce code contradicting the language selected in their own reasoning.

What it does not show

  • The evidence is the paper's abstract only; full methodology, per-model results and peer review status are not available in the supplied passages.
  • The findings describe the 25 models and 28 projects tested; behaviour of other models or real-world deployment is not established by this evidence.

Sources

Source-support review completed 28 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 28 Nov 2026

New to the subject? AI from the Ground Up starts from the beginning.