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

Function edge_dangles

graphify/cache.py:2309–2315  ·  view source on GitHub ↗
(e: dict)

Source from the content-addressed store, hash-verified

2307 if skipped_ids:
2308
2309 def edge_dangles(e: dict) -> bool:
2310 try:
2311 return e.get("source") in skipped_ids or e.get("target") in skipped_ids
2312 except TypeError:
2313 # Non-hashable endpoint from an untrusted result; leave it
2314 # to build-time validation rather than fail the save.
2315 return False
2316
2317 def hyperedge_dangles(h: dict) -> bool:
2318 try:

Callers 2

save_semantic_cacheFunction · 0.85
scope_semantic_resultFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected