paper-with-me

Papers

VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generation

2026-05-08 · Zichen Xie, Mrigank Pawagi, Yuxin Liu, Aaditi Rai, Lize Shao, John Berberian, Sicong Che, Wenxi Wang arxiv

Large language models can generate useful code from natural language, but their outputs come without correctness guarantees. Verifiable code generation offers a path beyond testing by requiring models to produce not only executable code, but also formal specifications and machine-checkable proofs. Progress in this direction, however, is difficult to measure: existing benchmarks are often small, focus on only one part of the pipeline, lack ground-truth proofs or rigorous specification validation, or target verification settings far from mainstream software development. We present VeriContest, a benchmark of 946 competitive-programming problems from LeetCode and Codeforces for verifiable code generation in Rust with Verus. Each problem pairs a natural language description with expert-validated formal specifications, judge-accepted Rust code, Verus-checked proofs, and positive and negative test suites. VeriContest is constructed through a three-phase pipeline that scales from manually verified seed problems to semi-automated expansion with human-in-the-loop review. To further strengthen benchmark quality, we use testing as an additional quality-assurance layer for validating postcondition completeness. VeriContest supports isolated and compositional evaluation of specification generation, code generation, proof generation, and end-to-end verified program synthesis. Evaluating ten state-of-the-art models reveals a sharp gap between coding ability and verifiable code generation: the strongest model reaches 92.18% on natural-language-to-code generation, but only 48.31% on specification generation, 13.95% on proof generation, and 5.29% end-to-end. These results identify proof and specification generation as the central bottlenecks for models and establish VeriContest as a rigorous platform for measuring and training future systems that generate code with machine-checkable correctness.

📄 PDF Abstract BibTeX arXiv:2605.08553

Code (0)

등록된 구현이 없습니다.

Tasks

Program SynthesisCode Generation

Similar Papers 제목 키워드 기반

Self-Execution Simulation Improves Coding Models

2026-03-11 · Gallil Maimon, Ori Yoran, Felix Kreuk, Michael Hassid 외 arxiv

A promising research direction in enabling LLMs to generate consistently correct code involves addressing their inability to properly estimate program execution, particularly for code they generate. In this work, we demo…

Reinforcement Learning

DRIVE: Data Curation Best Practices for Reinforcement Learning with Verifiable Reward in Competitive Code Generation

2025-11-09 · Speed Zhu, Jianwei Cai, Guang Chen, Lulu Wu 외 arxiv

Recent reasoning-first models (e.g., OpenAI o1, DeepSeek R1) have spurred a resurgence of interest in RLVR. Nevertheless, advances are dominated by mathematics (e.g., AIME), with competitive-programming code generation u…

Reinforcement LearningCode Generation

CPRet: A Dataset, Benchmark, and Model for Retrieval in Competitive Programming

2025-05-19 · Han Deng, Yuan Meng, Shixiang Tang, Wanli Ouyang 외

Competitive programming benchmarks are widely used in scenarios such as programming contests and large language model assessments. However, the growing presence of duplicate or highly similar problems raises concerns not…

FairnessLarge Language ModelRetrieval

ProBench: Benchmarking Large Language Models in Competitive Programming

2025-02-28 · Lei Yang, Renren Jin, Ling Shi, Jianxiang Peng 외

With reasoning language models such as OpenAI-o3 and DeepSeek-R1 emerging, large language models (LLMs) have entered a new phase of development. However, existing benchmarks for coding evaluation are gradually inadequate…

AttributeBenchmarkingFairness

rStar-Coder: Scaling Competitive Code Reasoning with a Large-Scale Verified Dataset

2025-05-27 · Yifei Liu, Li Lyna Zhang, Yi Zhu, Bingcheng Dong 외

Advancing code reasoning in large language models (LLMs) is fundamentally limited by the scarcity of high-difficulty datasets, especially those with verifiable input-output test cases necessary for rigorous solution vali…