MEnvAgent: Scalable Polyglot Environment Construction for Verifiable Software Engineering
Paper β’ 2601.22859 β’ Published β’ 18
repo stringclasses 200
values | pull_number int64 13 143k | instance_id stringlengths 12 47 | issue_numbers listlengths 1 7 | base_commit stringlengths 40 40 | patch stringlengths 354 98.3k | test_patch stringlengths 137 8.74M | problem_statement stringlengths 142 63.8k | hints_text stringlengths 2 70.5k | all_hints_text stringlengths 2 70.5k | commit_urls listlengths 1 119 | created_at timestamp[us]date 2015-04-16 11:31:38 2025-12-17 10:26:03 | version stringclasses 196
values | language stringclasses 10
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
home-assistant/core | 807 | home-assistant__core-807 | [
103876
] | 87c88078c87257cde4786997fedb865be6813545 | diff --git a/homeassistant/components/scene.py b/homeassistant/components/scene.py
index 7c96230ccd49c4..ce1a324254297c 100644
--- a/homeassistant/components/scene.py
+++ b/homeassistant/components/scene.py
@@ -73,8 +73,9 @@ def _process_config(scene_config):
for entity_id in c_entities:
if isinstance(c... | diff --git a/tests/components/test_scene.py b/tests/components/test_scene.py
index 2fc8fe085c2e73..0f6663354dd98e 100644
--- a/tests/components/test_scene.py
+++ b/tests/components/test_scene.py
@@ -32,6 +32,60 @@ def test_config_no_dict_in_list(self):
'scene': [[]]
}))
+ def test_config_yaml... | zwave_js KeyError during RebuildRoutes
### The problem
I started "Rebuild Network Routes" via the Home Assistant user interface and received the error traceback below.
I also have zwave_js UI add-on, but did not use it to start the rebuild process.
Node 3 is a valid node, and as best I can tell there were no... |
Hey there @home-assistant/z-wave, mind taking a look at this issue as it has been labeled with an integration (`zwave_js`) you are listed as a [code owner](https://github.com/home-assistant/core/blob/dev/CODEOWNERS#L1515) for? Thanks!
<details>
<summary>Code owner commands</summary>
Code owners of `zwave_js` can tr... | [
"https://github.com/home-assistant/core/commit/d4b6a7343f2675ea5a064bbbc9007f94a2881fbc"
] | 2015-12-27T19:33:55 | 0.10 | Python | |
home-assistant/core | 104,627 | home-assistant__core-104627 | [
45660
] | e594c19c1ecb9bc947b37d2af75e8d84f6a922e9 | diff --git a/homeassistant/components/remote/significant_change.py b/homeassistant/components/remote/significant_change.py
new file mode 100644
index 0000000000000..8e5a36690411d
--- /dev/null
+++ b/homeassistant/components/remote/significant_change.py
@@ -0,0 +1,27 @@
+"""Helper to test significant Remote state change... | diff --git a/tests/components/remote/test_significant_change.py b/tests/components/remote/test_significant_change.py
new file mode 100644
index 0000000000000..dcbfce213d65e
--- /dev/null
+++ b/tests/components/remote/test_significant_change.py
@@ -0,0 +1,62 @@
+"""Test the Remote significant change platform."""
+from h... | Significant Change support for remote
Add [significant change](https://developers.home-assistant.io/docs/significant_change_index) support to the remote integration. All official properties need to be taken into consideration when deciding if a change is significant. If the integration has device classes, they should b... | There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue.... | There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue.... | [
"https://github.com/home-assistant/core/commit/7bee0aea66673e92265106cee79efbb8582cd1f0"
] | 2023-11-28T00:01:38 | 0.38 | Python |
home-assistant/core | 91,164 | home-assistant__core-91164 | [
91093
] | bdffb1f2988d936cf5864fb4c38f3c97edf7721e | diff --git a/homeassistant/components/manual_mqtt/alarm_control_panel.py b/homeassistant/components/manual_mqtt/alarm_control_panel.py
index fd6adb009aaefc..adb251bd71a6e0 100644
--- a/homeassistant/components/manual_mqtt/alarm_control_panel.py
+++ b/homeassistant/components/manual_mqtt/alarm_control_panel.py
@@ -187,1... | diff --git a/tests/components/manual_mqtt/test_alarm_control_panel.py b/tests/components/manual_mqtt/test_alarm_control_panel.py
index 549fa995179eb7..0df1114bf30d89 100644
--- a/tests/components/manual_mqtt/test_alarm_control_panel.py
+++ b/tests/components/manual_mqtt/test_alarm_control_panel.py
@@ -1506,3 +1506,24 @... | mqtt_json device tracker broken - seems to try to start before MQTT integration has started and fails
### The problem
I use the mqtt based device tracker. It has worked stable and fine until 2023.4 when it fails to load
The error message says that MQTT is not enabled. Well. I have 100s of items based on MQTT in hom... | [mqtt_json documentation](https://www.home-assistant.io/integrations/mqtt_json)
[mqtt_json source](https://github.com/home-assistant/core/tree/dev/homeassistant/components/mqtt_json)
I am seeing the same thing, and it is inconsistent. It sometimes takes 2 or 3 restarts, but it eventually works without errors.
I have ... | [mqtt_json documentation](https://www.home-assistant.io/integrations/mqtt_json)
[mqtt_json source](https://github.com/home-assistant/core/tree/dev/homeassistant/components/mqtt_json)
I am seeing the same thing, and it is inconsistent. It sometimes takes 2 or 3 restarts, but it eventually works without errors.
I have ... | [
"https://github.com/home-assistant/core/commit/2e1bd648fafdb46747f0391c97c1e0061de7c3d6",
"https://github.com/home-assistant/core/commit/d459d242d84b57b377dbbc3adee0521572c4f6a2",
"https://github.com/home-assistant/core/commit/750fe2bacdea23b2e7cd8d57da33c47734c43439",
"https://github.com/home-assistant/core/... | 2023-04-10T11:18:36 | 0.38 | Python |
home-assistant/core | 137,853 | home-assistant__core-137853 | [
135391
] | f3aeca5a71007bceb731f3dd42cf062039ba2fbf | diff --git a/homeassistant/components/peblar/coordinator.py b/homeassistant/components/peblar/coordinator.py
index 058f2aefb3b0f..36708b207c566 100644
--- a/homeassistant/components/peblar/coordinator.py
+++ b/homeassistant/components/peblar/coordinator.py
@@ -34,6 +34,7 @@ class PeblarRuntimeData:
"""Class to hol... | diff --git a/tests/components/peblar/snapshots/test_switch.ambr b/tests/components/peblar/snapshots/test_switch.ambr
index 538292785938f..426b48b6838c6 100644
--- a/tests/components/peblar/snapshots/test_switch.ambr
+++ b/tests/components/peblar/snapshots/test_switch.ambr
@@ -1,4 +1,50 @@
# serializer version: 1
+# na... | Peblar charge limit can't be set to 0A
### The problem
On the Peblar API it is possible to set the charge limit to less than 6A (e.g. 0A) to disable charging.
Unfortunately this doesn't seem possible via the current integration.
I configured an automation to automatically turn off charging (limit to 0A) when my ow... |
Hey there @frenck, mind taking a look at this issue as it has been labeled with an integration (`peblar`) you are listed as a [code owner](https://github.com/home-assistant/core/blob/dev/CODEOWNERS#L1125) for? Thanks!
<details>
<summary>Code owner commands</summary>
Code owners of `peblar` can trigger bot actions b... |
Hey there @frenck, mind taking a look at this issue as it has been labeled with an integration (`peblar`) you are listed as a [code owner](https://github.com/home-assistant/core/blob/dev/CODEOWNERS#L1125) for? Thanks!
<details>
<summary>Code owner commands</summary>
Code owners of `peblar` can trigger bot actions b... | [
"https://github.com/home-assistant/core/commit/11c5062eeafe910338b3e2f2f27fd557fb769e67",
"https://github.com/home-assistant/core/commit/badac2c6af46d6c2eac3670f122c5e13c2b6464a"
] | 2025-02-08T14:25:34 | 0.38 | Python |
home-assistant/core | 101,512 | home-assistant__core-101512 | [
101470
] | 1d31def9824841331bca8de698ac2d3f645f83b9 | diff --git a/homeassistant/components/rainbird/calendar.py b/homeassistant/components/rainbird/calendar.py
index 356f7d7cc4e4c1..2001a14ac93dd7 100644
--- a/homeassistant/components/rainbird/calendar.py
+++ b/homeassistant/components/rainbird/calendar.py
@@ -61,7 +61,7 @@ def __init__(
"""Create the Calendar e... | diff --git a/tests/components/rainbird/test_switch.py b/tests/components/rainbird/test_switch.py
index 46a875e892889a..31b64dded99d6f 100644
--- a/tests/components/rainbird/test_switch.py
+++ b/tests/components/rainbird/test_switch.py
@@ -17,6 +17,7 @@
PASSWORD,
RAIN_DELAY_OFF,
RAIN_SENSOR_OFF,
+ SERI... | Rainbird: Entity no longer being provided by the rainbird integration
### The problem
After upgrade to 2023.10.0 rainbird entities are no longer available and all of the entities are in "no longer being provided by the rainbird integration" state. No errors in the log. Attached is the debug log.
### What version of H... |
Hey there @konikvranik, @allenporter, mind taking a look at this issue as it has been labeled with an integration (`rainbird`) you are listed as a [code owner](https://github.com/home-assistant/core/blob/dev/CODEOWNERS#L1019) for? Thanks!
<details>
<summary>Code owner commands</summary>
Code owners of `rainbird` ca... |
Hey there @konikvranik, @allenporter, mind taking a look at this issue as it has been labeled with an integration (`rainbird`) you are listed as a [code owner](https://github.com/home-assistant/core/blob/dev/CODEOWNERS#L1019) for? Thanks!
<details>
<summary>Code owner commands</summary>
Code owners of `rainbird` ca... | [
"https://github.com/home-assistant/core/commit/9c4767b79076fc569cf9db6473db1a3315dec4bb"
] | 2023-10-06T05:37:30 | 0.38 | Python |
getmoto/moto | 7,798 | getmoto__moto-7798 | [
7797
] | b4e2f950f2d060ff907fc9ecf3f7688922bdd6be | diff --git a/moto/resourcegroupstaggingapi/models.py b/moto/resourcegroupstaggingapi/models.py
index 55d5e5f556d0..c3548be44f43 100644
--- a/moto/resourcegroupstaggingapi/models.py
+++ b/moto/resourcegroupstaggingapi/models.py
@@ -211,7 +211,11 @@ def format_tag_keys(
yield {"ResourceARN": f"{vault.bac... | diff --git a/tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py b/tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py
index 60fc8cc6d28c..ed9dacc46c17 100644
--- a/tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py
+++ b/tests/test_resourcegroupstaggingapi/test_resou... | resourcegroupstaggingapi get_resources doesn't properly filter on s3:bucket
When using the `get_resources` method from the resource groups tagging api with `s3:bucket` as an entry in `ResourceTypesFilters`, no S3 Buckets are being returned. Moto seems to only return S3 buckets when `s3` is provided as a filter rather t... | [
"https://github.com/getmoto/moto/commit/5aa13ac939d0b2fbfe4ee6954002d47646bd1fa5"
] | 2024-06-29T01:37:31 | 1.3 | Python | ||
getmoto/moto | 6,743 | getmoto__moto-6743 | [
6742
] | d3f5e3d68b0517be1172319087ee68c0834a157a | diff --git a/moto/iam/policy_validation.py b/moto/iam/policy_validation.py
index eff39e3a4a63..cc2516ac05f4 100644
--- a/moto/iam/policy_validation.py
+++ b/moto/iam/policy_validation.py
@@ -56,11 +56,17 @@
VALID_CONDITION_POSTFIXES = ["IfExists"]
-SERVICE_TYPE_REGION_INFORMATION_ERROR_ASSOCIATIONS = {
- "iam":... | diff --git a/tests/test_iam/test_iam_policies.py b/tests/test_iam/test_iam_policies.py
index b7ffe898464e..6f917718b876 100644
--- a/tests/test_iam/test_iam_policies.py
+++ b/tests/test_iam/test_iam_policies.py
@@ -1607,6 +1607,20 @@
},
],
},
+ {
+ "Version": "2012-10-17",
+ ... | Allow using s3 accesspoint arns in iam policies
[S3 Accesspoints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) have arns which look like this:
```
"Resource": "arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point"
```
and
```
"Resource" : "arn:aws:s3:u... | [
"https://github.com/getmoto/moto/commit/2ebc4e52d58057721a0fcbf2411c69e9d21419c2",
"https://github.com/getmoto/moto/commit/94713da17c7422832a40baa02632b7efb547eff0",
"https://github.com/getmoto/moto/commit/175dfd813657d550d2b536fb03b73d734047a0ed"
] | 2023-08-31T08:14:21 | 1.3 | Python | ||
getmoto/moto | 9,344 | getmoto__moto-9344 | [
9050
] | 2bf5f0ea20c86e19267b83193fec82947432f66a | diff --git a/moto/ec2/exceptions.py b/moto/ec2/exceptions.py
index 14e6b09bd5cd..aae503f13e34 100644
--- a/moto/ec2/exceptions.py
+++ b/moto/ec2/exceptions.py
@@ -196,7 +196,7 @@ class InvalidCustomerGatewayIdError(EC2ClientError):
def __init__(self, customer_gateway_id: str):
super().__init__(
... | diff --git a/tests/test_ec2/test_customer_gateways.py b/tests/test_ec2/test_customer_gateways.py
index 0009cc2b1636..6ceb26aa3ec3 100644
--- a/tests/test_ec2/test_customer_gateways.py
+++ b/tests/test_ec2/test_customer_gateways.py
@@ -3,6 +3,7 @@
from botocore.exceptions import ClientError
from moto import mock_aws... | DescribeTransitGatewayAttachments Returns Placeholder Value for an Attachment's Associated TGW RTB
When retrieving information on a TGW attachment using the DescribeTransitGatewayAttachments API, the _transitGatewayRouteTableId_ field in the response β used to signify the TGW RTB associated with the attachment β alway... | Github was a little too eager - this isn't actually fixed yet. Reopening.
| [
"https://github.com/getmoto/moto/commit/d89c6ab3a4b5c0f7dfd2a861eaa7c735371db0b3"
] | 2025-10-06T22:39:39 | 1.3 | Python | |
getmoto/moto | 8,392 | getmoto__moto-8392 | [
8363
] | 7583336ca12047e61de784280d66e974f08980c3 | diff --git a/moto/cognitoidp/models.py b/moto/cognitoidp/models.py
index dd750542cf19..4439041a7503 100644
--- a/moto/cognitoidp/models.py
+++ b/moto/cognitoidp/models.py
@@ -1354,10 +1354,54 @@ def get_user(self, access_token: str) -> CognitoIdpUser:
raise NotAuthorizedError("Invalid token")
@paginate(... | diff --git a/tests/test_cognitoidp/test_cognitoidp.py b/tests/test_cognitoidp/test_cognitoidp.py
index 0e5077a782bf..fdf00253b03d 100644
--- a/tests/test_cognitoidp/test_cognitoidp.py
+++ b/tests/test_cognitoidp/test_cognitoidp.py
@@ -2519,6 +2519,28 @@ def test_list_users():
result = conn.list_users(UserPoolId=us... | Limit shouldn't be applied before Filter when listing users
Using the current version of moto, if you run cognito-idp's list_users() with both Limit and Filter keywords, the limit is applied before the filter. So, if you are searching for a user with a particular sub that isn't the first item in the user pool, and you ... | Hi I would like to take this work
| Hi I would like to take this work
Thank you, @iknowright!
| [
"https://github.com/getmoto/moto/commit/e0fa51a66a6502a0e3b1d8dfa3568273acb2f668",
"https://github.com/getmoto/moto/commit/904688d02b504bf87385527d360c5b98576f59a4"
] | 2024-12-12T08:10:18 | 1.3 | Python |
getmoto/moto | 9,192 | getmoto__moto-9192 | [
9012
] | e8e5d0ca52b068f5d77409eec7b01ac4e1fd0481 | "diff --git a/moto/secretsmanager/models.py b/moto/secretsmanager/models.py\nindex dff10f48d45b..d2d(...TRUNCATED) | "diff --git a/tests/test_secretsmanager/test_secretsmanager.py b/tests/test_secretsmanager/test_secr(...TRUNCATED) | "SecretsManager CreateSecret does not support idempotency with ClientRequestToken\nAccording to the (...TRUNCATED) | ["https://github.com/getmoto/moto/commit/fc1ed3140c09f701297edd45825900cfc6e0b651","https://github.c(...TRUNCATED) | 2025-08-17T15:28:06 | 1.3 | Python |
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.
| Metric | Value |
|---|---|
| Total Instances | 1,000 |
| Languages | 10 |
| Repositories | 200 |
| Instge | 100 (20 repos Γ 5 instances) |
Each 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"). |
from datasets import load_dataset
# Load the full dataset
dataset = load_dataset("ernie-research/MEnvBench")
# Access a single instance
instance = dataset['test'][0]
print(f"Repository: {instance['repo']}")
print(f"Language: {instance['language']}")
print(f"Problem: {instance['problem_statement'][:200]}...")
{
"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...",
...
}
If MEnvBench helps your research, please cite:
@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},
}
For questions or issues:
We thank the open-source community and all repository maintainers whose high-quality projects made this benchmark possible.