Test basic split functionality.
(self, multi_turn_item)
| 322 | return DataItem({"conversations": sample_multi_turn_conversation}) |
| 323 | |
| 324 | def test_split_basic(self, multi_turn_item): |
| 325 | """Test basic split functionality.""" |
| 326 | kept, rejected = multi_turn_item.split(kept_indices=[0], rejected_indices=[1]) |
| 327 | |
| 328 | assert kept is not None |
| 329 | assert rejected is not None |
| 330 | |
| 331 | def test_split_all_kept(self, multi_turn_item): |
| 332 | """Test split with all indices kept.""" |