Skip to content

Findings: season rewind on every season page - #90

Merged
Luen merged 1 commit into
mainfrom
season-rewind
Nov 2, 2026
Merged

Luen merged 1 commit into
mainfrom
season-rewind

Conversation

@Luen

@Luen Luen commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Closes #56.

The season pages already had effort, catches by nursery, weekly catches, sizes, ocean, crew, set log and notes. This PR adds the "rewind" highlights the issue asked for. They are computed live in analytics/rewind.ts (no hard-coded numbers) and shown as finding cards under the KPI tiles:

Card What
Busiest night Set with the most sharks (site and date)
Catch rate Season CPUE and its rank among seasons ("the highest of 12", "2nd lowest of 12")
Biggest shark Largest total length, using the same plausibility filter as the findings; links to the shark
Most-caught shark Most captures of one individual this season; links to the shark
Water temperature Mean SST on survey nights, ranked among seasons
El Niño or La Niña? Mean ONI for Nov–Jan, with the ±0.5 threshold
Most sets Crew member on the most sets

Example (2019-20, real data): busiest night 12 sharks; catch rate 1.38 per net-hour, the highest of 12 seasons; biggest a 1,086 mm sicklefin lemon; one shark caught 4 times.

Checks

  • pnpm lint and pnpm check pass.
  • pnpm test passes (39, including a new fixture test).
  • pnpm build and pnpm test:e2e (29) pass.
  • Checked 2013-14, 2019-20 and 2025-26 against the real data.

🤖 Generated with Claude Code

analytics/rewind.ts computes per-season highlights live: busiest night,
catch-rate and sea-temperature rank among seasons, biggest and most-caught
shark, ENSO state (Nov-Jan ONI) and the most frequent crew member. Shown as
finding cards under the season KPIs.

Closes #56

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Luen
Luen merged commit 72176d6 into main Nov 2, 2026
5 checks passed
@Luen
Luen deleted the season-rewind branch November 2, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Findings: per-season report cards ('season rewind')

1 participant