MCPcopy Index your code
hub / github.com/algorithmicsuperintelligence/openevolve / _read_task

Function _read_task

scripts/manual.py:97–104  ·  view source on GitHub ↗
(qdir: Path, task_id: str)

Source from the content-addressed store, hash-verified

95
96
97def _read_task(qdir: Path, task_id: str) -> Optional[Dict]:
98 p = qdir / f"{task_id}.json"
99 if not p.exists():
100 return None
101 try:
102 return json.loads(p.read_text(encoding="utf-8"))
103 except Exception:
104 return None
105
106
107def _normalize_newlines(text: str) -> str:

Callers 1

api_task_detailFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected