Lab

Run detail

Slant / Data

One training run in detail: its status and last report, time by phase, the spend forecast against the budget, loss by step, and the trace, with a failed eval.

The theme follows the link: share a page with ?theme=moon.

Usage

  • A header with the run's name, a Badge for its status and "Updated" with a <RelativeTime staleAfter>; then a <SegmentBar> of time by phase and a <Meter> of the spend forecast with thresholds and estimated.
  • A <LineChart> of loss on a numeric x (the steps, logged unevenly) with train and eval series, axis titles, legend toggles and a crosshair; then a <SpanTimeline> of the trace, its failed eval in the danger tone.
  • The data is fixed and so is the clock (now), so the server and the browser draw the same thing; each phase keeps its colour slot from the bar to the trace.

Keyboard

Tabreaches the update time, whose full date shows in a tooltip, then moves from chart to chart, each one tab stop, and through the loss chart's legend buttons
← / →walks the steps of the loss chart; in the trace, opens and folds a span, or steps into it and back out
↑ / ↓switches series in the loss chart, or moves between the rows of the trace
Home / Endjumps to the first or last step or row
+ / − / 0zooms the trace in around the cursor's span, out again, or back to everything
Enter / Spaceon a legend name, shows or hides that line
Escapehides the tooltip

Accessibility

  • Each chart is a named group with a text summary and a data table screen readers can browse, and every step of its walk is spoken through a polite live region.
  • Nothing rests on colour: the bar's legend holds every phase's minutes and share, the meter reads "$342 of $400, estimated" and names its thresholds, and the failed span says "Out of memory, exit 137" as well as turning red.
  • The legend's names are toggle buttons with aria-pressed; the last line showing can't be hidden.

Run detail in React and SwiftUI.

Source

The React tab is the component’s real source; the SwiftUI tab is its twin in TUTTNKit.