遇见数据集

AmazonScience/SWE-PolyBench_Verified

收藏
Hugging Face2025-12-11 更新2025-09-13 收录
官方服务:

资源简介:

--- license: mit tags: - coding - agents --- # SWE-PolyBench [SWE-PolyBench](https://github.com/amazon-science/SWE-PolyBench) is a multi language repo level software engineering benchmark. Currently it includes 4 languages: Python, Java, Javascript, and Typescript. The number of instances in the verified split is: Javascript: 100 Typescript: 100 Python: 113 Java: 69 ## Datasets There are total *three* datasets available under SWE-PolyBench. `AmazonScience/SWE-PolyBench` is the full dataset, `AmazonScience/SWE-PolyBench_500` is the stratified sampled dataset with 500 instances and `AmazonScience/SWE-PolyBench_Verified` is our verified dataset with 394 instances. ## Leaderboard We evaluated several open source coding agents/models on this dataset and report them in our [leaderboard](). ## Submit To submit your predictions on this dataset, please follow this [README](https://github.com/amazon-science/SWE-PolyBench/blob/submission/README.md) ## Languages The text of the dataset is primarily English. ## Dataset Structure An example row from the dataset includes the following columns: ``` instance_id: (str) - A formatted instance identifier, usually as repo_owner__repo_name-PR-number. patch: (str) - The gold patch, the patch generated by the PR (minus test-related code), that resolved the issue. repo: (str) - The repository owner/name identifier from GitHub. base_commit: (str) - The commit hash of the repository representing the HEAD of the repository before the solution PR is applied. hints_text: (str) - Comments made on the issue prior to the creation of the solution PR’s first commit creation date. created_at: (str) - The creation date of the pull request. test_patch: (str) - A test-file patch that was contributed by the solution PR. problem_statement: (str) - The issue title and body. F2P: (str) - A json list of strings that represent the set of tests resolved by the PR and tied to the issue resolution. P2P: (str) - A json list of strings that represent tests that should pass before and after the PR application. language: (str) - The programming language Dockerfile: (str) - The instance level dockerfile test_command: (str) - The test command used to get F2P and P2P task_category: (str) - The problem classification (Bug Fix, Refactoring, Feature) is_no_nodes: (bool) - Helpful info for evaluating retrieval metrics is_func_only: (bool) - Helpful info for evaluating retrieval metrics is_class_only: (bool) - Helpful info for evaluating retrieval metrics is_mixed: (bool) - Helpful info for evaluating retrieval metrics num_func_changes: (int) - Helpful info for evaluating retrieval metrics num_class_changes: (int) - Helpful info for evaluating retrieval metrics num_nodes: (int) - Helpful info for evaluating retrieval metrics is_single_func: (bool) - Helpful info for evaluating retrieval metrics is_single_class: (bool) - Helpful info for evaluating retrieval metrics modified_nodes: (bool) - Helpful info for evaluating retrieval metrics ``` ## Citation If you find our work useful please cite: ``` @misc{rashid2025swepolybenchmultilanguagebenchmarkrepository, title={SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agents}, author={Muhammad Shihab Rashid and Christian Bock and Yuan Zhuang and Alexander Buchholz and Tim Esler and Simon Valentin and Luca Franceschi and Martin Wistuba and Prabhu Teja Sivaprasad and Woo Jung Kim and Anoop Deoras and Giovanni Zappella and Laurent Callot}, year={2025}, eprint={2504.08703}, archivePrefix={arXiv}, primaryClass={cs.SE}, url={https://arxiv.org/abs/2504.08703}, } ```

SWE-PolyBench is a multi-language software engineering benchmark that currently includes Python, Java, Javascript, and Typescript. The number of instances in the verified split are: 100 for Javascript, 100 for TypeScript, 113 for Python, and 71 for Java. There are three datasets under SWE-PolyBench: the full dataset, a stratified sampled dataset with 500 instances, and a verified dataset with 394 instances. The dataset structure is detailed, including fields such as instance_id, patch, repo, base_commit, hints_text, created_at, test_patch, problem_statement, F2P, P2P, language, Dockerfile, test_command, task_category, and several boolean and integer fields for evaluation purposes.

提供机构:
AmazonScience
搜集汇总
数据集介绍
AmazonScience/SWE-PolyBench_Verified 数据集图片
背景与挑战
背景概述
SWE-PolyBench_Verified是一个多语言仓库级软件工程基准数据集,专注于评估代码代理的代码修复能力。它包含来自Python、Java、JavaScript、TypeScript四种语言的382个实例,每个实例提供问题描述、补丁、测试命令等详细信息,支持Bug修复、特征添加和重构等任务类型。
以上内容由遇见数据集搜集并总结生成
二维码
社区交流群
二维码
科研交流群
商业服务