windowed complete raises ValueError for valid n and silently accepts negative n
windowed complete raises ValueError for valid n and silently accepts negative n: a task in repo2rlenv-swe-smith (Harbor dataset). mi.windowed complete(seq, n) raises a ValueError: n must be = 0 even for valid, non-negative values of n that are within the sequence length. At the same time, it…
The task
`mi.windowed_complete(seq, n)` raises a `ValueError: n must be >= 0` even for valid, non-negative values of `n` that are within the sequence length. At the same time, it silently accepts negative values of `n` (e.g. `-1`, `-10`) instead of raising `ValueError`.
Part of FineEnvs/repo2rlenv-swe-smith.