stl_assert_run
Run assumption checks on the current transit feed, returning pass, fail, or skip with observed values to diagnose issues immediately.
Instructions
Evaluate the assumption suite against the current feed.
Every result carries the OBSERVED value beside the threshold, so a failure is actionable without a second call: "stop_code coverage 0.982, threshold 0.99" tells you how bad it is, "FAIL" does not.
Three outcomes, not two. skip means the measurement could not be taken --
a stability check with no baseline to compare against has not been
performed, and reporting that as a pass would be a lie.
Args: only: assumption ids to run. Omit for all. baseline: snapshot id or pin name for the stability assumptions (stop_ids_stable, rail_route_ids_stable). Without it those skip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only | No | ||
| baseline | No | ||
| snapshot | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |