{
  "schema_version": "maglab-standard-report-v3",
  "run": 100673,
  "generated_utc": "2026-08-26T03:02:05+00:00",
  "analyzer_version": "maglab-analyzer v18",
  "analysis_model_id": "maglab-analysis-v1",
  "run_header": {
    "run": 100673,
    "session_id": "fe753e52-e78d-48a0-918f-753c2bbf54dd",
    "started_utc_ms": 1787712783967,
    "duration_s": 360.582,
    "samples": {
      "calibrated": 18003,
      "uncalibrated": 18004,
      "accelerometer": 21475,
      "gyroscope": 21477
    },
    "magnetometer_accuracy_codes": "2\u00d718003",
    "requested_delay_us": 20000,
    "app_version": "49C",
    "analysis_model_id": "maglab-analysis-v1",
    "has_console_manifest": false
  },
  "identity": {
    "person": "Alex",
    "role": "control_operator",
    "condition": "CONTROL"
  },
  "primary_outcome": {
    "version": "maglab-final-v1",
    "available": true,
    "reason": "",
    "stream": "calibrated",
    "nominal_hz": 50.0,
    "reference_n": 1497,
    "outcome_n": 3000,
    "reference_window_s": [
      0.0,
      30.0
    ],
    "outcome_window_s": [
      240.0,
      300.0
    ],
    "reference_actual_bounds_s": [
      0.0,
      29.999243467
    ],
    "outcome_actual_bounds_s": [
      240.019223123,
      299.999199436
    ],
    "run_seconds": 360.11914739,
    "signed_delta_nt": -1054.1,
    "absolute_delta_nt": 1054.1,
    "delta_pct": -2.427,
    "reference_magnitude_ut": 43.438536,
    "outcome_magnitude_ut": 42.384437,
    "angle_deg": 1.806,
    "ambient_ut": 42.88
  },
  "practitioner_comparison": {
    "available": false,
    "reason": "not_a_cherylee_primary_run"
  },
  "overall_quality": "COMPLETE WITH DATA-QUALITY WARNING",
  "summary": "CONTROL; -1054.1 nT; complete with data-quality warning",
  "checks": {
    "readiness": {
      "status": "pass",
      "analyzable": true,
      "missing_streams": [],
      "session_type": "PHONE_FIRST_SESSION",
      "app_version": "49C",
      "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": 18003,
          "unit": "samples",
          "n": 18003,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "uncalibrated": {
          "value": 18004,
          "unit": "samples",
          "n": 18004,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "accelerometer": {
          "value": 21475,
          "unit": "samples",
          "n": 21475,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        },
        "gyroscope": {
          "value": 21477,
          "unit": "samples",
          "n": 21477,
          "window": "whole run",
          "validity": "valid",
          "reason_code": "",
          "note": ""
        }
      }
    },
    "sampling": {
      "summary": "calibrated magnetometer 49.989 Hz effective over N=18003 samples, 1 gaps",
      "stats": {
        "calibrated_samples": {
          "key": "calibrated_samples",
          "label": "calibrated samples",
          "value": 18003,
          "unit": "",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_duration": {
          "key": "calibrated_duration",
          "label": "calibrated span, first to last sample",
          "value": 360.119,
          "unit": "s",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_effective_rate": {
          "key": "calibrated_effective_rate",
          "label": "calibrated effective rate",
          "value": 49.989010943937075,
          "unit": "Hz",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_median_interval": {
          "key": "calibrated_median_interval",
          "label": "calibrated median sample interval",
          "value": 20.000000999999656,
          "unit": "ms",
          "n": 18002,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_max_interval": {
          "key": "calibrated_max_interval",
          "label": "calibrated largest sample interval",
          "value": 95.424604,
          "unit": "ms",
          "n": 18002,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_gaps": {
          "key": "calibrated_gaps",
          "label": "calibrated intervals over 1.5\u00d7 nominal",
          "value": 1,
          "unit": "",
          "n": 18002,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_missing_estimate": {
          "key": "calibrated_missing_estimate",
          "label": "calibrated samples missing across those gaps",
          "value": 4,
          "unit": "",
          "n": 18002,
          "window": [
            0.0,
            360.11914739
          ],
          "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.9998,
          "unit": "",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_gaps_exported": {
          "key": "calibrated_gaps_exported",
          "label": "calibrated gaps recorded by the phone",
          "value": 1,
          "unit": "",
          "n": 18002,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_samples": {
          "key": "uncalibrated_samples",
          "label": "uncalibrated samples",
          "value": 18004,
          "unit": "",
          "n": 18004,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_duration": {
          "key": "uncalibrated_duration",
          "label": "uncalibrated span, first to last sample",
          "value": 360.119,
          "unit": "s",
          "n": 18004,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_effective_rate": {
          "key": "uncalibrated_effective_rate",
          "label": "uncalibrated effective rate",
          "value": 49.99178780267188,
          "unit": "Hz",
          "n": 18004,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_median_interval": {
          "key": "uncalibrated_median_interval",
          "label": "uncalibrated median sample interval",
          "value": 20.000000999999656,
          "unit": "ms",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_max_interval": {
          "key": "uncalibrated_max_interval",
          "label": "uncalibrated largest sample interval",
          "value": 65.117881,
          "unit": "ms",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_gaps": {
          "key": "uncalibrated_gaps",
          "label": "uncalibrated intervals over 1.5\u00d7 nominal",
          "value": 2,
          "unit": "",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_missing_estimate": {
          "key": "uncalibrated_missing_estimate",
          "label": "uncalibrated samples missing across those gaps",
          "value": 3,
          "unit": "",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "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.9999,
          "unit": "",
          "n": 18004,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_gaps_exported": {
          "key": "uncalibrated_gaps_exported",
          "label": "uncalibrated gaps recorded by the phone",
          "value": 1,
          "unit": "",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_samples": {
          "key": "accelerometer_samples",
          "label": "accelerometer samples",
          "value": 21475,
          "unit": "",
          "n": 21475,
          "window": [
            0.0,
            360.023523176
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_duration": {
          "key": "accelerometer_duration",
          "label": "accelerometer span, first to last sample",
          "value": 360.024,
          "unit": "s",
          "n": 21475,
          "window": [
            0.0,
            360.023523176
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_effective_rate": {
          "key": "accelerometer_effective_rate",
          "label": "accelerometer effective rate",
          "value": 59.64610259508594,
          "unit": "Hz",
          "n": 21475,
          "window": [
            0.0,
            360.023523176
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_median_interval": {
          "key": "accelerometer_median_interval",
          "label": "accelerometer median sample interval",
          "value": 16.76327149999679,
          "unit": "ms",
          "n": 21474,
          "window": [
            0.0,
            360.023523176
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_max_interval": {
          "key": "accelerometer_max_interval",
          "label": "accelerometer largest sample interval",
          "value": 67.051249,
          "unit": "ms",
          "n": 21474,
          "window": [
            0.0,
            360.023523176
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_gaps": {
          "key": "accelerometer_gaps",
          "label": "accelerometer intervals over 1.5\u00d7 nominal",
          "value": 1,
          "unit": "",
          "n": 21474,
          "window": [
            0.0,
            360.023523176
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_missing_estimate": {
          "key": "accelerometer_missing_estimate",
          "label": "accelerometer samples missing across those gaps",
          "value": 2,
          "unit": "",
          "n": 21474,
          "window": [
            0.0,
            360.023523176
          ],
          "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.193,
          "unit": "",
          "n": 21475,
          "window": [
            0.0,
            360.023523176
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "accelerometer_gaps_exported": {
          "key": "accelerometer_gaps_exported",
          "label": "accelerometer gaps recorded by the phone",
          "value": 0,
          "unit": "",
          "n": 21474,
          "window": [
            0.0,
            360.023523176
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_samples": {
          "key": "gyroscope_samples",
          "label": "gyroscope samples",
          "value": 21477,
          "unit": "",
          "n": 21477,
          "window": [
            0.0,
            360.057069366
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_duration": {
          "key": "gyroscope_duration",
          "label": "gyroscope span, first to last sample",
          "value": 360.057,
          "unit": "s",
          "n": 21477,
          "window": [
            0.0,
            360.057069366
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_effective_rate": {
          "key": "gyroscope_effective_rate",
          "label": "gyroscope effective rate",
          "value": 59.64610009689749,
          "unit": "Hz",
          "n": 21477,
          "window": [
            0.0,
            360.057069366
          ],
          "note": "nominal 50 Hz",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_median_interval": {
          "key": "gyroscope_median_interval",
          "label": "gyroscope median sample interval",
          "value": 16.763271999991503,
          "unit": "ms",
          "n": 21476,
          "window": [
            0.0,
            360.057069366
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_max_interval": {
          "key": "gyroscope_max_interval",
          "label": "gyroscope largest sample interval",
          "value": 67.051249,
          "unit": "ms",
          "n": 21476,
          "window": [
            0.0,
            360.057069366
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_gaps": {
          "key": "gyroscope_gaps",
          "label": "gyroscope intervals over 1.5\u00d7 nominal",
          "value": 1,
          "unit": "",
          "n": 21476,
          "window": [
            0.0,
            360.057069366
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_missing_estimate": {
          "key": "gyroscope_missing_estimate",
          "label": "gyroscope samples missing across those gaps",
          "value": 2,
          "unit": "",
          "n": 21476,
          "window": [
            0.0,
            360.057069366
          ],
          "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.193,
          "unit": "",
          "n": 21477,
          "window": [
            0.0,
            360.057069366
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "gyroscope_gaps_exported": {
          "key": "gyroscope_gaps_exported",
          "label": "gyroscope gaps recorded by the phone",
          "value": 0,
          "unit": "",
          "n": 21476,
          "window": [
            0.0,
            360.057069366
          ],
          "note": "from data_gaps.csv",
          "validity": "valid",
          "reason_code": ""
        },
        "exported_gap_rows": {
          "key": "exported_gap_rows",
          "label": "Rows in data_gaps.csv",
          "value": 2,
          "unit": "",
          "n": 2,
          "window": "whole run",
          "note": "",
          "validity": "valid",
          "reason_code": ""
        }
      },
      "caveats": [
        "uncalibrated: this recount found 2 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.",
        "accelerometer: this recount found 1 gaps but data_gaps.csv records 0. 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 1 gaps but data_gaps.csv records 0. 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": 18002,
          "window_utc_ms": [
            1787712784326,
            1787713144528
          ],
          "effective_rate_hz": 49.97751261791994
        }
      ]
    },
    "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": "49C"
    },
    "baseline_drift": {
      "summary": "calibrated |B| drifts -0.00484709 \u00b5T/s (-1.74553 \u00b5T over 0.0\u2013360.1 s, N=18003)",
      "stats": {
        "calibrated_slope": {
          "key": "calibrated_slope",
          "label": "|B| slope, calibrated",
          "value": -0.004847093275550264,
          "unit": "\u00b5T/s",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "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": 3.1992060930375885e-05,
          "unit": "\u00b5T/s",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "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.7455310977109637,
          "unit": "\u00b5T",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "slope \u00d7 360.1 s",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_residual_rms": {
          "key": "calibrated_residual_rms",
          "label": "Residual RMS after removing the slope, calibrated",
          "value": 0.44614371406164094,
          "unit": "\u00b5T",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_r_squared": {
          "key": "calibrated_r_squared",
          "label": "r\u00b2 of the linear fit, calibrated",
          "value": 0.5604801180207521,
          "unit": "",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "fraction of |B| variance the straight line accounts for",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_mean": {
          "key": "calibrated_mean",
          "label": "Mean |B|, calibrated",
          "value": 42.790412054546465,
          "unit": "\u00b5T",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_range": {
          "key": "calibrated_range",
          "label": "Peak-to-peak |B|, calibrated",
          "value": 4.289298000000002,
          "unit": "\u00b5T",
          "n": 18003,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "calibrated_slope_first_half": {
          "key": "calibrated_slope_first_half",
          "label": "Slope, first half, calibrated",
          "value": -0.0029426674222083034,
          "unit": "\u00b5T/s",
          "n": 9001,
          "window": [
            0.0,
            180.079199367
          ],
          "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.0072372821260037815,
          "unit": "\u00b5T/s",
          "n": 9002,
          "window": [
            180.099198757,
            360.11914739
          ],
          "note": "first vs second half",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_slope": {
          "key": "uncalibrated_slope",
          "label": "|B| slope, uncalibrated",
          "value": -0.005997985669405013,
          "unit": "\u00b5T/s",
          "n": 18004,
          "window": [
            0.0,
            360.11914739
          ],
          "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.655368726696915e-05,
          "unit": "\u00b5T/s",
          "n": 18004,
          "window": [
            0.0,
            360.11914739
          ],
          "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": -2.159989485323572,
          "unit": "\u00b5T",
          "n": 18004,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "slope \u00d7 360.1 s",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_residual_rms": {
          "key": "uncalibrated_residual_rms",
          "label": "Residual RMS after removing the slope, uncalibrated",
          "value": 0.5098001221484421,
          "unit": "\u00b5T",
          "n": 18004,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_r_squared": {
          "key": "uncalibrated_r_squared",
          "label": "r\u00b2 of the linear fit, uncalibrated",
          "value": 0.5993015322491518,
          "unit": "",
          "n": 18004,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "fraction of |B| variance the straight line accounts for",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_mean": {
          "key": "uncalibrated_mean",
          "label": "Mean |B|, uncalibrated",
          "value": 671.6302356087537,
          "unit": "\u00b5T",
          "n": 18004,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_range": {
          "key": "uncalibrated_range",
          "label": "Peak-to-peak |B|, uncalibrated",
          "value": 5.38370000000009,
          "unit": "\u00b5T",
          "n": 18004,
          "window": [
            0.0,
            360.11914739
          ],
          "note": "",
          "validity": "valid",
          "reason_code": ""
        },
        "uncalibrated_slope_first_half": {
          "key": "uncalibrated_slope_first_half",
          "label": "Slope, first half, uncalibrated",
          "value": -0.0026878840773845595,
          "unit": "\u00b5T/s",
          "n": 9002,
          "window": [
            0.0,
            180.079199367
          ],
          "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.007837636726562841,
          "unit": "\u00b5T/s",
          "n": 9002,
          "window": [
            180.099198757,
            360.11914739
          ],
          "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": 2,
      "derived_trip_intervals": [
        {
          "start_s": 53.690941969,
          "end_s": 63.690941969,
          "peak_gyro_deg_s": 1.022964462412964,
          "peak_accel_dev_m_s2": 0.15684020341354454
        },
        {
          "start_s": 171.047684608,
          "end_s": 181.064444736,
          "peak_gyro_deg_s": 1.1215370382197432,
          "peak_accel_dev_m_s2": 0.6323547965864549
        }
      ],
      "exported_motion_gate_rows": 0,
      "orientation_artifact_channel": {
        "flagged": false,
        "perpendicular_sigma_nt": 27.721806918532707,
        "perpendicular_excursion_nt": 1700.3665787256382,
        "n": 331,
        "window": [
          30.0,
          360.0
        ],
        "note": "Reported symmetrically as a diagnostic; it is not subtracted or used as a control."
      },
      "quiet_active_analysis": {
        "summary": "zero-lag r=0.0005961 (N=18002)",
        "stats": {
          "gyro_median_rate": {
            "key": "gyro_median_rate",
            "label": "Median |\u03c9| over the run",
            "value": 0.00089048146,
            "unit": "rad/s",
            "n": 21477,
            "window": "whole run",
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "gyro_p95_rate": {
            "key": "gyro_p95_rate",
            "label": "95th percentile |\u03c9|",
            "value": 0.0014963081,
            "unit": "rad/s",
            "n": 21477,
            "window": "whole run",
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "gyro_max_rate": {
            "key": "gyro_max_rate",
            "label": "Maximum |\u03c9|",
            "value": 0.019574514,
            "unit": "rad/s",
            "n": 21477,
            "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.0005960566482268575,
            "unit": "",
            "n": 18002,
            "window": [
              0.095424604,
              360.11914739
            ],
            "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.951,
            "unit": "",
            "n": 18002,
            "window": [
              0.095424604,
              360.11914739
            ],
            "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.002996670567343351,
            "unit": "",
            "n": 18002,
            "window": [
              0.095424604,
              360.11914739
            ],
            "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": 3.552835278954357e-07,
            "unit": "",
            "n": 18002,
            "window": [
              0.095424604,
              360.11914739
            ],
            "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": 17962,
            "window": [
              0.095424604,
              360.11914739
            ],
            "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.01754133065278938,
            "unit": "",
            "n": 17962,
            "window": [
              0.095424604,
              360.11914739
            ],
            "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": 18002,
            "window": [
              0.095424604,
              360.11914739
            ],
            "note": "",
            "validity": "valid",
            "reason_code": ""
          },
          "regime_comparison_possible": {
            "key": "regime_comparison_possible",
            "label": "Gyro-quiet vs gyro-active comparison possible",
            "value": false,
            "unit": "",
            "n": 21477,
            "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.019574514,
            "unit": "rad/s",
            "n": 21477,
            "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.019575 rad/s. Lowering the threshold until a split appears would be choosing it from the data it then divides, so this analyzer does not do that; a run with deliberate phone movement is what would answer the question.",
          "21 exploratory comparisons were made in this run and none are corrected for multiplicity. The zero-lag correlation and the regime SD ratio are the two figures stated in advance; the best-lag number is a search result and should be treated as a hypothesis, not a finding.",
          "The quiet/active threshold is provisional (docs/analysis-model.md). Rerunning with a different threshold will change these numbers, and a threshold chosen after seeing the result is not a test.",
          "This measures the phone's magnetometer while the phone moves. It says nothing about the source of any field change, and it is not a pre-registered test of the pinwheel hypothesis."
        ]
      },
      "note": "Gyro quiet/active split and motion-gate trips are both reported; they use distinct established thresholds."
    },
    "thermal": {
      "status": "review",
      "temperature_start_c": {
        "value": 26.7,
        "unit": "\u00b0C",
        "n": 1,
        "window": [
          0.0,
          0.0
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_end_c": {
        "value": 26.7,
        "unit": "\u00b0C",
        "n": 1,
        "window": [
          360.309,
          360.309
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_range_c": {
        "value": 0.0,
        "unit": "\u00b0C",
        "n": 37,
        "window": [
          0.0,
          360.309
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "temperature_slope_c_per_min": {
        "value": 1.703413584451224e-15,
        "unit": "\u00b0C/min",
        "n": 37,
        "window": [
          0.0,
          360.309
        ],
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "max_thermal_status": {
        "value": 0,
        "unit": "code",
        "n": 37,
        "window": "whole run",
        "validity": "valid",
        "reason_code": "",
        "note": ""
      },
      "estimated_sitting_elapsed_s": {
        "value": 420.582,
        "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": "8be03e88-3257-430a-a0f6-de32b00386bb",
      "day_utc": "20260826",
      "rows_day": 61,
      "rows_context": 58,
      "ambient_control_windows": 1,
      "ambient_delta_mean_nt": -3139.58,
      "ambient_delta_median_nt": -3139.58,
      "ambient_windows_more_positive_fraction": 0.0,
      "window_utc_ms": [
        1787712483967,
        1787713444549
      ],
      "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": 55.97462097017318,
      "denominator_floor_nt": 1.0,
      "rows": 1023,
      "valid_rows": 840,
      "top_candidate_windows": [
        {
          "window_start_s": 347.0,
          "window_end_s": 357.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 31.761662015972128,
          "score": 31.761662015972128,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -1777.8469927267863,
          "absolute_change_nt": 1777.8469927267863,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 55.97462097017318
        },
        {
          "window_start_s": 348.0,
          "window_end_s": 358.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 31.660465475436105,
          "score": 31.660465475436105,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -1772.1825547267897,
          "absolute_change_nt": 1772.1825547267897,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 55.97462097017318
        },
        {
          "window_start_s": 349.0,
          "window_end_s": 359.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 31.602143436922415,
          "score": 31.602143436922415,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -1768.918000726778,
          "absolute_change_nt": 1768.918000726778,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 55.97462097017318
        },
        {
          "window_start_s": 350.0,
          "window_end_s": 360.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 31.394962507440624,
          "score": 31.394962507440624,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -1757.3211267267866,
          "absolute_change_nt": 1757.3211267267866,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 55.97462097017318
        },
        {
          "window_start_s": 346.0,
          "window_end_s": 356.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 31.176856269499353,
          "score": 31.176856269499353,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -1745.1127127267937,
          "absolute_change_nt": 1745.1127127267937,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 55.97462097017318
        },
        {
          "window_start_s": 339.0,
          "window_end_s": 359.0,
          "window_length_s": 20,
          "n": 1000,
          "raw_score": 30.833204831283197,
          "score": 30.833204831283197,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -1725.8769537267895,
          "absolute_change_nt": 1725.8769537267895,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 55.97462097017318
        },
        {
          "window_start_s": 340.0,
          "window_end_s": 360.0,
          "window_length_s": 20,
          "n": 1000,
          "raw_score": 30.750081517192672,
          "score": 30.750081517192672,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -1721.2241577267876,
          "absolute_change_nt": 1721.2241577267876,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 55.97462097017318
        },
        {
          "window_start_s": 338.0,
          "window_end_s": 358.0,
          "window_length_s": 20,
          "n": 1000,
          "raw_score": 30.748140119500004,
          "score": 30.748140119500004,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -1721.115488726788,
          "absolute_change_nt": 1721.115488726788,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 55.97462097017318
        },
        {
          "window_start_s": 345.0,
          "window_end_s": 355.0,
          "window_length_s": 10,
          "n": 500,
          "raw_score": 30.723961447513517,
          "score": 30.723961447513517,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -1719.7620967267824,
          "absolute_change_nt": 1719.7620967267824,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 55.97462097017318
        },
        {
          "window_start_s": 337.0,
          "window_end_s": 357.0,
          "window_length_s": 20,
          "n": 1000,
          "raw_score": 30.694842893930833,
          "score": 30.694842893930833,
          "valid": true,
          "invalid_reasons": "",
          "signed_change_nt": -1718.132196726792,
          "absolute_change_nt": 1718.132196726792,
          "motion_fraction": 0.0,
          "artifact_fraction": 0.0,
          "normalization_denominator_nt": 55.97462097017318
        }
      ],
      "note": "Scores use feedback_meter level/drift_sigma. Both signs are treated symmetrically; ranked windows are descriptive."
    }
  }
}
