Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeGraphContext/CodeGraphContext
/ load_json
Function
load_json
scripts/compare_backend_snapshots.py:59–63 ·
view source on GitHub ↗
(path: Path)
Source
from the content-addressed store, hash-verified
57
58
59
def
load_json(path: Path) -> Any:
60
text = path.read_text(encoding=
"utf-8"
, errors=
"ignore"
).strip()
61
if
not text:
62
return
{}
63
return
json.loads(text)
64
65
66
def
jaccard_similarity(a: Set[str], b: Set[str]) -> float:
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected