MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / iter_jsonl

Function iter_jsonl

experiments/human_eval/build_main_human_eval_packet.py:193–201  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

191
192
193def iter_jsonl(path: Path) -> Iterable[Dict[str, Any]]:
194 with path.open("r", encoding="utf-8-sig") as handle:
195 for line in handle:
196 line = line.strip()
197 if not line:
198 continue
199 item = json.loads(line)
200 if isinstance(item, dict):
201 yield item
202
203
204def collect_method_episodes(method_key: str, method_name: str, path: Path) -> List[Dict[str, Any]]:

Callers 2

load_paper_url_mapFunction · 0.70
collect_method_episodesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected