PECC: Problem Extraction and Coding Challenges

Patrick Haller, Jonas Golde, Alan Akbik
4/29/2024
cs.AI

No official code found. Best implementation: HallerPatrick/pecc (14 stars, MIT, last commit 2024-05-30).

Abstract

Recent advancements in large language models (LLMs) have showcased their exceptional abilities across various tasks, such as code generation, problem-solving and reasoning. Existing benchmarks evaluate tasks in isolation, yet the extent to which LLMs can understand prose-style tasks, identify the underlying problems, and then generate appropriate code solutions is still unexplored. Addressing this gap, we introduce PECC, a novel benchmark derived from Advent Of Code (AoC) challenges and Project Euler, including 2396 problems. Unlike conventional benchmarks, PECC requires LLMs to interpret narrative-embedded problems, extract requirements, and generate executable code. A key feature of our dataset is the complexity added by natural language prompting in chat-based evaluations, mirroring real-world instruction ambiguities. Results show varying model performance between narrative and neutral problems, with specific challenges in the Euler math-based subset with GPT-3.5-Turbo passing 50% of the AoC challenges and only 8% on the Euler problems. By probing the limits of LLMs' capabilities, our benchmark provides a framework to monitor and assess the subsequent progress of LLMs as a universal problem solver.

View on arXivView PDF

Code Implementations(1)

HallerPatrick/peccCommunity100%
MIT

[LREC-Coling 2024] PECC: Problem Extraction and Coding Challenges

140Shell, PythonFeb 27, 20242 years agoMIT

Similar Papers

Cite this paper

@article{haller2024pecc,
  title  = {PECC: Problem Extraction and Coding Challenges},
  author = {Patrick Haller and Jonas Golde and Alan Akbik},
  year   = {2024},
  eprint = {2404.18766},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.18766v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.18766.svg)](https://codeofpaper.com/paper/2404.18766)

Discussion