()
| 169 | |
| 170 | |
| 171 | def parse_args() -> argparse.Namespace: |
| 172 | parser = argparse.ArgumentParser(description=__doc__) |
| 173 | parser.add_argument("--benchmark-dir", type=Path, default=Path(".")) |
| 174 | parser.add_argument( |
| 175 | "--reports", |
| 176 | type=Path, |
| 177 | default=Path("reference_outputs") / "paperflow_reading_reports.jsonl", |
| 178 | help="Reading-report JSONL file to evaluate.", |
| 179 | ) |
| 180 | parser.add_argument("--output", type=Path, default=None) |
| 181 | return parser.parse_args() |
| 182 | |
| 183 | |
| 184 | def main() -> int: |