-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathsympy__sympy-12481.gpt-4-0125-preview.eval.log
107 lines (95 loc) · 7.13 KB
/
sympy__sympy-12481.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
[sympy__sympy__1.0] [sympy__sympy-12481] Task Metadata:
- Instance ID: sympy__sympy-12481
- Testbed: sympy__sympy__1.0
- Evaluation Model: gpt-4-0125-preview
- Python version: Python 3.7.17
[sympy__sympy__1.0] [sympy__sympy-12481] Command: git -c advice.detachedHead=false checkout c807dfe7569692cad24f02a08477b70c1679a4dd
[sympy__sympy__1.0] [sympy__sympy-12481] Subprocess args: {"cwd": "/opt/sympy__sympy", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.0] [sympy__sympy-12481] Std. Output:
Previous HEAD position was 50b81f9f6b Merge pull request #12656 from asmeurer/python-rational-optimizations
HEAD is now at c807dfe756 Merge pull request #12455 from valglad/pcoset_table
[sympy__sympy__1.0] [sympy__sympy-12481] Return Code: 0
[sympy__sympy__1.0] [sympy__sympy-12481] Command: git apply -v /opt/temp_sympy__sympy-12481_pred_try.patch
[sympy__sympy__1.0] [sympy__sympy-12481] Subprocess args: {"cwd": "/opt/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.0] [sympy__sympy-12481] Std. Output:
Checking patch sympy/combinatorics/permutations.py...
Applied patch sympy/combinatorics/permutations.py cleanly.
[sympy__sympy__1.0] [sympy__sympy-12481] Return Code: 0
[sympy__sympy__1.0] [sympy__sympy-12481] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.0] [sympy__sympy-12481] Command: git apply -v -R /opt/temp_sympy__sympy-12481_pred_try.patch
[sympy__sympy__1.0] [sympy__sympy-12481] Subprocess args: {"cwd": "/opt/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.0] [sympy__sympy-12481] Std. Output:
Checking patch sympy/combinatorics/permutations.py...
Applied patch sympy/combinatorics/permutations.py cleanly.
[sympy__sympy__1.0] [sympy__sympy-12481] Return Code: 0
[sympy__sympy__1.0] [sympy__sympy-12481] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.0] [sympy__sympy-12481] Command: git apply -v /opt/temp_sympy__sympy-12481_pred.patch
[sympy__sympy__1.0] [sympy__sympy-12481] Subprocess args: {"cwd": "/opt/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.0] [sympy__sympy-12481] Std. Output:
Checking patch sympy/combinatorics/permutations.py...
Applied patch sympy/combinatorics/permutations.py cleanly.
[sympy__sympy__1.0] [sympy__sympy-12481] Return Code: 0
[sympy__sympy__1.0] [sympy__sympy-12481] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[sympy__sympy__1.0] [sympy__sympy-12481] Command: git restore sympy/combinatorics/tests/test_permutations.py
[sympy__sympy__1.0] [sympy__sympy-12481] Subprocess args: {"cwd": "/opt/sympy__sympy", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.0] [sympy__sympy-12481] Std. Output:
[sympy__sympy__1.0] [sympy__sympy-12481] Return Code: 0
[sympy__sympy__1.0] [sympy__sympy-12481] Command: git apply -v /opt/temp_sympy__sympy-12481_test.patch
[sympy__sympy__1.0] [sympy__sympy-12481] Subprocess args: {"cwd": "/opt/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.0] [sympy__sympy-12481] Std. Output:
Checking patch sympy/combinatorics/tests/test_permutations.py...
Applied patch sympy/combinatorics/tests/test_permutations.py cleanly.
[sympy__sympy__1.0] [sympy__sympy-12481] Return Code: 0
[sympy__sympy__1.0] [sympy__sympy-12481] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: bin/test -C --verbose sympy/combinatorics/tests/test_permutations.py;
[sympy__sympy__1.0] [sympy__sympy-12481] Command: bin/test -C --verbose sympy/combinatorics/tests/test_permutations.py
[sympy__sympy__1.0] [sympy__sympy-12481] Subprocess args: {"cwd": "/opt/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[sympy__sympy__1.0] [sympy__sympy-12481] Std. Output:
============================= test process starts ==============================
executable: /opt/pyenv/versions/3.7.17/bin/python (3.7.17-final-0) [CPython]
architecture: 64-bit
cache: no
ground types: python
random seed: 35143859
hash randomization: on (PYTHONHASHSEED=1999182408)
sympy/combinatorics/tests/test_permutations.py[0] /opt/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.9 it will stop working
from collections import Mapping
/opt/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.9 it will stop working
from collections import Callable
Traceback (most recent call last):
File "/opt/sympy__sympy/sympy/utilities/runtests.py", line 1079, in test_file
exec_(code, gl)
File "/opt/sympy__sympy/sympy/combinatorics/tests/test_permutations.py", line 5, in <module>
from sympy.combinatorics.permutations import (Permutation, _af_parity,
File "/opt/sympy__sympy/sympy/combinatorics/__init__.py", line 7, in <module>
from sympy.combinatorics.polyhedron import (Polyhedron, tetrahedron, cube,
File "/opt/sympy__sympy/sympy/combinatorics/polyhedron.py", line 824, in <module>
dodecahedron_faces, icosahedron_faces) = _pgroup_calcs()
File "/opt/sympy__sympy/sympy/combinatorics/polyhedron.py", line 703, in _pgroup_calcs
Perm([[1, 2, 3], [0]]), # cw from top
File "/opt/sympy__sympy/sympy/combinatorics/permutations.py", line 865, in __new__
if isinstance(a, Perm): # g
UnboundLocalError: local variable 'Perm' referenced before assignment
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/sympy__sympy/sympy/utilities/runtests.py", line 537, in _test
slow=slow, enhance_asserts=enhance_asserts))
File "/opt/sympy__sympy/sympy/utilities/runtests.py", line 1013, in test
self.test_file(f, sort, timeout, slow, enhance_asserts)
File "/opt/sympy__sympy/sympy/utilities/runtests.py", line 1086, in test_file
reporter.test_exception(sys.exc_info())
File "/opt/sympy__sympy/sympy/utilities/runtests.py", line 2217, in test_exception
self._exceptions.append((self._active_file, self._active_f, exc_info))
AttributeError: 'PyTestReporter' object has no attribute '_active_file'
/opt/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.9 it will stop working
from collections import Mapping
/opt/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.9 it will stop working
from collections import Callable
[sympy__sympy__1.0] [sympy__sympy-12481] Return Code: 1
>>>>> Some Tests Failed
[sympy__sympy__1.0] [sympy__sympy-12481] Test script run successful