instance_id stringlengths 18 32 | correct_response stringclasses 2
values | pair_type stringclasses 2
values | episode_a int64 1 16 | text_a stringlengths 37.5k 62k | full_output_a stringlengths 2.17k 62.4k | model_patch_a stringlengths 128 2.34k | resolved_a bool 2
classes | num_passed_tests_a int64 0 776 | episode_b int64 1 16 | text_b stringlengths 37.5k 62k | full_output_b stringlengths 2.21k 53.5k | model_patch_b stringlengths 152 4.08k | resolved_b bool 2
classes | num_passed_tests_b int64 0 768 | model_name stringclasses 1
value | num_episodes_used int64 16 16 | success_episode int64 1 16 ⌀ | failure_episode int64 1 16 ⌀ | better_episode int64 1 16 ⌀ | worse_episode int64 1 16 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sympy__sympy-23824 | A | resolved | 1 | You will be provided with a partial code base and an issue statement explaining a problem to resolve.
<issue>
physics.hep.kahane_simplify() incorrectly reverses order of leading uncontracted gamma matrices
The kahane_simplify() function applies [identities](https://en.wikipedia.org/w/index.php?title=Gamma_matrices&oldi... |
Okay, let's tackle this problem. The user mentioned a bug in the kahane_simplify() function where the order of leading uncontracted gamma matrices is reversed. The example shows that when the contracted pairs are at the end, the leading gammas are kept in order, but when they're in the middle, the order of the leading... |
--- a/sympy/physics/hep/gamma_matrices.py
+++ b/sympy/physics/hep/gamma_matrices.py
@@ -697,4 +697,4 @@ def kahane_simplify(expression):
[ri.insert(0, free_pos[i]) for ri in resulting_indices]
resulting_expr = S.Zero
- for i in range(0, first_dum_pos):
+ for i in reversed(range(0, first_dum_pos))... | true | 3 | 16 | You will be provided with a partial code base and an issue statement explaining a problem to resolve.
<issue>
physics.hep.kahane_simplify() incorrectly reverses order of leading uncontracted gamma matrices
The kahane_simplify() function applies [identities](https://en.wikipedia.org/w/index.php?title=Gamma_matrices&oldi... |
Okay, let's see. The user mentioned that there's a bug in the kahane_simplify() function where the order of leading uncontracted gamma matrices is reversed. They provided an example where the order of GammaMatrix(rho) and GammaMatrix(sigma) gets swapped in the second test case.
Looking at the code for kahane_simplif... |
--- a/sympy/physics/hep/gamma_matrices.py
+++ b/sympy/physics/hep/gamma_matrices.py
@@ def kahane_simplify(expression):
# If `first_dum_pos` is not zero, it means that there are trailing free gamma
# matrices in front of `expression`, so multiply by them:
- for i in range(0, first_dum_pos):
- [ri.i... | false | 0 | Qwen3-32B | 16 | 1 | 16 | null | null |
django__django-13112 | A | 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 Django issue. The user is getting a ValueError when running makemigration(...TRUNCATED) | "--- a/DJ_RegLogin/__init__.py\n+++ b/DJ_RegLogin/__init__.py\n@@ -0,0 +1 @@\n+default_app_config = (...TRUNCATED) | false | 63 | 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 why the user is getting this error. The error message says that the(...TRUNCATED) | "--- a/DJ_RegLogin/apps.py\n+++ b/DJ_RegLogin/apps.py\n@@ -2,7 +2,7 @@\n class DJ_RegLoginConfig(App(...TRUNCATED) | false | 0 | Qwen3-32B | 16 | null | null | 4 | 11 |
sphinx-doc__sphinx-8475 | A | unresolved | 13 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's see. The issue is about extending the linkchecker's GET fallback logic to handle \"To(...TRUNCATED) | "--- a/sphinx/builders/linkcheck.py\n+++ b/sphinx/builders/linkcheck.py\n@@ -23,6 +23,7 @@\n from do(...TRUNCATED) | false | 17 | 4 | "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 wants me to fix an issue in the Sphinx linkchecker where it doesn't han(...TRUNCATED) | "--- a/sphinx/builders/linkcheck.py\n+++ b/sphinx/builders/linkcheck.py\n@@ def check_uri() -> Tuple(...TRUNCATED) | false | 0 | Qwen3-32B | 16 | null | null | 13 | 4 |
django__django-14999 | B | unresolved | 4 | "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 solve this issue where a RenameModel operation that already has(...TRUNCATED) | "--- a/django/contrib/gis/db/backends/spatialite/schema.py\n+++ b/django/contrib/gis/db/backends/spa(...TRUNCATED) | false | 0 | 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 when using a RenameModel operation in Django m(...TRUNCATED) | "\n--- a/django/contrib/gis/db/backends/spatialite/schema.py\n+++ b/django/contrib/gis/db/backends/s(...TRUNCATED) | false | 113 | Qwen3-32B | 16 | null | null | 14 | 4 |
django__django-11790 | A | resolved | 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 problem. The issue is that the AuthenticationForm's username field isn't (...TRUNCATED) | "\n--- a/django/contrib/auth/forms.py\n+++ b/django/contrib/auth/forms.py\n@@ -194,6 +194,7 @@ class(...TRUNCATED) | true | 79 | 1 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, I need to fix the issue where the AuthenticationForm's username field isn't setting the max(...TRUNCATED) | "\n--- a/django/contrib/auth/forms.py\n+++ b/django/contrib/auth/forms.py\n@@ <1,70> <64,69>\n (...TRUNCATED) | false | 0 | Qwen3-32B | 16 | 14 | 1 | null | null |
sphinx-doc__sphinx-8721 | B | resolved | 16 | "You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED) | "\nOkay, let's see. The issue is that when someone runs `make html epub`, the viewcode extension is (...TRUNCATED) | "\n--- a/sphinx/ext/viewcode.py\n+++ b/sphinx/ext/viewcode.py\n@@ def collect_pages(app: Sphinx) -> (...TRUNCATED) | false | 0 | 3 | "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 when someone runs `make html epub`, the viewco(...TRUNCATED) | "--- a/sphinx/ext/viewcode.py\n+++ b/sphinx/ext/viewcode.py\n@@ -181,6 +181,9 @@ def collect_pages(a(...TRUNCATED) | true | 4 | Qwen3-32B | 16 | 3 | 16 | null | null |
django__django-10999 | A | unresolved | 3 | "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 pointing out an issue with the Django codebase's par(...TRUNCATED) | "--- a/django/utils/dateparse.py\n+++ b/django/utils/dateparse.py\n@@ -33,7 +33,7 @@ standard_durati(...TRUNCATED) | false | 10 | 16 | "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 mentioned an issue with the Django's parse_duration fun(...TRUNCATED) | "\n--- a/django/utils/dateparse.py\n+++ b/django/utils/dateparse.py\n@@ -29,3 @@\n standard_duration(...TRUNCATED) | false | 0 | Qwen3-32B | 16 | null | null | 3 | 16 |
scikit-learn__scikit-learn-14983 | A | unresolved | 15 | "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 RepeatedKFold and RepeatedStratifiedKFold (...TRUNCATED) | "--- a/sklearn/utils/_pprint.py\n+++ b/sklearn/utils/_pprint.py\n@@ -65,6 +65,8 @@\n from inspect im(...TRUNCATED) | false | 105 | 9 | "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 RepeatedKFold and RepeatedStratifiedKFold (...TRUNCATED) | "\n--- a/sklearn/utils/_pprint.py\n+++ b/sklearn/utils/_pprint.py\n@@ def _safe_repr(object, context(...TRUNCATED) | false | 0 | Qwen3-32B | 16 | null | null | 15 | 9 |
pytest-dev__pytest-6197 | 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 try to figure out how to fix this issue with pytest 5.2.3 collecting random __init__.(...TRUNCATED) | "--- a/src/_pytest/main.py\n+++ b/src/_pytest/main.py\n@@ -575,6 +575,10 @@\n if handle_dupe(...TRUNCATED) | false | 142 | 10 | "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 a regression in pytest 5.2.3 where it's tryi(...TRUNCATED) | "\n--- a/src/_pytest/main.py\n+++ b/src/_pytest/main.py\n@@ def _collect(self, arg):\n- if ar(...TRUNCATED) | false | 0 | Qwen3-32B | 16 | null | null | 12 | 10 |
django__django-11603 | A | resolved | 15 | "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 add DISTINCT support for Avg and Sum aggregates (...TRUNCATED) | "\n--- a/django/db/models/aggregates.py\n+++ b/django/db/models/aggregates.py\n@@ -99,6 +99,7 @@ cla(...TRUNCATED) | true | 60 | 8 | "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 add DISTINCT support for Avg and Sum aggregates (...TRUNCATED) | "\n--- a/django/db/models/aggregates.py\n+++ b/django/db/models/aggregates.py\n@@ def __init__(self,(...TRUNCATED) | false | 0 | Qwen3-32B | 16 | 15 | 8 | null | null |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 8