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

Function _write_jsonl

experiments/tests/test_nl_profile_baseline.py:10–13  ·  view source on GitHub ↗
(path: Path, rows)

Source from the content-addressed store, hash-verified

8
9
10def _write_jsonl(path: Path, rows):
11 with path.open("w", encoding="utf-8") as handle:
12 for row in rows:
13 handle.write(json.dumps(row, ensure_ascii=False) + "\n")
14
15
16def _row(date, paper_id, title, abstract, *, selected=False, oracle_label="irrelevant", **extra):

Calls

no outgoing calls

Tested by

no test coverage detected