Upload folder using huggingface_hub
Browse filesFiles changed (3)
- .gitattributes+1
- MEnvBench.jsonlAdded+3
- README.md+130-3
56 unmodified lines57585956 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -text56 unmodified lines5758596056 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -textMEnvBench.jsonl filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:2f81e7edd4202eb0d3eda5598d22b64f43e2df29eda093a580ec87e58cbd93f4size 35160608123---license: apache-2.0---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130---language:- enlicense: apache-2.0size_categories:- 1K<n<10Ktask_categories:- text-generationpretty_name: MEnvBenchtags:- code- software-engineering- benchmark- environment-construction- multi-language---# MEnvBench: Multi-Language Environment Construction Benchmark<p align="center"><a href="https://arxiv.org/abs/2601.22859"><img src="https://img.shields.io/badge/arXiv-2601.22859-b31b1b.svg"></a><a href="https://github.com/ernie-research/MEnvAgent"><img src="https://img.shields.io/badge/GitHub-MEnvAgent-blue"></a><a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache_2.0-green.svg"></a></p><p align="center"><a href="https://huggingface.co/datasets/ernie-research/MEnvData-SWE"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20HF-MEnvData--SWE-orange"></a><a href="https://huggingface.co/datasets/ernie-research/MEnvData-SWE-Trajectory"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20HF-MEnvData--SWE--Trajectory-red"></a></p>## π Dataset Description**MEnvBench** is a comprehensive benchmark for evaluating multi-language environment building and test execution capabilities, comprising **1,000 task instances** (10 languages Γ 20 repositories Γ 5 instances) selected from 200 high-quality open-source repositories.### Key Features- π **Multi-Language Coverage**: 10 programming languages (Python, Java, TypeScript, JavaScript, Rust, Go, C++, Ruby, PHP, C)- π― **High Quality**: Multi-stage filtering pipeline from 8,000 candidate repositories (>1,000 stars, >200 forks/issues/PRs)- π **Diverse Domains**: Strategic sampling across AI, System, Web, and other software ecosystems- ποΈ **Difficulty Levels**: Five project scale bands from <10MB to >500MB- β **Verified Quality**: Closed issues with test patches and LLM-based quality assessment### Dataset Statistics| Metric | Value ||--------|-------|| **Total Instances** | 1,000 || **Languages** | 10 || **Repositories** | 200 || **Instge** | 100 (20 repos Γ 5 instances) |## π Dataset StructureEach instance in MEnvBench contains the following fields:| Field | Type | Description || :--- | :--- | :--- || **repo** | `str` | The full GitHub repository name (e.g., "home-assistant/core"). || **pull_number** | `int` | The pull request number associated with the fix (e.g., 807). || **instance_id** | `str` | A unique identifier for the task instance (e.g., "home-assistant__core-807"). || **issue_numbers** | `list` | A list of linked issue numbers (e.g., [103876]). || **base_commit** | `str` | The commit SHA of the repository prior to the fix. || **version** | `str` | The version of the dataset (e.g., "0.10"). || **patch** | `str` | The ground-truth patch (git diff) that resolves the issue. || **test_patch** | `str` | The test patch (git diff) containing new tests to reproduce the issue. || **problem_statement** | `str` | The natural language description of the issue. || **hints_text** | `str` | Hints extracted from the issue dussion to aid resolution. || **all_hints_text** | `str` | Comprehensive context including all comments and code review details. || **commit_urls** | `list` | A list of URLs pointing to the relevant commits. || **created_at** | `str` | The creation timestamp (e.g., "2015-12-27T19:33:55Z"). || **language** | `str` | The programming language of the repository (e.g., "Python"). |## π Usage### Loading the Dataset```pythonfrom datasets import load_dataset# Load the full datasetdataset = load_dataset("ernie-research/MEnvBench")# Access a single instanceinstance = dataset['test'][0]print(f"Repository: {instance['repo']}")print(f"Language: {instance['language']}")print(f"Problem: {instance['problem_statement'][:200]}...")```### Example Instance```python{"repo": "home-assistant/core","pull_number": 807,"instance_id": "home-assistant__core-807","issue_numbers": [103876],"base_commit": "87c88078c87257cde4786997fedb865be6813545","version": "0.10","language""Python","problem_statement": "Scene configuration issue...","patch": "diff --git a/homeassistant/components/scene.py...","test_patch": "diff --git a/tests/components/test_scene.py...",...}```## π CitationIf MEnvBench helps your research, please cite:```bibtex@misc{guo2026menvagent,title={MEnvAgent: Scalable Polyglot Environment Construction for Verifiable Software Engineering},author={Chuanzhe Guo and Jingjing Wu and Sijun He and Yang Chen and Zhaoqi Kuang and Shilong Fan and Bingjin Chen and Siqi Bao and Jing Liu and Hua Wu and Qingfu Zhu and Wanxiang Che and Haifeng Wang},year={2026},url={https://arxiv.org/abs/2601.22859},}```## π§ ContactFor questions or issues:- **GitHub**: [MEnvAgent Repository](https://github.com/ernie-research/MEnvAgent)- **Email**: czguo@ir.hit.edu.cn## π AcknowledgementsWe thank the open-source community and all repository maintainers whose high-quality projects made this benchmark possible.
.gitattributes+1
MEnvBench.jsonlAdded+3
README.md+130-3