8152fe79b6
Both stats.html.twig and trip.html.twig previously flattened all GPX trackpoints into a single masterPts array before computing haversine distance, elevation, and moving time. This caused the junction between file N's last point and file N+1's first point to be treated as a real segment — e.g. Florence→coast (~79 km, ~42 h) for Italy's 3-file demo data, overstating distance and moving time significantly. Fix: compute all metrics within each file independently and sum the results. fileResults collection and callback consumption are unchanged. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WPJztrVGbwic2xTG7G9fjM