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

Method test_factor

tests/knowledge/test_roundtrip.py:78–86  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76
77 def test_thesis(self):
78 t = Thesis(as_of=_now(), source=_src(), claim="USD softens")
79 revived = Thesis.model_validate_json(t.model_dump_json())
80 self.assertEqual(t, revived)
81
82
83class TreeRoundTripTests(unittest.TestCase):
84 def _build_paper(self) -> LegacyPaper:
85 leaf_id = uuid4()
86 root_id = uuid4()
87 leaf = TreeNode(
88 node_id=leaf_id,
89 parent_id=root_id,

Callers

nothing calls this directly

Calls 3

FactorClass · 0.90
_nowFunction · 0.70
_srcFunction · 0.70

Tested by

no test coverage detected