HF RL Explorer

Fix a bug in partition and chunks where the iterator-based code path ( cut iter ) produces incorrect results…

Fix a bug in partition and chunks where the iterator-based code path ( cut iter ) produces incorrect results…: a task in repo2rlenv-swe-gen (Harbor dataset). When step n , partition and chunks give different results depending on whether the input is a Sequence (e.g., a list ) or a plain iterator:

Part of FineEnvs/repo2rlenv-swe-gen.