Many data processing and combinatorial tasks require the ability to slide a window of fixed size across a…
Many data processing and combinatorial tasks require the ability to slide a window of fixed size across a…: a task in repo2rlenv-swe-flow (Harbor dataset). Example behavior for windowed complete( 1, 2, 3, 4, 5 , 3) : ((), (1, 2, 3), (4, 5)) ((1,), (2, 3, 4), (5,)) ((1, 2), (3, 4, 5), ())
The task
**Example behavior for `windowed_complete([1, 2, 3, 4, 5], 3)`:** ``` ((), (1, 2, 3), (4, 5)) ((1,), (2, 3, 4), (5,)) ((1, 2), (3, 4, 5), ()) ```
Part of FineEnvs/repo2rlenv-swe-flow.