-
Notifications
You must be signed in to change notification settings - Fork 24
/
pydata__xarray-5131.gpt-4-0125-preview.eval.log
192 lines (164 loc) · 13.5 KB
/
pydata__xarray-5131.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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
[pydata__xarray__0.12] [pydata__xarray-5131] Task Metadata:
- Instance ID: pydata__xarray-5131
- Testbed: pydata__xarray__0.12
-
- Evaluation Model: gpt-4-0125-preview
[pydata__xarray__0.12] [pydata__xarray-5131] Command: git -c advice.detachedHead=false checkout e56905889c836c736152b11a7e6117a229715975
[pydata__xarray__0.12] [pydata__xarray-5131] Subprocess args: {"cwd": "/home/swe-bench/pydata__xarray", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pydata__xarray__0.12] [pydata__xarray-5131] Std. Output:
Previous HEAD position was 1c198a19 Convert attribute and dimension names to strings when generating HTML repr (#5149)
HEAD is now at e5690588 Do not write an empty "coordinates" attribute to a netCDF file (#5121)
[pydata__xarray__0.12] [pydata__xarray-5131] Return Code: 0
[pydata__xarray__0.12] [pydata__xarray-5131] Command: git apply -v /home/swe-bench/temp_pydata__xarray-5131_pred_try.patch
[pydata__xarray__0.12] [pydata__xarray-5131] Subprocess args: {"cwd": "/home/swe-bench/pydata__xarray", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pydata__xarray__0.12] [pydata__xarray-5131] Std. Output:
Checking patch xarray/core/groupby.py...
Applied patch xarray/core/groupby.py cleanly.
[pydata__xarray__0.12] [pydata__xarray-5131] Return Code: 0
[pydata__xarray__0.12] [pydata__xarray-5131] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[pydata__xarray__0.12] [pydata__xarray-5131] Command: git apply -v -R /home/swe-bench/temp_pydata__xarray-5131_pred_try.patch
[pydata__xarray__0.12] [pydata__xarray-5131] Subprocess args: {"cwd": "/home/swe-bench/pydata__xarray", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pydata__xarray__0.12] [pydata__xarray-5131] Std. Output:
Checking patch xarray/core/groupby.py...
Applied patch xarray/core/groupby.py cleanly.
[pydata__xarray__0.12] [pydata__xarray-5131] Return Code: 0
[pydata__xarray__0.12] [pydata__xarray-5131] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[pydata__xarray__0.12] [pydata__xarray-5131] Command: git apply -v /home/swe-bench/temp_pydata__xarray-5131_pred.patch
[pydata__xarray__0.12] [pydata__xarray-5131] Subprocess args: {"cwd": "/home/swe-bench/pydata__xarray", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pydata__xarray__0.12] [pydata__xarray-5131] Std. Output:
Checking patch xarray/core/groupby.py...
Applied patch xarray/core/groupby.py cleanly.
[pydata__xarray__0.12] [pydata__xarray-5131] Return Code: 0
[pydata__xarray__0.12] [pydata__xarray-5131] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[pydata__xarray__0.12] [pydata__xarray-5131] Command: git restore xarray/tests/test_groupby.py
[pydata__xarray__0.12] [pydata__xarray-5131] Subprocess args: {"cwd": "/home/swe-bench/pydata__xarray", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pydata__xarray__0.12] [pydata__xarray-5131] Std. Output:
[pydata__xarray__0.12] [pydata__xarray-5131] Return Code: 0
[pydata__xarray__0.12] [pydata__xarray-5131] Command: git apply -v /home/swe-bench/temp_pydata__xarray-5131_test.patch
[pydata__xarray__0.12] [pydata__xarray-5131] Subprocess args: {"cwd": "/home/swe-bench/pydata__xarray", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pydata__xarray__0.12] [pydata__xarray-5131] Std. Output:
Checking patch xarray/tests/test_groupby.py...
Applied patch xarray/tests/test_groupby.py cleanly.
[pydata__xarray__0.12] [pydata__xarray-5131] Return Code: 0
[pydata__xarray__0.12] [pydata__xarray-5131] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: conda run -n pydata__xarray__0.12 pytest --no-header -rA --tb=no -p no:cacheprovider xarray/tests/test_groupby.py;
[pydata__xarray__0.12] [pydata__xarray-5131] Command: conda run -n pydata__xarray__0.12 pytest --no-header -rA --tb=no -p no:cacheprovider xarray/tests/test_groupby.py
[pydata__xarray__0.12] [pydata__xarray-5131] Subprocess args: {"cwd": "/home/swe-bench/pydata__xarray", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[pydata__xarray__0.12] [pydata__xarray-5131] Std. Output:
============================= test session starts ==============================
collected 34 items
xarray/tests/test_groupby.py .................................. [100%]
=============================== warnings summary ===============================
xarray/__init__.py:1
/home/swe-bench/pydata__xarray/xarray/__init__.py:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
../miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/pkg_resources/__init__.py:2832
/home/swe-bench/miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/pkg_resources/__init__.py:2832: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('pydap')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/pkg_resources/__init__.py:2832
/home/swe-bench/miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/pkg_resources/__init__.py:2832: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('pydap.responses')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/pkg_resources/__init__.py:2317
../miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/pkg_resources/__init__.py:2317
../miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/pkg_resources/__init__.py:2317
/home/swe-bench/miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/pkg_resources/__init__.py:2317: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('pydap')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)
../miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/pkg_resources/__init__.py:2832
/home/swe-bench/miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/pkg_resources/__init__.py:2832: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('pydap.handlers')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/pkg_resources/__init__.py:2832
/home/swe-bench/miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/pkg_resources/__init__.py:2832: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('pydap.tests')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
xarray/core/dask_array_compat.py:61
xarray/core/dask_array_compat.py:61
/home/swe-bench/pydata__xarray/xarray/core/dask_array_compat.py:61: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(dask_version) > LooseVersion("2.9.0"):
xarray/core/dask_array_compat.py:98
xarray/core/dask_array_compat.py:98
/home/swe-bench/pydata__xarray/xarray/core/dask_array_compat.py:98: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(dask_version) > LooseVersion("2.30.0"):
xarray/core/dask_array_compat.py:155
xarray/core/dask_array_compat.py:155
/home/swe-bench/pydata__xarray/xarray/core/dask_array_compat.py:155: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(dask_version) > LooseVersion("2021.03.0"):
xarray/core/npcompat.py:87
/home/swe-bench/pydata__xarray/xarray/core/npcompat.py:87: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(np.__version__) >= "1.20.0":
../miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/setuptools/_distutils/version.py:337
../miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/setuptools/_distutils/version.py:337
/home/swe-bench/miniconda3/envs/pydata__xarray__0.12/lib/python3.10/site-packages/setuptools/_distutils/version.py:337: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
other = LooseVersion(other)
xarray/core/pdcompat.py:45
/home/swe-bench/pydata__xarray/xarray/core/pdcompat.py:45: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(pd.__version__) < "0.25.0":
xarray/coding/cftimeindex.py:62
xarray/coding/cftimeindex.py:62
/home/swe-bench/pydata__xarray/xarray/coding/cftimeindex.py:62: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(pd.__version__) > LooseVersion("1.2.3"):
xarray/tests/__init__.py:59
xarray/tests/__init__.py:59
xarray/tests/__init__.py:59
xarray/tests/__init__.py:59
xarray/tests/__init__.py:59
xarray/tests/__init__.py:59
/home/swe-bench/pydata__xarray/xarray/tests/__init__.py:59: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
return version.LooseVersion(vstring)
xarray/tests/test_groupby.py: 12 warnings
/home/swe-bench/pydata__xarray/xarray/core/groupby.py:207: FutureWarning: is_monotonic is deprecated and will be removed in a future version. Use is_monotonic_increasing instead.
return index.is_unique and index.is_monotonic
xarray/tests/test_groupby.py: 10 warnings
/home/swe-bench/pydata__xarray/xarray/core/dataset.py:3915: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
or LooseVersion(np.__version__) < LooseVersion("1.17")
xarray/tests/test_groupby.py: 72 warnings
/home/swe-bench/pydata__xarray/xarray/core/computation.py:724: DeprecationWarning: the `interpolation=` argument to nanquantile was renamed to `method=`, which has additional options.
Users of the modes 'nearest', 'lower', 'higher', or 'midpoint' are encouraged to review the method they used. (Deprecated NumPy 1.22)
result_data = func(*input_data)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
PASSED xarray/tests/test_groupby.py::test_consolidate_slices
PASSED xarray/tests/test_groupby.py::test_groupby_dims_property
PASSED xarray/tests/test_groupby.py::test_multi_index_groupby_map
PASSED xarray/tests/test_groupby.py::test_multi_index_groupby_sum
PASSED xarray/tests/test_groupby.py::test_groupby_da_datetime
PASSED xarray/tests/test_groupby.py::test_groupby_duplicate_coordinate_labels
PASSED xarray/tests/test_groupby.py::test_groupby_input_mutation
PASSED xarray/tests/test_groupby.py::test_groupby_map_shrink_groups[obj0]
PASSED xarray/tests/test_groupby.py::test_groupby_map_shrink_groups[obj1]
PASSED xarray/tests/test_groupby.py::test_groupby_map_change_group_size[obj0]
PASSED xarray/tests/test_groupby.py::test_groupby_map_change_group_size[obj1]
PASSED xarray/tests/test_groupby.py::test_da_groupby_map_func_args
PASSED xarray/tests/test_groupby.py::test_ds_groupby_map_func_args
PASSED xarray/tests/test_groupby.py::test_da_groupby_empty
PASSED xarray/tests/test_groupby.py::test_da_groupby_quantile
PASSED xarray/tests/test_groupby.py::test_ds_groupby_quantile
PASSED xarray/tests/test_groupby.py::test_da_groupby_assign_coords
PASSED xarray/tests/test_groupby.py::test_groupby_repr[obj0-x]
PASSED xarray/tests/test_groupby.py::test_groupby_repr[obj0-y]
PASSED xarray/tests/test_groupby.py::test_groupby_repr[obj0-z]
PASSED xarray/tests/test_groupby.py::test_groupby_repr[obj0-month]
PASSED xarray/tests/test_groupby.py::test_groupby_repr[obj1-x]
PASSED xarray/tests/test_groupby.py::test_groupby_repr[obj1-y]
PASSED xarray/tests/test_groupby.py::test_groupby_repr[obj1-z]
PASSED xarray/tests/test_groupby.py::test_groupby_repr[obj1-month]
PASSED xarray/tests/test_groupby.py::test_groupby_repr_datetime[obj0]
PASSED xarray/tests/test_groupby.py::test_groupby_repr_datetime[obj1]
PASSED xarray/tests/test_groupby.py::test_groupby_drops_nans
PASSED xarray/tests/test_groupby.py::test_groupby_grouping_errors
PASSED xarray/tests/test_groupby.py::test_groupby_reduce_dimension_error
PASSED xarray/tests/test_groupby.py::test_groupby_multiple_string_args
PASSED xarray/tests/test_groupby.py::test_groupby_bins_timeseries
PASSED xarray/tests/test_groupby.py::test_groupby_none_group_name
PASSED xarray/tests/test_groupby.py::test_groupby_getitem
======================= 34 passed, 120 warnings in 6.95s =======================
[pydata__xarray__0.12] [pydata__xarray-5131] Return Code: 0
>>>>> All Tests Passed
[pydata__xarray__0.12] [pydata__xarray-5131] Test script run successful