Bug: chunked ignores the strict parameter — strict mode is always active
Bug: chunked ignores the strict parameter — strict mode is always active: a task in repo2rlenv-swe-smith (Harbor dataset). mi.chunked(iterable, n, strict=False) (the default) raises ValueError: iterable is not divisible by n. even when strict is False . Conversely, calling mi.chunked(iterable, n…
The task
`mi.chunked(iterable, n, strict=False)` (the default) raises `ValueError: iterable is not divisible by n.` even when `strict` is `False`. Conversely, calling `mi.chunked(iterable, n, strict=True)` does **not** raise when the iterable is not evenly divisible, and `mi.chunked(iterable, None)` raises `ValueError: n must…
Part of FineEnvs/repo2rlenv-swe-smith.