MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _make_code_doc_graph

Function _make_code_doc_graph

tests/test_analyze.py:386–392  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

384# --- code↔doc INFERRED suppression tests ---
385
386def _make_code_doc_graph():
387 G = nx.Graph()
388 G.add_node("py_fn", label="ProcessData", source_file="src/processor.py", file_type="code")
389 G.add_node("md_doc", label="README Section", source_file="docs/readme.md", file_type="document")
390 G.add_node("py_a", label="ServiceA", source_file="src/service.py", file_type="code")
391 G.add_node("py_b", label="ServiceB", source_file="src/utils.py", file_type="code")
392 return G
393
394
395def test_code_doc_inferred_calls_suppressed():

Calls 1

add_nodeMethod · 0.95

Tested by

no test coverage detected