mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
f7013de63a
Major improvements to statistics endpoint and display: API Enhancements: - Add person_id to PersonStat model for accurate linking - Integrate biographies.json data to supplement GEDCOM ages - Support name aliases (e.g., "Mathusala or Methuselah" -> "Methuselah") - Fix Methuselah showing as longest lived (969 years vs Adam's 930) - Increase age data coverage from 1 to 53 people with known ages - Improve average lifespan calculation (241.5 years with better data) Template Improvements: - Add clickable links to person pages in statistics - Use actual GEDCOM person IDs instead of name slugs - Remove average lifespan display from table (cleaner UI) Test Updates: - Add person_id field assertions to stats endpoint test - Verify correct response structure with IDs Statistics now show: - 479 total people in genealogy - 41 generations from Adam to Jesus - Methuselah as longest lived (969 years) - David with most children (19) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>