-
Notifications
You must be signed in to change notification settings - Fork 23
/
scikit-learn__scikit-learn-12471.SWE-bench_Lite_golden.eval.log
126 lines (115 loc) · 10.7 KB
/
scikit-learn__scikit-learn-12471.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
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Task Metadata:
- Instance ID: scikit-learn__scikit-learn-12471
- Testbed: scikit-learn__scikit-learn__0.21
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.6.15
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Command: git -c advice.detachedHead=false checkout 02dc9ed680e7f53f1b0d410dcdd37341c7958eb1
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Std. Output:
HEAD is now at 02dc9ed68 Fix max_depth overshoot in BFS expansion of trees (#12344)
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Return Code: 0
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Command: git apply -v /opt/temp_scikit-learn__scikit-learn-12471_pred_try.patch
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Std. Output:
Checking patch sklearn/preprocessing/_encoders.py...
Applied patch sklearn/preprocessing/_encoders.py cleanly.
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Return Code: 0
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Command: git apply -v -R /opt/temp_scikit-learn__scikit-learn-12471_pred_try.patch
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Std. Output:
Checking patch sklearn/preprocessing/_encoders.py...
Applied patch sklearn/preprocessing/_encoders.py cleanly.
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Return Code: 0
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Command: git apply -v /opt/temp_scikit-learn__scikit-learn-12471_pred.patch
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Std. Output:
Checking patch sklearn/preprocessing/_encoders.py...
Applied patch sklearn/preprocessing/_encoders.py cleanly.
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Return Code: 0
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Command: git restore sklearn/preprocessing/tests/test_encoders.py
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Std. Output:
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Return Code: 0
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Command: git apply -v /opt/temp_scikit-learn__scikit-learn-12471_test.patch
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Subprocess args: {"cwd": "/opt/scikit-learn__scikit-learn", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Std. Output:
Checking patch sklearn/preprocessing/tests/test_encoders.py...
Applied patch sklearn/preprocessing/tests/test_encoders.py cleanly.
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Return Code: 0
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: pytest -rA --tb=no -p no:cacheprovider sklearn/preprocessing/tests/test_encoders.py;
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Command: pytest -rA --tb=no -p no:cacheprovider sklearn/preprocessing/tests/test_encoders.py
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] 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.21] [scikit-learn__scikit-learn-12471] 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 54 items
sklearn/preprocessing/tests/test_encoders.py ........................... [ 50%]
........................... [100%]
=========================== short test summary info ============================
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_sparse
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_dense
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_deprecationwarnings
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_force_new_behaviour
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_categorical_features
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_handle_unknown
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_not_fitted
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_no_categorical_features
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_handle_unknown_strings
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_dtype[int32-int32]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_dtype[int32-float32]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_dtype[int32-float64]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_dtype[float32-int32]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_dtype[float32-float32]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_dtype[float32-float64]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_dtype[float64-int32]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_dtype[float64-float32]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_dtype[float64-float64]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_dtype_pandas[int32]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_dtype_pandas[float32]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_dtype_pandas[float64]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_set_params
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder[mixed]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder[numeric]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder[object]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_inverse
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_categories[mixed]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_categories[numeric]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_categories[object]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_categories[string]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_specified_categories[object]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_specified_categories[numeric]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_specified_categories[object-string-cat]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_unsorted_categories
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_specified_categories_mixed_columns
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_pandas
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_feature_names
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_feature_names_unicode
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_raise_missing[error-numeric]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_raise_missing[error-object]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_raise_missing[ignore-numeric]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_raise_missing[ignore-object]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder[mixed]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder[numeric]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder[object]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_specified_categories[object]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_specified_categories[numeric]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_specified_categories[object-string-cat]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_inverse
PASSED sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_raise_missing[numeric]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_raise_missing[object]
PASSED sklearn/preprocessing/tests/test_encoders.py::test_encoder_dtypes
PASSED sklearn/preprocessing/tests/test_encoders.py::test_encoder_dtypes_pandas
PASSED sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_warning
========================== 54 passed in 0.73 seconds ===========================
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Return Code: 0
>>>>> All Tests Passed
[scikit-learn__scikit-learn__0.21] [scikit-learn__scikit-learn-12471] Test script run successful