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

Function _single_node_paper

tests/knowledge/test_paper.py:20–35  ·  view source on GitHub ↗
(**overrides)

Source from the content-addressed store, hash-verified

18)
19from tests.paper_helpers import build_paper_result
20
21
22class PaperArtifactTests(unittest.TestCase):
23 def test_result_has_one_shared_source_and_independent_artifacts(
24 self,
25 ) -> None:
26 result = build_paper_result()
27
28 self.assertEqual(
29 result.chunk_set.source_revision_id,
30 result.source_revision.id,
31 )
32 self.assertEqual(
33 result.global_summary.source_revision_id,
34 result.source_revision.id,
35 )
36 self.assertNotEqual(result.chunk_set.id, result.global_summary.id)
37 self.assertEqual(len(result.chunk_set.chunks), 3)
38 self.assertEqual(len(result.global_summary.citations), 3)

Callers 3

test_minimalMethod · 0.85
test_metadataMethod · 0.85

Calls 4

TreeNodeClass · 0.90
PaperClass · 0.90
_nowFunction · 0.70
_srcFunction · 0.70

Tested by

no test coverage detected