{
  "schema_version": "maglab-standard-report-v3",
  "run": 100437,
  "generated_utc": "2026-08-22T15:10:59+00:00",
  "analyzer_version": "maglab-analyzer v16",
  "analysis_model_id": "maglab-analysis-v1",
  "run_header": {
    "run": 100437,
    "session_id": "bc362f12-efc7-4812-b924-c436e40ccec3",
    "started_utc_ms": 1787410993981,
    "duration_s": 282.017,
    "samples": {
      "calibrated": 14093,
      "uncalibrated": 14093,
      "accelerometer": 14800,
      "gyroscope": 14800
    },
    "magnetometer_accuracy_codes": "0\u00d710183, 2\u00d73064, 1\u00d7846",
    "requested_delay_us": 20000,
    "app_version": "38",
    "analysis_model_id": "maglab-analysis-v1",
    "has_console_manifest": false
  },
  "identity": {
    "person": "unknown",
    "role": "unassigned",
    "condition": "CONTROL"
  },
  "primary_outcome": {
    "version": "maglab-final-v1",
    "available": false,
    "reason": "primary windows lack 80% sample coverage",
    "stream": "calibrated",
    "nominal_hz": 50.0,
    "reference_n": 1501,
    "outcome_n": 2095,
    "reference_window_s": [
      0.0,
      30.0
    ],
    "outcome_window_s": [
      240.0,
      300.0
    ],
    "reference_actual_bounds_s": [
      0.0,
      29.999984903
    ],
    "outcome_actual_bounds_s": [
      240.019987859,
      281.939985932
    ],
    "run_seconds": 281.939985932
  },
  "practitioner_comparison": {
    "available": false,
    "reason": "not_a_cherylee_primary_run"
  },
  "overall_quality": "INCOMPLETE",
  "summary": "CONTROL; primary result unavailable; incomplete",
  "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": 1,
        "unit": "blocks",
        "n": 1,
        "window": "whole run",
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "streams": {
        "calibrated": {
          "value": 14093,
          "unit": "samples",
          "n": 14093,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "uncalibrated": {
          "value": 14093,
          "unit": "samples",
          "n": 14093,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "accelerometer": {
          "value": 14800,
          "unit": "samples",
          "n": 14800,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "gyroscope": {
          "value": 14800,
          "unit": "samples",
          "n": 14800,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        }
      }
    },
    "sampling": {
      "summary": "calibrated magnetometer 49.9823 Hz effective over N=14093 samples, 5 gaps",
      "stats": {
        "calibrated_samples": {
          "key": "calibrated_samples",
          "label": "calibrated samples",
          "value": 14093,
          "unit": "",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_duration": {
          "key": "calibrated_duration",
          "label": "calibrated span, first to last sample",
          "value": 281.94,
          "unit": "s",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_effective_rate": {
          "key": "calibrated_effective_rate",
          "label": "calibrated effective rate",
          "value": 49.98226822426952,
          "unit": "Hz",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_median_interval": {
          "key": "calibrated_median_interval",
          "label": "calibrated median sample interval",
          "value": 19.99937149998665,
          "unit": "ms",
          "n": 14092,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_max_interval": {
          "key": "calibrated_max_interval",
          "label": "calibrated largest sample interval",
          "value": 40.004170000031536,
          "unit": "ms",
          "n": 14092,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_gaps": {
          "key": "calibrated_gaps",
          "label": "calibrated intervals over 1.5\u00d7 nominal",
          "value": 5,
          "unit": "",
          "n": 14092,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_missing_estimate": {
          "key": "calibrated_missing_estimate",
          "label": "calibrated samples missing across those gaps",
          "value": 5,
          "unit": "",
          "n": 14092,
          "window": [
            0.0,
            281.939985932
          ],
          "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": 0.9997,
          "unit": "",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_gaps_exported": {
          "key": "calibrated_gaps_exported",
          "label": "calibrated gaps recorded by the phone",
          "value": 2,
          "unit": "",
          "n": 14092,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_samples": {
          "key": "uncalibrated_samples",
          "label": "uncalibrated samples",
          "value": 14093,
          "unit": "",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_duration": {
          "key": "uncalibrated_duration",
          "label": "uncalibrated span, first to last sample",
          "value": 281.94,
          "unit": "s",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_effective_rate": {
          "key": "uncalibrated_effective_rate",
          "label": "uncalibrated effective rate",
          "value": 49.98226822426952,
          "unit": "Hz",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_median_interval": {
          "key": "uncalibrated_median_interval",
          "label": "uncalibrated median sample interval",
          "value": 19.99937199998625,
          "unit": "ms",
          "n": 14092,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_max_interval": {
          "key": "uncalibrated_max_interval",
          "label": "uncalibrated largest sample interval",
          "value": 40.004170000031536,
          "unit": "ms",
          "n": 14092,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_gaps": {
          "key": "uncalibrated_gaps",
          "label": "uncalibrated intervals over 1.5\u00d7 nominal",
          "value": 5,
          "unit": "",
          "n": 14092,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_missing_estimate": {
          "key": "uncalibrated_missing_estimate",
          "label": "uncalibrated samples missing across those gaps",
          "value": 5,
          "unit": "",
          "n": 14092,
          "window": [
            0.0,
            281.939985932
          ],
          "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": 0.9997,
          "unit": "",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_gaps_exported": {
          "key": "uncalibrated_gaps_exported",
          "label": "uncalibrated gaps recorded by the phone",
          "value": 2,
          "unit": "",
          "n": 14092,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_samples": {
          "key": "accelerometer_samples",
          "label": "accelerometer samples",
          "value": 14800,
          "unit": "",
          "n": 14800,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_duration": {
          "key": "accelerometer_duration",
          "label": "accelerometer span, first to last sample",
          "value": 281.938,
          "unit": "s",
          "n": 14800,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_effective_rate": {
          "key": "accelerometer_effective_rate",
          "label": "accelerometer effective rate",
          "value": 52.490256514463006,
          "unit": "Hz",
          "n": 14800,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_median_interval": {
          "key": "accelerometer_median_interval",
          "label": "accelerometer median sample interval",
          "value": 19.051074999993034,
          "unit": "ms",
          "n": 14799,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_max_interval": {
          "key": "accelerometer_max_interval",
          "label": "accelerometer largest sample interval",
          "value": 19.05202500000769,
          "unit": "ms",
          "n": 14799,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_gaps": {
          "key": "accelerometer_gaps",
          "label": "accelerometer intervals over 1.5\u00d7 nominal",
          "value": 0,
          "unit": "",
          "n": 14799,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_missing_estimate": {
          "key": "accelerometer_missing_estimate",
          "label": "accelerometer samples missing across those gaps",
          "value": 0,
          "unit": "",
          "n": 14799,
          "window": [
            0.0,
            281.938039223
          ],
          "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.0499,
          "unit": "",
          "n": 14800,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_gaps_exported": {
          "key": "accelerometer_gaps_exported",
          "label": "accelerometer gaps recorded by the phone",
          "value": 1,
          "unit": "",
          "n": 14799,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_samples": {
          "key": "gyroscope_samples",
          "label": "gyroscope samples",
          "value": 14800,
          "unit": "",
          "n": 14800,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_duration": {
          "key": "gyroscope_duration",
          "label": "gyroscope span, first to last sample",
          "value": 281.938,
          "unit": "s",
          "n": 14800,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_effective_rate": {
          "key": "gyroscope_effective_rate",
          "label": "gyroscope effective rate",
          "value": 52.490256514463006,
          "unit": "Hz",
          "n": 14800,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_median_interval": {
          "key": "gyroscope_median_interval",
          "label": "gyroscope median sample interval",
          "value": 19.051074999993034,
          "unit": "ms",
          "n": 14799,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_max_interval": {
          "key": "gyroscope_max_interval",
          "label": "gyroscope largest sample interval",
          "value": 19.05202500000769,
          "unit": "ms",
          "n": 14799,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_gaps": {
          "key": "gyroscope_gaps",
          "label": "gyroscope intervals over 1.5\u00d7 nominal",
          "value": 0,
          "unit": "",
          "n": 14799,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_missing_estimate": {
          "key": "gyroscope_missing_estimate",
          "label": "gyroscope samples missing across those gaps",
          "value": 0,
          "unit": "",
          "n": 14799,
          "window": [
            0.0,
            281.938039223
          ],
          "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.0499,
          "unit": "",
          "n": 14800,
          "window": [
            0.0,
            281.938039223
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_gaps_exported": {
          "key": "gyroscope_gaps_exported",
          "label": "gyroscope gaps recorded by the phone",
          "value": 1,
          "unit": "",
          "n": 14799,
          "window": [
            0.0,
            281.938039223
          ],
          "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 5 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 5 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": 14085,
          "window_utc_ms": [
            1787410994165,
            1787411275963
          ],
          "effective_rate_hz": 49.98261165799615
        }
      ]
    },
    "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.00468031 \u00b5T/s (1.31957 \u00b5T over 0.0\u2013281.9 s, N=14093)",
      "stats": {
        "calibrated_slope": {
          "key": "calibrated_slope",
          "label": "|B| slope, calibrated",
          "value": 0.004680307989590616,
          "unit": "\u00b5T/s",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "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": 0.0011609927054909294,
          "unit": "\u00b5T/s",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "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": 1.3195659687426056,
          "unit": "\u00b5T",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "slope \u00d7 281.9 s",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_residual_rms": {
          "key": "calibrated_residual_rms",
          "label": "Residual RMS after removing the slope, calibrated",
          "value": 11.21755080085064,
          "unit": "\u00b5T",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_r_squared": {
          "key": "calibrated_r_squared",
          "label": "r\u00b2 of the linear fit, calibrated",
          "value": 0.00115198673681971,
          "unit": "",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "fraction of |B| variance the straight line accounts for",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_mean": {
          "key": "calibrated_mean",
          "label": "Mean |B|, calibrated",
          "value": 31.722333595352303,
          "unit": "\u00b5T",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_range": {
          "key": "calibrated_range",
          "label": "Peak-to-peak |B|, calibrated",
          "value": 74.635497,
          "unit": "\u00b5T",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_slope_first_half": {
          "key": "calibrated_slope_first_half",
          "label": "Slope, first half, calibrated",
          "value": -0.10497411874315515,
          "unit": "\u00b5T/s",
          "n": 7046,
          "window": [
            0.0,
            140.939987768
          ],
          "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.030644819677495865,
          "unit": "\u00b5T/s",
          "n": 7047,
          "window": [
            140.959990813,
            281.939985932
          ],
          "note": "first vs second half",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_slope": {
          "key": "uncalibrated_slope",
          "label": "|B| slope, uncalibrated",
          "value": 0.016669804487966063,
          "unit": "\u00b5T/s",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "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": 0.0010629390199465287,
          "unit": "\u00b5T/s",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "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": 4.699884442826343,
          "unit": "\u00b5T",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "slope \u00d7 281.9 s",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_residual_rms": {
          "key": "uncalibrated_residual_rms",
          "label": "Residual RMS after removing the slope, uncalibrated",
          "value": 10.270152773625052,
          "unit": "\u00b5T",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_r_squared": {
          "key": "uncalibrated_r_squared",
          "label": "r\u00b2 of the linear fit, uncalibrated",
          "value": 0.0171548760630732,
          "unit": "",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "fraction of |B| variance the straight line accounts for",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_mean": {
          "key": "uncalibrated_mean",
          "label": "Mean |B|, uncalibrated",
          "value": 237.00868174341872,
          "unit": "\u00b5T",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_range": {
          "key": "uncalibrated_range",
          "label": "Peak-to-peak |B|, uncalibrated",
          "value": 100.78452000000001,
          "unit": "\u00b5T",
          "n": 14093,
          "window": [
            0.0,
            281.939985932
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_slope_first_half": {
          "key": "uncalibrated_slope_first_half",
          "label": "Slope, first half, uncalibrated",
          "value": 0.008859987752788555,
          "unit": "\u00b5T/s",
          "n": 7046,
          "window": [
            0.0,
            140.939987768
          ],
          "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.014945864714775292,
          "unit": "\u00b5T/s",
          "n": 7047,
          "window": [
            140.959990813,
            281.939985932
          ],
          "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.",
        "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": 9,
      "derived_trip_intervals": [
        {
          "start_s": 0.0,
          "end_s": 20.42075919,
          "peak_gyro_deg_s": 366.40255657737504,
          "peak_accel_dev_m_s2": 27.53780297288889
        },
        {
          "start_s": 26.766416395,
          "end_s": 43.910498622,
          "peak_gyro_deg_s": 42.65407797121014,
          "peak_accel_dev_m_s2": 2.2492039728888873
        },
        {
          "start_s": 47.608077007,
          "end_s": 58.351060786,
          "peak_gyro_deg_s": 11.643044415132522,
          "peak_accel_dev_m_s2": 0.9945120271111119
        },
        {
          "start_s": 59.953042915,
          "end_s": 70.71507800500001,
          "peak_gyro_deg_s": 13.839931905340277,
          "peak_accel_dev_m_s2": 0.137489027111112
        },
        {
          "start_s": 102.627063468,
          "end_s": 118.837674609,
          "peak_gyro_deg_s": 79.93664796517905,
          "peak_accel_dev_m_s2": 4.754667627111112
        },
        {
          "start_s": 119.506219719,
          "end_s": 178.238847583,
          "peak_gyro_deg_s": 267.98585966833934,
          "peak_accel_dev_m_s2": 13.294291972888887
        },
        {
          "start_s": 187.25195305,
          "end_s": 197.366260412,
          "peak_gyro_deg_s": 6.438879648157362,
          "peak_accel_dev_m_s2": 1.182864027111112
        },
        {
          "start_s": 199.825795196,
          "end_s": 210.987925071,
          "peak_gyro_deg_s": 128.25464292437545,
          "peak_accel_dev_m_s2": 4.745979027111112
        },
        {
          "start_s": 212.075806539,
          "end_s": 291.938039223,
          "peak_gyro_deg_s": 287.35672620333156,
          "peak_accel_dev_m_s2": 6.2477639728888885
        }
      ],
      "exported_motion_gate_rows": 9,
      "orientation_artifact_channel": {
        "flagged": false,
        "perpendicular_sigma_nt": 4572.505191438353,
        "perpendicular_excursion_nt": 45771.79696601232,
        "n": 252,
        "window": [
          30.0,
          281.0
        ],
        "note": "Reported symmetrically as a diagnostic; it is not subtracted or used as a control."
      },
      "quiet_active_analysis": {
        "summary": "zero-lag r=0.254936 (N=14092); active/quiet SD ratio 12.6052\u00d7 (16.5943 vs 1.31647 \u00b5T)",
        "stats": {
          "gyro_median_rate": {
            "key": "gyro_median_rate",
            "label": "Median |\u03c9| over the run",
            "value": 0.0014936323,
            "unit": "rad/s",
            "n": 14800,
            "window": "whole run",
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "gyro_p95_rate": {
            "key": "gyro_p95_rate",
            "label": "95th percentile |\u03c9|",
            "value": 0.47956921299999994,
            "unit": "rad/s",
            "n": 14800,
            "window": "whole run",
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "gyro_max_rate": {
            "key": "gyro_max_rate",
            "label": "Maximum |\u03c9|",
            "value": 6.394931,
            "unit": "rad/s",
            "n": 14800,
            "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.2549358097761298,
            "unit": "",
            "n": 14092,
            "window": [
              0.019997913,
              281.939985932
            ],
            "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.002,
            "unit": "",
            "n": 14092,
            "window": [
              0.019997913,
              281.939985932
            ],
            "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.08698404068183509,
            "unit": "",
            "n": 14092,
            "window": [
              0.019997913,
              281.939985932
            ],
            "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.06499226710621103,
            "unit": "",
            "n": 14092,
            "window": [
              0.019997913,
              281.939985932
            ],
            "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.0,
            "unit": "s",
            "n": 14092,
            "window": [
              0.019997913,
              281.939985932
            ],
            "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.2549358097761298,
            "unit": "",
            "n": 14092,
            "window": [
              0.019997913,
              281.939985932
            ],
            "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": 14092,
            "window": [
              0.019997913,
              281.939985932
            ],
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "regime_threshold": {
            "key": "regime_threshold",
            "label": "Angular-rate threshold splitting quiet from active",
            "value": 0.02,
            "unit": "rad/s",
            "n": null,
            "window": null,
            "note": "minimum span 2 s; stated in advance, not fitted to these data",
            "validity": "valid",
            "reason_code": ""
          },
          "regime_quiet_seconds": {
            "key": "regime_quiet_seconds",
            "label": "Gyro-quiet time",
            "value": 204.16,
            "unit": "s",
            "n": 10230,
            "window": "10.4\u201326.7, 27.5\u201333.3, 33.9\u201347.6, \u2026 (22 spans) s",
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "regime_active_seconds": {
            "key": "regime_active_seconds",
            "label": "Gyro-active time",
            "value": 14.0,
            "unit": "s",
            "n": 703,
            "window": "0.0\u20132.6, 147.6\u2013150.8, 154.8\u2013160.4, \u2026 (4 spans) s",
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "calibrated_quiet_sd": {
            "key": "calibrated_quiet_sd",
            "label": "|B| SD in gyro-quiet windows, calibrated",
            "value": 1.316472793529448,
            "unit": "\u00b5T",
            "n": 10125,
            "window": "10.4\u201326.7, 27.5\u201333.3, 33.9\u201347.6, \u2026 (22 spans) s",
            "note": "48 windows of 5 s",
            "validity": "valid",
            "reason_code": ""
          },
          "calibrated_active_sd": {
            "key": "calibrated_active_sd",
            "label": "|B| SD in gyro-active windows, calibrated",
            "value": 16.594337389207837,
            "unit": "\u00b5T",
            "n": 703,
            "window": "0.0\u20132.6, 147.6\u2013150.8, 154.8\u2013160.4, \u2026 (4 spans) s",
            "note": "5 windows of 5 s",
            "validity": "valid",
            "reason_code": ""
          },
          "calibrated_sd_ratio": {
            "key": "calibrated_sd_ratio",
            "label": "SD ratio active/quiet, calibrated",
            "value": 12.605150270305712,
            "unit": "\u00d7",
            "n": 10828,
            "window": "quiet and active windows pooled separately",
            "note": "effect size: 1.0 means motion made no difference",
            "validity": "valid",
            "reason_code": ""
          },
          "calibrated_window_sd_p": {
            "key": "calibrated_window_sd_p",
            "label": "Mann\u2013Whitney p on per-window SDs, calibrated",
            "value": 4.878584234855045e-06,
            "unit": "",
            "n": 53,
            "window": "48 quiet vs 5 active windows",
            "note": "windows, not samples, are the unit here",
            "validity": "valid",
            "reason_code": ""
          },
          "calibrated_window_sd_effect": {
            "key": "calibrated_window_sd_effect",
            "label": "Rank-biserial effect size, calibrated",
            "value": -0.975,
            "unit": "",
            "n": 53,
            "window": "48 quiet vs 5 active windows",
            "note": "+1 = every active window noisier than every quiet one",
            "validity": "valid",
            "reason_code": ""
          },
          "uncalibrated_quiet_sd": {
            "key": "uncalibrated_quiet_sd",
            "label": "|B| SD in gyro-quiet windows, uncalibrated",
            "value": 1.34809295343999,
            "unit": "\u00b5T",
            "n": 10125,
            "window": "10.4\u201326.7, 27.5\u201333.3, 33.9\u201347.6, \u2026 (22 spans) s",
            "note": "48 windows of 5 s",
            "validity": "valid",
            "reason_code": ""
          },
          "uncalibrated_active_sd": {
            "key": "uncalibrated_active_sd",
            "label": "|B| SD in gyro-active windows, uncalibrated",
            "value": 9.583974466212764,
            "unit": "\u00b5T",
            "n": 703,
            "window": "0.0\u20132.6, 147.6\u2013150.8, 154.8\u2013160.4, \u2026 (4 spans) s",
            "note": "5 windows of 5 s",
            "validity": "valid",
            "reason_code": ""
          },
          "uncalibrated_sd_ratio": {
            "key": "uncalibrated_sd_ratio",
            "label": "SD ratio active/quiet, uncalibrated",
            "value": 7.109283111195635,
            "unit": "\u00d7",
            "n": 10828,
            "window": "quiet and active windows pooled separately",
            "note": "effect size: 1.0 means motion made no difference",
            "validity": "valid",
            "reason_code": ""
          },
          "uncalibrated_window_sd_p": {
            "key": "uncalibrated_window_sd_p",
            "label": "Mann\u2013Whitney p on per-window SDs, uncalibrated",
            "value": 4.878584234855045e-06,
            "unit": "",
            "n": 53,
            "window": "48 quiet vs 5 active windows",
            "note": "windows, not samples, are the unit here",
            "validity": "valid",
            "reason_code": ""
          },
          "uncalibrated_window_sd_effect": {
            "key": "uncalibrated_window_sd_effect",
            "label": "Rank-biserial effect size, uncalibrated",
            "value": -0.975,
            "unit": "",
            "n": 53,
            "window": "48 quiet vs 5 active windows",
            "note": "+1 = every active window noisier than every quiet one",
            "validity": "valid",
            "reason_code": ""
          }
        },
        "caveats": [
          "23 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": 23.0,
        "unit": "\u00b0C",
        "n": 1,
        "window": [
          0.0,
          0.0
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_end_c": {
        "value": 24.0,
        "unit": "\u00b0C",
        "n": 1,
        "window": [
          280.258,
          280.258
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_range_c": {
        "value": 1.0,
        "unit": "\u00b0C",
        "n": 29,
        "window": [
          0.0,
          280.258
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_slope_c_per_min": {
        "value": 0.24805576826953965,
        "unit": "\u00b0C/min",
        "n": 29,
        "window": [
          0.0,
          280.258
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "max_thermal_status": {
        "value": 0,
        "unit": "code",
        "n": 29,
        "window": "whole run",
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "estimated_sitting_elapsed_s": {
        "value": 342.017,
        "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": "7006b003-f48a-4ea5-b7e6-77fc888f5249",
      "day_utc": "20260822",
      "rows_day": 1135,
      "rows_context": 30,
      "ambient_control_windows": 26,
      "ambient_delta_mean_nt": 580.83,
      "ambient_delta_median_nt": -7.38,
      "ambient_windows_more_positive_fraction": null,
      "window_utc_ms": [
        1787410693981,
        1787411575998
      ],
      "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": 11081.389640381089,
      "denominator_floor_nt": 1.0,
      "rows": 786,
      "valid_rows": 36,
      "top_candidate_windows": [
        {
          "window_start_s": 84.0,
          "window_end_s": 94.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 1.828023534445455,
          "score": 1.828023534445455,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -20257.041056976686,
          "absolute_change_nt": 20257.041056976686,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 11081.389640381089
        },
        {
          "window_start_s": 83.0,
          "window_end_s": 93.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 1.827083631027381,
          "score": 1.827083631027381,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -20246.625620976683,
          "absolute_change_nt": 20246.625620976683,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 11081.389640381089
        },
        {
          "window_start_s": 82.0,
          "window_end_s": 92.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 1.826502009930284,
          "score": 1.826502009930284,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -20240.180450976684,
          "absolute_change_nt": 20240.180450976684,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 11081.389640381089
        },
        {
          "window_start_s": 85.0,
          "window_end_s": 95.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 1.8238208667736775,
          "score": 1.8238208667736775,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -20210.469658976686,
          "absolute_change_nt": 20210.469658976686,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 11081.389640381089
        },
        {
          "window_start_s": 81.0,
          "window_end_s": 91.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 1.8237251109132269,
          "score": 1.8237251109132269,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -20209.408550976685,
          "absolute_change_nt": 20209.408550976685,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 11081.389640381089
        },
        {
          "window_start_s": 71.0,
          "window_end_s": 91.0,
          "window_length_s": 20,
          "n": 1000,
          "raw_score": 1.8232462155605482,
          "score": 1.8232462155605482,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -20204.101724976685,
          "absolute_change_nt": 20204.101724976685,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 11081.389640381089
        },
        {
          "window_start_s": 73.0,
          "window_end_s": 93.0,
          "window_length_s": 20,
          "n": 1000,
          "raw_score": 1.822837300961653,
          "score": 1.822837300961653,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -20199.570382976686,
          "absolute_change_nt": 20199.570382976686,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 11081.389640381089
        },
        {
          "window_start_s": 72.0,
          "window_end_s": 92.0,
          "window_length_s": 20,
          "n": 1000,
          "raw_score": 1.8228257225401585,
          "score": 1.8228257225401585,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -20199.442077976684,
          "absolute_change_nt": 20199.442077976684,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 11081.389640381089
        },
        {
          "window_start_s": 71.0,
          "window_end_s": 81.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 1.8227673202078694,
          "score": 1.8227673202078694,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -20198.79489897668,
          "absolute_change_nt": 20198.79489897668,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 11081.389640381089
        },
        {
          "window_start_s": 74.0,
          "window_end_s": 94.0,
          "window_length_s": 20,
          "n": 1000,
          "raw_score": 1.8218829698404495,
          "score": 1.8218829698404495,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -20188.995067976688,
          "absolute_change_nt": 20188.995067976688,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 11081.389640381089
        }
      ],
      "note": "Scores use feedback_meter level/drift_sigma. Both signs are treated symmetrically; ranked windows are descriptive."
    }
  }
}
