TL;DR
DSCodeBench is a comprehensive benchmark with 1,000 realistic data science problems from GitHub, designed to evaluate large language models' ability to generate complex Python data science code.
Contribution
It introduces a new, challenging benchmark with a robust construction pipeline and manual validation, providing a more realistic and reliable evaluation for LLMs in data science coding.
Findings
Larger models outperform smaller ones on DSCodeBench
GPT-4o achieves a pass@1 of 0.392
The benchmark effectively distinguishes model capabilities
Abstract
We introduce DSCodeBench, a new benchmark designed to evaluate large language models (LLMs) on complicated and realistic data science code generation tasks. DSCodeBench consists of 1,000 carefully constructed problems sourced from realistic problems from GitHub across ten widely used Python data science libraries. DSCodeBench offers a more challenging and representative testbed, more complex code solutions, more comprehensive data science libraries, clearer and better structured problem descriptions, and stronger test suites. To construct the DSCodeBench, we develop a robust pipeline that combines task scope selection, code construction, test case generation, and problem description synthesis. The process is paired with rigorous manual editing to ensure alignment and enhance the reliability of the evaluation. Experimental result shows that DSCodeBench exhibits robust scaling behavior,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
