mirror of
https://github.com/safishamsi/graphify.git
synced 2026-10-16 17:09:17 +00:00
docs(diagnostics): note ref_ external refs and external=True stubs are distinct (#3590 follow-up)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
4e811363a6
commit
41c0407504
1 file changed
+5
@@ -203,6 +203,11 @@ def diagnose_extraction(
|
||||
missing_endpoint_edges += 1
|
||||
continue
|
||||
if source not in node_ids or target not in node_ids:
|
||||
# Two intentionally-distinct populations of "external": a `ref_`
|
||||
# target here is a JSON/config out-of-corpus reference ($ref /
|
||||
# extends / references), whereas import-family externals are minted
|
||||
# as declared `external=True` stub nodes at build time (#2873) and
|
||||
# therefore never reach this branch. Don't try to unify them.
|
||||
if source in node_ids and target.startswith("ref_"):
|
||||
external_reference_edges += 1
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user