Back to All Projects

MyLifeAsData v2 - AI-Designed N=1 Self-Experiments

Apps2025-07-13
View CodeVisit Site
MyLifeAsData v2 - AI-Designed N=1 Self-Experiments
Next.js 15ReactTypeScriptSupabaseGemini 2.5 ProTailwindRadix UIPostgreSQL RLS

MyLifeAsData v2 — AI-Designed N=1 Self-Experiments

"Duolingo for self-experimentation."

Overview

MyLifeAsData v2 is a personal optimization platform that turns vague self-improvement goals ("I want more energy") into scientifically-structured N=1 experiments with proper control phases, statistical significance testing, and real-time correlation discovery.

The wedge: most tracking apps collect data but never surface insights. MyLifeAsData inverts the loop — AI designs what to track, a spaced-repetition algorithm decides when to ping you for each metric, and a correlation engine ships insights in days instead of months.

🎯 Core Ideas

AI experiment design

Gemini 2.5 Pro takes a goal, asks contextual questions about your equipment and lifestyle, then generates a structured experiment with hypothesis, metrics, control phase, and timeline.

Spaced repetition for data collection

Instead of asking for every metric every day:

  • High-variance metrics (mood, energy) → daily
  • Medium-variance (sleep, meals) → every 3 days
  • Low-variance (weight, habits) → weekly
  • Adaptive: frequency adjusts based on consistency

Result: same statistical power with a fraction of the tracking fatigue.

Correlation engine

Pearson correlation with significance testing, confidence-scored by sample size. Human-readable insights generated by AI on top of the raw stats. Cross-experiment pattern discovery surfaces unexpected links between different life areas.

🛠️ Tech Stack

  • Next.js 15 with React Server Components
  • Supabase with Row-Level Security (multi-tenant data isolation)
  • Gemini 2.5 Pro for experiment design and insight generation
  • Tailwind CSS + Radix UI
  • Typeform-inspired card-based tracking UI

💡 Why I Built This

After years of personal health tracking (Fitbit, blood panels, food logs), I realized I had a mountain of data and almost no insights. The tools I was using were great at collection and terrible at synthesis. MyLifeAsData is the inverse-shaped tool: opinionated about what's worth tracking, generous with the "so what?"