instance_id stringlengths 18 32 | correct_response stringclasses 2
values | pair_type stringclasses 2
values | episode_a int64 1 15 | text_a stringlengths 40.8k 57.8k | full_output_a stringlengths 2.18k 44.1k | model_patch_a stringlengths 288 3.62k | resolved_a bool 2
classes | num_passed_tests_a int64 0 151 | episode_b int64 1 16 | text_b stringlengths 40.8k 57.8k | full_output_b stringlengths 2.21k 53.5k | model_patch_b stringlengths 227 4.4k | resolved_b bool 2
classes | num_passed_tests_b int64 0 247 | model_name stringclasses 1
value | num_episodes_used int64 16 16 | success_episode int64 1 12 ⌀ | failure_episode int64 1 11 ⌀ | better_episode int64 2 16 ⌀ | worse_episode int64 2 14 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sphinx-doc__sphinx-9320 | A | unresolved | 15 | You will be provided with a partial code base and an issue statement explaining a problem to resolve.
<issue>
`sphinx-quickstart` with existing conf.py doesn't exit easily
**Describe the bug**
I've attached a screenshot in the screenshots section which I think explains the bug better.
- I'm running `sphinx-quicksta... |
Okay, let's look at the problem. The user is running sphinx-quickstart in a directory that already has a conf.py. When they try to exit by pressing Enter at the prompt asking for a new root path, they get an error saying "Please enter a valid path name" instead of exiting.
Looking at the code in sphinx/cmd/quickstart... |
--- a/sphinx/cmd/quickstart.py
+++ b/sphinx/cmd/quickstart.py
@@ -226,6 +226,8 @@
'', is_path)
if not d['path']:
sys.exit(1)
+ if not d['path']:
+ sys.exit(1)
while path.isfile(path.join(d['path'], 'conf.py')) or \
path.isfile(... | false | 9 | 13 | You will be provided with a partial code base and an issue statement explaining a problem to resolve.
<issue>
`sphinx-quickstart` with existing conf.py doesn't exit easily
**Describe the bug**
I've attached a screenshot in the screenshots section which I think explains the bug better.
- I'm running `sphinx-quicksta... |
Okay, let's see. The user is reporting an issue with sphinx-quickstart where if there's an existing conf.py, pressing Enter to exit isn't working. Instead, it's throwing an error saying to enter a valid path name.
Looking at the code in sphinx/cmd/quickstart.py, specifically the part where the path is validated. The ... | --- a/sphinx/cmd/quickstart.py
+++ b/sphinx/cmd/quickstart.py
@@ -225,7 +225,7 @@
print()
print(bold(__('Error: an existing conf.py has been found in the '
'selected root path.')))
- d['path'] = do_prompt(__('Please enter a new root path (or just Enter to exit)'), '', is_... | false | 0 | Qwen3-32B | 16 | null | null | 15 | 13 |
pytest-dev__pytest-8399 | A | resolved | 12 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's tackle this issue. The user is saying that starting from pytest version 6.2.0, the se(...TRUNCATED) | "--- a/src/_pytest/unittest.py\n+++ b/src/_pytest/unittest.py\n@@ -146,7 +146,7 @@\n @pytest.fix(...TRUNCATED) | true | 60 | 11 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's tackle this issue. The user is reporting that starting from pytest version 6.2.0, the(...TRUNCATED) | "--- a/src/_pytest/unittest.py\n+++ b/src/_pytest/unittest.py\n@@ def _make_xunit_fixture(\n- (...TRUNCATED) | false | 0 | Qwen3-32B | 16 | 12 | 11 | null | null |
django__django-11477 | A | unresolved | 10 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, I need to figure out how to fix the issue where translate_url() creates incorrect URLs when(...TRUNCATED) | "diff --git a/django/urls/resolvers.py b/django/urls/resolvers.py\nindex 1234567..89abcde 100644\n--(...TRUNCATED) | false | 151 | 11 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's try to figure out how to solve this problem. The issue is that when there are optiona(...TRUNCATED) | "--- a/django/urls/resolvers.py\n+++ b/django/urls/resolvers.py\n@@ def _reverse_with_prefix(self, l(...TRUNCATED) | false | 0 | Qwen3-32B | 16 | null | null | 10 | 11 |
pydata__xarray-6461 | B | unresolved | 6 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, I need to figure out how to fix the xr.where error when using a scalar as the second argume(...TRUNCATED) | "\n--- a/xarray/core/computation.py\n+++ b/xarray/core/computation.py\n@@ -1807,7 +1807,7 @@\n (...TRUNCATED) | false | 0 | 5 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's see. The user is reporting an issue with xr.where when using a scalar as the second a(...TRUNCATED) | "\n--- a/xarray/core/computation.py\n+++ b/xarray/core/computation.py\n@@ -1809,3 +1809,3 @@\n- (...TRUNCATED) | false | 247 | Qwen3-32B | 16 | null | null | 5 | 6 |
django__django-14315 | A | unresolved | 12 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's see. The user mentioned an issue with the database client's runshell not respecting o(...TRUNCATED) | "\n--- a/django/db/backends/base/client.py\n+++ b/django/db/backends/base/client.py\n@@ -24,7 +24,7 (...TRUNCATED) | false | 7 | 14 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's tackle this issue. The problem is that the database client's runshell method isn't re(...TRUNCATED) | "\n--- a/django/db/backends/base/client.py\n+++ b/django/db/backends/base/client.py\n@@ def runshell(...TRUNCATED) | false | 0 | Qwen3-32B | 16 | null | null | 12 | 14 |
sympy__sympy-22714 | A | unresolved | 10 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's try to figure out why the code is throwing that error. The user is using SymPy's symp(...TRUNCATED) | "--- a/sympy/core/sympify.py\n+++ b/sympy/core/sympify.py\n@@ -475,6 +475,12 @@ def sympify(a, local(...TRUNCATED) | false | 11 | 2 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's tackle this issue. The user is encountering a ValueError when using sympify with eval(...TRUNCATED) | "\n--- a/sympy/core/sympify.py\n+++ b/sympy/core/sympify.py\n@@ -10,6 +10,8 @@\n from sympy.core.ran(...TRUNCATED) | false | 0 | Qwen3-32B | 16 | null | null | 10 | 2 |
django__django-10914 | B | resolved | 8 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's see. The user is talking about setting a default FILE_UPLOAD_PERMISSIONS to 0o644 in (...TRUNCATED) | "--- a/django/conf/global_settings.py\n+++ b/django/conf/global_settings.py\n@@ -307,7 +307,7 @@\n F(...TRUNCATED) | false | 0 | 1 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's tackle this issue. The user wants to set the default FILE_UPLOAD_PERMISSIONS to 0o644(...TRUNCATED) | "--- a/django/conf/global_settings.py\n+++ b/django/conf/global_settings.py\n@@ -307,7 +307,7 @@\n #(...TRUNCATED) | true | 99 | Qwen3-32B | 16 | 1 | 8 | null | null |
pytest-dev__pytest-7324 | B | unresolved | 10 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, I need to figure out how to fix the issue where Pytest crashes the interpreter on a debug b(...TRUNCATED) | "--- a/src/_pytest/mark/__init__.py\n+++ b/src/_pytest/mark/__init__.py\n@@ def deselect_by_keyword((...TRUNCATED) | false | 0 | 13 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's tackle this issue. The problem is that Pytest crashes the interpreter on a debug buil(...TRUNCATED) | "--- a/src/_pytest/mark/__init__.py\n+++ b/src/_pytest/mark/__init__.py\n@@ import keyword\n@@ -177,(...TRUNCATED) | false | 58 | Qwen3-32B | 16 | null | null | 13 | 10 |
django__django-15277 | B | resolved | 1 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let me try to figure out how to solve this issue. The problem is about optimizing the Value(...TRUNCATED) | "\n--- a/django/db/models/fields/__init__.py\n+++ b/django/db/models/fields/__init__.py\n@@ -582,7 +(...TRUNCATED) | false | 0 | 6 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's see. The user is talking about a micro-optimization for the Value._resolve_output_fie(...TRUNCATED) | "--- a/django/db/models/fields/__init__.py\n+++ b/django/db/models/fields/__init__.py\n@@ -1234,7 +1(...TRUNCATED) | true | 160 | Qwen3-32B | 16 | 6 | 1 | null | null |
pytest-dev__pytest-10356 | B | unresolved | 4 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's tackle this problem. The user is reporting an issue with pytest where markers from mu(...TRUNCATED) | "\n--- a/src/_pytest/nodes.py\n+++ b/src/_pytest/nodes.py\n@@ def __init__(\n@@ -227,6 +227,24 @@ cl(...TRUNCATED) | false | 0 | 16 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, I need to address the issue where pytest doesn't correctly merge markers from multiple base(...TRUNCATED) | "diff --git a/src/_pytest/nodes.py b/src/_pytest/nodes.py\nindex 0c3b8c5..f4a2d5c 100644\n--- a/src/(...TRUNCATED) | false | 79 | Qwen3-32B | 16 | null | null | 16 | 4 |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 6