Solver Benchmark Programmatic Usage

Sub-skill of solver-benchmark: Programmatic Usage.

vamseeachanta 3892dcc 764 B Updated

File contents

Programmatic Usage

Programmatic Usage

from pathlib import Path
from scripts.benchmark.run_3way_benchmark import run_benchmark

# Run benchmark
result = run_benchmark(
    spec_path=Path("specs/modules/benchmark/unit_box_spec.yml"),
    output_dir=Path("benchmark_output/unit_box"),
    solvers=["orcawave", "aqwa", "bemrosetta"],
    dry_run=False,
)

# Check results
print(f"Success: {result.success}")
for name, sr in result.solver_results.items():
    print(f"  {name}: {sr.status}")

if result.benchmark_result and result.benchmark_result.report:
    print(f"Consensus: {result.benchmark_result.report.overall_consensus}")

vamseeachanta/workspace-hub/tree/main/.agents/skills/_archive/engineering/marine-offshore/solver-benchmark/programmatic-usage commit 3892dcc8cc

Frequently asked questions

npx skillmds@latest add vamseeachanta/solver-benchmark-programmatic-usage