{
  "spec_version": "0.1.0-draft",
  "tolerance_years": 0.01,
  "vectors": [
    {
      "id": "endurance-woman-41",
      "note": "Spec example persona: trained woman, SBP and eGFR not measured.",
      "person": {
        "age": 41.3,
        "sex": "female",
        "meta": {
          "vo2max_source": "lab"
        },
        "inputs": {
          "vo2max_ml_kg_min": 44.0,
          "hrr_1min_bpm": 28,
          "resting_hr_bpm": 54,
          "rmssd_ms": 58,
          "night_resp_rate_per_min": 14.8,
          "sleep_hours": 6.8,
          "sri_0_100": 74,
          "hba1c_pct": 5.4,
          "fasting_glucose_mg_dl": 91,
          "waist_to_height": 0.47,
          "hs_crp_mg_l": 1.2,
          "grip_kg": 26,
          "strength_min_per_week": 15,
          "steps_per_day": 8900,
          "sedentary_hours": 10.4,
          "mvpa_min_per_day": 45,
          "drinks_per_week": 9,
          "smoking_status": "never"
        }
      },
      "expected": {
        "spec_version": "0.1.0-draft",
        "chronological_age": 41.3,
        "estimate": 36.04,
        "offset_years": -5.26,
        "range": [
          31.77,
          40.32
        ],
        "range_level": 0.8,
        "contributions_years": {
          "alcohol": 0.5,
          "crp": 0.0,
          "glycemia": 0.0,
          "grip": 0.692,
          "hr_recovery": -0.15,
          "hrv_low": 0.0,
          "resp_rate": 0.0,
          "resting_hr": -0.8,
          "sedentary": 0.561,
          "sleep_duration": 0.341,
          "sleep_regularity": 2.648,
          "smoking": 0.0,
          "steps": -1.287,
          "strength_training": -1.483,
          "vo2max": -6.281,
          "waist_to_height": 0.0
        },
        "domains_years": {
          "fitness": -6.431,
          "habits": -0.226,
          "heart": -0.8,
          "metabolic": 0.0,
          "sleep": 2.989,
          "strength": -0.791
        },
        "missing_key_signals": [
          "systolic_bp",
          "egfr"
        ]
      }
    },
    {
      "id": "average-woman-41",
      "note": "Average values for age and sex must score about zero.",
      "person": {
        "age": 41.0,
        "sex": "female",
        "inputs": {
          "vo2max_ml_kg_min": 30.4,
          "hrr_1min_bpm": 25,
          "resting_hr_bpm": 70,
          "sleep_hours": 7.5,
          "sri_0_100": 81,
          "hba1c_pct": 5.3,
          "fasting_glucose_mg_dl": 92,
          "waist_to_height": 0.5,
          "hs_crp_mg_l": 1.0,
          "grip_kg": 28.85,
          "strength_min_per_week": 0,
          "steps_per_day": 6500,
          "sedentary_hours": 9.5,
          "mvpa_min_per_day": 20,
          "drinks_per_week": 5,
          "smoking_status": "never"
        }
      },
      "expected": {
        "spec_version": "0.1.0-draft",
        "chronological_age": 41.0,
        "estimate": 41.05,
        "offset_years": 0.05,
        "range": [
          37.67,
          44.44
        ],
        "range_level": 0.8,
        "contributions_years": {
          "alcohol": 0.0,
          "crp": 0.0,
          "glycemia": 0.0,
          "grip": 0.017,
          "hr_recovery": 0.0,
          "resting_hr": 0.0,
          "sedentary": 0.0,
          "sleep_duration": 0.0,
          "sleep_regularity": 0.0,
          "smoking": 0.0,
          "steps": 0.0,
          "strength_training": 0.0,
          "vo2max": 0.037,
          "waist_to_height": 0.0
        },
        "domains_years": {
          "fitness": 0.037,
          "habits": 0.0,
          "heart": 0.0,
          "metabolic": 0.0,
          "sleep": 0.0,
          "strength": 0.017
        },
        "missing_key_signals": [
          "systolic_bp",
          "egfr"
        ]
      }
    },
    {
      "id": "former-smoker-man-67",
      "note": "Older man, quit at 50, measured BP and eGFR, wearable VO2max.",
      "person": {
        "age": 67.0,
        "sex": "male",
        "meta": {
          "vo2max_source": "wearable"
        },
        "inputs": {
          "vo2max_ml_kg_min": 29.0,
          "resting_hr_bpm": 66,
          "sleep_hours": 7.2,
          "sri_0_100": 84,
          "hba1c_pct": 5.9,
          "waist_to_height": 0.56,
          "systolic_bp_mmhg": 138,
          "egfr_ml_min": 72,
          "grip_kg": 38,
          "strength_min_per_week": 60,
          "steps_per_day": 7400,
          "drinks_per_week": 12,
          "smoking_status": {
            "status": "former",
            "quit_age": 50
          }
        }
      },
      "expected": {
        "spec_version": "0.1.0-draft",
        "chronological_age": 67.0,
        "estimate": 72.6,
        "offset_years": 5.6,
        "range": [
          68.64,
          76.56
        ],
        "range_level": 0.8,
        "contributions_years": {
          "alcohol": 0.5,
          "egfr": 0.883,
          "glycemia": 0.774,
          "grip": 0.482,
          "resting_hr": -0.2,
          "sleep_duration": 0.0,
          "sleep_regularity": -0.943,
          "smoking": 4.779,
          "steps": -2.779,
          "strength_training": -1.886,
          "systolic_bp": 2.74,
          "vo2max": 0.202,
          "waist_to_height": 1.048
        },
        "domains_years": {
          "fitness": 0.202,
          "habits": 2.5,
          "heart": -0.2,
          "metabolic": 5.446,
          "sleep": -0.943,
          "strength": -1.404
        },
        "missing_key_signals": []
      }
    },
    {
      "id": "sparse-wearable-only",
      "note": "Only steps and resting HR: wide range, never pulled to calendar age.",
      "person": {
        "age": 33.0,
        "sex": "male",
        "inputs": {
          "steps_per_day": 11500,
          "resting_hr_bpm": 58
        }
      },
      "expected": {
        "spec_version": "0.1.0-draft",
        "chronological_age": 33.0,
        "estimate": 28.65,
        "offset_years": -4.35,
        "range": [
          24.44,
          32.85
        ],
        "range_level": 0.8,
        "contributions_years": {
          "resting_hr": -0.6,
          "steps": -3.754
        },
        "domains_years": {
          "habits": -3.754,
          "heart": -0.6
        },
        "missing_key_signals": [
          "vo2max",
          "sleep_duration",
          "sleep_regularity",
          "glycemia",
          "waist_to_height",
          "systolic_bp",
          "egfr",
          "grip",
          "smoking",
          "alcohol"
        ]
      }
    },
    {
      "id": "high-risk-clip",
      "note": "Many adverse values: offset is clipped at +15 years and contributions scaled.",
      "person": {
        "age": 50.0,
        "sex": "male",
        "inputs": {
          "vo2max_ml_kg_min": 18,
          "hrr_1min_bpm": 8,
          "resting_hr_bpm": 96,
          "night_resp_rate_per_min": 18,
          "sleep_hours": 5.2,
          "sri_0_100": 58,
          "hba1c_pct": 7.4,
          "waist_to_height": 0.68,
          "hs_crp_mg_l": 6,
          "systolic_bp_mmhg": 165,
          "egfr_ml_min": 40,
          "grip_kg": 28,
          "steps_per_day": 2200,
          "sedentary_hours": 12.5,
          "mvpa_min_per_day": 0,
          "drinks_per_week": 30,
          "smoking_status": "current"
        }
      },
      "expected": {
        "spec_version": "0.1.0-draft",
        "chronological_age": 50.0,
        "estimate": 65.0,
        "offset_years": 15,
        "range": [
          61.42,
          68.58
        ],
        "range_level": 0.8,
        "contributions_years": {
          "alcohol": 0.874,
          "crp": 0.575,
          "egfr": 0.894,
          "glycemia": 0.927,
          "grip": 1.238,
          "hr_recovery": 0.659,
          "resp_rate": 0.187,
          "resting_hr": 0.253,
          "sedentary": 2.908,
          "sleep_duration": 0.192,
          "sleep_regularity": 0.806,
          "smoking": 2.321,
          "steps": 0.417,
          "systolic_bp": 1.331,
          "vo2max": 0.808,
          "waist_to_height": 0.611
        },
        "domains_years": {
          "fitness": 1.467,
          "habits": 6.52,
          "heart": 0.439,
          "metabolic": 4.339,
          "sleep": 0.998,
          "strength": 1.238
        },
        "missing_key_signals": []
      }
    }
  ]
}