-
Notifications
You must be signed in to change notification settings - Fork 24
/
scikit-learn__scikit-learn-10508.gpt-4-0125-preview.eval.log
151 lines (127 loc) · 11.4 KB
/
scikit-learn__scikit-learn-10508.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
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Task Metadata:
- Instance ID: scikit-learn__scikit-learn-10508
- Testbed: scikit-learn__scikit-learn__0.20
- Evaluation Model: gpt-4-0125-preview
- Python version: Python 3.6.15
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Command: git -c advice.detachedHead=false checkout c753b77ac49e72ebc0fe5e3c2369fe628f975017
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] 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-10508] Std. Output:
HEAD is now at c753b77ac DOC mention default base_estimator of AdaBoost (#10501)
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Return Code: 0
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Command: git apply -v /opt/temp_scikit-learn__scikit-learn-10508_pred_try.patch
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] 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-10508] Std. Output:
Checking patch sklearn/preprocessing/label.py...
Applied patch sklearn/preprocessing/label.py cleanly.
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Return Code: 0
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Command: git apply -v -R /opt/temp_scikit-learn__scikit-learn-10508_pred_try.patch
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] 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-10508] Std. Output:
Checking patch sklearn/preprocessing/label.py...
Applied patch sklearn/preprocessing/label.py cleanly.
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Return Code: 0
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Command: git apply -v /opt/temp_scikit-learn__scikit-learn-10508_pred.patch
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] 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-10508] Std. Output:
Checking patch sklearn/preprocessing/label.py...
Applied patch sklearn/preprocessing/label.py cleanly.
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Return Code: 0
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Command: git restore sklearn/preprocessing/tests/test_label.py
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] 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-10508] Std. Output:
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Return Code: 0
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Command: git apply -v /opt/temp_scikit-learn__scikit-learn-10508_test.patch
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] 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-10508] Std. Output:
Checking patch sklearn/preprocessing/tests/test_label.py...
Applied patch sklearn/preprocessing/tests/test_label.py cleanly.
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Return Code: 0
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: pytest -rA --tb=no -p no:cacheprovider sklearn/preprocessing/tests/test_label.py;
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Command: pytest -rA --tb=no -p no:cacheprovider sklearn/preprocessing/tests/test_label.py
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] 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 23 items
sklearn/preprocessing/tests/test_label.py ......FF..........xxx.. [100%]
=============================== warnings summary ===============================
sklearn/externals/joblib/func_inspect.py:53
/opt/scikit-learn__scikit-learn/sklearn/externals/joblib/func_inspect.py:53: DeprecationWarning: invalid escape sequence \<
'\<doctest (.*\.rst)\[(.*)\]\>', source_file).groups()
sklearn/externals/joblib/_memory_helpers.py:10
/opt/scikit-learn__scikit-learn/sklearn/externals/joblib/_memory_helpers.py:10: DeprecationWarning: invalid escape sequence \s
cookie_re = re.compile("coding[:=]\s*([-\w.]+)")
sklearn/datasets/samples_generator.py:843
/opt/scikit-learn__scikit-learn/sklearn/datasets/samples_generator.py:843: DeprecationWarning: invalid escape sequence \#
"""
sklearn/datasets/samples_generator.py:905
/opt/scikit-learn__scikit-learn/sklearn/datasets/samples_generator.py:905: DeprecationWarning: invalid escape sequence \#
"""
sklearn/datasets/samples_generator.py:971
/opt/scikit-learn__scikit-learn/sklearn/datasets/samples_generator.py:971: DeprecationWarning: invalid escape sequence \#
"""
sklearn/datasets/samples_generator.py:1433
/opt/scikit-learn__scikit-learn/sklearn/datasets/samples_generator.py:1433: DeprecationWarning: invalid escape sequence \c
"""
sklearn/preprocessing/tests/test_label.py:470
sklearn/preprocessing/tests/test_label.py:470: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_label_binarize_binary will be ignored
def test_label_binarize_binary():
sklearn/preprocessing/tests/test_label.py:489
sklearn/preprocessing/tests/test_label.py:489: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_label_binarize_multiclass will be ignored
def test_label_binarize_multiclass():
sklearn/preprocessing/tests/test_label.py:502
sklearn/preprocessing/tests/test_label.py:502: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_label_binarize_multilabel will be ignored
def test_label_binarize_multilabel():
sklearn/preprocessing/tests/test_label.py::test_label_encoder_errors
/opt/pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/lib/arraysetops.py:576: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
mask &= (ar1 != a)
sklearn/preprocessing/tests/test_label.py::test_label_encoder_empty_array
/opt/pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/testing/_private/utils.py:788: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
val = comparison(x, y)
sklearn/preprocessing/tests/test_label.py::test_multilabel_binarizer_non_integer_labels
/opt/pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/testing/_private/utils.py:703: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
x = array(x, copy=False, subok=True)
sklearn/preprocessing/tests/test_label.py::test_multilabel_binarizer_non_integer_labels
/opt/pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/testing/_private/utils.py:704: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
y = array(y, copy=False, subok=True)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=========================== short test summary info ============================
XFAIL sklearn/preprocessing/tests/test_label.py::test_label_binarize_binary
reason: [NOTRUN] yield tests were removed in pytest 4.0 - test_label_binarize_binary will be ignored
XFAIL sklearn/preprocessing/tests/test_label.py::test_label_binarize_multiclass
reason: [NOTRUN] yield tests were removed in pytest 4.0 - test_label_binarize_multiclass will be ignored
XFAIL sklearn/preprocessing/tests/test_label.py::test_label_binarize_multilabel
reason: [NOTRUN] yield tests were removed in pytest 4.0 - test_label_binarize_multilabel will be ignored
FAILED sklearn/preprocessing/tests/test_label.py::test_label_encoder_errors
FAILED sklearn/preprocessing/tests/test_label.py::test_label_encoder_empty_array
PASSED sklearn/preprocessing/tests/test_label.py::test_label_binarizer
PASSED sklearn/preprocessing/tests/test_label.py::test_label_binarizer_unseen_labels
PASSED sklearn/preprocessing/tests/test_label.py::test_label_binarizer_set_label_encoding
PASSED sklearn/preprocessing/tests/test_label.py::test_label_binarizer_errors
PASSED sklearn/preprocessing/tests/test_label.py::test_label_encoder
PASSED sklearn/preprocessing/tests/test_label.py::test_label_encoder_fit_transform
PASSED sklearn/preprocessing/tests/test_label.py::test_sparse_output_multilabel_binarizer
PASSED sklearn/preprocessing/tests/test_label.py::test_multilabel_binarizer
PASSED sklearn/preprocessing/tests/test_label.py::test_multilabel_binarizer_empty_sample
PASSED sklearn/preprocessing/tests/test_label.py::test_multilabel_binarizer_unknown_class
PASSED sklearn/preprocessing/tests/test_label.py::test_multilabel_binarizer_given_classes
PASSED sklearn/preprocessing/tests/test_label.py::test_multilabel_binarizer_same_length_sequence
PASSED sklearn/preprocessing/tests/test_label.py::test_multilabel_binarizer_non_integer_labels
PASSED sklearn/preprocessing/tests/test_label.py::test_multilabel_binarizer_non_unique
PASSED sklearn/preprocessing/tests/test_label.py::test_multilabel_binarizer_inverse_validation
PASSED sklearn/preprocessing/tests/test_label.py::test_label_binarize_with_class_order
PASSED sklearn/preprocessing/tests/test_label.py::test_invalid_input_label_binarize
PASSED sklearn/preprocessing/tests/test_label.py::test_inverse_binarize_multiclass
========= 2 failed, 18 passed, 3 xfailed, 13 warnings in 1.20 seconds ==========
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Return Code: 1
>>>>> Some Tests Failed
[scikit-learn__scikit-learn__0.20] [scikit-learn__scikit-learn-10508] Test script run successful