How hytangs/vigo-bench works
VIGO Bench is a local coordinate-routing benchmark harness. Users prepare a city workload, run selected routing engines against the same saved OD set, retain results and timing evidence, then inspect routes and compare outcomes in the dashboard or with offline audits. The graph preserves the documented engine-adapter, fairness, sensitivity, and evidence branches. Several connections are documented in the README; unsampled implementation details are not inferred.
Main entry points: run-benchmark.mjs Benchmark runner · app.js Dashboard interface · map.js Route map · benchmark-study.mjs Study workflow
Components 23
Workload setup
- OSM and GTFS
- Study workflow
scripts/benchmark-study.mjs
Benchmark execution
- Benchmark runner
scripts/run-benchmark.mjs - Workload and result data
scripts/benchmark-data.mjs - Timing contracts
scripts/benchmark-contracts.mjs
Evidence analysis
- Run provenance
scripts/benchmark-recording.mjs - Evidence writing
scripts/benchmark-evidence.mjs - Fairness comparison
scripts/benchmark-fairness.mjs - Sensitivity analysis
scripts/benchmark-sensitivity.mjs - Timing statistics
scripts/benchmark-statistics.mjs - Route quality comparison
scripts/compare-route-quality.py - Itinerary audit
scripts/audit-itineraries.py - OSM walk audit
scripts/audit-osm-walks.py
Local dashboard
- Dashboard server
scripts/benchmark-dashboard.mjs - Dashboard interface
dashboard/app.js - Comparison chart
dashboard/comparison-chart.js - Route map
dashboard/map.js - Route geometry
dashboard/route-geometry.js
Engine runtimes
- Engine adapters
scripts - Adapter runtime helpers
scripts/adapter_runtime.py - VIGO runtime
scripts/vigo-runtime.mjs
Other components
- Local user
- OSM map tiles
Connections 23
- Local user → Study workflow: starts runs
README.md - Local user → Dashboard interface: inspects results
README.md - OSM and GTFS → Study workflow: supplies inputs
README.md - Study workflow → Benchmark runner: invokes
scripts/benchmark-study.mjs - Benchmark runner → Workload and result data: reads workload
scripts/benchmark-data.mjs - Benchmark runner → Timing contracts: uses timing definitions
scripts/run-benchmark.mjs - Benchmark runner → Engine adapters: dispatches queries
README.md - Engine adapters → Adapter runtime helpers: uses helpers
scripts/graphhopper-engine-adapter.py - Benchmark runner → VIGO runtime: resolves runtime
scripts/run-benchmark.mjs - Benchmark runner → Run provenance: records provenance
scripts/run-benchmark.mjs - Benchmark runner → Evidence writing: writes evidence
scripts/run-benchmark.mjs - Benchmark runner → Fairness comparison: computes comparisons
scripts/run-benchmark.mjs - Benchmark runner → Sensitivity analysis: computes sensitivity
scripts/run-benchmark.mjs - Benchmark runner → Timing statistics: summarizes timings
scripts/run-benchmark.mjs - Benchmark runner → Workload and result data: returns observations
scripts/benchmark-data.mjs - Local user → Itinerary audit: audits retained routes
README.md - Local user → OSM walk audit: audits walking paths
README.md - Local user → Route quality comparison: compares route quality
- Dashboard server → Workload and result data: loads saved evidence
scripts/benchmark-dashboard.mjs - Dashboard interface → Comparison chart: renders comparisons
dashboard/app.js - Dashboard interface → Route map: shows routes
dashboard/app.js - Route map → Route geometry: normalizes routes
dashboard/map.js - Route map → OSM map tiles: loads basemap
dashboard/map.js