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

Function iter_jsonl

experiments/benchmark/evaluate_report_outputs.py:27–32  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

25
26
27def iter_jsonl(path: Path) -> Iterable[Dict[str, Any]]:
28 with path.open("r", encoding="utf-8-sig") as handle:
29 for line in handle:
30 line = line.strip()
31 if line:
32 yield json.loads(line)
33
34
35def selected_report_key(user_id: str, paper_id: Any, title: Any) -> Optional[Tuple[str, str, str]]:

Callers 2

expected_report_keysFunction · 0.70
evaluate_reportsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected