()
| 182 | |
| 183 | |
| 184 | def main() -> None: |
| 185 | args = parse_args() |
| 186 | output_dir = Path(args.output_dir) |
| 187 | scored = build_scored_reports(common.read_csv(Path(args.blind_csv)), common.read_csv(Path(args.key_csv))) |
| 188 | auto_lookup = load_auto_summary(Path(args.auto_summary_csv)) if args.auto_summary_csv else None |
| 189 | summary = aggregate_model_scores(scored, auto_lookup) |
| 190 | common.write_csv(output_dir / "model_human_eval_scored_reports.csv", scored) |
| 191 | common.write_csv(output_dir / "model_human_eval_model_summary.csv", summary) |
| 192 | print(f"Scored reports: {output_dir / 'model_human_eval_scored_reports.csv'}") |
| 193 | print(f"Model summary: {output_dir / 'model_human_eval_model_summary.csv'}") |
| 194 | |
| 195 | |
| 196 | if __name__ == "__main__": |
no test coverage detected