| 131 | |
| 132 | |
| 133 | def parse_args() -> argparse.Namespace: |
| 134 | parser = argparse.ArgumentParser(description="Correlate automatic and human scores.") |
| 135 | parser.add_argument("--input-csv", required=True, help="CSV containing automatic and human scores.") |
| 136 | parser.add_argument("--auto-column", default="OverallScore", help="Automatic score column name.") |
| 137 | parser.add_argument("--human-column", default="HumanScore", help="Human score column name.") |
| 138 | parser.add_argument("--output-json", default=None, help="Optional JSON output path.") |
| 139 | parser.add_argument("--output-md", default=None, help="Optional Markdown output path.") |
| 140 | parser.add_argument("--bootstrap", type=int, default=1000, help="Bootstrap iterations for confidence intervals.") |
| 141 | parser.add_argument("--seed", type=int, default=42) |
| 142 | return parser.parse_args() |
| 143 | |
| 144 | |
| 145 | def main() -> None: |