feat: 요약 검수 패킷과 수기집 원본 수집 도구 추가

This commit is contained in:
HyeongBaeYang committed 2026-08-20 17:24:39 +09:00
1 parent 9f62ed877a
commit 40eede2566
4 files changed
+277

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
from scripts.build_summary_annotation_packet import select_group_diverse
def test_select_group_diverse_takes_each_group_before_seconds():
rows = [
{"source_group": "a", "row_key": "a1"},
{"source_group": "a", "row_key": "a2"},
{"source_group": "b", "row_key": "b1"},
{"source_group": "c", "row_key": "c1"},
]
selected = select_group_diverse(rows, limit=3, seed=1)
assert {row["source_group"] for row in selected} == {"a", "b", "c"}