-
Notifications
You must be signed in to change notification settings - Fork 23
/
sympy__sympy-16503.SWE-bench_Lite_golden.eval.log
244 lines (229 loc) · 10.7 KB
/
sympy__sympy-16503.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.5] [sympy__sympy-16503] Task Metadata:
- Instance ID: sympy__sympy-16503
- Testbed: sympy__sympy__1.5
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.11.8
[sympy__sympy__1.5] [sympy__sympy-16503] Command: git -c advice.detachedHead=false checkout a7e6f093c98a3c4783848a19fce646e32b6e0161
[sympy__sympy__1.5] [sympy__sympy-16503] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.5] [sympy__sympy-16503] Std. Output:
Previous HEAD position was 70381f282f Merge pull request #18084 from oscarbenjamin/pr_lambdify_fix
HEAD is now at a7e6f093c9 Merge pull request #16492 from asmeurer/rm-34
[sympy__sympy__1.5] [sympy__sympy-16503] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-16503] Command: git apply -v /home/swe-bench/temp_sympy__sympy-16503_pred_try.patch
[sympy__sympy__1.5] [sympy__sympy-16503] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.5] [sympy__sympy-16503] Std. Output:
Checking patch sympy/printing/pretty/pretty.py...
Applied patch sympy/printing/pretty/pretty.py cleanly.
[sympy__sympy__1.5] [sympy__sympy-16503] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-16503] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.5] [sympy__sympy-16503] Command: git apply -v -R /home/swe-bench/temp_sympy__sympy-16503_pred_try.patch
[sympy__sympy__1.5] [sympy__sympy-16503] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.5] [sympy__sympy-16503] Std. Output:
Checking patch sympy/printing/pretty/pretty.py...
Applied patch sympy/printing/pretty/pretty.py cleanly.
[sympy__sympy__1.5] [sympy__sympy-16503] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-16503] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.5] [sympy__sympy-16503] Command: git apply -v /home/swe-bench/temp_sympy__sympy-16503_pred.patch
[sympy__sympy__1.5] [sympy__sympy-16503] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.5] [sympy__sympy-16503] Std. Output:
Checking patch sympy/printing/pretty/pretty.py...
Applied patch sympy/printing/pretty/pretty.py cleanly.
[sympy__sympy__1.5] [sympy__sympy-16503] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-16503] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[sympy__sympy__1.5] [sympy__sympy-16503] Command: git restore sympy/printing/pretty/tests/test_pretty.py
[sympy__sympy__1.5] [sympy__sympy-16503] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.5] [sympy__sympy-16503] Std. Output:
[sympy__sympy__1.5] [sympy__sympy-16503] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-16503] Command: git apply -v /home/swe-bench/temp_sympy__sympy-16503_test.patch
[sympy__sympy__1.5] [sympy__sympy-16503] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.5] [sympy__sympy-16503] Std. Output:
Checking patch sympy/printing/pretty/tests/test_pretty.py...
Applied patch sympy/printing/pretty/tests/test_pretty.py cleanly.
[sympy__sympy__1.5] [sympy__sympy-16503] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-16503] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: conda run -n sympy__sympy__1.5 bin/test -C --verbose sympy/printing/pretty/tests/test_pretty.py;
[sympy__sympy__1.5] [sympy__sympy-16503] Command: conda run -n sympy__sympy__1.5 bin/test -C --verbose sympy/printing/pretty/tests/test_pretty.py
[sympy__sympy__1.5] [sympy__sympy-16503] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 900}
[sympy__sympy__1.5] [sympy__sympy-16503] Std. Output:
/home/swe-bench/sympy__sympy/sympy/solvers/diophantine.py:3185: 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:509: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.xscale is 'log':
/home/swe-bench/sympy__sympy/sympy/plotting/plot.py:529: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.xscale is 'log':
/home/swe-bench/sympy__sympy/sympy/plotting/plot.py:542: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.xscale is 'log':
/home/swe-bench/sympy__sympy/sympy/plotting/plot.py:549: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.xscale is 'log':
/home/swe-bench/sympy__sympy/sympy/physics/vector/printing.py:153: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(base_split) is not 1:
/home/swe-bench/sympy__sympy/sympy/vector/coordsysrect.py:170: SyntaxWarning: "is" with a literal. Did you mean "=="?
if transformation.name is 'spherical':
/home/swe-bench/sympy__sympy/sympy/vector/coordsysrect.py:172: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif transformation.name is 'cylindrical':
/home/swe-bench/sympy__sympy/sympy/polys/agca/modules.py:360: 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/pretty/tests/test_pretty.py` failed. (See above for error)
============================= test process starts ==============================
executable: /home/swe-bench/miniconda3/envs/sympy__sympy__1.5/bin/python (3.9.19-final-0) [CPython]
architecture: 64-bit
cache: no
ground types: python
numpy: None
random seed: 11950395
hash randomization: on (PYTHONHASHSEED=2675403517)
sympy/printing/pretty/tests/test_pretty.py[125]
test_pretty_ascii_str ok
test_pretty_unicode_str ok
test_upretty_greek ok
test_upretty_multiindex ok
test_upretty_sub_super ok
test_upretty_subs_missing_in_24 ok
test_missing_in_2X_issue_9047 ok
test_upretty_modifiers ok
test_pretty_Cycle ok
test_pretty_basic ok
test_negative_fractions ok
test_issue_5524 ok
test_pretty_ordering ok
test_EulerGamma ok
test_GoldenRatio ok
test_pretty_relational ok
test_Assignment ok
test_AugmentedAssignment ok
test_issue_7117 ok
test_pretty_rational ok
test_pretty_functions ok
test_pretty_sqrt ok
test_pretty_sqrt_char_knob ok
test_pretty_sqrt_longsymbol_no_sqrt_char ok
test_pretty_KroneckerDelta ok
test_pretty_product ok
test_pretty_lambda ok
test_pretty_order ok
test_pretty_derivatives ok
test_pretty_integrals ok
test_pretty_matrix ok
test_pretty_ndim_arrays ok
test_tensor_TensorProduct ok
test_diffgeom_print_WedgeProduct ok
test_Adjoint ok
test_pretty_Trace_issue_9044 ok
test_MatrixExpressions ok
test_pretty_dotproduct ok
test_pretty_piecewise ok
test_pretty_ITE ok
test_pretty_seq ok
test_any_object_in_sequence ok
test_print_builtin_set ok
test_pretty_sets ok
test_pretty_SetExpr ok
test_pretty_ImageSet ok
test_pretty_ConditionSet ok
test_pretty_ComplexRegion ok
test_pretty_Union_issue_10414 ok
test_pretty_Intersection_issue_10414 ok
test_ProductSet_paranthesis ok
test_ProductSet_prod_char_issue_10413 ok
test_pretty_sequences ok
test_pretty_FourierSeries ok
test_pretty_FormalPowerSeries ok
test_pretty_limits ok
test_pretty_ComplexRootOf ok
test_pretty_RootSum ok
test_GroebnerBasis ok
test_pretty_Boolean ok
test_pretty_Domain ok
test_pretty_prec ok
test_pprint ok
test_pretty_class ok
test_pretty_no_wrap_line ok
test_settings ok
test_pretty_sum ok
test_units ok
test_pretty_Subs ok
test_gammas ok
test_beta ok
test_function_subclass_different_name ok
test_SingularityFunction ok
test_deltas ok
test_hyper ok
test_meijerg ok
test_noncommutative ok
test_pretty_special_functions ok
test_pretty_geometry ok
test_expint ok
test_elliptic_functions ok
test_RandomDomain ok
test_PrettyPoly ok
test_issue_6285 ok
test_issue_6359 ok
test_issue_6739 ok
test_complicated_symbol_unchanged ok
test_categories ok
test_PrettyModules ok
test_QuotientRing ok
test_Homomorphism ok
test_Tr ok
test_pretty_Add ok
test_issue_7179 ok
test_issue_7180 ok
test_pretty_Complement ok
test_pretty_SymmetricDifference ok
test_pretty_Contains ok
test_issue_8292 E
test_issue_4335 ok
test_issue_8344 E
test_issue_6324 ok
test_issue_7927 ok
test_issue_6134 ok
test_issue_9877 ok
test_issue_13651 ok
test_pretty_primenu ok
test_pretty_primeomega ok
test_pretty_Mod ok
test_issue_11801 ok
test_pretty_UnevaluatedExpr ok
test_issue_10472 ok
test_MatrixElement_printing ok
test_issue_12675 ok
test_MatrixSymbol_printing ok
test_degree_printing ok
test_vector_expr_pretty_printing ok
test_pretty_print_tensor_expr ok
test_pretty_print_tensor_partial_deriv ok
test_issue_15560 ok
test_print_lerchphi ok
test_issue_15583 ok
test_matrixSymbolBold ok
test_center_accent ok
test_imaginary_unit ok [FAIL]
________________________________________________________________________________
__________ sympy/printing/pretty/tests/test_pretty.py:test_issue_8292 __________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/pretty/tests/test_pretty.py", line 5944, in test_issue_8292
e = sympify('((x+x**4)/(x-1))-(2*(x-1)**4/(x-1)**4)', evaluate=False)
File "/home/swe-bench/sympy__sympy/sympy/core/sympify.py", line 384, in sympify
expr = parse_expr(a, local_dict=locals, transformations=transformations, evaluate=evaluate)
File "/home/swe-bench/sympy__sympy/sympy/parsing/sympy_parser.py", line 964, in parse_expr
code = compile(evaluateFalse(code), '<string>', 'eval')
ValueError: Name node can't be used with 'False' constant
________________________________________________________________________________
__________ sympy/printing/pretty/tests/test_pretty.py:test_issue_8344 __________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/pretty/tests/test_pretty.py", line 5986, in test_issue_8344
e = sympify('2*x*y**2/1**2 + 1', evaluate=False)
File "/home/swe-bench/sympy__sympy/sympy/core/sympify.py", line 384, in sympify
expr = parse_expr(a, local_dict=locals, transformations=transformations, evaluate=evaluate)
File "/home/swe-bench/sympy__sympy/sympy/parsing/sympy_parser.py", line 964, in parse_expr
code = compile(evaluateFalse(code), '<string>', 'eval')
ValueError: Name node can't be used with 'False' constant
========== tests finished: 123 passed, 2 exceptions, in 6.11 seconds ===========
DO *NOT* COMMIT!
[sympy__sympy__1.5] [sympy__sympy-16503] Return Code: 1
>>>>> Some Tests Failed
[sympy__sympy__1.5] [sympy__sympy-16503] Test script run successful