Tencent's AutoCodeBench: Elixir Tops All Languages

In Tencent's 2025 AutoCodeBench study, Elixir achieved a 97.5% problem completion rate across 30+ AI models, the highest among 20 programming languages tested. Notably, Claude Opus 4 alone scored 80.3% on Elixir tasks, marking its best performance across all languages.

The top 3

  1. Elixir's Core Design Fuels AI Code Generation Success: Elixir's high performance in AI code generation is attributed to its functional programming paradigm, emphasizing immutability and pure functions, which simplifies 'local reasoning' for LLMs by reducing side effects. Its clean, consistent syntax, explicit pattern matching, and stable ecosystem also provide high-quality, predictable training data for AI models.
  2. Elixir's Dominance: Outperforming Top Languages by Wide Margins: In Tencent's AutoCodeBench, Elixir achieved a 97.5% problem completion rate, leading all 20 languages tested. This significantly surpassed popular languages, with Python scoring last at 63.3%. For individual models, Claude Opus 4 scored 80.3% on Elixir tasks, outperforming C# at 74.9% and Kotlin at 72.5%.
  3. AutoCodeBench: AI-Generated, Multilingual, High-Difficulty Evaluation: Tencent's AutoCodeBench is a benchmark featuring 3,920 high-difficulty problems across 20 programming languages. It uses an innovative 'AutoCodeGen' workflow where LLMs generate test inputs and problems, verified in a 'MultiLanguageSandbox' supporting over 30 languages, eliminating manual annotation and reducing Python bias common in prior benchmarks.

Sources

Open the full topic