MCPcopy Create free account
hub / github.com/HKUDS/ClawWork / write_json

Function write_json

scripts/generate_static_data.py:51–55  ·  view source on GitHub ↗
(path: Path, data)

Source from the content-addressed store, hash-verified

49
50
51def write_json(path: Path, data):
52 path.parent.mkdir(parents=True, exist_ok=True)
53 with open(path, "w", encoding="utf-8") as f:
54 json.dump(data, f, ensure_ascii=False)
55 print(f" wrote {path.relative_to(REPO_ROOT)}")
56
57
58def agent_dirs():

Callers 9

gen_agentsFunction · 0.85
gen_leaderboardFunction · 0.85
gen_agent_detailFunction · 0.85
gen_agent_tasksFunction · 0.85
gen_agent_learningFunction · 0.85
gen_agent_economicFunction · 0.85
gen_artifactsFunction · 0.85
gen_terminal_logsFunction · 0.85
gen_settingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected