INNER CODE UNIT · Python

main

AgentSkillOS/SkillAnything · scripts/aggregate_benchmark.py:157

def main() -> int:
    import argparse

    parser = argparse.ArgumentParser(description="Aggregate benchmark results")
    parser.add_argument("--workspace-dir", type=Path, required=True)
    parser.add_argument("--output-dir", type=Path, default=None)
    args = parser.parse_args()

    benchmark = aggregate_benchmark(workspace_dir=args.workspace_dir)

    if "error" in benchmark and not benchmark.get("stats"):
        print(f"Error: {benchmark['error']}", file=sys.stderr)
        return 1

    output_dir = args.output_dir or args.workspace_dir
    generate_benchmark_report(benchmark, output_dir)

    # Print summary

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…