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

Function iter_jsonl

experiments/benchmark/make_benchmark_submission.py:14–19  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

12
13
14def iter_jsonl(path: Path) -> Iterable[Dict[str, Any]]:
15 with path.open("r", encoding="utf-8-sig") as handle:
16 for line in handle:
17 line = line.strip()
18 if line:
19 yield json.loads(line)
20
21
22def as_float(value: Any) -> float | None:

Callers 1

make_submissionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected