-
Notifications
You must be signed in to change notification settings - Fork 23
/
scikit-learn__scikit-learn-10949.SWE-bench_Lite_golden.eval.log
179 lines (160 loc) · 16 KB
/
scikit-learn__scikit-learn-10949.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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Task Metadata:
- Instance ID: scikit-learn__scikit-learn-10949
- Testbed: scikit-learn__scikit-learn__0.20
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.6.15
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Command: git -c advice.detachedHead=false checkout 3b5abf76597ce6aff76192869f92647c1b5259e7
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Std. Output:
HEAD is now at 3b5abf765 DOC Credit Thomas Fan for contribution to ColumnTransformer
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Return Code: 0
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Command: git apply -v /opt/temp_scikit-learn__scikit-learn-10949_pred_try.patch
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Std. Output:
Checking patch sklearn/utils/validation.py...
Applied patch sklearn/utils/validation.py cleanly.
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Return Code: 0
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Command: git apply -v -R /opt/temp_scikit-learn__scikit-learn-10949_pred_try.patch
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Std. Output:
Checking patch sklearn/utils/validation.py...
Applied patch sklearn/utils/validation.py cleanly.
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Return Code: 0
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Command: git apply -v /opt/temp_scikit-learn__scikit-learn-10949_pred.patch
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Std. Output:
Checking patch sklearn/utils/validation.py...
Applied patch sklearn/utils/validation.py cleanly.
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Return Code: 0
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Command: git restore sklearn/utils/tests/test_validation.py
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Std. Output:
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Return Code: 0
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Command: git apply -v /opt/temp_scikit-learn__scikit-learn-10949_test.patch
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Std. Output:
Checking patch sklearn/utils/tests/test_validation.py...
Applied patch sklearn/utils/tests/test_validation.py cleanly.
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Return Code: 0
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: pytest -rA --tb=no -p no:cacheprovider sklearn/utils/tests/test_validation.py;
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Command: pytest -rA --tb=no -p no:cacheprovider sklearn/utils/tests/test_validation.py
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 900}
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Std. Output:
============================= test session starts ==============================
platform linux -- Python 3.6.15, pytest-4.5.0, py-1.11.0, pluggy-0.13.1
rootdir: /opt/scikit-learn__scikit-learn, inifile: setup.cfg
collected 53 items
sklearn/utils/tests/test_validation.py ................................. [ 62%]
.................... [100%]
=============================== warnings summary ===============================
sklearn/datasets/mlcomp.py:63
/opt/scikit-learn__scikit-learn/sklearn/datasets/mlcomp.py:63: DeprecationWarning: invalid escape sequence \_
"""
sklearn/utils/tests/test_validation.py::test_as_float_array
/opt/scikit-learn__scikit-learn/sklearn/utils/tests/test_validation.py:88: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
np.matrix(np.arange(5)),
sklearn/utils/tests/test_validation.py::test_as_float_array_nan[X1]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finite_valid[csr_matrix-inf-False]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finite_valid[csr_matrix-nan-allow-nan]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finite_valid[csr_matrix-nan-False]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-inf-True-Input contains NaN, infinity]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-inf-allow-nan-Input contains infinity]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-nan-True-Input contains NaN, infinity]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-nan-allow-inf-force_all_finite should be a bool or "allow-nan"]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-nan-1-force_all_finite should be a bool or "allow-nan"]
/opt/pyenv/versions/3.6.15/lib/python3.6/site-packages/scipy/sparse/_index.py:82: SparseEfficiencyWarning: Changing the sparsity structure of a csr_matrix is expensive. lil_matrix is more efficient.
self._set_intXint(row, col, x.flat[0])
sklearn/utils/tests/test_validation.py::test_np_matrix
/opt/scikit-learn__scikit-learn/sklearn/utils/tests/test_validation.py:114: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
assert_false(isinstance(as_float_array(np.matrix(X)), np.matrix))
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[asarray-inf-True-Input contains NaN, infinity]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[asarray-inf-allow-nan-Input contains infinity]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[asarray-nan-True-Input contains NaN, infinity]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[asarray-nan-allow-inf-force_all_finite should be a bool or "allow-nan"]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[asarray-nan-1-force_all_finite should be a bool or "allow-nan"]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-inf-True-Input contains NaN, infinity]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-inf-allow-nan-Input contains infinity]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-nan-True-Input contains NaN, infinity]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-nan-allow-inf-force_all_finite should be a bool or "allow-nan"]
sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-nan-1-force_all_finite should be a bool or "allow-nan"]
/opt/scikit-learn__scikit-learn/sklearn/utils/tests/test_validation.py:185: PytestDeprecationWarning: The 'message' parameter is deprecated.
(did you mean to use `match='some regex'` to check the exception message?)
Please comment on https://github.com/pytest-dev/pytest/issues/3974 if you have concerns about removal of this parameter.
with pytest.raises(ValueError, message=match_msg):
sklearn/utils/tests/test_validation.py::test_check_array_accept_sparse_type_exception
/opt/scikit-learn__scikit-learn/sklearn/utils/validation.py:454: DeprecationWarning: Passing 'None' to parameter 'accept_sparse' in methods check_array and check_X_y is deprecated in version 0.19 and will be removed in 0.21. Use 'accept_sparse=False' instead.
" instead.", DeprecationWarning)
sklearn/utils/tests/test_validation.py::test_check_dataframe_fit_attribute
/opt/pyenv/versions/3.6.15/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
sklearn/utils/tests/test_validation.py::test_check_array_memmap[True]
sklearn/utils/tests/test_validation.py::test_check_array_memmap[False]
/opt/scikit-learn__scikit-learn/sklearn/externals/joblib/numpy_pickle.py:93: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
pickler.file_handle.write(chunk.tostring('C'))
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=========================== short test summary info ============================
PASSED sklearn/utils/tests/test_validation.py::test_as_float_array
PASSED sklearn/utils/tests/test_validation.py::test_as_float_array_nan[X0]
PASSED sklearn/utils/tests/test_validation.py::test_as_float_array_nan[X1]
PASSED sklearn/utils/tests/test_validation.py::test_np_matrix
PASSED sklearn/utils/tests/test_validation.py::test_memmap
PASSED sklearn/utils/tests/test_validation.py::test_ordering
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finite_valid[asarray-inf-False]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finite_valid[asarray-nan-allow-nan]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finite_valid[asarray-nan-False]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finite_valid[csr_matrix-inf-False]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finite_valid[csr_matrix-nan-allow-nan]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finite_valid[csr_matrix-nan-False]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[asarray-inf-True-Input contains NaN, infinity]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[asarray-inf-allow-nan-Input contains infinity]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[asarray-nan-True-Input contains NaN, infinity]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[asarray-nan-allow-inf-force_all_finite should be a bool or "allow-nan"]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[asarray-nan-1-force_all_finite should be a bool or "allow-nan"]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-inf-True-Input contains NaN, infinity]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-inf-allow-nan-Input contains infinity]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-nan-True-Input contains NaN, infinity]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-nan-allow-inf-force_all_finite should be a bool or "allow-nan"]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-nan-1-force_all_finite should be a bool or "allow-nan"]
PASSED sklearn/utils/tests/test_validation.py::test_check_array
PASSED sklearn/utils/tests/test_validation.py::test_check_array_pandas_dtype_object_conversion
PASSED sklearn/utils/tests/test_validation.py::test_check_array_on_mock_dataframe
PASSED sklearn/utils/tests/test_validation.py::test_check_array_dtype_stability
PASSED sklearn/utils/tests/test_validation.py::test_check_array_dtype_warning
PASSED sklearn/utils/tests/test_validation.py::test_check_array_accept_sparse_type_exception
PASSED sklearn/utils/tests/test_validation.py::test_check_array_accept_sparse_no_exception
PASSED sklearn/utils/tests/test_validation.py::test_check_array_accept_large_sparse_no_exception[csr]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_accept_large_sparse_no_exception[csc]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_accept_large_sparse_no_exception[coo]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_accept_large_sparse_no_exception[bsr]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_accept_large_sparse_raise_exception[csr]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_accept_large_sparse_raise_exception[csc]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_accept_large_sparse_raise_exception[coo]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_accept_large_sparse_raise_exception[bsr]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_large_indices_non_supported_scipy_version[csr]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_large_indices_non_supported_scipy_version[csc]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_large_indices_non_supported_scipy_version[coo]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_large_indices_non_supported_scipy_version[bsr]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_min_samples_and_features_messages
PASSED sklearn/utils/tests/test_validation.py::test_check_array_complex_data_error
PASSED sklearn/utils/tests/test_validation.py::test_has_fit_parameter
PASSED sklearn/utils/tests/test_validation.py::test_check_symmetric
PASSED sklearn/utils/tests/test_validation.py::test_check_is_fitted
PASSED sklearn/utils/tests/test_validation.py::test_check_consistent_length
PASSED sklearn/utils/tests/test_validation.py::test_check_dataframe_fit_attribute
PASSED sklearn/utils/tests/test_validation.py::test_suppress_validation
PASSED sklearn/utils/tests/test_validation.py::test_check_dataframe_warns_on_dtype
PASSED sklearn/utils/tests/test_validation.py::test_check_memory
PASSED sklearn/utils/tests/test_validation.py::test_check_array_memmap[True]
PASSED sklearn/utils/tests/test_validation.py::test_check_array_memmap[False]
==================== 53 passed, 26 warnings in 1.08 seconds ====================
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Return Code: 0
>>>>> All Tests Passed
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10949] Test script run successful