-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathsympy__sympy-14317.gpt-4-0125-preview.eval.log
259 lines (243 loc) · 12.5 KB
/
sympy__sympy-14317.gpt-4-0125-preview.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
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
[sympy__sympy__1.1] [sympy__sympy-14317] Task Metadata:
- Instance ID: sympy__sympy-14317
- Testbed: sympy__sympy__1.1
-
- Evaluation Model: gpt-4-0125-preview
[sympy__sympy__1.1] [sympy__sympy-14317] Command: git status --porcelain
[sympy__sympy__1.1] [sympy__sympy-14317] 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-14317] Std. Output:
[sympy__sympy__1.1] [sympy__sympy-14317] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14317] Command: git -c advice.detachedHead=false checkout fb536869fb7aa28b2695ad7a3b70949926b291c4
[sympy__sympy__1.1] [sympy__sympy-14317] 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-14317] Std. Output:
Previous HEAD position was ec9e3c0436 Merge pull request #14817 from jashan498/print_mat_fix
HEAD is now at fb536869fb Merge pull request #14278 from sidhantnagpal/base-complex-power
[sympy__sympy__1.1] [sympy__sympy-14317] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14317] Command: git apply -v /home/swe-bench/temp_sympy__sympy-14317_pred_try.patch
[sympy__sympy__1.1] [sympy__sympy-14317] 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-14317] Std. Output:
Checking patch sympy/printing/latex.py...
Applied patch sympy/printing/latex.py cleanly.
[sympy__sympy__1.1] [sympy__sympy-14317] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14317] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.1] [sympy__sympy-14317] Command: git apply -v -R /home/swe-bench/temp_sympy__sympy-14317_pred_try.patch
[sympy__sympy__1.1] [sympy__sympy-14317] 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-14317] Std. Output:
Checking patch sympy/printing/latex.py...
Applied patch sympy/printing/latex.py cleanly.
[sympy__sympy__1.1] [sympy__sympy-14317] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14317] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.1] [sympy__sympy-14317] Command: git apply -v /home/swe-bench/temp_sympy__sympy-14317_pred.patch
[sympy__sympy__1.1] [sympy__sympy-14317] 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-14317] Std. Output:
Checking patch sympy/printing/latex.py...
Applied patch sympy/printing/latex.py cleanly.
[sympy__sympy__1.1] [sympy__sympy-14317] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14317] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[sympy__sympy__1.1] [sympy__sympy-14317] Command: git restore sympy/printing/tests/test_latex.py
[sympy__sympy__1.1] [sympy__sympy-14317] 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-14317] Std. Output:
[sympy__sympy__1.1] [sympy__sympy-14317] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14317] Command: git apply -v /home/swe-bench/temp_sympy__sympy-14317_test.patch
[sympy__sympy__1.1] [sympy__sympy-14317] 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-14317] Std. Output:
Checking patch sympy/printing/tests/test_latex.py...
Hunk #1 succeeded at 1143 (offset 11 lines).
Applied patch sympy/printing/tests/test_latex.py cleanly.
[sympy__sympy__1.1] [sympy__sympy-14317] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-14317] 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-14317] Command: conda run -n sympy__sympy__1.1 bin/test -C --verbose sympy/printing/tests/test_latex.py
[sympy__sympy__1.1] [sympy__sympy-14317] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[sympy__sympy__1.1] [sympy__sympy-14317] 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: 41558669
hash randomization: on (PYTHONHASHSEED=3034274559)
sympy/printing/tests/test_latex.py[123]
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 F
test_latex_Poly_order F
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
test_units ok
test_latex_degree ok [FAIL]
________________________________________________________________________________
______________ sympy/printing/tests/test_latex.py:test_issue_8470 ______________
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_latex.py", line 1661, 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 1694, 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
________________________________________________________________________________
______________ sympy/printing/tests/test_latex.py:test_latex_Poly ______________
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_latex.py", line 1145, in test_latex_Poly
assert latex(Poly(x/y, x)) == \
AssertionError
________________________________________________________________________________
___________ sympy/printing/tests/test_latex.py:test_latex_Poly_order ___________
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_latex.py", line 1152, in test_latex_Poly_order
assert latex(Poly([a, 1, b, 2, c, 3], x)) == \
AssertionError
tests finished: 117 passed, 2 failed, 2 expected to fail, 2 exceptions,
in 6.04 seconds
DO *NOT* COMMIT!
[sympy__sympy__1.1] [sympy__sympy-14317] Return Code: 1
>>>>> Some Tests Failed
[sympy__sympy__1.1] [sympy__sympy-14317] Test script run successful