mlsanityData to 7 Oct 2026

Humanity's Last Code Exam: Can Advanced LLMs Conquer Human's Hardest Code Competition?

arXiv 2506.12713 ↗First posted 15 Jun 2025cs.SE cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

Code generation is a core capability of large language models (LLMs), yet mainstream benchmarks (e.g., APPs and LiveCodeBench) contain questions with medium-level difficulty and pose no challenge to advanced LLMs. To better reflected the advanced reasoning and code generation ability, We introduce Humanity's Last Code Exam (HLCE), comprising 235 most challenging problems from the International Collegiate Programming Contest (ICPC World Finals) and the International Olympiad in Informatics (IOI) spanning 2010 - 2024. As part of HLCE, we design a harmonized online-offline sandbox that guarantees fully reproducible evaluation. Through our comprehensive evaluation, we observe that even the strongest reasoning LLMs: o4-mini(high) and Gemini-2.5 Pro, achieve pass@1 rates of only 15.9% and 11.4%, respectively. Meanwhile, we propose a novel "self-recognition" task to measure LLMs' awareness of their own capabilities. Results indicate that LLMs' self-recognition abilities are not proportionally correlated with their code generation performance. Finally, our empirical validation of test-time scaling laws reveals that current advanced LLMs have substantial room for improvement on complex programming tasks. We expect HLCE to become a milestone challenge for code generation and to catalyze advances in high-performance reasoning and human-AI collaborative programming. Our code and dataset are also public available(https://github.com/Humanity-s-Last-Code-Exam/HLCE).

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 11 of its 23 references that are in the map. First posted on arXiv 15 Jun 2025.

Builds on

11 of 23 references.

References · 11

  1. 2021Program Synthesis with Large Language Modelscited by 3,509
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  3. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  4. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  5. 2025s1: Simple test-time scalingcited by 1,311
  6. 2021Measuring Coding Challenge Competence With APPScited by 879
  7. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
  8. 2024CoIR: A Comprehensive Benchmark for Code Information Retrieval Modelscited by 59
  9. 2025How Is LLM Reasoning Distracted by Irrelevant Context? An Analysis Using a Controlled Benchmarkcited by 26
  10. 2025CopySpec: Accelerating LLMs with Speculative Copy-and-Paste Without Compromising Qualitycited by 6
  11. 2025Improving the Data-efficiency of Reinforcement Learning by Warm-starting with LLMcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Rethinking Verification for LLM Code Generation: From Generation to Testing
  2. 2024HumanEval Pro and MBPP Pro: Evaluating Large Language Models on Self-invoking Code Generation
  3. 2025Increasing LLM Coding Capabilities through Diverse Synthetic Coding Tasks
  4. 2026Beyond Problem Solving: UOJ-Bench for Evaluating Code Generation, Hacking, and Repair in Competitive Programming
  5. 2025BigCodeArena: Unveiling More Reliable Human Preferences in Code Generation via Execution
  6. 2025CodeElo: Benchmarking Competition-level Code Generation of LLMs with Human-comparable Elo Ratings
  7. 2023CodeApex: A Bilingual Programming Evaluation Benchmark for Large Language Models
  8. 2025ICPC-Eval: Probing the Frontiers of LLM Reasoning with Competitive Programming Contests