Research map / Large language models / Agents, code and math
Perish or Flourish? A Holistic Evaluation of Large Language Models for Code Generation in Functional Programming
Eric Lang, Thanh Le-Cong, Quyet-Thang Huynh
University of Melbourne · Singapore University of Technology and Design · Hanoi University of Science and Technology
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| newer model generation (GPT-3.5 -> GPT-5) | GPT series · FPBench (Haskell) | pass@1 (%): 14.15 -> 42.34 | Improved |
| newer model generation (GPT-3.5 -> GPT-5) | GPT series · FPBench (OCaml) | pass@1 (%): 9.43 -> 52.16 | Improved |
| purely functional language (Haskell) vs Java | GPT-5 · FPBench | pass@1 (%): 61.14 (Java) -> 42.34 (Haskell) | Hurt |
| upgrade GPT-4o to GPT-5 on Haskell compilation errors | GPT-5 · FPBench (Haskell) | compilation error rate (%): 21.36 -> 24.28 | No clear effect |
| upgrade GPT-4o to GPT-5 on clean-code rate of correct solutions | GPT-5 · FPBench (Scala) | clean code proportion (%): 77 -> 57 | Hurt |
| upgrade GPT-4o to GPT-5 on clean-code rate of correct solutions | GPT-5 · FPBench (OCaml) | clean code proportion (%): 61 -> 44 | Hurt |
| upgrade GPT-4o to GPT-5 on share of code with imperative patterns | GPT-5 · FPBench (Haskell) | imperative-pattern share (%): 63 -> 88 | Hurt |
| add Simple Repair to generated code (ablation) | GPT-5 · FPBench (Haskell) | number of correct solutions: 287 -> 301 | Improved |
| add Instruction-guided Repair to generated code (ablation) | GPT-3.5 · FPBench (Scala) | number of correct solutions: 118 -> 139 | Improved |
| Instruction-guided vs Simple Repair on pass counts (ablation) | GPT-5 · FPBench (Haskell) | number of correct solutions: 301 -> 295 | Hurt |
| Instruction-guided vs Simple Repair on clean code (ablation) | GPT-5 · FPBench (Haskell) | clean code proportion (%): 58 -> 63 | Improved |
| Instruction-guided vs Simple Repair on clean code (ablation) | GPT-4o · FPBench (Scala) | clean code proportion (%): Origin 77, Simple 61, Instruction 66 | Mixed |
Open problems this paper states
- “Evaluates only three models (GPT-3.5, GPT-4o, GPT-5), all from OpenAI.” → Only a few models were tested, and larger ones were left out. (an open problem in execution-based code verification)
- “Problems come from educational and competitive programming platforms, not industrial-scale functional programming.” → Benchmarks are small or simple and far from real software. (an open problem in execution-based code verification)
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- How efficient is LLM-generated code? A rigorous & high-standard benchmark (ICLR 2025 · similarity 0.89)
- CodeChemist: Test-Time Scaling for Low-Resource Code Generation via Functional Knowledge Transfer (ICML 2026 · similarity 0.88)
- Divide-and-Conquer Meets Consensus: Unleashing the Power of Functions in Code Generation (NeurIPS 2024 · similarity 0.88)
- BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions (ICLR 2025 · similarity 0.88)
- Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languages (NeurIPS 2024 · similarity 0.88)
- The Berkeley Function Calling Leaderboard (BFCL): From Tool Use to Agentic Evaluation of Large Language Models (ICML 2025 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.