{
  "schema_version": "maglab-standard-report-v3",
  "run": 100829,
  "generated_utc": "2026-08-30T11:10:15+00:00",
  "analyzer_version": "maglab-analyzer v25",
  "analysis_model_id": "maglab-analysis-v1",
  "run_header": {
    "run": 100829,
    "session_id": "25498f4c-b29b-4270-9ed7-55d81c25da25",
    "started_utc_ms": 1788087537985,
    "duration_s": 360.308,
    "samples": {
      "calibrated": 18005,
      "uncalibrated": 18005,
      "accelerometer": 71196,
      "gyroscope": 22835
    },
    "magnetometer_accuracy_codes": "3\u00d718005",
    "requested_delay_us": 20000,
    "app_version": "53",
    "analysis_model_id": "maglab-analysis-v1",
    "has_console_manifest": false
  },
  "identity": {
    "person": "unknown",
    "role": "unassigned",
    "condition": "ATTENTION"
  },
  "primary_outcome": {
    "version": "maglab-final-v1",
    "available": true,
    "reason": "",
    "stream": "calibrated",
    "nominal_hz": 50.0,
    "reference_n": 1500,
    "outcome_n": 3000,
    "reference_window_s": [
      0.0,
      30.0
    ],
    "outcome_window_s": [
      240.0,
      300.0
    ],
    "reference_actual_bounds_s": [
      0.0,
      29.980016282
    ],
    "outcome_actual_bounds_s": [
      240.013492341,
      299.993503554
    ],
    "run_seconds": 360.09349515,
    "signed_delta_nt": -333.9,
    "absolute_delta_nt": 333.9,
    "delta_pct": -0.634,
    "reference_magnitude_ut": 52.672882,
    "outcome_magnitude_ut": 52.339014,
    "angle_deg": 0.577,
    "ambient_ut": 52.37
  },
  "practitioner_comparison": {
    "available": false,
    "reason": "not_a_cherylee_primary_run"
  },
  "overall_quality": "COMPLETE WITH DATA-QUALITY WARNING",
  "summary": "ATTENTION; -333.9 nT; complete with data-quality warning",
  "checks": {
    "readiness": {
      "status": "pass",
      "analyzable": true,
      "missing_streams": [],
      "session_type": "PHONE_FIRST_SESSION",
      "app_version": "53",
      "console_manifest": "unavailable_phone_first",
      "blocks": {
        "value": 1,
        "unit": "rows",
        "n": 1,
        "window": "whole run",
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "aborted_blocks": {
        "value": 0,
        "unit": "blocks",
        "n": 1,
        "window": "whole run",
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "streams": {
        "calibrated": {
          "value": 18005,
          "unit": "samples",
          "n": 18005,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "uncalibrated": {
          "value": 18005,
          "unit": "samples",
          "n": 18005,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "accelerometer": {
          "value": 71196,
          "unit": "samples",
          "n": 71196,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "gyroscope": {
          "value": 22835,
          "unit": "samples",
          "n": 22835,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        }
      }
    },
    "sampling": {
      "summary": "calibrated magnetometer 49.9981 Hz effective over N=18005 samples, 0 gaps",
      "stats": {
        "calibrated_samples": {
          "key": "calibrated_samples",
          "label": "calibrated samples",
          "value": 18005,
          "unit": "",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_duration": {
          "key": "calibrated_duration",
          "label": "calibrated span, first to last sample",
          "value": 360.093,
          "unit": "s",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_effective_rate": {
          "key": "calibrated_effective_rate",
          "label": "calibrated effective rate",
          "value": 49.99812616026368,
          "unit": "Hz",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_median_interval": {
          "key": "calibrated_median_interval",
          "label": "calibrated median sample interval",
          "value": 19.999841500006,
          "unit": "ms",
          "n": 18004,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_max_interval": {
          "key": "calibrated_max_interval",
          "label": "calibrated largest sample interval",
          "value": 28.143416000006027,
          "unit": "ms",
          "n": 18004,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_gaps": {
          "key": "calibrated_gaps",
          "label": "calibrated intervals over 1.5\u00d7 nominal",
          "value": 0,
          "unit": "",
          "n": 18004,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_missing_estimate": {
          "key": "calibrated_missing_estimate",
          "label": "calibrated samples missing across those gaps",
          "value": 0,
          "unit": "",
          "n": 18004,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "estimated from interval length; the phone never fabricates a sample",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_completeness": {
          "key": "calibrated_completeness",
          "label": "calibrated completeness against nominal rate",
          "value": 1.0,
          "unit": "",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_samples": {
          "key": "uncalibrated_samples",
          "label": "uncalibrated samples",
          "value": 18005,
          "unit": "",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_duration": {
          "key": "uncalibrated_duration",
          "label": "uncalibrated span, first to last sample",
          "value": 360.093,
          "unit": "s",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_effective_rate": {
          "key": "uncalibrated_effective_rate",
          "label": "uncalibrated effective rate",
          "value": 49.99812616026368,
          "unit": "Hz",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_median_interval": {
          "key": "uncalibrated_median_interval",
          "label": "uncalibrated median sample interval",
          "value": 19.999841500006,
          "unit": "ms",
          "n": 18004,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_max_interval": {
          "key": "uncalibrated_max_interval",
          "label": "uncalibrated largest sample interval",
          "value": 28.143416000006027,
          "unit": "ms",
          "n": 18004,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_gaps": {
          "key": "uncalibrated_gaps",
          "label": "uncalibrated intervals over 1.5\u00d7 nominal",
          "value": 0,
          "unit": "",
          "n": 18004,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_missing_estimate": {
          "key": "uncalibrated_missing_estimate",
          "label": "uncalibrated samples missing across those gaps",
          "value": 0,
          "unit": "",
          "n": 18004,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "estimated from interval length; the phone never fabricates a sample",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_completeness": {
          "key": "uncalibrated_completeness",
          "label": "uncalibrated completeness against nominal rate",
          "value": 1.0,
          "unit": "",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_samples": {
          "key": "accelerometer_samples",
          "label": "accelerometer samples",
          "value": 71196,
          "unit": "",
          "n": 71196,
          "window": [
            0.0,
            360.11207137
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_duration": {
          "key": "accelerometer_duration",
          "label": "accelerometer span, first to last sample",
          "value": 360.112,
          "unit": "s",
          "n": 71196,
          "window": [
            0.0,
            360.11207137
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_effective_rate": {
          "key": "accelerometer_effective_rate",
          "label": "accelerometer effective rate",
          "value": 197.7023422990176,
          "unit": "Hz",
          "n": 71196,
          "window": [
            0.0,
            360.11207137
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_median_interval": {
          "key": "accelerometer_median_interval",
          "label": "accelerometer median sample interval",
          "value": 5.013846000025524,
          "unit": "ms",
          "n": 71195,
          "window": [
            0.0,
            360.11207137
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_max_interval": {
          "key": "accelerometer_max_interval",
          "label": "accelerometer largest sample interval",
          "value": 30.939615000001197,
          "unit": "ms",
          "n": 71195,
          "window": [
            0.0,
            360.11207137
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_gaps": {
          "key": "accelerometer_gaps",
          "label": "accelerometer intervals over 1.5\u00d7 nominal",
          "value": 1,
          "unit": "",
          "n": 71195,
          "window": [
            0.0,
            360.11207137
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_missing_estimate": {
          "key": "accelerometer_missing_estimate",
          "label": "accelerometer samples missing across those gaps",
          "value": 1,
          "unit": "",
          "n": 71195,
          "window": [
            0.0,
            360.11207137
          ],
          "note": "estimated from interval length; the phone never fabricates a sample",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_completeness": {
          "key": "accelerometer_completeness",
          "label": "accelerometer completeness against nominal rate",
          "value": 3.9541,
          "unit": "",
          "n": 71196,
          "window": [
            0.0,
            360.11207137
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_samples": {
          "key": "gyroscope_samples",
          "label": "gyroscope samples",
          "value": 22835,
          "unit": "",
          "n": 22835,
          "window": [
            0.0,
            360.102043677
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_duration": {
          "key": "gyroscope_duration",
          "label": "gyroscope span, first to last sample",
          "value": 360.102,
          "unit": "s",
          "n": 22835,
          "window": [
            0.0,
            360.102043677
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_effective_rate": {
          "key": "gyroscope_effective_rate",
          "label": "gyroscope effective rate",
          "value": 63.4098039734575,
          "unit": "Hz",
          "n": 22835,
          "window": [
            0.0,
            360.102043677
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_median_interval": {
          "key": "gyroscope_median_interval",
          "label": "gyroscope median sample interval",
          "value": 20.055382999998983,
          "unit": "ms",
          "n": 22834,
          "window": [
            0.0,
            360.102043677
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_max_interval": {
          "key": "gyroscope_max_interval",
          "label": "gyroscope largest sample interval",
          "value": 80.22348000000079,
          "unit": "ms",
          "n": 22834,
          "window": [
            0.0,
            360.102043677
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_gaps": {
          "key": "gyroscope_gaps",
          "label": "gyroscope intervals over 1.5\u00d7 nominal",
          "value": 2,
          "unit": "",
          "n": 22834,
          "window": [
            0.0,
            360.102043677
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_missing_estimate": {
          "key": "gyroscope_missing_estimate",
          "label": "gyroscope samples missing across those gaps",
          "value": 5,
          "unit": "",
          "n": 22834,
          "window": [
            0.0,
            360.102043677
          ],
          "note": "estimated from interval length; the phone never fabricates a sample",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_completeness": {
          "key": "gyroscope_completeness",
          "label": "gyroscope completeness against nominal rate",
          "value": 1.2683,
          "unit": "",
          "n": 22835,
          "window": [
            0.0,
            360.102043677
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "exported_gap_rows": {
          "key": "exported_gap_rows",
          "label": "Rows in data_gaps.csv",
          "value": 0,
          "unit": "",
          "n": 0,
          "window": "whole run",
          "note": "the phone recorded no gaps",
          "validity": "valid",
          "reason_code": ""
        }
      },
      "caveats": [
        "Effective rate is (N\u22121)/span between the first and last sample, so a stream that stopped early reports a normal rate over a short span. Compare the span against the run duration."
      ],
      "per_block_calibrated_coverage": [
        {
          "block_index": 0,
          "n": 18004,
          "window_utc_ms": [
            1788087538130,
            1788087898281
          ],
          "effective_rate_hz": 49.99014302334299
        }
      ]
    },
    "warmup": {
      "status": "reported_unrecorded",
      "recorded_mask_s": [],
      "note": "Phone-first warm-up occurred before Room recording; CSV t=0 is the first measurement sample.",
      "app_version": "53"
    },
    "baseline_drift": {
      "summary": "calibrated |B| drifts 2.526e-05 \u00b5T/s (0.00909484 \u00b5T over 0.0\u2013360.1 s, N=18005)",
      "stats": {
        "calibrated_slope": {
          "key": "calibrated_slope",
          "label": "|B| slope, calibrated",
          "value": 2.5256891878450633e-05,
          "unit": "\u00b5T/s",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "ordinary least squares on |B| against phone-clock time",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_slope_stderr": {
          "key": "calibrated_slope_stderr",
          "label": "Slope standard error, calibrated",
          "value": 1.5289163277011962e-05,
          "unit": "\u00b5T/s",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "assumes independent residuals; sensor noise is autocorrelated, so this is optimistic",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_total_change": {
          "key": "calibrated_total_change",
          "label": "Fitted change across the window, calibrated",
          "value": 0.009094842473136938,
          "unit": "\u00b5T",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "slope \u00d7 360.1 s",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_residual_rms": {
          "key": "calibrated_residual_rms",
          "label": "Residual RMS after removing the slope, calibrated",
          "value": 0.213253920729623,
          "unit": "\u00b5T",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_r_squared": {
          "key": "calibrated_r_squared",
          "label": "r\u00b2 of the linear fit, calibrated",
          "value": 0.0001515589770059167,
          "unit": "",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "fraction of |B| variance the straight line accounts for",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_mean": {
          "key": "calibrated_mean",
          "label": "Mean |B|, calibrated",
          "value": 52.4092488185504,
          "unit": "\u00b5T",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_range": {
          "key": "calibrated_range",
          "label": "Peak-to-peak |B|, calibrated",
          "value": 1.550967,
          "unit": "\u00b5T",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_slope_first_half": {
          "key": "calibrated_slope_first_half",
          "label": "Slope, first half, calibrated",
          "value": -0.002523463664947147,
          "unit": "\u00b5T/s",
          "n": 9002,
          "window": [
            0.0,
            180.033496324
          ],
          "note": "first vs second half",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_slope_second_half": {
          "key": "calibrated_slope_second_half",
          "label": "Slope, second half, calibrated",
          "value": 0.0021274723157833353,
          "unit": "\u00b5T/s",
          "n": 9003,
          "window": [
            180.053496975,
            360.09349515
          ],
          "note": "first vs second half",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_slope": {
          "key": "uncalibrated_slope",
          "label": "|B| slope, uncalibrated",
          "value": 0.0007191616143913176,
          "unit": "\u00b5T/s",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "ordinary least squares on |B| against phone-clock time",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_slope_stderr": {
          "key": "uncalibrated_slope_stderr",
          "label": "Slope standard error, uncalibrated",
          "value": 1.5642140122352527e-05,
          "unit": "\u00b5T/s",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "assumes independent residuals; sensor noise is autocorrelated, so this is optimistic",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_total_change": {
          "key": "uncalibrated_total_change",
          "label": "Fitted change across the window, uncalibrated",
          "value": 0.2589654193038861,
          "unit": "\u00b5T",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "slope \u00d7 360.1 s",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_residual_rms": {
          "key": "uncalibrated_residual_rms",
          "label": "Residual RMS after removing the slope, uncalibrated",
          "value": 0.21817725726752227,
          "unit": "\u00b5T",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_r_squared": {
          "key": "uncalibrated_r_squared",
          "label": "r\u00b2 of the linear fit, uncalibrated",
          "value": 0.10507565251059114,
          "unit": "",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "fraction of |B| variance the straight line accounts for",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_mean": {
          "key": "uncalibrated_mean",
          "label": "Mean |B|, uncalibrated",
          "value": 125.40654534323798,
          "unit": "\u00b5T",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_range": {
          "key": "uncalibrated_range",
          "label": "Peak-to-peak |B|, uncalibrated",
          "value": 1.465369999999993,
          "unit": "\u00b5T",
          "n": 18005,
          "window": [
            0.0,
            360.09349515
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_slope_first_half": {
          "key": "uncalibrated_slope_first_half",
          "label": "Slope, first half, uncalibrated",
          "value": 0.004038955976666745,
          "unit": "\u00b5T/s",
          "n": 9002,
          "window": [
            0.0,
            180.033496324
          ],
          "note": "first vs second half",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_slope_second_half": {
          "key": "uncalibrated_slope_second_half",
          "label": "Slope, second half, uncalibrated",
          "value": -0.0019522309129225415,
          "unit": "\u00b5T/s",
          "n": 9003,
          "window": [
            180.053496975,
            360.09349515
          ],
          "note": "first vs second half",
          "validity": "valid",
          "reason_code": ""
        }
      },
      "caveats": [
        "calibrated: the two halves drift in opposite directions, so the whole-run slope understates what the field actually did. Treat the single slope as a summary, not a description.",
        "uncalibrated: the two halves drift in opposite directions, so the whole-run slope understates what the field actually did. Treat the single slope as a summary, not a description.",
        "A drift is what the instrument reported over this window. It does not identify a cause; temperature, the phone's own bias estimate and a real field change all look like this."
      ]
    },
    "motion": {
      "status": "review",
      "derived_trips": 4,
      "derived_trip_intervals": [
        {
          "start_s": 15.167280801,
          "end_s": 25.267560554,
          "peak_gyro_deg_s": 1.7697146234560648,
          "peak_accel_dev_m_s2": 0.6502053272028085
        },
        {
          "start_s": 80.669747516,
          "end_s": 90.669747516,
          "peak_gyro_deg_s": 1.1904642047486582,
          "peak_accel_dev_m_s2": 0.1814663272028092
        },
        {
          "start_s": 96.072508632,
          "end_s": 106.092564342,
          "peak_gyro_deg_s": 1.8108312780460223,
          "peak_accel_dev_m_s2": 2.2172516727971914
        },
        {
          "start_s": 129.164114422,
          "end_s": 139.164114422,
          "peak_gyro_deg_s": 0.5513592916066742,
          "peak_accel_dev_m_s2": 0.9362123272028082
        }
      ],
      "exported_motion_gate_rows": 0,
      "orientation_artifact_channel": {
        "flagged": true,
        "perpendicular_sigma_nt": 48.53368067856434,
        "perpendicular_excursion_nt": 501.80293036656974,
        "n": 331,
        "window": [
          30.0,
          360.0
        ],
        "note": "Reported symmetrically as a diagnostic; it is not subtracted or used as a control."
      },
      "quiet_active_analysis": {
        "summary": "zero-lag r=-0.0138911 (N=18004)",
        "stats": {
          "gyro_median_rate": {
            "key": "gyro_median_rate",
            "label": "Median |\u03c9| over the run",
            "value": 0.0014022302,
            "unit": "rad/s",
            "n": 22835,
            "window": "whole run",
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "gyro_p95_rate": {
            "key": "gyro_p95_rate",
            "label": "95th percentile |\u03c9|",
            "value": 0.0027977112,
            "unit": "rad/s",
            "n": 22835,
            "window": "whole run",
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "gyro_max_rate": {
            "key": "gyro_max_rate",
            "label": "Maximum |\u03c9|",
            "value": 0.031604968,
            "unit": "rad/s",
            "n": 22835,
            "window": "whole run",
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "corr_pearson_lag0": {
            "key": "corr_pearson_lag0",
            "label": "Pearson r, |\u03c9| vs |\u0394B| at zero lag",
            "value": -0.013891070468961056,
            "unit": "",
            "n": 18004,
            "window": [
              0.020018715,
              360.09349515
            ],
            "note": "primary framing (a); no lag search involved",
            "validity": "valid",
            "reason_code": ""
          },
          "corr_p_lag0": {
            "key": "corr_p_lag0",
            "label": "p for zero-lag r, circular-shift null",
            "value": 0.141,
            "unit": "",
            "n": 18004,
            "window": [
              0.020018715,
              360.09349515
            ],
            "note": "999 circular shifts, two-sided; shifting preserves each series' autocorrelation",
            "validity": "valid",
            "reason_code": ""
          },
          "corr_spearman_lag0": {
            "key": "corr_spearman_lag0",
            "label": "Spearman \u03c1, |\u03c9| vs |\u0394B| at zero lag",
            "value": -0.008998107856341246,
            "unit": "",
            "n": 18004,
            "window": [
              0.020018715,
              360.09349515
            ],
            "note": "rank version, robust to the heavy tail in |\u0394B|",
            "validity": "valid",
            "reason_code": ""
          },
          "corr_r_squared_lag0": {
            "key": "corr_r_squared_lag0",
            "label": "r\u00b2 at zero lag (variance shared)",
            "value": 0.00019296183877364192,
            "unit": "",
            "n": 18004,
            "window": [
              0.020018715,
              360.09349515
            ],
            "note": "effect size for framing (a)",
            "validity": "valid",
            "reason_code": ""
          },
          "corr_best_lag_s": {
            "key": "corr_best_lag_s",
            "label": "Lag with the largest |r| (exploratory)",
            "value": 1.0,
            "unit": "s",
            "n": 17954,
            "window": [
              0.020018715,
              360.09349515
            ],
            "note": "21 lags tested from -1 to 1 s",
            "validity": "valid",
            "reason_code": ""
          },
          "corr_best_lag_r": {
            "key": "corr_best_lag_r",
            "label": "Pearson r at that lag (exploratory)",
            "value": -0.01775708911009074,
            "unit": "",
            "n": 17954,
            "window": [
              0.020018715,
              360.09349515
            ],
            "note": "selected out of 21 comparisons \u2014 not corrected, not a test",
            "validity": "valid",
            "reason_code": ""
          },
          "corr_lags_tested": {
            "key": "corr_lags_tested",
            "label": "Number of lags compared",
            "value": 21,
            "unit": "",
            "n": 18004,
            "window": [
              0.020018715,
              360.09349515
            ],
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "regime_comparison_possible": {
            "key": "regime_comparison_possible",
            "label": "Gyro-quiet vs gyro-active comparison possible",
            "value": false,
            "unit": "",
            "n": 22835,
            "window": "whole run",
            "note": "4 quiet and 0 active spans of at least 2 s at 0.02 rad/s",
            "validity": "valid",
            "reason_code": ""
          },
          "regime_peak_rate": {
            "key": "regime_peak_rate",
            "label": "Peak |\u03c9| against the threshold",
            "value": 0.031604968,
            "unit": "rad/s",
            "n": 22835,
            "window": "whole run",
            "note": "threshold 0.02 rad/s",
            "validity": "valid",
            "reason_code": ""
          }
        },
        "caveats": [
          "Regime framing skipped: the run has 4 quiet and 0 active spans of at least 2 s at a 0.02 rad/s threshold, so there is nothing to compare. Peak |\u03c9| in the whole run was 0.031605 rad/s. Lowering the threshold until a split appears would be choosing it from the data it then divides, so this analyzer does not do that; a run with deliberate phone movement is what would answer the question.",
          "21 exploratory comparisons were made in this run and none are corrected for multiplicity. The zero-lag correlation and the regime SD ratio are the two figures stated in advance; the best-lag number is a search result and should be treated as a hypothesis, not a finding.",
          "The quiet/active threshold is provisional (docs/analysis-model.md). Rerunning with a different threshold will change these numbers, and a threshold chosen after seeing the result is not a test.",
          "This measures the phone's magnetometer while the phone moves. It says nothing about the source of any field change, and it is not a pre-registered test of the pinwheel hypothesis."
        ]
      },
      "note": "Gyro quiet/active split and motion-gate trips are both reported; they use distinct established thresholds."
    },
    "thermal": {
      "status": "review",
      "temperature_start_c": {
        "value": 26.0,
        "unit": "\u00b0C",
        "n": 1,
        "window": [
          0.0,
          0.0
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_end_c": {
        "value": 27.0,
        "unit": "\u00b0C",
        "n": 1,
        "window": [
          350.287,
          350.287
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_range_c": {
        "value": 1.0,
        "unit": "\u00b0C",
        "n": 36,
        "window": [
          0.0,
          350.287
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_slope_c_per_min": {
        "value": 0.2469088328976371,
        "unit": "\u00b0C/min",
        "n": 36,
        "window": [
          0.0,
          350.287
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "max_thermal_status": {
        "value": 0,
        "unit": "code",
        "n": 36,
        "window": "whole run",
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "estimated_sitting_elapsed_s": {
        "value": 420.308,
        "unit": "s",
        "n": null,
        "window": "warm-up + recording",
        "validity": "valid",
        "reason_code": "",
        "note": "Known Pixel 7 knee is approximately 7\u20138 minutes; association is not causation."
      },
      "charging_states": [
        "DISCHARGING"
      ],
      "screen_states": [
        "ON"
      ]
    },
    "ambient": {
      "status": "available",
      "reason_code": "",
      "install_id": "8a3bf1c7-e780-4fb1-8672-1f872174d348",
      "day_utc": "20260830",
      "rows_day": 70,
      "rows_context": 70,
      "ambient_control_windows": 1,
      "ambient_delta_mean_nt": -951.28,
      "ambient_delta_median_nt": -951.28,
      "ambient_windows_more_positive_fraction": 0.0,
      "window_utc_ms": [
        1788087237985,
        1788088198293
      ],
      "note": "Ambient context includes non-overlapping 300-second windows using the same 0\u201330 s versus 240\u2013300 s outcome."
    },
    "rolling_anomaly": {
      "version": "maglab-rolling-feedback-v1",
      "hop_s": 1,
      "window_lengths_s": [
        10,
        20,
        30
      ],
      "drift_sigma_nt": 119.4112085870551,
      "denominator_floor_nt": 1.0,
      "rows": 1023,
      "valid_rows": 730,
      "top_candidate_windows": [
        {
          "window_start_s": 234.0,
          "window_end_s": 244.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 3.74066931643486,
          "score": 3.74066931643486,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -446.6778439999999,
          "absolute_change_nt": 446.6778439999999,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 119.4112085870551
        },
        {
          "window_start_s": 235.0,
          "window_end_s": 245.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 3.7288025074746862,
          "score": 3.7288025074746862,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -445.26081399999384,
          "absolute_change_nt": 445.26081399999384,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 119.4112085870551
        },
        {
          "window_start_s": 229.0,
          "window_end_s": 239.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 3.7177541141487196,
          "score": 3.7177541141487196,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -443.941511999995,
          "absolute_change_nt": 443.941511999995,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 119.4112085870551
        },
        {
          "window_start_s": 232.0,
          "window_end_s": 242.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 3.7169893618187144,
          "score": 3.7169893618187144,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -443.8501919999993,
          "absolute_change_nt": 443.8501919999993,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 119.4112085870551
        },
        {
          "window_start_s": 233.0,
          "window_end_s": 243.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 3.7104618171332526,
          "score": 3.7104618171332526,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -443.0707300000023,
          "absolute_change_nt": 443.0707300000023,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 119.4112085870551
        },
        {
          "window_start_s": 237.0,
          "window_end_s": 247.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 3.700162968184683,
          "score": 3.700162968184683,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -441.8409319999981,
          "absolute_change_nt": 441.8409319999981,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 119.4112085870551
        },
        {
          "window_start_s": 231.0,
          "window_end_s": 241.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 3.69790679807143,
          "score": 3.69790679807143,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -441.57151999999655,
          "absolute_change_nt": 441.57151999999655,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 119.4112085870551
        },
        {
          "window_start_s": 238.0,
          "window_end_s": 248.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 3.6950864765623974,
          "score": 3.6950864765623974,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -441.2347419999989,
          "absolute_change_nt": 441.2347419999989,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 119.4112085870551
        },
        {
          "window_start_s": 230.0,
          "window_end_s": 240.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 3.6901966508341073,
          "score": 3.6901966508341073,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -440.6508420000037,
          "absolute_change_nt": 440.6508420000037,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 119.4112085870551
        },
        {
          "window_start_s": 228.0,
          "window_end_s": 248.0,
          "window_length_s": 20,
          "n": 1000,
          "raw_score": 3.686479880815171,
          "score": 3.686479880815171,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -440.2070180000024,
          "absolute_change_nt": 440.2070180000024,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 119.4112085870551
        }
      ],
      "note": "Scores use feedback_meter level/drift_sigma. Both signs are treated symmetrically; ranked windows are descriptive."
    }
  }
}
