Dataset Viewer
Auto-converted to Parquet Duplicate
base_commit
stringlengths
40
40
created_at
stringdate
2016-03-23 09:47:19
2025-09-30 03:25:30
image_name
stringlengths
44
83
instance_id
stringlengths
14
53
interface
stringlengths
33
7.63k
language
stringclasses
9 values
license
stringclasses
6 values
patch
stringlengths
333
20.5k
pr_description
stringlengths
0
4.59k
problem_statement
stringlengths
126
19.9k
repo
stringlengths
7
48
test_patch
stringlengths
259
15.7k
FAIL_TO_PASS
listlengths
1
367
PASS_TO_PASS
listlengths
0
10.5k
install_config
dict
meta
dict
226a7e0e58b231d8ae47080a4459172b9a29b708
2024-01-22 17:53:48
docker.io/swerebenchv2/adamchainz-flake8-comprehensions:553-226a7e0
adamchainz__flake8-comprehensions-553
No new interfaces are introduced.
python
MIT
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 25b7c11..da54167 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,10 @@ Changelog ========= +* Add rule C420 to check for dict comprehensions with constant values, encouraging replacement with ``dict.fromkeys()``. + + Thanks to Tom Kuson in `PR #553 <https:...
Add rule for dict comprehensions with constant values Adds `C420` that checks for dictionary comprehensions that use constant values. Changed the fixture for `test_C418_pass` as it was failing (`dict({x: 1 for x in range(1)}, a=1)` triggers the new rule). Closes #552.
Feature Request: Detect dictionary comprehensions with constant values ### Description Hi! Thanks for this helpful tool. I'm working with code that has a lot of ```python {elt: None for elt in foo} ``` which is slower and (IMO) harder to read than ```python dict.fromkeys(foo) ``` Would there be int...
adamchainz/flake8-comprehensions
diff --git a/tests/test_flake8_comprehensions.py b/tests/test_flake8_comprehensions.py index 454cc31..3843b6e 100644 --- a/tests/test_flake8_comprehensions.py +++ b/tests/test_flake8_comprehensions.py @@ -886,7 +886,7 @@ def test_C417_fail(code, failures, flake8_path): "code", [ "dict({}, a=1)", - ...
[ "tests/test_flake8_comprehensions.py::test_C420_fail[{elt:" ]
[ "tests/test_flake8_comprehensions.py::test_C401_fail[foo", "tests/test_flake8_comprehensions.py::test_C408_pass[[]]", "tests/test_flake8_comprehensions.py::test_C402_pass[foo", "tests/test_flake8_comprehensions.py::test_C414_fail[set(tuple(a))-failures6]", "tests/test_flake8_comprehensions.py::test_C400_pas...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/astral-sh/ruff/issues/9592" ], ...
31d363823d1096b29772c9703d742be83373d6ce
2025-05-22 21:45:34
docker.io/swerebenchv2/aio-libs-aiohttp:10951-31d3638
aio-libs__aiohttp-10951
Function: AsyncResolver.__init__(self, *, loop: Optional[asyncio.AbstractEventLoop] = None, **kwargs) Location: aiohttp/resolver.py Inputs: - **loop** – an optional asyncio event‑loop that the resolver should operate on. If omitted, the currently running loop (via asyncio.get_running_loop()) is used. - **kwargs** – an...
python
custom-check-github
diff --git a/CHANGES/10951.bugfix.rst b/CHANGES/10951.bugfix.rst new file mode 100644 index 000000000..d539fc1a5 --- /dev/null +++ b/CHANGES/10951.bugfix.rst @@ -0,0 +1,1 @@ +Fixed :py:class:`~aiohttp.resolver.AsyncResolver` not using the ``loop`` argument in versions 3.x where it should still be supported -- by :user:...
[3.12] Fix AsyncResolver not using the loop argument This PR is to 3.12 since we have dropped the loop argument on master The loop argument was being ignored in AsyncResolver in 3.12/3.11 where it should still be supported fixes #10787
AsyncResolver does not use the passed `loop` argument on 3.11 and 3.12 branches due to bad cherry-pick merge ### Describe the bug There seems to be a backport issue in the `3.11` and `3.12` branches. The `loop` argument is not passed to `aiodns.DNSResolver` despite this being the case on the `master` branch, leading t...
aio-libs/aiohttp
diff --git a/tests/test_client_functional.py b/tests/test_client_functional.py index 5e1a4d2dd..ff9a33bda 100644 --- a/tests/test_client_functional.py +++ b/tests/test_client_functional.py @@ -4311,3 +4311,128 @@ async def test_post_connection_cleanup_with_file( response.raise_for_status() asser...
[ "tests/test_resolver.py::test_async_resolver_uses_provided_loop" ]
[ "tests/test_client_functional.py::test_params_and_query_string[pyloop]", "tests/test_client_functional.py::test_skip_default_auto_headers_user_agent[pyloop]", "tests/test_client_functional.py::test_empty_params_and_query_string[pyloop-params3]", "tests/test_client_functional.py::test_keepalive_after_empty_bod...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/aio-libs/aiohttp/blob/master/aiohttp/...
7f691674ba44ff87308e6bf8e52c3c55c6ae43ab
2025-05-28 14:55:25
docker.io/swerebenchv2/aio-libs-aiohttp:11054-7f69167
aio-libs__aiohttp-11054
No new interfaces are introduced.
python
custom-check-github
diff --git a/CHANGES/11052.bugfix.rst b/CHANGES/11052.bugfix.rst new file mode 100644 index 000000000..73e4ea216 --- /dev/null +++ b/CHANGES/11052.bugfix.rst @@ -0,0 +1,2 @@ +Fixed memory leak in :py:meth:`~aiohttp.CookieJar.filter_cookies` that caused unbounded memory growth +when making requests to different URL path...
Fix CookieJar memory leak in filter_cookies() ## Summary This PR fixes a memory leak in `CookieJar.filter_cookies()` that was causing unbounded memory growth when making requests to different URL paths. The issue was introduced in version 3.10.0 and could cause memory usage to grow from ~100MB to ~5GB over weeks of ...
Possible memory leak in the CookieJar ### Describe the bug Memory usage increases indefinitely when making requests with aiohttp>=3.10.0 ClientSession to a server that often sets cookies. ### To Reproduce ```python import asyncio async def do_test(): from aiohttp import ClientSession from pprint import ppr...
aio-libs/aiohttp
diff --git a/tests/test_cookiejar.py b/tests/test_cookiejar.py index 1f78c5abb..364b8a701 100644 --- a/tests/test_cookiejar.py +++ b/tests/test_cookiejar.py @@ -1151,3 +1151,57 @@ async def test_treat_as_secure_origin() -> None: assert len(jar) == 1 filtered_cookies = jar.filter_cookies(request_url=endpoint) ...
[ "tests/test_cookiejar.py::test_filter_cookies_does_not_leak_memory" ]
[ "tests/test_cookiejar.py::TestCookieJarSafe::test_path_filter_different_folder", "tests/test_cookiejar.py::TestCookieJarSafe::test_invalid_values", "tests/test_cookiejar.py::test_quotes_correctly_based_on_input[pyloop-no", "tests/test_cookiejar.py::test_date_parsing", "tests/test_cookiejar.py::test_save_loa...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/aio-libs/aiohttp/issues/11052" ],...
31d0834e34d7c122918a1061ed9222963e1135be
2023-11-26 14:38:24
docker.io/swerebenchv2/aio-libs-aiohttp:7907-31d0834
aio-libs__aiohttp-7907
Method: ClientResponse.connection(self) Location: aiohttp/client_reqrep.py Inputs: None (implicit `self` of type ClientResponse) Outputs: Returns the underlying Connection object (or None if no connection is attached). The property is used to inspect whether the HTTP response is still linked to a live transport afte...
python
custom-check-github
diff --git a/CHANGES/7879.bugfix b/CHANGES/7879.bugfix new file mode 100644 index 000000000..08baf85be --- /dev/null +++ b/CHANGES/7879.bugfix @@ -0,0 +1,1 @@ +Fixed a regression where connection may get closed during upgrade. -- by :user:`Dreamsorcerer` diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py ...
Fix regression with connection upgrade (#7879) Fixes #7867. (cherry picked from commit 48b15583305e692ce997ec6f5a6a2f88f23ace71)
Response connection is None on 3.9.0 ### Describe the bug Sorry for the not easily reproducible bug, but since 3.9.0 connection upgrading doesn't work ### To Reproduce I experienced the bug using aiodocker exec, so forgive me for indirect reproduce of the bug: * get a running docker container in aiodocker ...
aio-libs/aiohttp
diff --git a/tests/test_client_functional.py b/tests/test_client_functional.py index 6698ac6ef..8a9a4e184 100644 --- a/tests/test_client_functional.py +++ b/tests/test_client_functional.py @@ -173,6 +173,25 @@ async def test_keepalive_response_released(aiohttp_client: Any) -> None: assert 1 == len(client._session....
[ "tests/test_client_functional.py::test_upgrade_connection_not_released_after_read[pyloop]" ]
[ "tests/test_client_functional.py::test_keepalive_two_requests_success[pyloop]", "tests/test_client_functional.py::test_keepalive_after_head_requests_success[pyloop]", "tests/test_client_functional.py::test_keepalive_after_empty_body_status[pyloop-101]", "tests/test_client_functional.py::test_keepalive_after_e...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/aio-libs/aiodocker/issues/832" ...
ed98a5eb2db664ec010ce2cbe75d1b59270503de
2024-01-12 15:55:06
docker.io/swerebenchv2/aio-libs-aiohttp:8026-ed98a5e
aio-libs__aiohttp-8026
Method: ClientSession.__init__(self, *, timeout: ClientTimeout | None = None, **kwargs) Location: aiohttp/client.py Inputs: - **timeout** – must be either a `ClientTimeout` instance, `None`, or omitted (sentinel). Any other type (e.g., `int`, `str`) triggers a `ValueError`. - Additional keyword arguments are unchanged...
python
custom-check-github
diff --git a/CHANGES/8021.bugfix b/CHANGES/8021.bugfix new file mode 100644 index 000000000..f43843a58 --- /dev/null +++ b/CHANGES/8021.bugfix @@ -0,0 +1,1 @@ +Add runtime type check for ``ClientSession`` ``timeout`` parameter. diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 931d5c5b9..e94381dcf 100644 --- a/CON...
Backport to 3.10: Add runtime type check for `ClientSession` `timeout` param (#8022) # Backport to 3.10 ## What do these changes do? Add runtime type check for `ClientSession` `timeout` param when creating a client. ## Are there changes in behavior for the user? A `ValueError` is raised when using someth...
ClientSession timeout AttributeError ### Describe the bug When you create a client with `client.ClientSession(timeout=500)` does not raise or warn that timeout must be implemented as `ClientTimeout` but fails when sending a get request Code lets you implement a client as `client.ClientSession(timeout='bad_arg')` ...
aio-libs/aiohttp
diff --git a/tests/test_client_session.py b/tests/test_client_session.py index 2823fc462..a0654ed8c 100644 --- a/tests/test_client_session.py +++ b/tests/test_client_session.py @@ -814,12 +814,6 @@ async def test_client_session_timeout_default_args(loop) -> None: await session1.close() -async def test_client_s...
[ "tests/test_client_session.py::test_client_session_timeout_zero", "tests/test_client_session.py::test_client_session_timeout_bad_argument", "tests/test_client_session.py::test_requote_redirect_url_default" ]
[ "tests/test_client_session.py::test_close_coro[pyloop]", "tests/test_client_session.py::test_init_headers_simple_dict[pyloop]", "tests/test_client_session.py::test_init_headers_list_of_tuples[pyloop]", "tests/test_client_session.py::test_init_headers_MultiDict[pyloop]", "tests/test_client_session.py::test_i...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/aio-libs/aiohttp" ], "inten...
ea84f22423bccb022f088deec2fe081f1f1fa29a
2024-08-16 16:59:34
docker.io/swerebenchv2/aio-libs-aiohttp:8720-ea84f22
aio-libs__aiohttp-8720
No new interfaces are introduced.
python
custom-check-github
diff --git a/CHANGES/8720.bugfix.rst b/CHANGES/8720.bugfix.rst new file mode 100644 index 000000000..9941be275 --- /dev/null +++ b/CHANGES/8720.bugfix.rst @@ -0,0 +1,1 @@ +Fixed an edge case in the Python parser when chunk separators happen to align with network chunks -- by :user:`Dreamsorcerer`. diff --git a/aiohttp/...
Fix Python parser when chunk separators align Fixes #3904.
"ClientPayloadError: Response payload is not completed" with https://www.тв-програма.bg ```python import aiohttp import pytest async def fetch(): async with aiohttp.ClientSession() as session: remote_resp = await session.request("GET", "https://www.тв-програма.bg") print(remote_resp) ...
aio-libs/aiohttp
diff --git a/tests/test_http_parser.py b/tests/test_http_parser.py index 3dc650d38..17352ba6e 100644 --- a/tests/test_http_parser.py +++ b/tests/test_http_parser.py @@ -1461,6 +1461,29 @@ def test_parse_chunked_payload_empty_body_than_another_chunked( assert b"second" == b"".join(d for d in payload._buffer) +a...
[ "tests/test_http_parser.py::test_parse_chunked_payload_split_chunks[py-parser-pyloop]" ]
[ "tests/test_http_parser.py::test_parse_headers[py-parser-pyloop]", "tests/test_http_parser.py::test_reject_obsolete_line_folding[py-parser-pyloop]", "tests/test_http_parser.py::test_cve_2023_37276[py-parser-pyloop]", "tests/test_http_parser.py::test_bad_header_name[py-parser-pyloop-\"]", "tests/test_http_pa...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://www.тв-програма.bg" ], "intent_complet...
8ccdebfc0dafd4ce93069965b8a75fce1d002b16
2017-03-23 08:44:06
docker.io/swerebenchv2/allegro-marathon-consul:212-8ccdebf
allegro__marathon-consul-212
Method: Marathon.get(url string) ([]byte, error) Location: marathon/marathon.go – method on the `Marathon` type. Inputs: - `url` – full request URL (string). The `Marathon` instance may hold optional `username` and `password` fields for Basic‑Auth. Outputs: - `[]byte` – response body on success, otherwise `nil`. - ...
go
Apache-2.0
diff --git a/marathon/marathon.go b/marathon/marathon.go index 8121ab0..6cab932 100644 --- a/marathon/marathon.go +++ b/marathon/marathon.go @@ -31,7 +31,8 @@ type Marathon struct { Location string Protocol string MyLeader string - Auth *url.Userinfo + username string + password string client *http.Client...
Fixes #209 | Sanitize http logs Put HTTP authentication in Header instead of URL. This will prevent leaking credentials in logs when error is logged with authentication information.
Santize logs Currenlty logs can contain passwords to Marathon. ```bash Get http://***:***@localhost:8080/v2/leader: dial tcp 127.0.0.1:8080: getsockopt: connection refused ``` We should not log it and best keep it in header.
allegro/marathon-consul
diff --git a/marathon/marathon_test.go b/marathon/marathon_test.go index 0e29b40..fc9b3a4 100644 --- a/marathon/marathon_test.go +++ b/marathon/marathon_test.go @@ -268,14 +268,14 @@ func TestUrl_WithoutAuth(t *testing.T) { assert.Equal(t, "http://localhost:8080/v2/apps", m.url("/v2/apps")) } -func TestUrl_WithAut...
[ "TestUrl_AuthURLShouldBeWithoutCreds" ]
[ "TestRegistrationIntentsNumber", "TestRegistrationIntentsNumber/Not_a_consul_app", "TestRegistrationIntentsNumber/Multiple_port_definitions", "TestRegistrationIntentsNumber/Single_port_definition", "TestRegistrationIntentsNumber/No_port_definitions", "TestParseApps", "TestId_AppIdForInvalid", "TestId_...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
5ac90a788d92769243f3003852b60d2a9ac33591
2022-10-28 22:02:10
docker.io/swerebenchv2/alteryx-woodwork:1557-5ac90a7
alteryx__woodwork-1557
Method: WoodworkColumnAccessor.init(self, logical_type=None, semantic_tags=None, description=None, origin=None, nullable=None, **kwargs) Location: woodwork/column_accessor.py Inputs: - self: WoodworkColumnAccessor instance bound to a pandas Series. - logical_type (optional): LogicalType class or string indicating the d...
python
BSD-3-Clause
diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index 23edbb9..817d693 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -10,6 +10,7 @@ Future Release * Fixes * Fixed bug relating to ``dependence`` calculations to ensure columns exist in dataframe...
Fix TypeValidationError message in `column_accessor.py` - fixes #1556
Incorrect Error Message When Woodwork-initializing Series I ran into this error: ``` >>> x = pd.Series([pd.NA, 5, 4, 3, 2]) >>> x.ww.init() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/shripad.badithe/woodwork/woodwork/column_accessor.py", line 112, in init raise Ty...
alteryx/woodwork
diff --git a/woodwork/tests/accessor/test_column_accessor.py b/woodwork/tests/accessor/test_column_accessor.py index 5b114af..ae58579 100644 --- a/woodwork/tests/accessor/test_column_accessor.py +++ b/woodwork/tests/accessor/test_column_accessor.py @@ -168,7 +168,7 @@ def test_accessor_init_with_invalid_logical_type(sa...
[ "woodwork/tests/accessor/test_column_accessor.py::test_accessor_init_with_invalid_logical_type[sample_series_pandas]" ]
[ "woodwork/tests/accessor/test_column_accessor.py::test_accessor_init[sample_series_pandas]", "woodwork/tests/accessor/test_column_accessor.py::test_accessor_init_with_schema[sample_series_pandas]", "woodwork/tests/accessor/test_column_accessor.py::test_accessor_init_with_schema_errors[sample_series_pandas]", ...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
7bde24e9c9b5c5a0e228b4c62c094fced9901c3b
2021-02-26 19:59:55
docker.io/swerebenchv2/alteryx-woodwork:640-7bde24e
alteryx__woodwork-640
"Method: WoodworkTableAccessor.drop(self, columns)\nLocation: woodwork/table_accessor.py (around lin(...TRUNCATED)
python
BSD-3-Clause
"diff --git a/docs/source/api_reference.rst b/docs/source/api_reference.rst\nindex d5b9119..dea1466 (...TRUNCATED)
"Add drop to WoodworkTableAccessor\n- Allows for `df.ww.drop`, returning a new dataframe with Woodwo(...TRUNCATED)
"Add WoodworkTableAccessor.drop\n- Creates a new DataFrame without the specified columns that has Wo(...TRUNCATED)
alteryx/woodwork
"diff --git a/woodwork/tests/accessor/test_table_accessor.py b/woodwork/tests/accessor/test_table_ac(...TRUNCATED)
["woodwork/tests/accessor/test_table_accessor.py::test_accessor_drop[sample_df_pandas]","woodwork/te(...TRUNCATED)
["woodwork/tests/accessor/test_table_accessor.py::test_check_index_errors[sample_df_pandas]","woodwo(...TRUNCATED)
{"base_image_name":"python_base_310","docker_specs":{"_variant":null,"bazel_version":null,"bun_versi(...TRUNCATED)
{"llm_metadata":{"code":"A","confidence":0.97,"detected_issues":{"B1":false,"B2":false,"B3":false,"B(...TRUNCATED)
0706885e1eeb0b185853d0e2d0f2bf4fc73238bd
2022-05-29 20:36:11
docker.io/swerebenchv2/analysis-dev-diktat:1328-0706885
analysis-dev__diktat-1328
"Method: RulesConfig.<init>(name: String, enabled: Boolean = true, configuration: Map<String, String(...TRUNCATED)
kotlin
MIT
"diff --git a/README.md b/README.md\nindex e2c35703fe..c5dc41b7a4 100644\n--- a/README.md\n+++ b/REA(...TRUNCATED)
"### What's done:\r\n- `ignoreAnnotated` logic that helps to suppress inspections that could have tr(...TRUNCATED)
"Implement ignoreAnnotated suppressor like detekt\nThere are a lot of false positive findings regard(...TRUNCATED)
analysis-dev/diktat
"diff --git a/diktat-rules/src/test/kotlin/org/cqfn/diktat/util/SuppressingTest.kt b/diktat-rules/sr(...TRUNCATED)
["org.cqfn.diktat.plugin.gradle.DiktatJavaExecTaskTest check system property with multiproject build(...TRUNCATED)
[]
{"base_image_name":"kotlin-jdk-11","docker_specs":{"_variant":null,"bazel_version":null,"bun_version(...TRUNCATED)
{"llm_metadata":{"code":"A","confidence":0.93,"detected_issues":{"B1":false,"B2":false,"B3":false,"B(...TRUNCATED)
End of preview. Expand in Data Studio

VibeMemBench

Evaluating memory systems for coding agents on real repository coding tasks.

Coding agents work on real repository tasks, and persistent memory systems promise to reuse experience across them. VibeMemBench tests whether that experience actually improves executable repository work. It pairs two runs of the same task under one fixed agent, tools, sandbox, and budget. Only the memory condition changes. Executable tests decide whether the task is resolved.

VibeMemBench overview

Overview. Top: offline construction of the frozen verified experience. Bottom: the two released evaluation tracks.

The dataset has two parts:

Part File Size Role
Targets test.parquet 1 MB 111 coding tasks to solve, in SWE-bench format
History history/ 2.2 GB 3,634 completed agent trajectories from the same repositories, the memory substrate

The targets span 90 repositories and 9 languages. The history is what a memory system reads to build experience. A target is never allowed to see history from its own future, see Causal rule.

Download

load_dataset gives you the targets only. The history is not a dataset split, it is a directory of files, so it needs snapshot_download.

Targets only (1 MB, enough to inspect the tasks):

from datasets import load_dataset

targets = load_dataset("Tongyi-ConvAI/VibeMemBench", split="test")
print(targets[0]["instance_id"], targets[0]["problem_statement"][:200])

Everything (2.2 GB, needed to run the benchmark):

from huggingface_hub import snapshot_download

snapshot_download(
    repo_id="Tongyi-ConvAI/VibeMemBench",
    repo_type="dataset",
    local_dir="benchmark",
)

One language only, if you do not want all 2.2 GB:

snapshot_download(
    repo_id="Tongyi-ConvAI/VibeMemBench",
    repo_type="dataset",
    local_dir="benchmark",
    allow_patterns=["test.parquet", "history/python/*"],
)

Or from the command line:

hf download Tongyi-ConvAI/VibeMemBench --repo-type dataset --local-dir benchmark

The harness expects the result at benchmark/, so local_dir="benchmark" puts files exactly where the code looks for them.

Layout

test.parquet                                      # 111 targets
history/<language>/<repo>/<instance_id>/<instance_id>.traj.json

Example history path:

history/python/adamchainz__flake8-comprehensions/adamchainz__flake8-comprehensions-143/adamchainz__flake8-comprehensions-143.traj.json

<repo> is the upstream owner/name with / replaced by __.

Counts

Language Targets History trajectories
Python 56 2043
JavaScript 16 503
Go 12 263
Rust 10 185
TypeScript 5 383
Kotlin 4 170
Swift 4 47
Java 2 34
PHP 2 6
Total 111 3634

Language and task type distribution

Language (left) and primary task type (right) distribution of the 111 targets.

Targets cover bug fixes, feature requests, interface changes, and configuration work. Bug fixes account for under a third of them. Upstream pull requests range from 2016-03 to 2025-09.

Targets: test.parquet

One row per target, 16 columns, SWE-bench format. The Visibility column states what the evaluation protocol allows the solver to see.

Column Type Visibility Meaning
instance_id str solver Unique id, ends in the upstream PR number
repo str solver Upstream owner/name
base_commit str solver Commit the task starts from
problem_statement str solver The issue text the agent must solve
image_name str solver Docker image with the prepared environment
language str solver One of the 9 languages
install_config dict solver Build and test recipe, see below
pr_description str hidden Upstream PR text, leaks the intended fix
created_at str hidden Upstream PR timestamp
interface str hidden Interface change summary
license str hidden Upstream repository license
meta dict hidden Construction annotations
patch str evaluator Gold patch, the answer
test_patch str evaluator Adds the tests that decide the outcome
FAIL_TO_PASS list evaluator Tests that must flip to passing
PASS_TO_PASS list evaluator Tests that must stay passing

install_config carries base_image_name, docker_specs, install, test_cmd, and log_parser. The last two are what an evaluator needs: run test_cmd in the image, then parse its output with the named parser to decide which tests passed.

A run is resolved when every test in FAIL_TO_PASS and PASS_TO_PASS passes.

History: history/

Each .traj.json is one completed agent trajectory for an earlier issue in the same repository. The top level is a single key:

{"messages": [{"role": "...", "content": "...", "extra": {...}}, ...]}

Message roles are system, user, assistant, tool, and exit. Assistant messages may carry reasoning_content and tool_calls; extra may carry the raw model response, the shell actions, the command raw_output, usage, cost, and a timestamp.

Two things to know before you build on this:

  • extra.timestamp is not the PR date. It is the wall clock of the machine that produced the trajectory, so it says nothing about when the upstream issue happened. Use the trailing number of instance_id for chronology.
  • One trajectory is 98 MB (platers__obsidian-linter-1157), and a second is 78 MB. Load history lazily or cap the size, or a naive loop will exhaust memory.

Causal rule

A target may only be given history from earlier issues in the same repository. Chronology comes from the trailing number of instance_id, where a smaller number means earlier:

feed history H to target T  iff  repo(H) == repo(T)  and  number(H) < number(T)

This matters in practice, because the history directory also contains the target's own trajectory. For target adamchainz__flake8-comprehensions-553 the repository directory holds 143, 179, 195, 197, 200, 205, 553. Only the first six may be fed. Passing 553 to a memory system would let the agent retrieve the answer to the task it is being tested on.

Licensing

The license column records each upstream repository's license. Across the 111 targets: MIT 45, Apache-2.0 29, project-specific 20, BSD-3-Clause 10, MIT-0 5, BSD-2-Clause 1, unspecified 1. Problem statements, patches, and tests are derived from those public repositories and remain under their original terms. Check the column before redistributing any single instance.

Privacy

The trajectories were audited for leaked secrets and personal identity. They contain no real API keys, tokens, passwords, or operator identity. Values that look like credentials are public documentation examples, such as the canonical AWS example key used in test fixtures. Usernames and email addresses come from the public issues and commits of the evaluated repositories.

Citation

@article{fan2026vibemembench,
  title   = {VibeMemBench: Evaluating Memory Systems for Coding Agents on Real Repository Coding Tasks},
  author  = {Fan, Liyang and Shi, Yingcheng and Li, Yongbin and Sun, Chenghao and Chen, Xin and Xu, Xander and Wei, Hu and Ni, Shiwen and Yang, Min and Ye, Jieping},
  journal = {arXiv preprint},
  year    = {2026},
  note    = {arXiv:2609.23570}
}

VibeMemBench builds on SWE-rebench V2 for the repository tasks and uses mini-swe-agent as the fixed agent.

Downloads last month
-

Paper for Tongyi-ConvAI/VibeMemBench