MCPcopy Create free account
hub / github.com/Open-Quant/openquant / read_state

Function read_state

scripts/afml_docs_loop.py:245–248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243
244
245def read_state() -> dict[str, Any]:
246 if not STATE_PATH.exists():
247 raise FileNotFoundError("State not found. Run: scripts/afml_docs_loop.py init")
248 return json.loads(STATE_PATH.read_text(encoding="utf-8"))
249
250
251def recompute_chapter_status(chapter: dict[str, Any]) -> str:

Callers 6

cmd_statusFunction · 0.85
cmd_nextFunction · 0.85
cmd_doneFunction · 0.85
cmd_resetFunction · 0.85
cmd_exportFunction · 0.85
cmd_evidenceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected