Average Peak Distance per Club

As a golfer using the Garmin Golf iOS app,
I want to see a Peak Distance Average for each club,
So that I can understand my true playable distance without outliers from mishits or single longest shots.

Acceptance Criteria:

  • For each club, system calculates Peak Distance Average = mean of top ~20% of recorded shot distances.

  • Peak Distance Average is displayed alongside existing metrics (Average Distance, Max Distance).

  • Calculation excludes manually deleted shots, consistent with existing Average Distance rules.

  • If fewer than 4 shots are recorded for a club, Peak Distance Average is not displayed (to avoid misleading output).

  • UI: Metric appears in the club stats screen under “Distances” with label Peak Avg (Top 25%).

  • Data updates automatically when new shots are recorded or edited.

Notes:

  • Formula: Sort shot distances per club → take highest 25% → compute mean.

  • Should align with current distance units (yards/meters setting).

  • Peak Distance Average should be included in CSV/data exports where available.