{
  "schema_version": "maglab-standard-report-v3",
  "run": 100349,
  "generated_utc": "2026-08-20T02:34:37+00:00",
  "analyzer_version": "maglab-analyzer v14",
  "analysis_model_id": "maglab-analysis-v1",
  "run_header": {
    "run": 100349,
    "session_id": "9252c793-4142-4d7f-8da4-422538cd5f9d",
    "started_utc_ms": 1787192859482,
    "duration_s": 300.426,
    "samples": {
      "calibrated": 15004,
      "uncalibrated": 15004,
      "accelerometer": 34922,
      "gyroscope": 17461
    },
    "magnetometer_accuracy_codes": "2\u00d715004",
    "requested_delay_us": 20000,
    "app_version": "38",
    "analysis_model_id": "maglab-analysis-v1",
    "has_console_manifest": false
  },
  "identity": {
    "person": "Cherylee",
    "role": "pk_practitioner",
    "condition": "CONTROL"
  },
  "primary_outcome": {
    "version": "maglab-final-v1",
    "available": true,
    "reason": "",
    "stream": "calibrated",
    "nominal_hz": 50.0,
    "reference_n": 1500,
    "outcome_n": 3001,
    "reference_window_s": [
      0.0,
      30.0
    ],
    "outcome_window_s": [
      240.0,
      300.0
    ],
    "reference_actual_bounds_s": [
      0.0,
      29.979999489
    ],
    "outcome_actual_bounds_s": [
      240.000008849,
      299.999981133
    ],
    "run_seconds": 300.059972142,
    "signed_delta_nt": -69.7,
    "absolute_delta_nt": 69.7,
    "delta_pct": -0.145,
    "reference_magnitude_ut": 47.902776,
    "outcome_magnitude_ut": 47.833102,
    "angle_deg": 0.458,
    "ambient_ut": 47.87
  },
  "practitioner_comparison": {
    "available": true,
    "practitioner": "Cherylee",
    "run_signed_delta_nt": -69.7,
    "historical_control_n": 27,
    "historical_control_mean_nt": -14.9,
    "difference_from_control_mean_nt": -54.8,
    "controls_more_positive_fraction": 0.778,
    "historical_attention_n": 26,
    "historical_attention_mean_nt": -164.99
  },
  "overall_quality": "COMPLETE",
  "summary": "CONTROL; -69.7 nT; complete",
  "checks": {
    "readiness": {
      "status": "pass",
      "analyzable": true,
      "missing_streams": [],
      "session_type": "PHONE_FIRST_SESSION",
      "app_version": "38",
      "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": 15004,
          "unit": "samples",
          "n": 15004,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "uncalibrated": {
          "value": 15004,
          "unit": "samples",
          "n": 15004,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "accelerometer": {
          "value": 34922,
          "unit": "samples",
          "n": 34922,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "gyroscope": {
          "value": 17461,
          "unit": "samples",
          "n": 17461,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        }
      }
    },
    "sampling": {
      "summary": "calibrated magnetometer 50 Hz effective over N=15004 samples, 0 gaps",
      "stats": {
        "calibrated_samples": {
          "key": "calibrated_samples",
          "label": "calibrated samples",
          "value": 15004,
          "unit": "",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_duration": {
          "key": "calibrated_duration",
          "label": "calibrated span, first to last sample",
          "value": 300.06,
          "unit": "s",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_effective_rate": {
          "key": "calibrated_effective_rate",
          "label": "calibrated effective rate",
          "value": 50.00000464207202,
          "unit": "Hz",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_median_interval": {
          "key": "calibrated_median_interval",
          "label": "calibrated median sample interval",
          "value": 19.99995999995008,
          "unit": "ms",
          "n": 15003,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_max_interval": {
          "key": "calibrated_max_interval",
          "label": "calibrated largest sample interval",
          "value": 20.140421999997216,
          "unit": "ms",
          "n": 15003,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_gaps": {
          "key": "calibrated_gaps",
          "label": "calibrated intervals over 1.5\u00d7 nominal",
          "value": 0,
          "unit": "",
          "n": 15003,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_missing_estimate": {
          "key": "calibrated_missing_estimate",
          "label": "calibrated samples missing across those gaps",
          "value": 0,
          "unit": "",
          "n": 15003,
          "window": [
            0.0,
            300.059972142
          ],
          "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.0001,
          "unit": "",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_gaps_exported": {
          "key": "calibrated_gaps_exported",
          "label": "calibrated gaps recorded by the phone",
          "value": 2,
          "unit": "",
          "n": 15003,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_samples": {
          "key": "uncalibrated_samples",
          "label": "uncalibrated samples",
          "value": 15004,
          "unit": "",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_duration": {
          "key": "uncalibrated_duration",
          "label": "uncalibrated span, first to last sample",
          "value": 300.06,
          "unit": "s",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_effective_rate": {
          "key": "uncalibrated_effective_rate",
          "label": "uncalibrated effective rate",
          "value": 50.00000464207202,
          "unit": "Hz",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_median_interval": {
          "key": "uncalibrated_median_interval",
          "label": "uncalibrated median sample interval",
          "value": 19.99995999995008,
          "unit": "ms",
          "n": 15003,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_max_interval": {
          "key": "uncalibrated_max_interval",
          "label": "uncalibrated largest sample interval",
          "value": 20.140421999997216,
          "unit": "ms",
          "n": 15003,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_gaps": {
          "key": "uncalibrated_gaps",
          "label": "uncalibrated intervals over 1.5\u00d7 nominal",
          "value": 0,
          "unit": "",
          "n": 15003,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_missing_estimate": {
          "key": "uncalibrated_missing_estimate",
          "label": "uncalibrated samples missing across those gaps",
          "value": 0,
          "unit": "",
          "n": 15003,
          "window": [
            0.0,
            300.059972142
          ],
          "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.0001,
          "unit": "",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_gaps_exported": {
          "key": "uncalibrated_gaps_exported",
          "label": "uncalibrated gaps recorded by the phone",
          "value": 2,
          "unit": "",
          "n": 15003,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_samples": {
          "key": "accelerometer_samples",
          "label": "accelerometer samples",
          "value": 34922,
          "unit": "",
          "n": 34922,
          "window": [
            0.0,
            300.053344116
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_duration": {
          "key": "accelerometer_duration",
          "label": "accelerometer span, first to last sample",
          "value": 300.053,
          "unit": "s",
          "n": 34922,
          "window": [
            0.0,
            300.053344116
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_effective_rate": {
          "key": "accelerometer_effective_rate",
          "label": "accelerometer effective rate",
          "value": 116.38263890336651,
          "unit": "Hz",
          "n": 34922,
          "window": [
            0.0,
            300.053344116
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_median_interval": {
          "key": "accelerometer_median_interval",
          "label": "accelerometer median sample interval",
          "value": 8.592309999983172,
          "unit": "ms",
          "n": 34921,
          "window": [
            0.0,
            300.053344116
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_max_interval": {
          "key": "accelerometer_max_interval",
          "label": "accelerometer largest sample interval",
          "value": 8.671366000001512,
          "unit": "ms",
          "n": 34921,
          "window": [
            0.0,
            300.053344116
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_gaps": {
          "key": "accelerometer_gaps",
          "label": "accelerometer intervals over 1.5\u00d7 nominal",
          "value": 0,
          "unit": "",
          "n": 34921,
          "window": [
            0.0,
            300.053344116
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_missing_estimate": {
          "key": "accelerometer_missing_estimate",
          "label": "accelerometer samples missing across those gaps",
          "value": 0,
          "unit": "",
          "n": 34921,
          "window": [
            0.0,
            300.053344116
          ],
          "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": 2.3277,
          "unit": "",
          "n": 34922,
          "window": [
            0.0,
            300.053344116
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_gaps_exported": {
          "key": "accelerometer_gaps_exported",
          "label": "accelerometer gaps recorded by the phone",
          "value": 4,
          "unit": "",
          "n": 34921,
          "window": [
            0.0,
            300.053344116
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_samples": {
          "key": "gyroscope_samples",
          "label": "gyroscope samples",
          "value": 17461,
          "unit": "",
          "n": 17461,
          "window": [
            0.0,
            300.04474968
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_duration": {
          "key": "gyroscope_duration",
          "label": "gyroscope span, first to last sample",
          "value": 300.045,
          "unit": "s",
          "n": 17461,
          "window": [
            0.0,
            300.04474968
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_effective_rate": {
          "key": "gyroscope_effective_rate",
          "label": "gyroscope effective rate",
          "value": 58.19131985685876,
          "unit": "Hz",
          "n": 17461,
          "window": [
            0.0,
            300.04474968
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_median_interval": {
          "key": "gyroscope_median_interval",
          "label": "gyroscope median sample interval",
          "value": 17.184183000004793,
          "unit": "ms",
          "n": 17460,
          "window": [
            0.0,
            300.04474968
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_max_interval": {
          "key": "gyroscope_max_interval",
          "label": "gyroscope largest sample interval",
          "value": 17.263507999999206,
          "unit": "ms",
          "n": 17460,
          "window": [
            0.0,
            300.04474968
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_gaps": {
          "key": "gyroscope_gaps",
          "label": "gyroscope intervals over 1.5\u00d7 nominal",
          "value": 0,
          "unit": "",
          "n": 17460,
          "window": [
            0.0,
            300.04474968
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_missing_estimate": {
          "key": "gyroscope_missing_estimate",
          "label": "gyroscope samples missing across those gaps",
          "value": 0,
          "unit": "",
          "n": 17460,
          "window": [
            0.0,
            300.04474968
          ],
          "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.1639,
          "unit": "",
          "n": 17461,
          "window": [
            0.0,
            300.04474968
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_gaps_exported": {
          "key": "gyroscope_gaps_exported",
          "label": "gyroscope gaps recorded by the phone",
          "value": 3,
          "unit": "",
          "n": 17460,
          "window": [
            0.0,
            300.04474968
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "exported_gap_rows": {
          "key": "exported_gap_rows",
          "label": "Rows in data_gaps.csv",
          "value": 11,
          "unit": "",
          "n": 11,
          "window": "whole run",
          "note": "",
          "validity": "valid",
          "reason_code": ""
        }
      },
      "caveats": [
        "calibrated: this recount found 0 gaps but data_gaps.csv records 2. The two use different detection rules (here: interval > 1.5\u00d7 nominal), so a difference is expected for marginal intervals, but a large disagreement means the timing should be checked before use.",
        "uncalibrated: this recount found 0 gaps but data_gaps.csv records 2. The two use different detection rules (here: interval > 1.5\u00d7 nominal), so a difference is expected for marginal intervals, but a large disagreement means the timing should be checked before use.",
        "accelerometer: this recount found 0 gaps but data_gaps.csv records 4. The two use different detection rules (here: interval > 1.5\u00d7 nominal), so a difference is expected for marginal intervals, but a large disagreement means the timing should be checked before use.",
        "gyroscope: this recount found 0 gaps but data_gaps.csv records 3. The two use different detection rules (here: interval > 1.5\u00d7 nominal), so a difference is expected for marginal intervals, but a large disagreement means the timing should be checked before use.",
        "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": 15004,
          "window_utc_ms": [
            1787192859802,
            1787193159899
          ],
          "effective_rate_hz": 49.997167582481666
        }
      ]
    },
    "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": "38"
    },
    "baseline_drift": {
      "summary": "calibrated |B| drifts -0.0002364 \u00b5T/s (-0.0709476 \u00b5T over 0.0\u2013300.1 s, N=15004)",
      "stats": {
        "calibrated_slope": {
          "key": "calibrated_slope",
          "label": "|B| slope, calibrated",
          "value": -0.00023644471121783678,
          "unit": "\u00b5T/s",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "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": 5.7042287029100195e-05,
          "unit": "\u00b5T/s",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "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.07094759346114733,
          "unit": "\u00b5T",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "slope \u00d7 300.1 s",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_residual_rms": {
          "key": "calibrated_residual_rms",
          "label": "Residual RMS after removing the slope, calibrated",
          "value": 0.6052264451177102,
          "unit": "\u00b5T",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_r_squared": {
          "key": "calibrated_r_squared",
          "label": "r\u00b2 of the linear fit, calibrated",
          "value": 0.0011439817038917388,
          "unit": "",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "fraction of |B| variance the straight line accounts for",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_mean": {
          "key": "calibrated_mean",
          "label": "Mean |B|, calibrated",
          "value": 47.86708441009064,
          "unit": "\u00b5T",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_range": {
          "key": "calibrated_range",
          "label": "Peak-to-peak |B|, calibrated",
          "value": 4.709263,
          "unit": "\u00b5T",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_slope_first_half": {
          "key": "calibrated_slope_first_half",
          "label": "Slope, first half, calibrated",
          "value": -0.0002953419884056846,
          "unit": "\u00b5T/s",
          "n": 7502,
          "window": [
            0.0,
            150.019994311
          ],
          "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.0001305325001935603,
          "unit": "\u00b5T/s",
          "n": 7502,
          "window": [
            150.039987353,
            300.059972142
          ],
          "note": "first vs second half",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_slope": {
          "key": "uncalibrated_slope",
          "label": "|B| slope, uncalibrated",
          "value": -0.0012035055283408772,
          "unit": "\u00b5T/s",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "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": 3.991173946746812e-05,
          "unit": "\u00b5T/s",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "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.3611238353067066,
          "unit": "\u00b5T",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "slope \u00d7 300.1 s",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_residual_rms": {
          "key": "uncalibrated_residual_rms",
          "label": "Residual RMS after removing the slope, uncalibrated",
          "value": 0.42346899913106417,
          "unit": "\u00b5T",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_r_squared": {
          "key": "uncalibrated_r_squared",
          "label": "r\u00b2 of the linear fit, uncalibrated",
          "value": 0.05714653559198246,
          "unit": "",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "fraction of |B| variance the straight line accounts for",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_mean": {
          "key": "uncalibrated_mean",
          "label": "Mean |B|, uncalibrated",
          "value": 380.55776788123165,
          "unit": "\u00b5T",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_range": {
          "key": "uncalibrated_range",
          "label": "Peak-to-peak |B|, uncalibrated",
          "value": 3.2431000000000267,
          "unit": "\u00b5T",
          "n": 15004,
          "window": [
            0.0,
            300.059972142
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_slope_first_half": {
          "key": "uncalibrated_slope_first_half",
          "label": "Slope, first half, uncalibrated",
          "value": -0.0015894609674671053,
          "unit": "\u00b5T/s",
          "n": 7502,
          "window": [
            0.0,
            150.019994311
          ],
          "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.0015849085201431886,
          "unit": "\u00b5T/s",
          "n": 7502,
          "window": [
            150.039987353,
            300.059972142
          ],
          "note": "first vs second half",
          "validity": "valid",
          "reason_code": ""
        }
      },
      "caveats": [
        "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": "pass",
      "derived_trips": 0,
      "derived_trip_intervals": [],
      "exported_motion_gate_rows": 0,
      "orientation_artifact_channel": {
        "flagged": true,
        "perpendicular_sigma_nt": 7.265457783478502,
        "perpendicular_excursion_nt": 175.01736311193378,
        "n": 271,
        "window": [
          30.0,
          300.0
        ],
        "note": "Reported symmetrically as a diagnostic; it is not subtracted or used as a control."
      },
      "quiet_active_analysis": {
        "summary": "zero-lag r=-0.00943212 (N=15003)",
        "stats": {
          "gyro_median_rate": {
            "key": "gyro_median_rate",
            "label": "Median |\u03c9| over the run",
            "value": 0.00015271631,
            "unit": "rad/s",
            "n": 17461,
            "window": "whole run",
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "gyro_p95_rate": {
            "key": "gyro_p95_rate",
            "label": "95th percentile |\u03c9|",
            "value": 0.0012312382,
            "unit": "rad/s",
            "n": 17461,
            "window": "whole run",
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "gyro_max_rate": {
            "key": "gyro_max_rate",
            "label": "Maximum |\u03c9|",
            "value": 0.008571182,
            "unit": "rad/s",
            "n": 17461,
            "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.009432118447679922,
            "unit": "",
            "n": 15003,
            "window": [
              0.019986329,
              300.059972142
            ],
            "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.254,
            "unit": "",
            "n": 15003,
            "window": [
              0.019986329,
              300.059972142
            ],
            "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.0003761980540636164,
            "unit": "",
            "n": 15003,
            "window": [
              0.019986329,
              300.059972142
            ],
            "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": 8.896485841106391e-05,
            "unit": "",
            "n": 15003,
            "window": [
              0.019986329,
              300.059972142
            ],
            "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": -0.4,
            "unit": "s",
            "n": 14983,
            "window": [
              0.019986329,
              300.059972142
            ],
            "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.018365706592726152,
            "unit": "",
            "n": 14983,
            "window": [
              0.019986329,
              300.059972142
            ],
            "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": 15003,
            "window": [
              0.019986329,
              300.059972142
            ],
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "regime_comparison_possible": {
            "key": "regime_comparison_possible",
            "label": "Gyro-quiet vs gyro-active comparison possible",
            "value": false,
            "unit": "",
            "n": 17461,
            "window": "whole run",
            "note": "1 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.008571182,
            "unit": "rad/s",
            "n": 17461,
            "window": "whole run",
            "note": "threshold 0.02 rad/s",
            "validity": "valid",
            "reason_code": ""
          }
        },
        "caveats": [
          "Regime framing skipped: the run has 1 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.0085712 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": "pass",
      "temperature_start_c": {
        "value": 25.3,
        "unit": "\u00b0C",
        "n": 1,
        "window": [
          0.0,
          0.0
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_end_c": {
        "value": 25.3,
        "unit": "\u00b0C",
        "n": 1,
        "window": [
          300.345,
          300.345
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_range_c": {
        "value": 0.0,
        "unit": "\u00b0C",
        "n": 31,
        "window": [
          0.0,
          300.345
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_slope_c_per_min": {
        "value": -4.661093985226175e-16,
        "unit": "\u00b0C/min",
        "n": 31,
        "window": [
          0.0,
          300.345
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "max_thermal_status": {
        "value": 0,
        "unit": "code",
        "n": 31,
        "window": "whole run",
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "estimated_sitting_elapsed_s": {
        "value": 360.426,
        "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": "a610eeb9-8327-4113-a684-f5b8f5bf2755",
      "day_utc": "20260820",
      "rows_day": 917,
      "rows_context": 61,
      "ambient_control_windows": 7,
      "ambient_delta_mean_nt": -726.73,
      "ambient_delta_median_nt": 68.6,
      "ambient_windows_more_positive_fraction": 0.714,
      "window_utc_ms": [
        1787192559482,
        1787193459908
      ],
      "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": 21.7836784516404,
      "denominator_floor_nt": 1.0,
      "rows": 843,
      "valid_rows": 843,
      "top_candidate_windows": [
        {
          "window_start_s": 270.0,
          "window_end_s": 280.0,
          "window_length_s": 10,
          "n": 499,
          "raw_score": 5.672961193983389,
          "score": 5.672961193983389,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -123.57796251836817,
          "absolute_change_nt": 123.57796251836817,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 21.7836784516404
        },
        {
          "window_start_s": 271.0,
          "window_end_s": 281.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 5.201841778845532,
          "score": 5.201841778845532,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -113.31524866668019,
          "absolute_change_nt": 113.31524866668019,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 21.7836784516404
        },
        {
          "window_start_s": 272.0,
          "window_end_s": 282.0,
          "window_length_s": 10,
          "n": 499,
          "raw_score": 5.001647237196498,
          "score": 5.001647237196498,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -108.9542751436241,
          "absolute_change_nt": 108.9542751436241,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 21.7836784516404
        },
        {
          "window_start_s": 260.0,
          "window_end_s": 280.0,
          "window_length_s": 20,
          "n": 1000,
          "raw_score": 4.7653030638106975,
          "score": 4.7653030638106975,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -103.80582966666907,
          "absolute_change_nt": 103.80582966666907,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 21.7836784516404
        },
        {
          "window_start_s": 269.0,
          "window_end_s": 279.0,
          "window_length_s": 10,
          "n": 501,
          "raw_score": 4.64391520712722,
          "score": 4.64391520712722,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -101.1615556287424,
          "absolute_change_nt": 101.1615556287424,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 21.7836784516404
        },
        {
          "window_start_s": 266.0,
          "window_end_s": 276.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 4.630212610353384,
          "score": 4.630212610353384,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -100.86306266666867,
          "absolute_change_nt": 100.86306266666867,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 21.7836784516404
        },
        {
          "window_start_s": 268.0,
          "window_end_s": 278.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 4.534531616685317,
          "score": 4.534531616685317,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -98.77877866667006,
          "absolute_change_nt": 98.77877866667006,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 21.7836784516404
        },
        {
          "window_start_s": 264.0,
          "window_end_s": 274.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 4.470889380913113,
          "score": 4.470889380913113,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -97.39241666666487,
          "absolute_change_nt": 97.39241666666487,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 21.7836784516404
        },
        {
          "window_start_s": 258.0,
          "window_end_s": 278.0,
          "window_length_s": 20,
          "n": 999,
          "raw_score": 4.437539039522147,
          "score": 4.437539039522147,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -96.66592355355164,
          "absolute_change_nt": 96.66592355355164,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 21.7836784516404
        },
        {
          "window_start_s": 273.0,
          "window_end_s": 283.0,
          "window_length_s": 10,
          "n": 501,
          "raw_score": 4.413273190074153,
          "score": 4.413273190074153,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -96.13732409182063,
          "absolute_change_nt": 96.13732409182063,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 21.7836784516404
        }
      ],
      "note": "Scores use feedback_meter level/drift_sigma. Both signs are treated symmetrically; ranked windows are descriptive."
    }
  }
}
