MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / test_split_basic

Method test_split_basic

tests/operators/test_data_item.py:324–329  ·  view source on GitHub ↗

Test basic split functionality.

(self, multi_turn_item)

Source from the content-addressed store, hash-verified

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."""

Callers

nothing calls this directly

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected