-
Notifications
You must be signed in to change notification settings - Fork 23
/
sympy__sympy-14774.SWE-bench_Lite_golden.eval.log
244 lines (229 loc) · 11.7 KB
/
sympy__sympy-14774.SWE-bench_Lite_golden.eval.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
[sympy__sympy__1.1] [sympy__sympy-14774] Task Metadata:
- Instance ID: sympy__sympy-14774
- Testbed: sympy__sympy__1.1
-
- Evaluation Model: SWE-bench_Lite_golden
[sympy__sympy__1.1] [sympy__sympy-14774] Command: git status --porcelain
[sympy__sympy__1.1] [sympy__sympy-14774] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": true, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.1] [sympy__sympy-14774] Std. Output:
[sympy__sympy__1.1] [sympy__sympy-14774] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14774] Command: git -c advice.detachedHead=false checkout 8fc63c2d71752389a44367b8ef4aba8a91af6a45
[sympy__sympy__1.1] [sympy__sympy-14774] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": true, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.1] [sympy__sympy-14774] Std. Output:
Previous HEAD position was ec9e3c0436 Merge pull request #14817 from jashan498/print_mat_fix
HEAD is now at 8fc63c2d71 Merge pull request #14772 from Eight1911/master
[sympy__sympy__1.1] [sympy__sympy-14774] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14774] Command: git apply -v /home/swe-bench/temp_sympy__sympy-14774_pred_try.patch
[sympy__sympy__1.1] [sympy__sympy-14774] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.1] [sympy__sympy-14774] Std. Output:
Checking patch sympy/printing/latex.py...
Applied patch sympy/printing/latex.py cleanly.
[sympy__sympy__1.1] [sympy__sympy-14774] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14774] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.1] [sympy__sympy-14774] Command: git apply -v -R /home/swe-bench/temp_sympy__sympy-14774_pred_try.patch
[sympy__sympy__1.1] [sympy__sympy-14774] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.1] [sympy__sympy-14774] Std. Output:
Checking patch sympy/printing/latex.py...
Applied patch sympy/printing/latex.py cleanly.
[sympy__sympy__1.1] [sympy__sympy-14774] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14774] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.1] [sympy__sympy-14774] Command: git apply -v /home/swe-bench/temp_sympy__sympy-14774_pred.patch
[sympy__sympy__1.1] [sympy__sympy-14774] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.1] [sympy__sympy-14774] Std. Output:
Checking patch sympy/printing/latex.py...
Applied patch sympy/printing/latex.py cleanly.
[sympy__sympy__1.1] [sympy__sympy-14774] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14774] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[sympy__sympy__1.1] [sympy__sympy-14774] Command: git restore sympy/printing/tests/test_latex.py
[sympy__sympy__1.1] [sympy__sympy-14774] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": true, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.1] [sympy__sympy-14774] Std. Output:
[sympy__sympy__1.1] [sympy__sympy-14774] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14774] Command: git apply -v /home/swe-bench/temp_sympy__sympy-14774_test.patch
[sympy__sympy__1.1] [sympy__sympy-14774] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.1] [sympy__sympy-14774] Std. Output:
Checking patch sympy/printing/tests/test_latex.py...
Applied patch sympy/printing/tests/test_latex.py cleanly.
[sympy__sympy__1.1] [sympy__sympy-14774] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14774] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: conda run -n sympy__sympy__1.1 bin/test -C --verbose sympy/printing/tests/test_latex.py;
[sympy__sympy__1.1] [sympy__sympy-14774] Command: conda run -n sympy__sympy__1.1 bin/test -C --verbose sympy/printing/tests/test_latex.py
[sympy__sympy__1.1] [sympy__sympy-14774] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2, "timeout": 900}
[sympy__sympy__1.1] [sympy__sympy-14774] Std. Output:
/home/swe-bench/sympy__sympy/sympy/core/basic.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Mapping, defaultdict
/home/swe-bench/sympy__sympy/sympy/core/expr.py:12: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import defaultdict, Iterable
/home/swe-bench/sympy__sympy/sympy/core/containers.py:271: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
class OrderedSet(collections.MutableSet):
/home/swe-bench/sympy__sympy/sympy/solvers/diophantine.py:3188: SyntaxWarning: "is" with a literal. Did you mean "=="?
if feasible is 1: # it's prime and k == 2
/home/swe-bench/sympy__sympy/sympy/plotting/plot.py:28: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Callable
/home/swe-bench/sympy__sympy/sympy/core/basic.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Mapping, defaultdict
/home/swe-bench/sympy__sympy/sympy/core/expr.py:12: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import defaultdict, Iterable
/home/swe-bench/sympy__sympy/sympy/core/containers.py:271: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
class OrderedSet(collections.MutableSet):
/home/swe-bench/sympy__sympy/sympy/plotting/plot.py:28: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Callable
/home/swe-bench/sympy__sympy/sympy/vector/coordsysrect.py:171: SyntaxWarning: "is" with a literal. Did you mean "=="?
if transformation.name is 'spherical':
/home/swe-bench/sympy__sympy/sympy/vector/coordsysrect.py:173: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif transformation.name is 'cylindrical':
/home/swe-bench/sympy__sympy/sympy/polys/agca/modules.py:351: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif elem is 0:
ERROR conda.cli.main_run:execute(124): `conda run bin/test -C --verbose sympy/printing/tests/test_latex.py` failed. (See above for error)
============================= test process starts ==============================
executable: /home/swe-bench/miniconda3/envs/sympy__sympy__1.1/bin/python (3.9.19-final-0) [CPython]
architecture: 64-bit
cache: no
ground types: python
numpy: None
random seed: 20195905
hash randomization: on (PYTHONHASHSEED=3419318885)
sympy/printing/tests/test_latex.py[121]
test_printmethod ok
test_latex_basic ok
test_latex_builtins ok
test_latex_SingularityFunction ok
test_latex_cycle ok
test_latex_permutation ok
test_latex_Float ok
test_latex_vector_expressions ok
test_latex_symbols ok
test_latex_symbols_failing f
test_latex_functions ok
test_function_subclass_different_name ok
test_hyper_printing ok
test_latex_bessel ok
test_latex_fresnel ok
test_latex_brackets ok
test_latex_indexed ok
test_latex_derivatives ok
test_latex_subs ok
test_latex_integrals ok
test_latex_sets ok
test_latex_SetExpr ok
test_latex_Range ok
test_latex_sequences ok
test_latex_FourierSeries ok
test_latex_FormalPowerSeries ok
test_latex_intervals ok
test_latex_AccumuBounds ok
test_latex_emptyset ok
test_latex_commutator ok
test_latex_union ok
test_latex_symmetric_difference ok
test_latex_Complement ok
test_latex_Complexes ok
test_latex_productset ok
test_latex_Naturals ok
test_latex_Naturals0 ok
test_latex_Integers ok
test_latex_ImageSet ok
test_latex_ConditionSet ok
test_latex_ComplexRegion ok
test_latex_Contains ok
test_latex_sum ok
test_latex_product ok
test_latex_limits ok
test_latex_log ok
test_issue_3568 ok
test_latex ok
test_latex_dict ok
test_latex_list ok
test_latex_rational ok
test_latex_inverse ok
test_latex_DiracDelta ok
test_latex_Heaviside ok
test_latex_KroneckerDelta ok
test_latex_LeviCivita ok
test_mode ok
test_latex_Piecewise ok
test_latex_Matrix ok
test_latex_matrix_with_functions ok
test_latex_NDimArray ok
test_latex_mul_symbol ok
test_latex_issue_4381 ok
test_latex_issue_4576 ok
test_latex_pow_fraction ok
test_noncommutative ok
test_latex_order ok
test_latex_Lambda ok
test_latex_PolyElement ok
test_latex_FracElement ok
test_latex_Poly ok
test_latex_Poly_order ok
test_latex_ComplexRootOf ok
test_latex_RootSum ok
test_settings ok
test_latex_numbers ok
test_latex_euler ok
test_lamda ok
test_custom_symbol_names ok
test_matAdd ok
test_matMul ok
test_latex_MatrixSlice ok
test_latex_RandomDomain ok
test_PrettyPoly ok
test_integral_transforms ok
test_PolynomialRingBase ok
test_categories ok
test_Modules ok
test_QuotientRing ok
test_Tr ok
test_Adjoint ok
test_Hadamard ok
test_ZeroMatrix ok
test_boolean_args_order ok
test_imaginary ok
test_builtins_without_args ok
test_latex_greek_functions ok
test_translate ok
test_other_symbols ok
test_modifiers ok
test_greek_symbols ok
test_builtin_without_args_mismatched_names f
test_builtin_no_args ok
test_issue_6853 ok
test_Mul ok
test_Pow ok
test_issue_7180 ok
test_issue_8409 ok
test_issue_8470 E
test_issue_7117 ok
test_issue_2934 ok
test_issue_10489 ok
test_issue_12886 ok
test_issue_13559 E
test_issue_13651 ok
test_latex_UnevaluatedExpr ok
test_MatrixElement_printing ok
test_MatrixSymbol_printing ok
test_Quaternion_latex_printing ok
test_TensorProduct_printing ok
test_WedgeProduct_printing ok [FAIL]
________________________________________________________________________________
______________ sympy/printing/tests/test_latex.py:test_issue_8470 ______________
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_latex.py", line 1668, in test_issue_8470
e = parse_expr("-B*A", evaluate=False)
File "/home/swe-bench/sympy__sympy/sympy/parsing/sympy_parser.py", line 948, in parse_expr
code = compile(evaluateFalse(code), '<string>', 'eval')
ValueError: Name node can't be used with 'False' constant
________________________________________________________________________________
_____________ sympy/printing/tests/test_latex.py:test_issue_13559 ______________
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_latex.py", line 1701, in test_issue_13559
expr = parse_expr('5/1', evaluate=False)
File "/home/swe-bench/sympy__sympy/sympy/parsing/sympy_parser.py", line 948, in parse_expr
code = compile(evaluateFalse(code), '<string>', 'eval')
ValueError: Name node can't be used with 'False' constant
tests finished: 117 passed, 2 expected to fail, 2 exceptions, in 2.75 seconds =
DO *NOT* COMMIT!
[sympy__sympy__1.1] [sympy__sympy-14774] Return Code: 1
>>>>> Some Tests Failed
[sympy__sympy__1.1] [sympy__sympy-14774] Test script run successful