-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathsympy__sympy-24213.gpt-4-0125-preview.eval.log
159 lines (146 loc) · 9.45 KB
/
sympy__sympy-24213.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
[sympy__sympy__1.12] [sympy__sympy-24213] Task Metadata:
- Instance ID: sympy__sympy-24213
- Testbed: sympy__sympy__1.12
-
- Evaluation Model: gpt-4-0125-preview
[sympy__sympy__1.12] [sympy__sympy-24213] Command: git -c advice.detachedHead=false checkout e8c22f6eac7314be8d92590bfff92ced79ee03e2
[sympy__sympy__1.12] [sympy__sympy-24213] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.12] [sympy__sympy-24213] Std. Output:
Previous HEAD position was c6cb7c5602 Merge pull request #24721 from TJStienstra/improve-coordinate-validation
HEAD is now at e8c22f6eac Merge pull request #24214 from TJStienstra/FixMailmap
[sympy__sympy__1.12] [sympy__sympy-24213] Return Code: 0
[sympy__sympy__1.12] [sympy__sympy-24213] Command: git apply -v /home/swe-bench/temp_sympy__sympy-24213_pred_try.patch
[sympy__sympy__1.12] [sympy__sympy-24213] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.12] [sympy__sympy-24213] Std. Output:
Checking patch sympy/physics/units/unitsystem.py...
Applied patch sympy/physics/units/unitsystem.py cleanly.
[sympy__sympy__1.12] [sympy__sympy-24213] Return Code: 0
[sympy__sympy__1.12] [sympy__sympy-24213] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.12] [sympy__sympy-24213] Command: git apply -v -R /home/swe-bench/temp_sympy__sympy-24213_pred_try.patch
[sympy__sympy__1.12] [sympy__sympy-24213] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.12] [sympy__sympy-24213] Std. Output:
Checking patch sympy/physics/units/unitsystem.py...
Applied patch sympy/physics/units/unitsystem.py cleanly.
[sympy__sympy__1.12] [sympy__sympy-24213] Return Code: 0
[sympy__sympy__1.12] [sympy__sympy-24213] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[sympy__sympy__1.12] [sympy__sympy-24213] Command: git apply -v /home/swe-bench/temp_sympy__sympy-24213_pred.patch
[sympy__sympy__1.12] [sympy__sympy-24213] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.12] [sympy__sympy-24213] Std. Output:
Checking patch sympy/physics/units/unitsystem.py...
Applied patch sympy/physics/units/unitsystem.py cleanly.
[sympy__sympy__1.12] [sympy__sympy-24213] Return Code: 0
[sympy__sympy__1.12] [sympy__sympy-24213] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[sympy__sympy__1.12] [sympy__sympy-24213] Command: git restore sympy/physics/units/tests/test_quantities.py
[sympy__sympy__1.12] [sympy__sympy-24213] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.12] [sympy__sympy-24213] Std. Output:
[sympy__sympy__1.12] [sympy__sympy-24213] Return Code: 0
[sympy__sympy__1.12] [sympy__sympy-24213] Command: git apply -v /home/swe-bench/temp_sympy__sympy-24213_test.patch
[sympy__sympy__1.12] [sympy__sympy-24213] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[sympy__sympy__1.12] [sympy__sympy-24213] Std. Output:
Checking patch sympy/physics/units/tests/test_quantities.py...
Applied patch sympy/physics/units/tests/test_quantities.py cleanly.
[sympy__sympy__1.12] [sympy__sympy-24213] Return Code: 0
[sympy__sympy__1.12] [sympy__sympy-24213] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: conda run -n sympy__sympy__1.12 bin/test -C --verbose sympy/physics/units/tests/test_quantities.py;
[sympy__sympy__1.12] [sympy__sympy-24213] Command: conda run -n sympy__sympy__1.12 bin/test -C --verbose sympy/physics/units/tests/test_quantities.py
[sympy__sympy__1.12] [sympy__sympy-24213] Subprocess args: {"cwd": "/home/swe-bench/sympy__sympy", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[sympy__sympy__1.12] [sympy__sympy-24213] Std. Output:
ERROR conda.cli.main_run:execute(124): `conda run bin/test -C --verbose sympy/physics/units/tests/test_quantities.py` failed. (See above for error)
============================= test process starts ==============================
executable: /home/swe-bench/miniconda3/envs/sympy__sympy__1.12/bin/python (3.9.19-final-0) [CPython]
architecture: 64-bit
cache: no
ground types: python
numpy: None
random seed: 59853461
hash randomization: on (PYTHONHASHSEED=263426532)
sympy/physics/units/tests/test_quantities.py[34]
test_str_repr ok
test_eq ok
test_convert_to ok
test_Quantity_definition ok
test_abbrev ok
test_print ok
test_Quantity_eq ok
test_add_sub ok
test_quantity_abs ok
test_check_unit_consistency E
test_mul_div ok
test_units ok
test_issue_quart ok
test_issue_5565 ok
test_find_unit ok
test_Quantity_derivative ok
test_quantity_postprocessing ok
test_factor_and_dimension E
test_factor_and_dimension_with_Abs f
test_dimensional_expr_of_derivative ok
test_get_dimensional_expr_with_function ok
test_binary_information ok
test_conversion_with_2_nonstandard_dimensions ok
test_eval_subs ok
test_issue_14932 ok
test_issue_14547 ok
test_deprecated_quantity_methods ok
test_issue_22164 ok
test_issue_22819 ok
test_issue_20288 E
test_issue_24062 E
test_issue_24211 E
test_prefixed_property ok
test_physics_constant ok [FAIL]
________________________________________________________________________________
___ sympy/physics/units/tests/test_quantities.py:test_check_unit_consistency ___
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/physics/units/tests/test_quantities.py", line 191, in test_check_unit_consistency
raises(ValueError, lambda: check_unit_consistency(u + w))
File "/home/swe-bench/sympy__sympy/sympy/testing/pytest.py", line 116, in raises
code()
File "/home/swe-bench/sympy__sympy/sympy/physics/units/tests/test_quantities.py", line 191, in <lambda>
raises(ValueError, lambda: check_unit_consistency(u + w))
File "/home/swe-bench/sympy__sympy/sympy/physics/units/tests/test_quantities.py", line 189, in check_unit_consistency
SI._collect_factor_and_dimension(expr)
File "/home/swe-bench/sympy__sympy/sympy/physics/units/unitsystem.py", line 178, in _collect_factor_and_dimension
if not self.get_dimension_system().are_equivalent_dims(dim, addend_dim):
AttributeError: 'DimensionSystem' object has no attribute 'are_equivalent_dims'
________________________________________________________________________________
____ sympy/physics/units/tests/test_quantities.py:test_factor_and_dimension ____
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/physics/units/tests/test_quantities.py", line 342, in test_factor_and_dimension
assert (1001, length) == SI._collect_factor_and_dimension(meter + km)
File "/home/swe-bench/sympy__sympy/sympy/physics/units/unitsystem.py", line 178, in _collect_factor_and_dimension
if not self.get_dimension_system().are_equivalent_dims(dim, addend_dim):
AttributeError: 'DimensionSystem' object has no attribute 'are_equivalent_dims'
________________________________________________________________________________
________ sympy/physics/units/tests/test_quantities.py:test_issue_20288 _________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/physics/units/tests/test_quantities.py", line 541, in test_issue_20288
assert SI._collect_factor_and_dimension(expr) == (1 + E, Dimension(1))
File "/home/swe-bench/sympy__sympy/sympy/physics/units/unitsystem.py", line 178, in _collect_factor_and_dimension
if not self.get_dimension_system().are_equivalent_dims(dim, addend_dim):
AttributeError: 'DimensionSystem' object has no attribute 'are_equivalent_dims'
________________________________________________________________________________
________ sympy/physics/units/tests/test_quantities.py:test_issue_24062 _________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/physics/units/tests/test_quantities.py", line 562, in test_issue_24062
assert SI._collect_factor_and_dimension(exp_expr) == (1 + E, Dimension(1))
File "/home/swe-bench/sympy__sympy/sympy/physics/units/unitsystem.py", line 178, in _collect_factor_and_dimension
if not self.get_dimension_system().are_equivalent_dims(dim, addend_dim):
AttributeError: 'DimensionSystem' object has no attribute 'are_equivalent_dims'
________________________________________________________________________________
________ sympy/physics/units/tests/test_quantities.py:test_issue_24211 _________
Traceback (most recent call last):
File "/home/swe-bench/sympy__sympy/sympy/physics/units/tests/test_quantities.py", line 578, in test_issue_24211
SI._collect_factor_and_dimension(expr)
File "/home/swe-bench/sympy__sympy/sympy/physics/units/unitsystem.py", line 178, in _collect_factor_and_dimension
if not self.get_dimension_system().are_equivalent_dims(dim, addend_dim):
AttributeError: 'DimensionSystem' object has no attribute 'are_equivalent_dims'
= tests finished: 28 passed, 1 expected to fail, 5 exceptions, in 2.55 seconds =
DO *NOT* COMMIT!
[sympy__sympy__1.12] [sympy__sympy-24213] Return Code: 1
>>>>> Some Tests Failed
[sympy__sympy__1.12] [sympy__sympy-24213] Test script run successful