Assumptions — S4-metrics

Each entry: value, reason, expected sensitivity, and what evidence would replace it. Sourced values are not listed here; they carry their source id in the data files.

Vehicle-id separator (contract change needed in S2)

Hour bands (vhsim.metrics.bands.DEFAULT_HOUR_BANDS)

band hours reason
00-06 0 to 6 night; almost no traffic, shown so nothing is silently dropped
06-09 6 to 9 morning peak window
09-15 9 to 15 inter-peak / daytime (includes the S-D19 7am-7pm count window's middle)
15-18 15 to 18 afternoon/school peak
18-24 18 to 24 evening
all whole run every trip/movement

Bands are on the simulation clock (seconds since midnight, mod 24 h). Accessibility bands use the actual departure time; movement bands use the time the vehicle leaves the approach edge. Reason: the 2017 counts cover 07:00-19:00, so peaks should be separable; the exact edges are a judgement and can be overridden with hour_bands=. Sensitivity: only presentation; "all" is unaffected. flow_per_hour = n / hours-in-band assumes the simulation covers the whole band; for partial runs pass duration_hours (for all) and read band rows with care.

Travel-time histogram bins (accessibility.HIST_BINS, seconds)

0, 60, 120, 180, 240, 300, 420, 600, 900, 1200, 1800, 3600, inf (bins [lo, hi)). Reason: 1-minute resolution up to 5 minutes (most in-town trips), coarser out to 1 hour for gateway trips. Fixed (not data-driven) so scenarios compare bin by bin. Sensitivity: presentation only.

Percentiles

numpy.percentile default (linear interpolation, position p/100*(n-1)). Different conventions differ by less than one sample spacing; with n < ~100 p99 is essentially the maximum, hence the small-n flag.

Travel time definition

tripinfo duration (arrival - actual departure). Time waiting to be inserted (departDelay) is excluded by default and available with include_depart_delay=True. Reason: insertion delay at a gateway in a saturated model is a demand-side artefact; but if it becomes large the run should be treated as unreliable (see waiting-to-insert in the run summary). Sensitivity: large in congested scenarios; always check summary["waiting"].

Strata in accessibility

Only res and vis by default (task spec). thr (through) and ext trips have no local origin zone or no meaningful destination category and are excluded unless strata= says otherwise. Zones missing from the zone-to-area mapping go to area "unmapped" (not dropped), so a mapping gap is visible.

Approach delay (movements)

Compass and turn angles

Small-n threshold (compare.MIN_N)

30 samples per cell on either side (a missing side counts as 0). Reason: below ~30 a mean has a wide interval and p95 depends on one or two trips; p99 needs ~100 to be meaningful, so p99 cells with n < 100 should be read as "about the maximum". Flagged cells are marked low_n and shown shaded with a dagger in reports; nothing is dropped. Sensitivity: presentation only.

Run settings (run.simulate)

By Brent Jacobs · 22 November 2026