torque-pro-assistant - v1.0.0
    Preparing search index...
    • 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:

      1. 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).
      2. Distance read from the last row's odo (cumulative). Falls back to 0 if the last row has no odo.
      3. 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.

      Parameters

      • session: Session

        The session to summarize.

      Returns SessionSummary

      Aggregate metrics. Individual fields may be 0 if the session doesn't carry the source data (e.g. peakHp is 0 when no horsepower PID was logged).