MCPcopy Create free account
hub / github.com/LLMQuant/quant-mind / test_metadata

Method test_metadata

tests/knowledge/test_paper.py:47–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 self.assertEqual(first.chunk_set.id, second.chunk_set.id)
46 self.assertEqual(first.global_summary.id, second.global_summary.id)
47 self.assertEqual(
48 [chunk.chunk_id for chunk in first.chunk_set.chunks],
49 [chunk.chunk_id for chunk in second.chunk_set.chunks],
50 )
51
52 def test_splitter_and_summary_configs_version_independently(self) -> None:
53 original = build_paper_result()
54 new_chunks = build_paper_result(chunk_size=256)
55 new_summary = build_paper_result(summary_model="another-model")
56
57 self.assertEqual(
58 original.source_revision.id, new_chunks.source_revision.id

Callers

nothing calls this directly

Calls 1

_single_node_paperFunction · 0.85

Tested by

no test coverage detected