-
Notifications
You must be signed in to change notification settings - Fork 23
/
sympy__sympy-16792.SWE-bench_Lite_golden.eval.log
148 lines (134 loc) · 7.29 KB
/
sympy__sympy-16792.SWE-bench_Lite_golden.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
[sympy__sympy__1.5] [sympy__sympy-16792] Task Metadata:
- Instance ID: sympy__sympy-16792
- Testbed: sympy__sympy__1.5
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.11.8
[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/codegen.py...
Applied patch sympy/utilities/codegen.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/codegen.py...
Applied patch sympy/utilities/codegen.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/codegen.py...
Applied patch sympy/utilities/codegen.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": 900}
[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:
============================= 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: 18926621
hash randomization: on (PYTHONHASHSEED=234974342)
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 ok
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 [OK]
================== tests finished: 56 passed, in 1.65 seconds ==================
[sympy__sympy__1.5] [sympy__sympy-16792] Return Code: 0
>>>>> All Tests Passed
[sympy__sympy__1.5] [sympy__sympy-16792] Test script run successful