()
| 119 | |
| 120 | |
| 121 | def main() -> None: |
| 122 | args = parse_args() |
| 123 | output_dir = Path(args.output_dir) |
| 124 | scored = build_scored_rows(common.read_csv(Path(args.blind_csv)), common.read_csv(Path(args.key_csv))) |
| 125 | event_scores = aggregate_event_scores(scored) |
| 126 | method_scores = aggregate_method_scores(event_scores) |
| 127 | common.write_csv(output_dir / "drift_human_eval_scored_papers.csv", scored) |
| 128 | common.write_csv(output_dir / "drift_human_eval_event_scores.csv", event_scores) |
| 129 | common.write_csv(output_dir / "drift_human_eval_method_summary.csv", method_scores) |
| 130 | print(f"Scored papers: {output_dir / 'drift_human_eval_scored_papers.csv'}") |
| 131 | print(f"Event scores: {output_dir / 'drift_human_eval_event_scores.csv'}") |
| 132 | print(f"Method summary: {output_dir / 'drift_human_eval_method_summary.csv'}") |
| 133 | |
| 134 | |
| 135 | if __name__ == "__main__": |
no test coverage detected