Walks a session's row data once and derives the headline metrics shown
across the Library table and the Session-detail Overview tab.
Pass logic:
Single-pass scan accumulating max speed, peak HP, peak torque,
max boost, max coolant, and the MPG sum + sample count (idle
samples — those with mpg <= 0 — skipped).
Distance read from the last row's odo (cumulative). Falls back
to 0 if the last row has no odo.
0-30 / 0-60 detection delegated to detectLaunchTimes; returns
null for either when no full launch is found in the data.
Fields are imperial — convert at display time when units mode is
metric.
Walks a session's row data once and derives the headline metrics shown across the Library table and the Session-detail Overview tab.
Pass logic:
mpg <= 0— skipped).odo(cumulative). Falls back to 0 if the last row has noodo.detectLaunchTimes; returnsnullfor either when no full launch is found in the data.Fields are imperial — convert at display time when units mode is metric.