Dataset Viewer
Auto-converted to Parquet Duplicate
instance_id
stringlengths
18
32
correct_response
stringclasses
2 values
pair_type
stringclasses
2 values
episode_a
int64
1
16
text_a
stringlengths
39.9k
60.9k
full_output_a
stringlengths
3.91k
44.1k
model_patch_a
stringlengths
154
2.91k
resolved_a
bool
2 classes
num_passed_tests_a
int64
0
644
episode_b
int64
1
16
text_b
stringlengths
39.9k
60.9k
full_output_b
stringlengths
2.83k
53.5k
model_patch_b
stringlengths
208
2.76k
resolved_b
bool
2 classes
num_passed_tests_b
int64
0
764
model_name
stringclasses
1 value
num_episodes_used
int64
16
16
success_episode
int64
3
12
⌀
failure_episode
int64
1
14
⌀
better_episode
int64
1
16
⌀
worse_episode
int64
1
14
⌀
django__django-13012
A
unresolved
1
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Constant expressions of an ExpressionWrapper object are incorrectly placed at the GROUP BY clause Description I have a function that expects an arbitrary Query expression and constructs a query on a Postgres ...
Okay, let's see. The user is having an issue where using an ExpressionWrapper with a constant value in Django's ORM is causing the constant to be included in the GROUP BY clause, which Postgres doesn't allow. But when they don't use the ExpressionWrapper, it works correctly. So, the problem is that when they wrap Va...
--- a/django/db/models/expressions.py +++ b/django/db/models/expressions.py @@ -350,6 +350,14 @@ class ExpressionWrapper(Expression): return self.rhs.output_field return self.lhs.output_field + def get_group_by_cols(self, alias=None): + from django.db.models.expressions import Value + ...
false
137
5
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Constant expressions of an ExpressionWrapper object are incorrectly placed at the GROUP BY clause Description I have a function that expects an arbitrary Query expression and constructs a query on a Postgres ...
Okay, let's tackle this Django issue. The user is having a problem where using an ExpressionWrapper with a constant value in an annotate and values query leads to an invalid GROUP BY clause in PostgreSQL. The error is because PostgreSQL doesn't allow aggregate functions in GROUP BY, but the generated SQL includes the ...
--- a/django/db/models/expressions.py +++ b/django/db/models/expressions.py @@ def get_group_by_cols(self, alias=None): - return super().get_group_by_cols(alias) + source_expr = self.get_source_expressions()[0] + if source_expr.is_constant(): + return [] + return super().get_grou...
false
0
Qwen3-32B
16
null
null
1
5
django__django-16145
A
resolved
11
"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 that when they run `python manage.py runserver 0:8000`, th(...TRUNCATED)
"--- a/django/core/management/commands/runserver.py\n+++ b/django/core/management/commands/runserver(...TRUNCATED)
true
175
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 when they run `python manage.py runserver (...TRUNCATED)
"\n--- a/django/core/management/commands/runserver.py\n+++ b/django/core/management/commands/runserv(...TRUNCATED)
false
0
Qwen3-32B
16
11
12
null
null
sympy__sympy-16597
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 see. The user is pointing out that in SymPy, when you create a symbol with the 'even=(...TRUNCATED)
"--- a/sympy/core/symbol.py\n+++ b/sympy/core/symbol.py\n@@ -123,6 +123,9 @@ def __new__(cls, name, (...TRUNCATED)
false
74
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 is pointing out that in SymPy, when a symbol is declared (...TRUNCATED)
"\n--- a/sympy/core/assumptions.py\n+++ b/sympy/core/assumptions.py\n@@ def _ask_finite(self, expr, (...TRUNCATED)
false
0
Qwen3-32B
16
null
null
10
1
django__django-13925
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 encountering a Django warning (models.W042) when upg(...TRUNCATED)
"\n--- a/django/apps/config.py\n+++ b/django/apps/config.py\n@@ def __init__ method in AppConfig cla(...TRUNCATED)
false
24
5
"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 user is encountering a warning (mode(...TRUNCATED)
"\n--- a/accounts/apps.py\n+++ b/accounts/apps.py\n@@ -0,0 +1,7 @@\n+from django.apps import AppConf(...TRUNCATED)
false
0
Qwen3-32B
16
null
null
3
5
django__django-15382
A
unresolved
2
"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 Django issue where using a filter with a negated Exi(...TRUNCATED)
"--- a/django/db/models/sql/where.py\n+++ b/django/db/models/sql/where.py\n@@ -130,6 +130,12 @@\n (...TRUNCATED)
false
161
10
"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 provided an issue where using a filter with ~Exists on an empty queryse(...TRUNCATED)
"\n--- a/django/db/models/expressions.py\n+++ b/django/db/models/expressions.py\n@@ def __init__(sel(...TRUNCATED)
false
0
Qwen3-32B
16
null
null
2
10
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
django__django-14580
A
unresolved
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 user is reporting a bug in Django where the generated migration file is miss(...TRUNCATED)
"--- a/django/db/migrations/writer.py\n+++ b/django/db/migrations/writer.py\n@@ -10,6 +10,7 @@\n fro(...TRUNCATED)
false
49
10
"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 a bug in Django where the makemigrations command generates(...TRUNCATED)
"\n\n--- a/django/db/migrations/writer.py\n+++ b/django/db/migrations/writer.py\n@@ -170,7 +170,7 @@(...TRUNCATED)
false
0
Qwen3-32B
16
null
null
16
10
sympy__sympy-14711
B
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 is encountering a TypeError when trying to sum a list that includes a v(...TRUNCATED)
"--- a/sympy/physics/vector/vector.py\n+++ b/sympy/physics/vector/vector.py\n@@ -59,7 +59,7 @@\n (...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 see. The user is encountering a TypeError when trying to sum a list that includes a v(...TRUNCATED)
"\n--- a/sympy/physics/vector/vector.py\n+++ b/sympy/physics/vector/vector.py\n@@ -453,1 +453,11 @@\(...TRUNCATED)
false
2
Qwen3-32B
16
null
null
13
12
scikit-learn__scikit-learn-14141
A
resolved
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 issue is to add joblib to the show_versions function in scikit-learn. The us(...TRUNCATED)
"\n--- a/sklearn/utils/_show_versions.py\n+++ b/sklearn/utils/_show_versions.py\n@@ -47,7 +47,8 @@ d(...TRUNCATED)
true
3
10
"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 to add joblib to the show_versions function in scikit-learn. The us(...TRUNCATED)
"\n--- a/sklearn/utils/_show_versions.py\n+++ b/sklearn/utils/_show_versions.py\n@@ def _get_deps_in(...TRUNCATED)
false
0
Qwen3-32B
16
5
10
null
null
matplotlib__matplotlib-24026
B
unresolved
14
"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 matplotlib's stackplot is changing the Axes(...TRUNCATED)
"\n--- a/lib/matplotlib/stackplot.py\n+++ b/lib/matplotlib/stackplot.py\n@@ -70,7 +70,9 @@ def stack(...TRUNCATED)
false
0
7
"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)
"\nOkay, I need to solve this issue where using stackplot in Matplotlib is changing the Axes cycler,(...TRUNCATED)
"\n--- a/lib/matplotlib/stackplot.py\n+++ b/lib/matplotlib/stackplot.py\n@@ -70,11 +70,6 @@\n if(...TRUNCATED)
false
764
Qwen3-32B
16
null
null
7
14
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
6