MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / main

Function main

experiments/ablation/run_paperflow_fixed_profile_ablation.py:302–316  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

300
301
302def main() -> None:
303 args = parse_args()
304 input_dir = Path(args.input_dir)
305 output_dir = (
306 Path(args.output_dir)
307 if args.output_dir
308 else input_dir.parent / "main_experiment" / METHOD_KEY
309 )
310 result = run_ablation(
311 input_dir=input_dir,
312 output_dir=output_dir,
313 roles_path=Path(args.roles_path),
314 top_k=args.top_k,
315 )
316 print(json.dumps(result, ensure_ascii=False, indent=2))
317
318
319if __name__ == "__main__":

Calls 2

parse_argsFunction · 0.70
run_ablationFunction · 0.70

Tested by

no test coverage detected