{
  "schema_version": "maglab-standard-report-v2",
  "run": 100238,
  "generated_utc": "2026-08-17T13:53:18+00:00",
  "analyzer_version": "maglab-analyzer v9",
  "analysis_model_id": "maglab-analysis-v1",
  "run_header": {
    "run": 100238,
    "session_id": "080229f6-cfb2-418e-a81c-92b64394c66d",
    "started_utc_ms": 1786974442477,
    "duration_s": 300.219,
    "samples": {
      "calibrated": 15003,
      "uncalibrated": 15003,
      "accelerometer": 15748,
      "gyroscope": 15748
    },
    "magnetometer_accuracy_codes": "0\u00d715003",
    "requested_delay_us": 20000,
    "app_version": "27",
    "analysis_model_id": "maglab-analysis-v1",
    "has_console_manifest": false
  },
  "identity": {
    "person": "unknown",
    "condition": "CONTROL"
  },
  "primary_outcome": {
    "version": "maglab-final-v1",
    "available": true,
    "reason": "",
    "stream": "calibrated",
    "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.979999028
    ],
    "outcome_actual_bounds_s": [
      240.000002065,
      299.979995895
    ],
    "run_seconds": 300.039997289,
    "signed_delta_nt": -487.6,
    "absolute_delta_nt": 487.6,
    "delta_pct": -0.219,
    "reference_magnitude_ut": 222.877079,
    "outcome_magnitude_ut": 222.389432,
    "angle_deg": 0.121,
    "ambient_ut": 222.74
  },
  "overall_quality": "COMPLETE WITH DATA-QUALITY WARNING",
  "summary": "CONTROL; -487.6 nT; complete with data-quality warning",
  "checks": {
    "readiness": {
      "status": "pass",
      "analyzable": true,
      "missing_streams": [],
      "session_type": "PHONE_FIRST_SESSION",
      "app_version": "27",
      "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": 15003,
          "unit": "samples",
          "n": 15003,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "uncalibrated": {
          "value": 15003,
          "unit": "samples",
          "n": 15003,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "accelerometer": {
          "value": 15748,
          "unit": "samples",
          "n": 15748,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "gyroscope": {
          "value": 15748,
          "unit": "samples",
          "n": 15748,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        }
      }
    },
    "sampling": {
      "summary": "calibrated magnetometer 50 Hz effective over N=15003 samples, 0 gaps",
      "stats": {
        "calibrated_samples": {
          "key": "calibrated_samples",
          "label": "calibrated samples",
          "value": 15003,
          "unit": "",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_duration": {
          "key": "calibrated_duration",
          "label": "calibrated span, first to last sample",
          "value": 300.04,
          "unit": "s",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_effective_rate": {
          "key": "calibrated_effective_rate",
          "label": "calibrated effective rate",
          "value": 50.000000451773104,
          "unit": "Hz",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_median_interval": {
          "key": "calibrated_median_interval",
          "label": "calibrated median sample interval",
          "value": 19.99935599999958,
          "unit": "ms",
          "n": 15002,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_max_interval": {
          "key": "calibrated_max_interval",
          "label": "calibrated largest sample interval",
          "value": 20.008817999999096,
          "unit": "ms",
          "n": 15002,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_gaps": {
          "key": "calibrated_gaps",
          "label": "calibrated intervals over 1.5\u00d7 nominal",
          "value": 0,
          "unit": "",
          "n": 15002,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_missing_estimate": {
          "key": "calibrated_missing_estimate",
          "label": "calibrated samples missing across those gaps",
          "value": 0,
          "unit": "",
          "n": 15002,
          "window": [
            0.0,
            300.039997289
          ],
          "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": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_gaps_exported": {
          "key": "calibrated_gaps_exported",
          "label": "calibrated gaps recorded by the phone",
          "value": 2,
          "unit": "",
          "n": 15002,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_samples": {
          "key": "uncalibrated_samples",
          "label": "uncalibrated samples",
          "value": 15003,
          "unit": "",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_duration": {
          "key": "uncalibrated_duration",
          "label": "uncalibrated span, first to last sample",
          "value": 300.04,
          "unit": "s",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_effective_rate": {
          "key": "uncalibrated_effective_rate",
          "label": "uncalibrated effective rate",
          "value": 50.000000451773104,
          "unit": "Hz",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_median_interval": {
          "key": "uncalibrated_median_interval",
          "label": "uncalibrated median sample interval",
          "value": 19.99935599999958,
          "unit": "ms",
          "n": 15002,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_max_interval": {
          "key": "uncalibrated_max_interval",
          "label": "uncalibrated largest sample interval",
          "value": 20.008817999999096,
          "unit": "ms",
          "n": 15002,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_gaps": {
          "key": "uncalibrated_gaps",
          "label": "uncalibrated intervals over 1.5\u00d7 nominal",
          "value": 0,
          "unit": "",
          "n": 15002,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_missing_estimate": {
          "key": "uncalibrated_missing_estimate",
          "label": "uncalibrated samples missing across those gaps",
          "value": 0,
          "unit": "",
          "n": 15002,
          "window": [
            0.0,
            300.039997289
          ],
          "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": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_gaps_exported": {
          "key": "uncalibrated_gaps_exported",
          "label": "uncalibrated gaps recorded by the phone",
          "value": 2,
          "unit": "",
          "n": 15002,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_samples": {
          "key": "accelerometer_samples",
          "label": "accelerometer samples",
          "value": 15748,
          "unit": "",
          "n": 15748,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_duration": {
          "key": "accelerometer_duration",
          "label": "accelerometer span, first to last sample",
          "value": 300.065,
          "unit": "s",
          "n": 15748,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_effective_rate": {
          "key": "accelerometer_effective_rate",
          "label": "accelerometer effective rate",
          "value": 52.478672887790815,
          "unit": "Hz",
          "n": 15748,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_median_interval": {
          "key": "accelerometer_median_interval",
          "label": "accelerometer median sample interval",
          "value": 19.055343999994534,
          "unit": "ms",
          "n": 15747,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_max_interval": {
          "key": "accelerometer_max_interval",
          "label": "accelerometer largest sample interval",
          "value": 19.056020999983048,
          "unit": "ms",
          "n": 15747,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_gaps": {
          "key": "accelerometer_gaps",
          "label": "accelerometer intervals over 1.5\u00d7 nominal",
          "value": 0,
          "unit": "",
          "n": 15747,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_missing_estimate": {
          "key": "accelerometer_missing_estimate",
          "label": "accelerometer samples missing across those gaps",
          "value": 0,
          "unit": "",
          "n": 15747,
          "window": [
            0.0,
            300.06475266
          ],
          "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": 1.0496,
          "unit": "",
          "n": 15748,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_gaps_exported": {
          "key": "accelerometer_gaps_exported",
          "label": "accelerometer gaps recorded by the phone",
          "value": 1,
          "unit": "",
          "n": 15747,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_samples": {
          "key": "gyroscope_samples",
          "label": "gyroscope samples",
          "value": 15748,
          "unit": "",
          "n": 15748,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_duration": {
          "key": "gyroscope_duration",
          "label": "gyroscope span, first to last sample",
          "value": 300.065,
          "unit": "s",
          "n": 15748,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_effective_rate": {
          "key": "gyroscope_effective_rate",
          "label": "gyroscope effective rate",
          "value": 52.478672887790815,
          "unit": "Hz",
          "n": 15748,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_median_interval": {
          "key": "gyroscope_median_interval",
          "label": "gyroscope median sample interval",
          "value": 19.055343999994534,
          "unit": "ms",
          "n": 15747,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_max_interval": {
          "key": "gyroscope_max_interval",
          "label": "gyroscope largest sample interval",
          "value": 19.056020999983048,
          "unit": "ms",
          "n": 15747,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_gaps": {
          "key": "gyroscope_gaps",
          "label": "gyroscope intervals over 1.5\u00d7 nominal",
          "value": 0,
          "unit": "",
          "n": 15747,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_missing_estimate": {
          "key": "gyroscope_missing_estimate",
          "label": "gyroscope samples missing across those gaps",
          "value": 0,
          "unit": "",
          "n": 15747,
          "window": [
            0.0,
            300.06475266
          ],
          "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.0496,
          "unit": "",
          "n": 15748,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_gaps_exported": {
          "key": "gyroscope_gaps_exported",
          "label": "gyroscope gaps recorded by the phone",
          "value": 1,
          "unit": "",
          "n": 15747,
          "window": [
            0.0,
            300.06475266
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "exported_gap_rows": {
          "key": "exported_gap_rows",
          "label": "Rows in data_gaps.csv",
          "value": 6,
          "unit": "",
          "n": 6,
          "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 1. 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 1. 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": 15003,
          "window_utc_ms": [
            1786974442579,
            1786974742683
          ],
          "effective_rate_hz": 49.9926692080079
        }
      ]
    },
    "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": "27"
    },
    "baseline_drift": {
      "summary": "calibrated |B| drifts -0.00213198 \u00b5T/s (-0.639678 \u00b5T over 0.0\u2013300.0 s, N=15003)",
      "stats": {
        "calibrated_slope": {
          "key": "calibrated_slope",
          "label": "|B| slope, calibrated",
          "value": -0.002131976387504805,
          "unit": "\u00b5T/s",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "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": 2.3780961366338028e-05,
          "unit": "\u00b5T/s",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "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.6396781895271537,
          "unit": "\u00b5T",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "slope \u00d7 300.0 s",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_residual_rms": {
          "key": "calibrated_residual_rms",
          "label": "Residual RMS after removing the slope, calibrated",
          "value": 0.25229404120188176,
          "unit": "\u00b5T",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_r_squared": {
          "key": "calibrated_r_squared",
          "label": "r\u00b2 of the linear fit, calibrated",
          "value": 0.34886468323592146,
          "unit": "",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "fraction of |B| variance the straight line accounts for",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_mean": {
          "key": "calibrated_mean",
          "label": "Mean |B|, calibrated",
          "value": 222.71809860094652,
          "unit": "\u00b5T",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_range": {
          "key": "calibrated_range",
          "label": "Peak-to-peak |B|, calibrated",
          "value": 2.1367099999999937,
          "unit": "\u00b5T",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_slope_first_half": {
          "key": "calibrated_slope_first_half",
          "label": "Slope, first half, calibrated",
          "value": -0.000567138496011356,
          "unit": "\u00b5T/s",
          "n": 7501,
          "window": [
            0.0,
            150.000004303
          ],
          "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.004168671153940029,
          "unit": "\u00b5T/s",
          "n": 7502,
          "window": [
            150.020003248,
            300.039997289
          ],
          "note": "first vs second half",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_slope": {
          "key": "uncalibrated_slope",
          "label": "|B| slope, uncalibrated",
          "value": -0.002131976387505203,
          "unit": "\u00b5T/s",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "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": 2.378096136634151e-05,
          "unit": "\u00b5T/s",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "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.6396781895272731,
          "unit": "\u00b5T",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "slope \u00d7 300.0 s",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_residual_rms": {
          "key": "uncalibrated_residual_rms",
          "label": "Residual RMS after removing the slope, uncalibrated",
          "value": 0.25229404120187987,
          "unit": "\u00b5T",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_r_squared": {
          "key": "uncalibrated_r_squared",
          "label": "r\u00b2 of the linear fit, uncalibrated",
          "value": 0.348864683235931,
          "unit": "",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "fraction of |B| variance the straight line accounts for",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_mean": {
          "key": "uncalibrated_mean",
          "label": "Mean |B|, uncalibrated",
          "value": 222.71809860094652,
          "unit": "\u00b5T",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_range": {
          "key": "uncalibrated_range",
          "label": "Peak-to-peak |B|, uncalibrated",
          "value": 2.1367099999999937,
          "unit": "\u00b5T",
          "n": 15003,
          "window": [
            0.0,
            300.039997289
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_slope_first_half": {
          "key": "uncalibrated_slope_first_half",
          "label": "Slope, first half, uncalibrated",
          "value": -0.0005671384960087587,
          "unit": "\u00b5T/s",
          "n": 7501,
          "window": [
            0.0,
            150.000004303
          ],
          "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.004168671153941303,
          "unit": "\u00b5T/s",
          "n": 7502,
          "window": [
            150.020003248,
            300.039997289
          ],
          "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": "review",
      "derived_trips": 3,
      "derived_trip_intervals": [
        {
          "start_s": 61.986828566,
          "end_s": 72.634706099,
          "peak_gyro_deg_s": 1.5844916349393683,
          "peak_accel_dev_m_s2": 0.5681300044444448
        },
        {
          "start_s": 72.657751301,
          "end_s": 99.369186355,
          "peak_gyro_deg_s": 2.4359474839156667,
          "peak_accel_dev_m_s2": 1.7572460044444451
        },
        {
          "start_s": 247.01375463,
          "end_s": 257.01375463,
          "peak_gyro_deg_s": 1.138552165861743,
          "peak_accel_dev_m_s2": 0.443624995555556
        }
      ],
      "exported_motion_gate_rows": 1,
      "orientation_artifact_channel": {
        "flagged": false,
        "perpendicular_sigma_nt": 6.875249342332221,
        "perpendicular_excursion_nt": 396.6415816102604,
        "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.00383202 (N=15002)",
        "stats": {
          "gyro_median_rate": {
            "key": "gyro_median_rate",
            "label": "Median |\u03c9| over the run",
            "value": 0.0012602083,
            "unit": "rad/s",
            "n": 15748,
            "window": "whole run",
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "gyro_p95_rate": {
            "key": "gyro_p95_rate",
            "label": "95th percentile |\u03c9|",
            "value": 0.002550245,
            "unit": "rad/s",
            "n": 15748,
            "window": "whole run",
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "gyro_max_rate": {
            "key": "gyro_max_rate",
            "label": "Maximum |\u03c9|",
            "value": 0.042515304,
            "unit": "rad/s",
            "n": 15748,
            "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.0038320245969244503,
            "unit": "",
            "n": 15002,
            "window": [
              0.020001223,
              300.039997289
            ],
            "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.701,
            "unit": "",
            "n": 15002,
            "window": [
              0.020001223,
              300.039997289
            ],
            "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.0016497932994226877,
            "unit": "",
            "n": 15002,
            "window": [
              0.020001223,
              300.039997289
            ],
            "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": 1.4684412511433995e-05,
            "unit": "",
            "n": 15002,
            "window": [
              0.020001223,
              300.039997289
            ],
            "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.8,
            "unit": "s",
            "n": 14962,
            "window": [
              0.020001223,
              300.039997289
            ],
            "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.03299262613078133,
            "unit": "",
            "n": 14962,
            "window": [
              0.020001223,
              300.039997289
            ],
            "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": 15002,
            "window": [
              0.020001223,
              300.039997289
            ],
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "regime_comparison_possible": {
            "key": "regime_comparison_possible",
            "label": "Gyro-quiet vs gyro-active comparison possible",
            "value": false,
            "unit": "",
            "n": 15748,
            "window": "whole run",
            "note": "5 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.042515304,
            "unit": "rad/s",
            "n": 15748,
            "window": "whole run",
            "note": "threshold 0.02 rad/s",
            "validity": "valid",
            "reason_code": ""
          }
        },
        "caveats": [
          "Regime framing skipped: the run has 5 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.042515 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": 29.0,
        "unit": "\u00b0C",
        "n": 1,
        "window": [
          0.0,
          0.0
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_end_c": {
        "value": 30.0,
        "unit": "\u00b0C",
        "n": 1,
        "window": [
          290.216,
          290.216
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_range_c": {
        "value": 1.0,
        "unit": "\u00b0C",
        "n": 30,
        "window": [
          0.0,
          290.216
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_slope_c_per_min": {
        "value": 0.19607864745008471,
        "unit": "\u00b0C/min",
        "n": 30,
        "window": [
          0.0,
          290.216
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "max_thermal_status": {
        "value": 0,
        "unit": "code",
        "n": 30,
        "window": "whole run",
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "estimated_sitting_elapsed_s": {
        "value": 360.219,
        "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": [
        "CHARGING"
      ],
      "screen_states": [
        "ON"
      ]
    },
    "ambient": {
      "status": "available",
      "reason_code": "",
      "install_id": "60081111-cf52-4924-be09-405fd20a86f8",
      "day_utc": "20260817",
      "rows_day": 120,
      "rows_context": 52,
      "window_utc_ms": [
        1786974142477,
        1786975042696
      ],
      "note": "Matched directly by session UTC bounds; clock_offset_ms is optional for phone-first runs."
    },
    "rolling_anomaly": {
      "version": "maglab-rolling-feedback-v1",
      "hop_s": 1,
      "window_lengths_s": [
        10,
        20,
        30
      ],
      "drift_sigma_nt": 56.431783183378045,
      "denominator_floor_nt": 1.0,
      "rows": 843,
      "valid_rows": 579,
      "top_candidate_windows": [
        {
          "window_start_s": 290.0,
          "window_end_s": 300.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 11.453581360342179,
          "score": 11.453581360342179,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -646.34602000001,
          "absolute_change_nt": 646.34602000001,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 56.431783183378045
        },
        {
          "window_start_s": 289.0,
          "window_end_s": 299.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 11.328111640963769,
          "score": 11.328111640963769,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -639.2655399999683,
          "absolute_change_nt": 639.2655399999683,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 56.431783183378045
        },
        {
          "window_start_s": 280.0,
          "window_end_s": 300.0,
          "window_length_s": 20,
          "n": 1000,
          "raw_score": 11.31348867579362,
          "score": 11.31348867579362,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -638.4403399999883,
          "absolute_change_nt": 638.4403399999883,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 56.431783183378045
        },
        {
          "window_start_s": 283.0,
          "window_end_s": 293.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 11.274569118832757,
          "score": 11.274569118832757,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -636.2440399999798,
          "absolute_change_nt": 636.2440399999798,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 56.431783183378045
        },
        {
          "window_start_s": 279.0,
          "window_end_s": 299.0,
          "window_length_s": 20,
          "n": 999,
          "raw_score": 11.251169267528322,
          "score": 11.251169267528322,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -634.9235446646446,
          "absolute_change_nt": 634.9235446646446,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 56.431783183378045
        },
        {
          "window_start_s": 282.0,
          "window_end_s": 292.0,
          "window_length_s": 10,
          "n": 499,
          "raw_score": 11.242049857233363,
          "score": 11.242049857233363,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -634.4089200801193,
          "absolute_change_nt": 634.4089200801193,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 56.431783183378045
        },
        {
          "window_start_s": 288.0,
          "window_end_s": 298.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 11.230570509185622,
          "score": 11.230570509185622,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -633.7611200000026,
          "absolute_change_nt": 633.7611200000026,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 56.431783183378045
        },
        {
          "window_start_s": 278.0,
          "window_end_s": 298.0,
          "window_length_s": 20,
          "n": 999,
          "raw_score": 11.208782303355997,
          "score": 11.208782303355997,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -632.5315726926704,
          "absolute_change_nt": 632.5315726926704,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 56.431783183378045
        },
        {
          "window_start_s": 284.0,
          "window_end_s": 294.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 11.191033215232714,
          "score": 11.191033215232714,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -631.5299599999946,
          "absolute_change_nt": 631.5299599999946,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 56.431783183378045
        },
        {
          "window_start_s": 287.0,
          "window_end_s": 297.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 11.18850130870829,
          "score": 11.18850130870829,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -631.3870799999677,
          "absolute_change_nt": 631.3870799999677,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 56.431783183378045
        }
      ],
      "note": "Scores use feedback_meter level/drift_sigma. Both signs are treated symmetrically; ranked windows are descriptive."
    }
  }
}
