(path: Path, rows)
| 8 | |
| 9 | |
| 10 | def _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 | |
| 16 | def _row(date, paper_id, title, abstract, *, selected=False, oracle_label="irrelevant", **extra): |
no outgoing calls
no test coverage detected