Leaklens

pydata__xarray-4356

sum: min_count is not available for reduction with more than one dimensions

Verdict: the issue points to the file or function that was changed (Tier B).

I *think* this can be fixed by replacing `mask.shape[axis]` with `np.take(a.shape, axis).prod()`

The two checks disagreed (stated fix vs. points to it); the lower reading shown: “I *think* this can be fixed by replacing `mask.shape[axis]` with `np.take(a.shape, axis).prod()`”

All SWE-bench Verified tasks · more pydata/xarray tasks · How the check works