Write and check a model › Build data apps › Product overview

Write and check a model › Build data apps

Product overview

One product at a glance: how its bench runs pass against the requirement, how many units report from the field, their faults and their temperature. It does the job of the anfra Ecommerce Overview, on an engineering product.

archec new my-app --kind data-app --template product-overview
archec ui preview my-app/main.arche --serve

What it shows#

  • A filter bar: the last 30 days, a site, a firmware.
  • Four tiles: the pass rate against REQ-PASS with its weekly trend, the units reporting, the faults with their daily trend, the air temperature. Each says its change against the 30 days before.
  • The pass rate by week, a line per firmware. A click filters the screen.
  • The faults by week and site, and by site. A click on a site filters.
  • The units with the most faults, ten to a page, with Export CSV.

The data#

  • data/evidence.jsonl: bench runs with the fields archec test records (at, plan, case, place, verdict) and the firmware they ran. from evidence test reads your own.
  • data/telemetry.csv: a row per unit and day: at, device, site, firmware, air_temp, fan_hours, faults.

Limits#

  • The two datasets share a firmware field, so the firmware filter keeps both. The site filter keeps the telemetry only: the bench runs have no site.

The model is lib/data-apps/product-overview/main.arche, and the gallery lists the other templates.