paper-with-me

Papers

Codehacks: A Dataset of Adversarial Tests for Competitive Programming Problems Obtained from Codeforces

2025-03-30 · Max Hort, Leon Moonen

Software is used in critical applications in our day-to-day life and it is important to ensure its correctness. One popular approach to assess correctness is to evaluate software on tests. If a test fails, it indicates a fault in the software under test; if all tests pass correctly, one may assume that the software is correct. However, the reliability of these results depends on the test suite considered, and there is a risk of false negatives (i.e. software that passes all available tests but contains bugs because some cases are not tested). Therefore, it is important to consider error-inducing test cases when evaluating software. To support data-driven creation of such a test-suite, which is especially of interest for testing software synthesized from large language models, we curate a dataset (Codehacks) of programming problems together with corresponding error-inducing test cases (i.e., "hacks"). This dataset is collected from the wild, in particular, from the Codeforces online judge platform. The dataset comprises 288,617 hacks for 5,578 programming problems, each with a natural language description, as well as the source code for 2,196 submitted solutions to these problems that can be broken with their corresponding hacks. Keywords: competitive programming, language model, dataset

📄 PDF Abstract BibTeX arXiv:2503.23466

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

CodeContests+: High-Quality Test Case Generation for Competitive Programming

2025-06-06 · Zihan Wang, Siyao Liu, Yang Sun, Hongyan Li 외

Competitive programming, due to its high reasoning difficulty and precise correctness feedback, has become a key task for both training and evaluating the reasoning capabilities of large language models (LLMs). However, …

Reinforcement Learning (RL)

Leveraging Generative AI for Enhancing Automated Assessment in Programming Education Contests

2025-06-06 · Stefan Dascalescu, Adrian Marius Dumitran, Mihai Alexandru Vasiluta

Competitive programming contests play a crucial role in cultivating computational thinking and algorithmic skills among learners. However, generating comprehensive test cases to effectively assess programming solutions r…

Predicting Participants' Performance in Programming Contests using Deep Learning Techniques

2023-02-11 · Md Mahbubur Rahman, Badhan Chandra Das, Al Amin Biswas, Md. Musfique Anwar

In recent days, the number of technology enthusiasts is increasing day by day with the prevalence of technological products and easy access to the internet. Similarly, the amount of people working behind this rapid devel…

Deep Learning

Explaining Competitive-Level Programming Solutions using LLMs

2023-07-11 · Jierui Li, Szymon Tworkowski, Yingying Wu, Raymond Mooney

In this paper, we approach competitive-level programming problem-solving as a composite task of reasoning and code generation. We propose a novel method to automatically annotate natural language explanations to \textit{…

Code GenerationExplanation Generation

Learning to Generate Unit Test via Adversarial Reinforcement Learning

2025-08-28 · Dongjun Lee, Changho Hwang, Kimin Lee arxiv

Unit testing is a core practice in programming, enabling systematic evaluation of programs produced by human developers or large language models (LLMs). Given the challenges in writing comprehensive unit tests, LLMs have…

Reinforcement Learning