Dataset Viewer
Auto-converted to Parquet Duplicate
repo_name
stringclasses
10 values
docker_image
stringlengths
64
69
commit_hash
stringlengths
40
40
parsed_commit_content
stringlengths
10.1k
10.3M
execution_result_content
stringlengths
3.81k
12.4M
modified_files
listlengths
2
9
modified_entity_summaries
listlengths
2
29
relevant_files
listlengths
1
3
num_non_test_files
int64
1
4
num_non_test_func_methods
int64
0
4
num_non_test_lines
int64
1
196
prompt
stringclasses
2 values
problem_statement
stringlengths
530
3.58k
expected_output_json
stringlengths
33
307k
difficulty
float64
0
8
instance_id
stringlengths
14
19
runtime_profile
stringclasses
1 value
aiohttp
namanjain12/aiohttp_final:e5106ef238ae8e14921c99ffc6b53969d7917d6d
e5106ef238ae8e14921c99ffc6b53969d7917d6d
{"file_diffs": [{"old_file_content": "\"\"\"Various helper functions\"\"\"\n__all__ = ['BasicAuth', 'FormData', 'parse_mimetype']\n\nimport base64\nimport binascii\nimport io\nimport os\nimport uuid\nimport urllib.parse\nfrom collections import namedtuple\nfrom wsgiref.handlers import format_date_time\n\nfrom . import ...
{ "repo_name": "aiohttp", "new_commit_hash": "e5106ef238ae8e14921c99ffc6b53969d7917d6d", "test_file_codes": [ "import unittest\nimport unittest.mock\n\nfrom aiohttp import helpers\nfrom aiohttp import multidict\n\n\nclass HelpersTests(unittest.TestCase):\n\n def test_parse_mimetype(self):\n ...
[ "anthropic/aiohttp/helpers.py", "anthropic/tests/test_helpers.py" ]
[ { "ast_type_str": "ClassDef", "end_lineno": 63, "file_name": "tests/test_helpers.py", "name": "HelpersTests", "start_lineno": 8, "type": "class" }, { "ast_type_str": "ClassDef", "end_lineno": 63, "file_name": "tests/test_helpers.py", "name": "HelpersTests.test_invalid_for...
[ "anthropic/aiohttp/helpers.py" ]
1
1
2
default_poisoned
[ISSUE] **Title:** FormData allows invalid two-element string inputs without raising TypeError **Description:** When creating a `FormData` instance with a two-character string, it does not raise a `TypeError` as expected. This allows invalid parameters to be used, potentially leading to unexpected behavior. **Example...
{"test_package_import": "PASSED"}
2
aiohttp_e5106ef2
yiming_from_clean
aiohttp
namanjain12/aiohttp_final:ea948a4a984d2db4fceb42e6706f87e21cfea6a5
ea948a4a984d2db4fceb42e6706f87e21cfea6a5
{ "file_diffs": [ { "old_file_content": "CHANGES\n=======\n\n0.8.0 (06-06-2014)\n------------------\n\n- Add support for utf-8 values in HTTP headers\n\n- Allow to use custom response class instead of HttpResponse\n\n- Use MultiDict for client request headers\n\n- Use MultiDict for server reques...
{ "repo_name": "aiohttp", "new_commit_hash": "ea948a4a984d2db4fceb42e6706f87e21cfea6a5", "test_file_codes": [ "import unittest\n\nfrom aiohttp.multidict import \\\n MultiDict, MutableMultiDict, CaseInsensitiveMultiDict\n\n\nclass _BaseTest(unittest.TestCase):\n\n def make_dict(self, *args, **k...
[ "CHANGES.txt", "aiohttp/multidict.py", "tests/test_multidict.py" ]
[ { "ast_type_str": "ClassDef", "end_lineno": 80, "file_name": "aiohttp/multidict.py", "name": "MultiDict", "start_lineno": 5, "type": "class" }, { "ast_type_str": "ClassDef", "end_lineno": 134, "file_name": "tests/test_multidict.py", "name": "MultiDictTests", "start_li...
[ "aiohttp/multidict.py" ]
2
1
18
default
[ISSUE] **Title:** `MultiDict.getall() does not accept a default value, raising TypeError when provided` **Description:** When using the `getall` method on a `MultiDict` instance, providing a default value for a non-existent key results in a `TypeError`. The method currently only accepts the key as an argument, which ...
{ "MultiDictTests.test__repr__": "PASSED", "MultiDictTests.test_copy": "PASSED", "MultiDictTests.test_getall": "PASSED", "MultiDictTests.test_getone": "PASSED", "MultiDictTests.test_instantiate__empty": "PASSED", "MultiDictTests.test_instantiate__from_arg0": "PASSED", "MultiDictTests.test_in...
3
aiohttp_ea948a4a
null
aiohttp
namanjain12/aiohttp_final:92ce18b0a7d677c4fbdfc835198725a24052179c
92ce18b0a7d677c4fbdfc835198725a24052179c
"{\"file_diffs\": [{\"old_file_content\": \"\\\"\\\"\\\"WebSocket protocol versions 13 and 8.\\\"\\\(...TRUNCATED)
"{\n \"repo_name\": \"aiohttp\",\n \"new_commit_hash\": \"92ce18b0a7d677c4fbdfc835198725a24052(...TRUNCATED)
[ "anthropic/aiohttp/websocket.py", "anthropic/tests/test_websocket.py" ]
[{"ast_type_str":"ClassDef","end_lineno":430,"file_name":"tests/test_websocket.py","name":"WebSocket(...TRUNCATED)
[ "anthropic/aiohttp/websocket.py" ]
1
1
7
default_poisoned
"[ISSUE]\n**Title:** WebSocket handshake fails due to incorrect number of return values from `do_han(...TRUNCATED)
{"test_package_import": "PASSED"}
0
aiohttp_92ce18b0
yiming_from_clean
aiohttp
namanjain12/aiohttp_final:fa628a2170cc03b82f32ea4e3812f41d015125e3
fa628a2170cc03b82f32ea4e3812f41d015125e3
"{\"file_diffs\": [{\"old_file_content\": \"\", \"new_file_content\": \"Fixed changing scheme/host i(...TRUNCATED)
"{\n \"repo_name\": \"aiohttp\",\n \"new_commit_hash\": \"fa628a2170cc03b82f32ea4e3812f41d0151(...TRUNCATED)
["anthropic/CHANGES/8990.bugfix.rst","anthropic/aiohttp/web_request.py","anthropic/tests/test_web_re(...TRUNCATED)
[{"ast_type_str":"ClassDef","end_lineno":209,"file_name":"aiohttp/web_request.py","name":"BaseReques(...TRUNCATED)
[ "anthropic/aiohttp/web_request.py" ]
2
1
13
default_poisoned
"[ISSUE]\n**Title:** Cloning a Request Does Not Update Scheme and Host in Absolute URLs\n\n**Descrip(...TRUNCATED)
{"test_package_import": "PASSED"}
5
aiohttp_fa628a21
yiming_from_clean
aiohttp
namanjain12/aiohttp_final:c054f579dd04bfa5d3f0ee78d4cca4107f96d4c4
c054f579dd04bfa5d3f0ee78d4cca4107f96d4c4
"{\n \"file_diffs\": [\n {\n \"old_file_content\": \"__all__ = ('UrlDispatcher'(...TRUNCATED)
"{\n \"repo_name\": \"aiohttp\",\n \"new_commit_hash\": \"c054f579dd04bfa5d3f0ee78d4cca4107f96(...TRUNCATED)
[ "aiohttp/web_urldispatcher.py", "docs/web_reference.rst", "tests/test_urldispatch.py" ]
[{"ast_type_str":"ClassDef","end_lineno":419,"file_name":"aiohttp/web_urldispatcher.py","name":"UrlD(...TRUNCATED)
[ "aiohttp/web_urldispatcher.py" ]
2
1
12
default
"[ISSUE]\n**Title:** UrlDispatcher Fails to Raise ValueError for Invalid HTTP Methods and Paths\n\n*(...TRUNCATED)
"{\n \"TestUrlDispatcher.test_add_invalid_path\": \"PASSED\",\n \"TestUrlDispatcher.test_add_r(...TRUNCATED)
1
aiohttp_c054f579
null
aiohttp
namanjain12/aiohttp_final:f7e4246114ce48335f224f36c2d4b058b02bea7b
f7e4246114ce48335f224f36c2d4b058b02bea7b
"{\"file_diffs\": [{\"old_file_content\": \"\", \"new_file_content\": \"Add __repr__ to EmptyStreamR(...TRUNCATED)
"{\n \"repo_name\": \"aiohttp\",\n \"new_commit_hash\": \"f7e4246114ce48335f224f36c2d4b058b02b(...TRUNCATED)
["anthropic/CHANGES/6916.bugfix","anthropic/CONTRIBUTORS.txt","anthropic/aiohttp/streams.py","anthro(...TRUNCATED)
[{"ast_type_str":"ClassDef","end_lineno":553,"file_name":"aiohttp/streams.py","name":"EmptyStreamRea(...TRUNCATED)
[ "anthropic/aiohttp/streams.py" ]
3
1
5
default_poisoned
"[ISSUE]\n**Title:** EmptyStreamReader's String Representation Raises AttributeError\n\n**Descriptio(...TRUNCATED)
{"test_package_import": "PASSED"}
0
aiohttp_f7e42461
yiming_from_clean
aiohttp
namanjain12/aiohttp_final:fb0d3db26c6a21d2a9c1b96b7545e108114fb99b
fb0d3db26c6a21d2a9c1b96b7545e108114fb99b
"{\n \"file_diffs\": [\n {\n \"old_file_content\": \"\\\"\\\"\\\"wsgi server.\\(...TRUNCATED)
"{\n \"repo_name\": \"aiohttp\",\n \"new_commit_hash\": \"fb0d3db26c6a21d2a9c1b96b7545e108114f(...TRUNCATED)
[ "aiohttp/wsgi.py", "tests/test_wsgi.py" ]
[{"ast_type_str":"ClassDef","end_lineno":97,"file_name":"tests/test_wsgi.py","name":"HttpWsgiServerP(...TRUNCATED)
[ "aiohttp/wsgi.py" ]
1
1
2
default
"[ISSUE]\n**Title:** Iterating Over Headers with Multiple Values Causes Unpacking Error in WSGI Impl(...TRUNCATED)
"{\n \"HttpWsgiServerProtocolTests.test_ctor\": \"PASSED\",\n \"HttpWsgiServerProtocolTests.te(...TRUNCATED)
6
aiohttp_fb0d3db2
null
aiohttp
namanjain12/aiohttp_final:ea47a46f5f9008a1ab44279c41debe609d568282
ea47a46f5f9008a1ab44279c41debe609d568282
"{\n \"file_diffs\": [\n {\n \"old_file_content\": \"import pprint\\nfrom itert(...TRUNCATED)
"{\n \"repo_name\": \"aiohttp\",\n \"new_commit_hash\": \"ea47a46f5f9008a1ab44279c41debe609d56(...TRUNCATED)
[ "aiohttp/multidict.py", "tests/test_multidict.py" ]
[{"ast_type_str":"ClassDef","end_lineno":105,"file_name":"aiohttp/multidict.py","name":"MultiDict","(...TRUNCATED)
[ "aiohttp/multidict.py" ]
1
1
3
default
"[ISSUE]\n**Title:** `__repr__` of `MultiDict` Fails to Display All Items with Multiple Values per K(...TRUNCATED)
"{\n \"MultiDictTests.test__repr__\": \"PASSED\",\n \"MultiDictTests.test_copy\": \"PASSED\",\(...TRUNCATED)
2
aiohttp_ea47a46f
null
aiohttp
namanjain12/aiohttp_final:fc11fd22ce4b424d3897d2010415946e8194648f
fc11fd22ce4b424d3897d2010415946e8194648f
"{\n \"file_diffs\": [\n {\n \"old_file_content\": \"CHANGES\\n=======\\n\\n0.1(...TRUNCATED)
"{\n \"repo_name\": \"aiohttp\",\n \"new_commit_hash\": \"fc11fd22ce4b424d3897d2010415946e8194(...TRUNCATED)
[ "CHANGES.txt", "aiohttp/__init__.py", "aiohttp/wsgi.py", "tests/test_wsgi.py" ]
[{"ast_type_str":"ClassDef","end_lineno":137,"file_name":"aiohttp/wsgi.py","name":"WSGIServerHttpPro(...TRUNCATED)
[ "aiohttp/wsgi.py" ]
3
1
13
default
"[ISSUE]\n**Title:** PATH_INFO Incorrectly Unquoted, Causing Loss of Encoded Characters\n\n**Descrip(...TRUNCATED)
"{\n \"HttpWsgiServerProtocolTests.test_ctor\": \"PASSED\",\n \"HttpWsgiServerProtocolTests.te(...TRUNCATED)
6
aiohttp_fc11fd22
null
aiohttp
namanjain12/aiohttp_final:fe6325e7bc23037967f23e5e814783a17e263ffc
fe6325e7bc23037967f23e5e814783a17e263ffc
"{\"file_diffs\": [{\"old_file_content\": \"CHANGES\\n=======\\n\\n0.12.1 (Unreleased)\\n-----------(...TRUNCATED)
"{\n \"repo_name\": \"aiohttp\",\n \"new_commit_hash\": \"fe6325e7bc23037967f23e5e814783a17e26(...TRUNCATED)
["anthropic/CHANGES.txt","anthropic/aiohttp/web.py","anthropic/docs/web.rst","anthropic/tests/test_w(...TRUNCATED)
[{"ast_type_str":"ClassDef","end_lineno":417,"file_name":"tests/test_web_response.py","name":"TestRe(...TRUNCATED)
[ "anthropic/aiohttp/web.py" ]
3
1
6
default_poisoned
"[ISSUE]\n**Title:** Charset Case Sensitivity Causes Assertion Failures in Response Handling\n\n**De(...TRUNCATED)
{"test_package_import": "PASSED"}
1
aiohttp_fe6325e7
yiming_from_clean
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
68