Datasets:

Modalities:
Text
Formats:
parquet
Size:
< 1K
ArXiv:
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
instance_id
string
repo
string
base_commit
string
pull_number
string
problem_statement
string
addtional_setup_cmd
list
before_repo_set_cmd
string
patch
string
test_patch
string
FAIL_TO_PASS
list
PASS_TO_PASS
list
INVALID_TESTS
list
f2p_parsed
list
F2P_content
string
test_cmd
string
test_cmds
list
f2p_cmd
string
selected_test_files_to_run
string
location
string
location_content
string
error_context
string
api
string
image
string
sympy__sympy-21379
sympy/sympy
624217179aaf8d094e6ff75b7493ad1ee47599b0
null
Unexpected `PolynomialError` when using simple `subs()` for particular expressions I am seeing weird behavior with `subs` for particular expressions with hyperbolic sinusoids with piecewise arguments. When applying `subs`, I obtain an unexpected `PolynomialError`. For context, I was umbrella-applying a casting from int...
[ "pip install pytest" ]
null
diff --git a/sympy/core/mod.py b/sympy/core/mod.py --- a/sympy/core/mod.py +++ b/sympy/core/mod.py @@ -40,6 +40,7 @@ def eval(cls, p, q): from sympy.core.mul import Mul from sympy.core.singleton import S from sympy.core.exprtools import gcd_terms + from sympy.polys.polyerrors import Po...
diff --git a/sympy/core/tests/test_arit.py b/sympy/core/tests/test_arit.py --- a/sympy/core/tests/test_arit.py +++ b/sympy/core/tests/test_arit.py @@ -1913,6 +1913,16 @@ def test_Mod(): assert Mod(x, y).rewrite(floor) == x - y*floor(x/y) assert ((x - Mod(x, y))/y).rewrite(floor) == floor(x/y) + # issue 2...
[ "test_Mod" ]
[ "test_bug1", "test_Symbol", "test_arit0", "test_div", "test_pow", "test_pow2", "test_pow3", "test_mod_pow", "test_pow_E", "test_pow_issue_3516", "test_pow_im", "test_real_mul", "test_ncmul", "test_mul_add_identity", "test_ncpow", "test_powerbug", "test_Mul_doesnt_expand_exp", "test...
null
[ "sympy/core/tests/test_arit.py::test_Mod" ]
{"sympy/core/tests/test_arit.py::test_Mod": "1|from sympy import (Basic, Symbol, sin, cos, atan, exp, sqrt, Rational,\n2| Float, re, pi, sympify, Add, Mul, Pow, Mod, I, log, S, Max, symbols,\n3| oo, zoo, Integer, sign, im, nan, Dummy, factorial, comp, floor, Poly,\n4| FiniteSet\n5|)\n6|from sympy.c...
PYTHONWARNINGS='ignore::UserWarning,ignore::SyntaxWarning' bin/test -C --verbose sympy/core/tests/test_arit.py
null
pytest -rA sympy/core/tests/test_arit.py::test_Mod
null
{"sympy/core/mod.py": ["def eval (start lineno: 40 , end lineno: 45) ", "def doit (start lineno: 166 , end lineno: 175) "]}
{"sympy/core/mod.py :: line number range (40, 45)": "6|class Mod(Function):\n......\n37| @classmethod\n38| def eval(cls, p, q):\n39| from sympy.core.add import Add\n40| from sympy.core.mul import Mul\n41| from sympy.core.singleton import S\n42| from sympy.core.exprtools import gcd_term...
[{"error": "ZeroDivisionError", "error_content": "ZeroDivisionError('Modulo by zero')", "frames": [["/testbed/sympy/core/tests/test_arit.py", 1777, "test_Mod", "1777: Mod(x, 0)"], ["/testbed/sympy/core/cache.py", 72, "wrapper", "57: >>> @cacheit\n58: ... def f(a, b): # noqa: F811\n59: ... ...
{"sympy/core/mod.py": [{"file of api definition": "/testbed/sympy/polys/polytools.py", "lineno of api definition": [5295, 5303], "api function name": "gcd", "api function should be called in this way": "gcd(p, q)", "the approximate lineno where this api appear in the file you need to modify": 171, "api function definit...
null
django__django-10554
django/django
14d026cccb144c6877294ba4cd4e03ebf0842498
null
Union queryset with ordering breaks on ordering with derived querysets Description (last modified by Sergei Maertens) May be related to #29692 Simple reproduction (the exact models are not relevant I think): >>> Dimension.objects.values_list('id', flat=True) <QuerySet [10, 11, 12, 13, 14, 15, 16, 17, 18]> >>> q...
[]
null
diff --git a/django/db/models/sql/compiler.py b/django/db/models/sql/compiler.py --- a/django/db/models/sql/compiler.py +++ b/django/db/models/sql/compiler.py @@ -356,7 +356,12 @@ def get_order_by(self): resolved.set_source_expressions([RawSQL('%d' % (idx + 1), ())]) br...
diff --git a/tests/queries/test_qs_combinators.py b/tests/queries/test_qs_combinators.py --- a/tests/queries/test_qs_combinators.py +++ b/tests/queries/test_qs_combinators.py @@ -153,6 +153,29 @@ def test_union_with_values_list_on_annotated_and_unannotated(self): qs2 = Number.objects.filter(num=9) sel...
[ "test_union_with_values_list_and_order (queries.test_qs_combinators.QuerySetSetOperationTests)", "test_union_with_values_list_on_annotated_and_unannotated (queries.test_qs_combinators.QuerySetSetOperationTests)" ]
[ "test_combining_multiple_models (queries.test_qs_combinators.QuerySetSetOperationTests)", "test_count_difference (queries.test_qs_combinators.QuerySetSetOperationTests)", "test_count_intersection (queries.test_qs_combinators.QuerySetSetOperationTests)", "test_count_union (queries.test_qs_combinators.QuerySetS...
null
[ "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_with_values_list_and_order", "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_with_values_list_on_annotated_and_unannotated" ]
{"queries.test_qs_combinators.QuerySetSetOperationTests.test_union_with_values_list_and_order": "1|from django.db.models import Exists, F, IntegerField, OuterRef, Value\n2|from django.db.utils import DatabaseError, NotSupportedError\n3|from django.test import TestCase, skipIfDBFeature, skipUnlessDBFeature\n4|\n5|from ....
./tests/runtests.py --verbosity 2 --settings=test_sqlite --parallel 1 queries.test_qs_combinators
null
./tests/runtests.py --verbosity 2 --settings=test_sqlite --parallel 1 queries.test_qs_combinators.QuerySetSetOperationTests.test_union_with_values_list_and_order queries.test_qs_combinators.QuerySetSetOperationTests.test_union_with_values_list_on_annotated_and_unannotated
null
{"django/db/models/sql/compiler.py": ["def get_order_by (start lineno: 356 , end lineno: 362) "], "django/db/models/sql/query.py": ["def add_select_col (start lineno: 1774 , end lineno: 1779) "]}
{"django/db/models/sql/compiler.py :: line number range (356, 362)": "23|class SQLCompiler:\n......\n254| def get_order_by(self):\n255| \"\"\"\n256| Return a list of 2-tuples of form (expr, (sql, params, is_ref)) for the\n257| ORDER BY clause.\n258|\n259| The order_by clause can alter the...
[{"error": "DatabaseError", "error_content": "DatabaseError('ORDER BY term does not match any column in the result set.',)", "frames": [["./tests/runtests.py", 564, "<module>", "564: options.start_at, options.start_after,"], ["./tests/runtests.py", 310, "django_tests", "310: extra_tests=extra_tests,"]...
{"django/db/models/sql/compiler.py": [{"file of api definition": "/testbed/django/db/utils.py", "lineno of api definition": [23, 24], "api function name": "DatabaseError", "api function should be called in this way": "DatabaseError('ORDER BY term does not match any column in the result set.')", "the approximate lineno ...
null

This is the oracle-signal dataset introduced in our paper ORACLE-SWE (https://arxiv.org/abs/2604.07789).

This dataset currently hosts example rows from the dataset of the five oracle signals, which are extracted from three popular SWE benchmarks.

We hope this example dataset could help readers better understand the ORACLE-SWE paper, and benefit the analysis of these SWE benchmarks to further improve SWE agent algorithms.

Downloads last month
297

Paper for SWE-bench-Live/ORACLE-SWE