-
Notifications
You must be signed in to change notification settings - Fork 24
/
sympy__sympy-17022.gpt-4-0125-preview.eval.log
130 lines (114 loc) · 7.32 KB
/
sympy__sympy-17022.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
[sympy__sympy__1.5] [sympy__sympy-17022] Task Metadata:
- Instance ID: sympy__sympy-17022
- Testbed: sympy__sympy__1.5
-
- Evaluation Model: gpt-4-0125-preview
[sympy__sympy__1.5] [sympy__sympy-17022] Command: git -c advice.detachedHead=false checkout f91de695585c1fbc7d4f49ee061f64fcb1c2c4d8
[sympy__sympy__1.5] [sympy__sympy-17022] 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-17022] Std. Output:
Previous HEAD position was 70381f282f Merge pull request #18084 from oscarbenjamin/pr_lambdify_fix
HEAD is now at f91de69558 Merge pull request #17016 from tBuLi/fit_17015
[sympy__sympy__1.5] [sympy__sympy-17022] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-17022] Command: git apply -v /home/swe-bench/temp_sympy__sympy-17022_pred_try.patch
[sympy__sympy__1.5] [sympy__sympy-17022] 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-17022] Std. Output:
Checking patch sympy/printing/pycode.py...
Applied patch sympy/printing/pycode.py cleanly.
[sympy__sympy__1.5] [sympy__sympy-17022] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-17022] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.5] [sympy__sympy-17022] Command: git apply -v -R /home/swe-bench/temp_sympy__sympy-17022_pred_try.patch
[sympy__sympy__1.5] [sympy__sympy-17022] 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-17022] Std. Output:
Checking patch sympy/printing/pycode.py...
Applied patch sympy/printing/pycode.py cleanly.
[sympy__sympy__1.5] [sympy__sympy-17022] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-17022] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.5] [sympy__sympy-17022] Command: git apply -v /home/swe-bench/temp_sympy__sympy-17022_pred.patch
[sympy__sympy__1.5] [sympy__sympy-17022] 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-17022] Std. Output:
Checking patch sympy/printing/pycode.py...
Applied patch sympy/printing/pycode.py cleanly.
[sympy__sympy__1.5] [sympy__sympy-17022] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-17022] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[sympy__sympy__1.5] [sympy__sympy-17022] Command: git restore sympy/printing/tests/test_numpy.py
[sympy__sympy__1.5] [sympy__sympy-17022] 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-17022] Std. Output:
[sympy__sympy__1.5] [sympy__sympy-17022] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-17022] Command: git restore sympy/printing/tests/test_pycode.py
[sympy__sympy__1.5] [sympy__sympy-17022] 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-17022] Std. Output:
[sympy__sympy__1.5] [sympy__sympy-17022] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-17022] Command: git apply -v /home/swe-bench/temp_sympy__sympy-17022_test.patch
[sympy__sympy__1.5] [sympy__sympy-17022] 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-17022] Std. Output:
Checking patch sympy/printing/tests/test_numpy.py...
Checking patch sympy/printing/tests/test_pycode.py...
Applied patch sympy/printing/tests/test_numpy.py cleanly.
Applied patch sympy/printing/tests/test_pycode.py cleanly.
[sympy__sympy__1.5] [sympy__sympy-17022] Return Code: 0
[sympy__sympy__1.5] [sympy__sympy-17022] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: conda run -n sympy__sympy__1.5 bin/test -C --verbose sympy/printing/tests/test_numpy.py sympy/printing/tests/test_pycode.py;
[sympy__sympy__1.5] [sympy__sympy-17022] Command: conda run -n sympy__sympy__1.5 bin/test -C --verbose sympy/printing/tests/test_numpy.py sympy/printing/tests/test_pycode.py
[sympy__sympy__1.5] [sympy__sympy-17022] 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-17022] Std. Output:
ERROR conda.cli.main_run:execute(124): `conda run bin/test -C --verbose sympy/printing/tests/test_numpy.py sympy/printing/tests/test_pycode.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: 29918312
hash randomization: on (PYTHONHASHSEED=2476562059)
sympy/printing/tests/test_numpy.py[18]
test_numpy_piecewise_regression ok
test_sum NumPy not installed s
test_multiple_sums NumPy not installed s
test_codegen_einsum NumPy not installed s
test_codegen_extra NumPy not installed s
test_relational NumPy not installed s
test_mod NumPy not installed s
test_expm1 NumPy not installed s
test_log1p NumPy not installed s
test_hypot NumPy not installed s
test_log10 NumPy not installed s
test_exp2 NumPy not installed s
test_log2 NumPy not installed s
test_Sqrt NumPy not installed s
test_sqrt NumPy not installed s
test_issue_15601 Numpy not installed s
test_16857 NumPy not installed s
test_issue_17006 NumPy not installed s [OK]
sympy/printing/tests/test_pycode.py[9]
test_PythonCodePrinter ok
test_MpmathPrinter ok
test_NumPyPrinter F
test_SciPyPrinter ok
test_pycode_reserved_words ok
test_printmethod ok
test_codegen_ast_nodes ok
test_issue_14283 ok
test_NumPyPrinter_print_seq E [FAIL]
________________________________________________________________________________
_______ sympy/printing/tests/test_pycode.py:test_NumPyPrinter_print_seq ________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_pycode.py", line 101, in test_NumPyPrinter_print_seq
assert n._print_seq(range(2)) == '(0, 1,)'
File "/home/swe-bench/sympy__sympy/sympy/printing/pycode.py", line 496, in _print_seq
from sympy.matrices.expressions.identity import Identity
ModuleNotFoundError: No module named 'sympy.matrices.expressions.identity'
________________________________________________________________________________
____________ sympy/printing/tests/test_pycode.py:test_NumPyPrinter _____________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/printing/tests/test_pycode.py", line 52, in test_NumPyPrinter
assert p.doprint(Identity(3)) == "numpy.eye(3)"
AssertionError
tests finished: 8 passed, 1 failed, 17 skipped, 1 exceptions, in 0.06 seconds =
DO *NOT* COMMIT!
[sympy__sympy__1.5] [sympy__sympy-17022] Return Code: 1
>>>>> Some Tests Failed
[sympy__sympy__1.5] [sympy__sympy-17022] Test script run successful