-
Notifications
You must be signed in to change notification settings - Fork 24
/
sympy__sympy-16792.gpt-4-0125-preview.eval.log
156 lines (142 loc) · 7.77 KB
/
sympy__sympy-16792.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
[sympy__sympy__1.5] [sympy__sympy-16792] Task Metadata:
- Instance ID: sympy__sympy-16792
- Testbed: sympy__sympy__1.5
-
- Evaluation Model: gpt-4-0125-preview
[sympy__sympy__1.5] [sympy__sympy-16792] Command: git -c advice.detachedHead=false checkout 09786a173e7a0a488f46dd6000177c23e5d24eed
[sympy__sympy__1.5] [sympy__sympy-16792] 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-16792] Std. Output:
Previous HEAD position was 70381f282f Merge pull request #18084 from oscarbenjamin/pr_lambdify_fix
HEAD is now at 09786a173e Merge pull request #16652 from parkereberry1923/Issue-12134-Python-Numbers-ABC
[sympy__sympy__1.5] [sympy__sympy-16792] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-16792] Command: git apply -v /home/swe-bench/temp_sympy__sympy-16792_pred_try.patch
[sympy__sympy__1.5] [sympy__sympy-16792] 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-16792] Std. Output:
Checking patch sympy/utilities/autowrap.py...
Applied patch sympy/utilities/autowrap.py cleanly.
[sympy__sympy__1.5] [sympy__sympy-16792] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-16792] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.5] [sympy__sympy-16792] Command: git apply -v -R /home/swe-bench/temp_sympy__sympy-16792_pred_try.patch
[sympy__sympy__1.5] [sympy__sympy-16792] 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-16792] Std. Output:
Checking patch sympy/utilities/autowrap.py...
Applied patch sympy/utilities/autowrap.py cleanly.
[sympy__sympy__1.5] [sympy__sympy-16792] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-16792] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.5] [sympy__sympy-16792] Command: git apply -v /home/swe-bench/temp_sympy__sympy-16792_pred.patch
[sympy__sympy__1.5] [sympy__sympy-16792] 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-16792] Std. Output:
Checking patch sympy/utilities/autowrap.py...
Applied patch sympy/utilities/autowrap.py cleanly.
[sympy__sympy__1.5] [sympy__sympy-16792] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-16792] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[sympy__sympy__1.5] [sympy__sympy-16792] Command: git restore sympy/utilities/tests/test_codegen.py
[sympy__sympy__1.5] [sympy__sympy-16792] 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-16792] Std. Output:
[sympy__sympy__1.5] [sympy__sympy-16792] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-16792] Command: git apply -v /home/swe-bench/temp_sympy__sympy-16792_test.patch
[sympy__sympy__1.5] [sympy__sympy-16792] 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-16792] Std. Output:
Checking patch sympy/utilities/tests/test_codegen.py...
Applied patch sympy/utilities/tests/test_codegen.py cleanly.
[sympy__sympy__1.5] [sympy__sympy-16792] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-16792] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: conda run -n sympy__sympy__1.5 bin/test -C --verbose sympy/utilities/tests/test_codegen.py;
[sympy__sympy__1.5] [sympy__sympy-16792] Command: conda run -n sympy__sympy__1.5 bin/test -C --verbose sympy/utilities/tests/test_codegen.py
[sympy__sympy__1.5] [sympy__sympy-16792] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[sympy__sympy__1.5] [sympy__sympy-16792] 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:644: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.xscale is 'log':
/home/swe-bench/sympy__sympy/sympy/plotting/plot.py:664: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.xscale is 'log':
/home/swe-bench/sympy__sympy/sympy/plotting/plot.py:677: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.xscale is 'log':
/home/swe-bench/sympy__sympy/sympy/plotting/plot.py:684: SyntaxWarning: "is" with a literal. Did you mean "=="?
if self.xscale is 'log':
/home/swe-bench/sympy__sympy/sympy/utilities/codegen.py:277: SyntaxWarning: "is" with a literal. Did you mean "=="?
if dt is "int" and not element.is_integer:
/home/swe-bench/sympy__sympy/sympy/utilities/codegen.py:279: SyntaxWarning: "is" with a literal. Did you mean "=="?
if dt is "float" and not element.is_real:
ERROR conda.cli.main_run:execute(124): `conda run bin/test -C --verbose sympy/utilities/tests/test_codegen.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: 35250481
hash randomization: on (PYTHONHASHSEED=1783834170)
sympy/utilities/tests/test_codegen.py[56]
test_Routine_argument_order ok
test_empty_c_code ok
test_empty_c_code_with_comment ok
test_empty_c_header ok
test_simple_c_code ok
test_c_code_reserved_words ok
test_numbersymbol_c_code ok
test_c_code_argument_order ok
test_simple_c_header ok
test_simple_c_codegen ok
test_multiple_results_c ok
test_no_results_c ok
test_ansi_math1_codegen ok
test_ansi_math2_codegen ok
test_complicated_codegen ok
test_loops_c ok
test_dummy_loops_c ok
test_partial_loops_c ok
test_output_arg_c ok
test_output_arg_c_reserved_words ok
test_ccode_results_named_ordered ok
test_ccode_matrixsymbol_slice ok
test_ccode_cse ok
test_ccode_unused_array_arg F
test_empty_f_code ok
test_empty_f_code_with_header ok
test_empty_f_header ok
test_simple_f_code ok
test_numbersymbol_f_code ok
test_erf_f_code ok
test_f_code_argument_order ok
test_simple_f_header ok
test_simple_f_codegen ok
test_multiple_results_f ok
test_no_results_f ok
test_intrinsic_math_codegen ok
test_intrinsic_math2_codegen ok
test_complicated_codegen_f95 ok
test_loops ok
test_dummy_loops_f95 ok
test_loops_InOut ok
test_partial_loops_f ok
test_output_arg_f ok
test_inline_function ok
test_f_code_call_signature_wrap ok
test_check_case ok
test_check_case_false_positive ok
test_c_fortran_omit_routine_name ok
test_fcode_matrix_output ok
test_fcode_results_named_ordered ok
test_fcode_matrixsymbol_slice ok
test_fcode_matrixsymbol_slice_autoname ok
test_global_vars ok
test_custom_codegen ok
test_c_with_printer ok
test_fcode_complex ok [FAIL]
________________________________________________________________________________
______ sympy/utilities/tests/test_codegen.py:test_ccode_unused_array_arg _______
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/utilities/tests/test_codegen.py", line 602, in test_ccode_unused_array_arg
assert source == expected
AssertionError
============= tests finished: 55 passed, 1 failed, in 2.50 seconds =============
DO *NOT* COMMIT!
[sympy__sympy__1.5] [sympy__sympy-16792] Return Code: 1
>>>>> Some Tests Failed
[sympy__sympy__1.5] [sympy__sympy-16792] Test script run successful