-
Notifications
You must be signed in to change notification settings - Fork 24
/
sympy__sympy-13895.gpt-4-0125-preview.eval.log
196 lines (181 loc) · 9.48 KB
/
sympy__sympy-13895.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
[sympy__sympy__1.1] [sympy__sympy-13895] Task Metadata:
- Instance ID: sympy__sympy-13895
- Testbed: sympy__sympy__1.1
-
- Evaluation Model: gpt-4-0125-preview
[sympy__sympy__1.1] [sympy__sympy-13895] Command: git status --porcelain
[sympy__sympy__1.1] [sympy__sympy-13895] 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-13895] Std. Output:
[sympy__sympy__1.1] [sympy__sympy-13895] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-13895] Command: git -c advice.detachedHead=false checkout 4da0b64558e9551a11a99bccc63557ba34f50c58
[sympy__sympy__1.1] [sympy__sympy-13895] 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-13895] Std. Output:
Previous HEAD position was ec9e3c0436 Merge pull request #14817 from jashan498/print_mat_fix
HEAD is now at 4da0b64558 Merge pull request #13844 from Yathartha22/exponential
[sympy__sympy__1.1] [sympy__sympy-13895] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-13895] Command: git apply -v /home/swe-bench/temp_sympy__sympy-13895_pred_try.patch
[sympy__sympy__1.1] [sympy__sympy-13895] 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-13895] Std. Output:
Checking patch sympy/simplify/simplify.py...
Applied patch sympy/simplify/simplify.py cleanly.
[sympy__sympy__1.1] [sympy__sympy-13895] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-13895] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.1] [sympy__sympy-13895] Command: git apply -v -R /home/swe-bench/temp_sympy__sympy-13895_pred_try.patch
[sympy__sympy__1.1] [sympy__sympy-13895] 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-13895] Std. Output:
Checking patch sympy/simplify/simplify.py...
Applied patch sympy/simplify/simplify.py cleanly.
[sympy__sympy__1.1] [sympy__sympy-13895] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-13895] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.1] [sympy__sympy-13895] Command: git apply -v /home/swe-bench/temp_sympy__sympy-13895_pred.patch
[sympy__sympy__1.1] [sympy__sympy-13895] 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-13895] Std. Output:
Checking patch sympy/simplify/simplify.py...
Applied patch sympy/simplify/simplify.py cleanly.
[sympy__sympy__1.1] [sympy__sympy-13895] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-13895] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[sympy__sympy__1.1] [sympy__sympy-13895] Command: git restore sympy/core/tests/test_numbers.py
[sympy__sympy__1.1] [sympy__sympy-13895] 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-13895] Std. Output:
[sympy__sympy__1.1] [sympy__sympy-13895] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-13895] Command: git apply -v /home/swe-bench/temp_sympy__sympy-13895_test.patch
[sympy__sympy__1.1] [sympy__sympy-13895] 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-13895] Std. Output:
Checking patch sympy/core/tests/test_numbers.py...
Applied patch sympy/core/tests/test_numbers.py cleanly.
[sympy__sympy__1.1] [sympy__sympy-13895] Return Code: 0
[sympy__sympy__1.1] [sympy__sympy-13895] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: conda run -n sympy__sympy__1.1 bin/test -C --verbose sympy/core/tests/test_numbers.py;
[sympy__sympy__1.1] [sympy__sympy-13895] Command: conda run -n sympy__sympy__1.1 bin/test -C --verbose sympy/core/tests/test_numbers.py
[sympy__sympy__1.1] [sympy__sympy-13895] 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-13895] 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/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/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
ERROR conda.cli.main_run:execute(124): `conda run bin/test -C --verbose sympy/core/tests/test_numbers.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: 69603264
hash randomization: on (PYTHONHASHSEED=153266943)
sympy/core/tests/test_numbers.py[86]
test_integers_cache ok
test_seterr ok
test_mod ok
test_divmod ok
test_igcd ok
test_igcd_lehmer ok
test_igcd2 ok
test_ilcm ok
test_igcdex ok
test_Integer_new ok
test_Rational_new ok
test_Number_new ok
test_Rational_cmp ok
test_Float ok
test_float_mpf ok
test_Float_RealElement ok
test_Float_default_to_highprec_from_str ok
test_Float_eval ok
test_Float_issue_2107 ok
test_Float_from_tuple ok
test_Infinity ok
test_Infinity_2 ok
test_Mul_Infinity_Zero ok
test_Div_By_Zero ok
test_Infinity_inequations ok
test_NaN ok
test_special_numbers ok
test_powers ok
test_integer_nthroot_overflow ok
test_isqrt ok
test_powers_Integer F
test_powers_Rational ok
test_powers_Float ok
test_abs1 ok
test_accept_int ok
test_dont_accept_str ok
test_int ok
test_long ok
test_real_bug ok
test_bug_sqrt ok
test_pi_Pi ok
test_no_len ok
test_issue_3321 ok
test_issue_3692 ok
test_issue_3423 ok
test_issue_3449 ok
test_issue_13890 F
test_Integer_factors ok
test_Rational_factors ok
test_issue_4107 ok
test_IntegerInteger ok
test_Rational_gcd_lcm_cofactors ok
test_Float_gcd_lcm_cofactors ok
test_issue_4611 ok
test_conversion_to_mpmath ok
test_relational ok
test_Integer_as_index ok
test_Rational_int ok
test_zoo ok
test_issue_4122 ok
test_GoldenRatio_expand ok
test_as_content_primitive ok
test_hashing_sympy_integers ok
test_issue_4172 ok
test_mpmath_issues f
test_Catalan_EulerGamma_prec ok
test_Float_eq ok
test_int_NumberSymbols ok
test_issue_6640 ok
test_issue_6349 ok
test_mpf_norm ok
test_latex ok
test_issue_7742 ok
test_simplify_AlgebraicNumber ok
test_Float_idempotence ok
test_comp ok
test_issue_9491 ok
test_issue_10063 ok
test_issue_10020 ok
test_invert_numbers ok
test_mod_inverse ok
test_golden_ratio_rewrite_as_sqrt ok
test_comparisons_with_unknown_type ok
test_NumberSymbol_comparison ok
test_Integer_precision ok
test_numpy_to_float numpy not installed. Abort numpy tests. s [FAIL]
________________________________________________________________________________
_____________ sympy/core/tests/test_numbers.py:test_powers_Integer _____________
File "/home/swe-bench/sympy__sympy/sympy/core/tests/test_numbers.py", line 1025, in test_powers_Integer
assert (-8) ** Rational(2, 5) == \
AssertionError
________________________________________________________________________________
______________ sympy/core/tests/test_numbers.py:test_issue_13890 _______________
File "/home/swe-bench/sympy__sympy/sympy/core/tests/test_numbers.py", line 1208, in test_issue_13890
assert abs(e.subs(x,a).evalf() - f.subs(x,a).evalf()) < 1e-15
AssertionError
tests finished: 82 passed, 2 failed, 1 skipped, 1 expected to fail,
in 1.81 seconds
DO *NOT* COMMIT!
[sympy__sympy__1.1] [sympy__sympy-13895] Return Code: 1
>>>>> Some Tests Failed
[sympy__sympy__1.1] [sympy__sympy-13895] Test script run successful