How it works › Explain the data

Explain the data

Zach, on the actuator-models views: "with data-ui as the base it's really about making these dashboards that really explain the data." A view can open with its answer and make its numbers readable, without a second page.

Every model on every bench

Live

The whole robotparts-models case with its toolbar and rail. The pivot opens with its question, a strip of KPI cards and how to read it; its models are rolled up across actuators. Open Roll up to bring the actuators back, or switch tabs for column groups and sub-columns.

The live view starts when it scrolls into sight.

From the example Actuator models · benches, leaderboard, parameters

The keys

- type: pivot
  name: Benches
  intro:
    text: |
      **How does every model do on every bench?** A row is a model, rolled up across the actuators it ran on; a
      column is one bench test; a cell is the median error of every run behind it, in multiples of that actuator's
      measurement floor (1 × = as close as the rack repeats itself; twin-grade is ≤ 1.5 ×). In the strip, each dot
      is a run and the tall tick their median, on one scale per column (its ends in the header). **Roll up** in the
      toolbar brings the actuators back; click a cell for its runs, a model's name for its page.
    kpi:
      filters:
        and:
          - 'kind == "run"'
          - '!x_floor.isEmpty()'
      groupBy: { property: bench }
      kpi:
        value: { property: x_floor, summary: Median }
        gate: { max: 1.5 }
  filters:
    and:
      - 'kind == "run"'
      - '!x_floor.isEmpty()'
  order: [variant, actuator]
  groupBy: { property: rung, direction: ASC }
  splitBy: [bench, test]
  value: { property: x_floor, summary: Median, display: dist }
  rollup: { keep: [variant], dims: [actuator, variant, model, rung, family] }
  columnSize: { variant: 200 }

Comes from docs/CONTRACT.md §16 (explain the data) in docs/.