-
Notifications
You must be signed in to change notification settings - Fork 23
/
sympy__sympy-16106.20240402_sweagent_gpt4.eval.log
243 lines (224 loc) · 14 KB
/
sympy__sympy-16106.20240402_sweagent_gpt4.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
[sympy__sympy__1.4] [sympy__sympy-16106] Task Metadata:
- Instance ID: sympy__sympy-16106
- Testbed: sympy__sympy__1.4
- Evaluation Model: 20240402_sweagent_gpt4
- Python version: Python 3.11.8
[sympy__sympy__1.4] [sympy__sympy-16106] Command: git -c advice.detachedHead=false checkout 0e987498b00167fdd4a08a41c852a97cb70ce8f2
[sympy__sympy__1.4] [sympy__sympy-16106] 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-16106] Std. Output:
Previous HEAD position was 73b3f90093 Merge pull request #16364 from oscargus/lgtmfixes2
HEAD is now at 0e987498b0 Merge pull request #16185 from RituRajSingh878/diff
[sympy__sympy__1.4] [sympy__sympy-16106] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-16106] Command: git diff > /home/swe-bench/temp_sympy__sympy-16106_pred_try_init.patch
[sympy__sympy__1.4] [sympy__sympy-16106] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": true, "shell": true, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.4] [sympy__sympy-16106] Std. Output:
[sympy__sympy__1.4] [sympy__sympy-16106] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-16106] Command: git apply -v /home/swe-bench/temp_sympy__sympy-16106_pred_try.patch
[sympy__sympy__1.4] [sympy__sympy-16106] 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-16106] Std. Output:
Checking patch sympy/printing/mathml.py...
Applied patch sympy/printing/mathml.py cleanly.
[sympy__sympy__1.4] [sympy__sympy-16106] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-16106] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.4] [sympy__sympy-16106] Command: git diff > /home/swe-bench/temp_sympy__sympy-16106_pred_try_init.patch
[sympy__sympy__1.4] [sympy__sympy-16106] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": true, "shell": true, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.4] [sympy__sympy-16106] Std. Output:
[sympy__sympy__1.4] [sympy__sympy-16106] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-16106] Command: git apply -v -R /home/swe-bench/temp_sympy__sympy-16106_pred_try.patch
[sympy__sympy__1.4] [sympy__sympy-16106] 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-16106] Std. Output:
Checking patch sympy/printing/mathml.py...
Applied patch sympy/printing/mathml.py cleanly.
[sympy__sympy__1.4] [sympy__sympy-16106] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-16106] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.4] [sympy__sympy-16106] Command: git diff > /home/swe-bench/temp_sympy__sympy-16106_pred_init.patch
[sympy__sympy__1.4] [sympy__sympy-16106] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": true, "shell": true, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.4] [sympy__sympy-16106] Std. Output:
[sympy__sympy__1.4] [sympy__sympy-16106] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-16106] Command: git apply -v /home/swe-bench/temp_sympy__sympy-16106_pred.patch
[sympy__sympy__1.4] [sympy__sympy-16106] 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-16106] Std. Output:
Checking patch sympy/printing/mathml.py...
Applied patch sympy/printing/mathml.py cleanly.
[sympy__sympy__1.4] [sympy__sympy-16106] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-16106] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[sympy__sympy__1.4] [sympy__sympy-16106] Command: git diff > /home/swe-bench/temp_sympy__sympy-16106_test_init.patch
[sympy__sympy__1.4] [sympy__sympy-16106] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": true, "shell": true, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.4] [sympy__sympy-16106] Std. Output:
[sympy__sympy__1.4] [sympy__sympy-16106] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-16106] Command: git restore sympy/printing/tests/test_mathml.py
[sympy__sympy__1.4] [sympy__sympy-16106] 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-16106] Std. Output:
[sympy__sympy__1.4] [sympy__sympy-16106] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-16106] Command: git apply -v /home/swe-bench/temp_sympy__sympy-16106_test.patch
[sympy__sympy__1.4] [sympy__sympy-16106] 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-16106] Std. Output:
Checking patch sympy/printing/tests/test_mathml.py...
Applied patch sympy/printing/tests/test_mathml.py cleanly.
[sympy__sympy__1.4] [sympy__sympy-16106] Return Code: 0
[sympy__sympy__1.4] [sympy__sympy-16106] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: conda run -n sympy__sympy__1.4 bin/test -C --verbose sympy/printing/tests/test_mathml.py;
[sympy__sympy__1.4] [sympy__sympy-16106] Command: conda run -n sympy__sympy__1.4 bin/test -C --verbose sympy/printing/tests/test_mathml.py
[sympy__sympy__1.4] [sympy__sympy-16106] 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-16106] Std. Output:
/home/swe-bench/sympy__sympy/sympy/solvers/diophantine.py:3186: 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:520: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.xscale is 'log':
/home/swe-bench/sympy__sympy/sympy/plotting/plot.py:540: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.xscale is 'log':
/home/swe-bench/sympy__sympy/sympy/plotting/plot.py:553: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.xscale is 'log':
/home/swe-bench/sympy__sympy/sympy/plotting/plot.py:560: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.xscale is 'log':
ERROR conda.cli.main_run:execute(124): `conda run bin/test -C --verbose sympy/printing/tests/test_mathml.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: 38753539
hash randomization: on (PYTHONHASHSEED=2875201070)
sympy/printing/tests/test_mathml.py[66]
test_mathml_printer ok
test_content_printmethod ok
test_content_mathml_core ok
test_content_mathml_functions ok
test_content_mathml_limits ok
test_content_mathml_integrals ok
test_content_mathml_matrices ok
test_content_mathml_sums ok
test_content_mathml_tuples ok
test_content_mathml_add ok
test_content_mathml_Rational ok
test_content_mathml_constants ok
test_content_mathml_trig ok
test_content_mathml_relational ok
test_content_symbol ok
test_content_mathml_greek ok
test_content_mathml_order ok
test_content_settings ok
test_presentation_printmethod ok
test_presentation_mathml_core ok
test_presentation_mathml_functions ok
test_print_derivative ok
test_presentation_mathml_limits ok
test_presentation_mathml_integrals ok
test_presentation_mathml_matrices ok
test_presentation_mathml_sums ok
test_presentation_mathml_add ok
test_presentation_mathml_Rational ok
test_presentation_mathml_constants ok
test_presentation_mathml_trig ok
test_presentation_mathml_relational ok
test_presentation_symbol ok
test_presentation_mathml_greek ok
test_presentation_mathml_order ok
test_print_intervals F
test_print_tuples ok
test_print_re_im ok
test_print_Abs F
test_print_Determinant F
test_presentation_settings ok
test_toprettyxml_hooking ok
test_print_domains ok
test_print_expression_with_minus ok
test_print_AssocOp ok
test_print_basic ok
test_mat_delim_print F
test_ln_notation_print ok
test_mul_symbol_print ok
test_print_lerchphi ok
test_print_polylog ok
test_print_set_frozenset F
test_print_FiniteSet F
test_print_SetOp F
test_print_logic ok
test_root_notation_print ok
test_fold_frac_powers_print ok
test_fold_short_frac_print ok
test_print_factorials ok
test_print_floor F
test_print_ceiling F
test_print_Lambda ok
test_print_conjugate ok
test_print_matrix_symbol ok
test_print_random_symbol ok
test_print_IndexedBase F
test_print_Indexed F [FAIL]
________________________________________________________________________________
___________ sympy/printing/tests/test_mathml.py:test_print_intervals ___________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_mathml.py", line 922, in test_print_intervals
assert mpp.doprint(Interval(0, a)) == '<mrow><mfenced close="]" open="["><mn>0</mn><mi>a</mi></mfenced></mrow>'
AssertionError
________________________________________________________________________________
______________ sympy/printing/tests/test_mathml.py:test_print_Abs ______________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_mathml.py", line 948, in test_print_Abs
assert mpp.doprint(Abs(x)) == '<mrow><mfenced close="|" open="|"><mi>x</mi></mfenced></mrow>'
AssertionError
________________________________________________________________________________
__________ sympy/printing/tests/test_mathml.py:test_print_Determinant __________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_mathml.py", line 953, in test_print_Determinant
assert mpp.doprint(Determinant(Matrix([[1, 2], [3, 4]]))) == '<mrow><mfenced close="|" open="|"><mfenced close="]" open="["><mtable><mtr><mtd><mn>1</mn></mtd><mtd><mn>2</mn></mtd></mtr><mtr><mtd><mn>3</mn></mtd><mtd><mn>4</mn></mtd></mtr></mtable></mfenced></mfenced></mrow>'
AssertionError
________________________________________________________________________________
___________ sympy/printing/tests/test_mathml.py:test_mat_delim_print ___________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_mathml.py", line 1009, in test_mat_delim_print
assert mathml(expr, printer='presentation', mat_delim='[') == '<mfenced close="]" open="["><mtable><mtr><mtd><mn>1</mn></mtd><mtd><mn>2</mn></mtd></mtr><mtr><mtd><mn>3</mn></mtd><mtd><mn>4</mn></mtd></mtr></mtable></mfenced>'
AssertionError
________________________________________________________________________________
_________ sympy/printing/tests/test_mathml.py:test_print_set_frozenset _________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_mathml.py", line 1041, in test_print_set_frozenset
assert mpp.doprint(f) == '<mfenced close="}" open="{"><mn>1</mn><mn>3</mn><mn>5</mn></mfenced>'
AssertionError
________________________________________________________________________________
___________ sympy/printing/tests/test_mathml.py:test_print_FiniteSet ___________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_mathml.py", line 1048, in test_print_FiniteSet
assert mpp.doprint(f1) == '<mfenced close="}" open="{"><mn>1</mn><mn>3</mn><mi>x</mi></mfenced>'
AssertionError
________________________________________________________________________________
_____________ sympy/printing/tests/test_mathml.py:test_print_SetOp _____________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_mathml.py", line 1055, in test_print_SetOp
assert mpp.doprint(Union(f1, f2, evaluate=False)) == '<mrow><mfenced close="}" open="{"><mn>1</mn><mn>3</mn><mi>x</mi></mfenced><mo>∪</mo><mfenced close="}" open="{"><mn>2</mn><mn>4</mn><mi>y</mi></mfenced></mrow>'
AssertionError
________________________________________________________________________________
_____________ sympy/printing/tests/test_mathml.py:test_print_floor _____________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_mathml.py", line 1110, in test_print_floor
assert mathml(expr, printer='presentation') == '<mrow><mfenced close="⌋" open="⌊"><mi>x</mi></mfenced></mrow>'
AssertionError
________________________________________________________________________________
____________ sympy/printing/tests/test_mathml.py:test_print_ceiling ____________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_mathml.py", line 1115, in test_print_ceiling
assert mathml(expr, printer='presentation') == '<mrow><mfenced close="⌉" open="⌈"><mi>x</mi></mfenced></mrow>'
AssertionError
________________________________________________________________________________
__________ sympy/printing/tests/test_mathml.py:test_print_IndexedBase __________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_mathml.py", line 1146, in test_print_IndexedBase
assert mathml(IndexedBase(a)[b],printer='presentation') == '<msub><mi>a</mi><mi>b</mi></msub>'
AssertionError
________________________________________________________________________________
____________ sympy/printing/tests/test_mathml.py:test_print_Indexed ____________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_mathml.py", line 1153, in test_print_Indexed
assert mathml(IndexedBase(a),printer = 'presentation') == '<mi>a</mi>'
AssertionError
============ tests finished: 55 passed, 11 failed, in 0.23 seconds =============
DO *NOT* COMMIT!
[sympy__sympy__1.4] [sympy__sympy-16106] Return Code: 1
>>>>> Some Tests Failed
[sympy__sympy__1.4] [sympy__sympy-16106] Test script run successful