-
Notifications
You must be signed in to change notification settings - Fork 24
/
sympy__sympy-15308.gpt-4-0125-preview.eval.log
254 lines (239 loc) · 10.9 KB
/
sympy__sympy-15308.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
[sympy__sympy__1.4] [sympy__sympy-15308] Task Metadata:
- Instance ID: sympy__sympy-15308
- Testbed: sympy__sympy__1.4
-
- Evaluation Model: gpt-4-0125-preview
[sympy__sympy__1.4] [sympy__sympy-15308] Command: git -c advice.detachedHead=false checkout fb59d703e6863ed803c98177b59197b5513332e9
[sympy__sympy__1.4] [sympy__sympy-15308] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.4] [sympy__sympy-15308] Std. Output:
Previous HEAD position was 73b3f90093 Merge pull request #16364 from oscargus/lgtmfixes2
HEAD is now at fb59d703e6 Merge pull request #15290 from oscarbenjamin/subs_func_doit2
[sympy__sympy__1.4] [sympy__sympy-15308] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-15308] Command: git apply -v /home/swe-bench/temp_sympy__sympy-15308_pred_try.patch
[sympy__sympy__1.4] [sympy__sympy-15308] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.4] [sympy__sympy-15308] Std. Output:
Checking patch sympy/matrices/expressions/trace.py...
Applied patch sympy/matrices/expressions/trace.py cleanly.
[sympy__sympy__1.4] [sympy__sympy-15308] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-15308] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.4] [sympy__sympy-15308] Command: git apply -v -R /home/swe-bench/temp_sympy__sympy-15308_pred_try.patch
[sympy__sympy__1.4] [sympy__sympy-15308] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.4] [sympy__sympy-15308] Std. Output:
Checking patch sympy/matrices/expressions/trace.py...
Applied patch sympy/matrices/expressions/trace.py cleanly.
[sympy__sympy__1.4] [sympy__sympy-15308] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-15308] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.4] [sympy__sympy-15308] Command: git apply -v /home/swe-bench/temp_sympy__sympy-15308_pred.patch
[sympy__sympy__1.4] [sympy__sympy-15308] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.4] [sympy__sympy-15308] Std. Output:
Checking patch sympy/matrices/expressions/trace.py...
Applied patch sympy/matrices/expressions/trace.py cleanly.
[sympy__sympy__1.4] [sympy__sympy-15308] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-15308] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[sympy__sympy__1.4] [sympy__sympy-15308] Command: git restore sympy/printing/tests/test_latex.py
[sympy__sympy__1.4] [sympy__sympy-15308] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.4] [sympy__sympy-15308] Std. Output:
[sympy__sympy__1.4] [sympy__sympy-15308] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-15308] Command: git apply -v /home/swe-bench/temp_sympy__sympy-15308_test.patch
[sympy__sympy__1.4] [sympy__sympy-15308] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.4] [sympy__sympy-15308] Std. Output:
Checking patch sympy/printing/tests/test_latex.py...
Applied patch sympy/printing/tests/test_latex.py cleanly.
[sympy__sympy__1.4] [sympy__sympy-15308] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-15308] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: conda run -n sympy__sympy__1.4 bin/test -C --verbose sympy/printing/tests/test_latex.py;
[sympy__sympy__1.4] [sympy__sympy-15308] Command: conda run -n sympy__sympy__1.4 bin/test -C --verbose sympy/printing/tests/test_latex.py
[sympy__sympy__1.4] [sympy__sympy-15308] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[sympy__sympy__1.4] [sympy__sympy-15308] Std. Output:
/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/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:351: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif elem is 0:
/home/swe-bench/sympy__sympy/sympy/physics/vector/printing.py:151: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(base_split) is not 1:
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.4/bin/python (3.9.19-final-0) [CPython]
architecture: 64-bit
cache: no
ground types: python
numpy: None
random seed: 77163629
hash randomization: on (PYTHONHASHSEED=420905958)
sympy/printing/tests/test_latex.py[126]
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
test_issue_14041 ok
test_issue_9216 ok
test_latex_printer_tensor ok
test_trace E
test_print_basic F [FAIL]
________________________________________________________________________________
______________ sympy/printing/tests/test_latex.py:test_issue_8470 ______________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_latex.py", line 1669, in test_issue_8470
e = parse_expr("-B*A", evaluate=False)
File "/home/swe-bench/sympy__sympy/sympy/parsing/sympy_parser.py", line 963, 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 ______________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_latex.py", line 1702, in test_issue_13559
expr = parse_expr('5/1', evaluate=False)
File "/home/swe-bench/sympy__sympy/sympy/parsing/sympy_parser.py", line 963, 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_trace _________________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_latex.py", line 1875, in test_trace
assert latex(trace(A)) == r"\mathrm{tr}\left (A \right )"
File "/home/swe-bench/sympy__sympy/sympy/matrices/expressions/trace.py", line 104, in trace
return Trace(expr)
File "/home/swe-bench/sympy__sympy/sympy/core/function.py", line 440, in __new__
result = super(Function, cls).__new__(cls, *args, **options)
File "/home/swe-bench/sympy__sympy/sympy/core/function.py", line 249, in __new__
evaluated = cls.eval(*args)
File "/home/swe-bench/sympy__sympy/sympy/matrices/expressions/trace.py", line 99, in eval
return arg.trace()
AttributeError: 'MatrixSymbol' object has no attribute 'trace'
________________________________________________________________________________
_____________ sympy/printing/tests/test_latex.py:test_print_basic ______________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_latex.py", line 1898, in test_print_basic
assert latex(unimplemented_expr(x)) == r'UnimplementedExpr\left(x\right)'
AssertionError
tests finished: 120 passed, 1 failed, 2 expected to fail, 3 exceptions,
in 4.84 seconds
DO *NOT* COMMIT!
[sympy__sympy__1.4] [sympy__sympy-15308] Return Code: 1
>>>>> Some Tests Failed
[sympy__sympy__1.4] [sympy__sympy-15308] Test script run successful