{
  "study": "Offline telemetry replay",
  "records": [
    {
      "timestamp_s": 2,
      "energized": true,
      "quality": "good",
      "decision": "accepted",
      "accepted_state": [
        2,
        true
      ]
    },
    {
      "timestamp_s": 6,
      "energized": false,
      "quality": "bad",
      "decision": "ignored_bad_quality",
      "accepted_state": [
        2,
        true
      ]
    },
    {
      "timestamp_s": 10,
      "energized": false,
      "quality": "good",
      "decision": "accepted",
      "accepted_state": [
        10,
        false
      ]
    },
    {
      "timestamp_s": 9,
      "energized": true,
      "quality": "good",
      "decision": "ignored_out_of_order",
      "accepted_state": [
        10,
        false
      ]
    }
  ],
  "freshness_checks": [
    {
      "timestamp_s": 15,
      "stale": false
    },
    {
      "timestamp_s": 16,
      "stale": true
    }
  ],
  "stale_after_s": 5,
  "latest": [
    10,
    false
  ],
  "historical_checks": [
    {
      "timestamp_s": 0,
      "measurement_timestamp_s": null,
      "age_s": null,
      "status": "missing",
      "energized": null
    },
    {
      "timestamp_s": 2,
      "measurement_timestamp_s": 2,
      "age_s": 0.0,
      "status": "fresh",
      "energized": true
    },
    {
      "timestamp_s": 6,
      "measurement_timestamp_s": 2,
      "age_s": 4.0,
      "status": "fresh",
      "energized": true
    },
    {
      "timestamp_s": 7,
      "measurement_timestamp_s": 2,
      "age_s": 5.0,
      "status": "fresh",
      "energized": true
    },
    {
      "timestamp_s": 9,
      "measurement_timestamp_s": 2,
      "age_s": 7.0,
      "status": "stale",
      "energized": null
    },
    {
      "timestamp_s": 10,
      "measurement_timestamp_s": 10,
      "age_s": 0.0,
      "status": "fresh",
      "energized": false
    },
    {
      "timestamp_s": 15,
      "measurement_timestamp_s": 10,
      "age_s": 5.0,
      "status": "fresh",
      "energized": false
    },
    {
      "timestamp_s": 16,
      "measurement_timestamp_s": 10,
      "age_s": 6.0,
      "status": "stale",
      "energized": null
    }
  ],
  "multi_point": {
    "study": "Offline multi-point telemetry replay",
    "points": {
      "A": {
        "study": "Offline telemetry replay",
        "records": [
          {
            "point_id": "A",
            "timestamp_s": 4,
            "energized": true,
            "quality": "good",
            "decision": "accepted",
            "accepted_state": [
              4,
              true
            ]
          },
          {
            "point_id": "A",
            "timestamp_s": 3,
            "energized": false,
            "quality": "good",
            "decision": "ignored_out_of_order",
            "accepted_state": [
              4,
              true
            ]
          }
        ],
        "freshness_checks": [],
        "stale_after_s": 5,
        "latest": [
          4,
          true
        ],
        "historical_checks": [
          {
            "timestamp_s": 3,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null
          },
          {
            "timestamp_s": 5,
            "measurement_timestamp_s": 4,
            "age_s": 1.0,
            "status": "fresh",
            "energized": true
          },
          {
            "timestamp_s": 6,
            "measurement_timestamp_s": 4,
            "age_s": 2.0,
            "status": "fresh",
            "energized": true
          }
        ],
        "record_decision_counts": {
          "accepted": 1,
          "ignored_bad_quality": 0,
          "ignored_out_of_order": 1
        }
      },
      "B": {
        "study": "Offline telemetry replay",
        "records": [
          {
            "point_id": "B",
            "timestamp_s": 3,
            "energized": false,
            "quality": "good",
            "decision": "accepted",
            "accepted_state": [
              3,
              false
            ]
          },
          {
            "point_id": "B",
            "timestamp_s": 5,
            "energized": true,
            "quality": "bad",
            "decision": "ignored_bad_quality",
            "accepted_state": [
              3,
              false
            ]
          }
        ],
        "freshness_checks": [],
        "stale_after_s": 1,
        "latest": [
          3,
          false
        ],
        "historical_checks": [
          {
            "timestamp_s": 3,
            "measurement_timestamp_s": 3,
            "age_s": 0.0,
            "status": "fresh",
            "energized": false
          },
          {
            "timestamp_s": 5,
            "measurement_timestamp_s": 3,
            "age_s": 2.0,
            "status": "stale",
            "energized": null
          },
          {
            "timestamp_s": 6,
            "measurement_timestamp_s": 3,
            "age_s": 3.0,
            "status": "stale",
            "energized": null
          }
        ],
        "record_decision_counts": {
          "accepted": 1,
          "ignored_bad_quality": 1,
          "ignored_out_of_order": 0
        }
      },
      "unseen": {
        "study": "Offline telemetry replay",
        "records": [],
        "freshness_checks": [],
        "stale_after_s": 2,
        "latest": null,
        "historical_checks": [
          {
            "timestamp_s": 3,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null
          },
          {
            "timestamp_s": 5,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null
          },
          {
            "timestamp_s": 6,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null
          }
        ],
        "record_decision_counts": {
          "accepted": 0,
          "ignored_bad_quality": 0,
          "ignored_out_of_order": 0
        }
      }
    },
    "study_input_sha256": "e5ef3ffc49c6629550b70f27783ae1e1144e8c599b1a6e61fe86bd025acaf3ca",
    "record_decision_counts": {
      "accepted": 2,
      "ignored_bad_quality": 1,
      "ignored_out_of_order": 1
    },
    "snapshots": [
      {
        "timestamp_s": 3,
        "points_by_status": {
          "fresh": [
            "B"
          ],
          "stale": [],
          "missing": [
            "A",
            "unseen"
          ]
        },
        "fresh_energized_states": {
          "B": false
        },
        "all_points_fresh": false
      },
      {
        "timestamp_s": 5,
        "points_by_status": {
          "fresh": [
            "A"
          ],
          "stale": [
            "B"
          ],
          "missing": [
            "unseen"
          ]
        },
        "fresh_energized_states": {
          "A": true
        },
        "all_points_fresh": false
      },
      {
        "timestamp_s": 6,
        "points_by_status": {
          "fresh": [
            "A"
          ],
          "stale": [
            "B"
          ],
          "missing": [
            "unseen"
          ]
        },
        "fresh_energized_states": {
          "A": true
        },
        "all_points_fresh": false
      }
    ]
  },
  "receipt_timed_history": {
    "study": "Offline telemetry replay",
    "records": [
      {
        "timestamp_s": 2,
        "received_at_s": 7,
        "energized": true,
        "quality": "good",
        "decision": "accepted",
        "accepted_state": [
          2,
          true
        ]
      },
      {
        "timestamp_s": 3,
        "received_at_s": 8,
        "energized": false,
        "quality": "bad",
        "decision": "ignored_bad_quality",
        "accepted_state": [
          2,
          true
        ]
      }
    ],
    "freshness_checks": [],
    "stale_after_s": 5,
    "latest": [
      2,
      true
    ],
    "historical_checks": [
      {
        "timestamp_s": 3,
        "measurement_timestamp_s": null,
        "age_s": null,
        "status": "missing",
        "energized": null,
        "received_at_s": null
      },
      {
        "timestamp_s": 6,
        "measurement_timestamp_s": null,
        "age_s": null,
        "status": "missing",
        "energized": null,
        "received_at_s": null
      },
      {
        "timestamp_s": 7,
        "measurement_timestamp_s": 2,
        "age_s": 5.0,
        "status": "fresh",
        "energized": true,
        "received_at_s": 7
      },
      {
        "timestamp_s": 8,
        "measurement_timestamp_s": 2,
        "age_s": 6.0,
        "status": "stale",
        "energized": null,
        "received_at_s": 7
      }
    ]
  },
  "interleaved_receipts": {
    "study": "Offline multi-point telemetry replay",
    "points": {
      "A": {
        "study": "Offline telemetry replay",
        "records": [
          {
            "point_id": "A",
            "timestamp_s": 2,
            "received_at_s": 6,
            "energized": true,
            "quality": "good",
            "decision": "accepted",
            "accepted_state": [
              2,
              true
            ]
          }
        ],
        "freshness_checks": [],
        "stale_after_s": 6,
        "latest": [
          2,
          true
        ],
        "historical_checks": [
          {
            "timestamp_s": 5,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 6,
            "measurement_timestamp_s": 2,
            "age_s": 4.0,
            "status": "fresh",
            "energized": true,
            "received_at_s": 6
          },
          {
            "timestamp_s": 7,
            "measurement_timestamp_s": 2,
            "age_s": 5.0,
            "status": "fresh",
            "energized": true,
            "received_at_s": 6
          }
        ],
        "record_decision_counts": {
          "accepted": 1,
          "ignored_bad_quality": 0,
          "ignored_out_of_order": 0
        }
      },
      "B": {
        "study": "Offline telemetry replay",
        "records": [
          {
            "point_id": "B",
            "timestamp_s": 1,
            "received_at_s": 7,
            "energized": false,
            "quality": "good",
            "decision": "accepted",
            "accepted_state": [
              1,
              false
            ]
          }
        ],
        "freshness_checks": [],
        "stale_after_s": 6,
        "latest": [
          1,
          false
        ],
        "historical_checks": [
          {
            "timestamp_s": 5,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 6,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 7,
            "measurement_timestamp_s": 1,
            "age_s": 6.0,
            "status": "fresh",
            "energized": false,
            "received_at_s": 7
          }
        ],
        "record_decision_counts": {
          "accepted": 1,
          "ignored_bad_quality": 0,
          "ignored_out_of_order": 0
        }
      }
    },
    "study_input_sha256": "586eee4bad1c35508293004deb254e6027b9ae18c4fab2ecee3eff9382a44697",
    "record_decision_counts": {
      "accepted": 2,
      "ignored_bad_quality": 0,
      "ignored_out_of_order": 0
    },
    "snapshots": [
      {
        "timestamp_s": 5,
        "points_by_status": {
          "fresh": [],
          "stale": [],
          "missing": [
            "A",
            "B"
          ]
        },
        "fresh_energized_states": {},
        "all_points_fresh": false
      },
      {
        "timestamp_s": 6,
        "points_by_status": {
          "fresh": [
            "A"
          ],
          "stale": [],
          "missing": [
            "B"
          ]
        },
        "fresh_energized_states": {
          "A": true
        },
        "all_points_fresh": false
      },
      {
        "timestamp_s": 7,
        "points_by_status": {
          "fresh": [
            "A",
            "B"
          ],
          "stale": [],
          "missing": []
        },
        "fresh_energized_states": {
          "A": true,
          "B": false
        },
        "all_points_fresh": true
      }
    ]
  },
  "historical_csv_rows": [
    {
      "study_input_sha256": "586eee4bad1c35508293004deb254e6027b9ae18c4fab2ecee3eff9382a44697",
      "point_id": "A",
      "timestamp_s": "5",
      "measurement_timestamp_s": "",
      "received_at_s": "",
      "age_s": "",
      "status": "missing",
      "energized": ""
    },
    {
      "study_input_sha256": "586eee4bad1c35508293004deb254e6027b9ae18c4fab2ecee3eff9382a44697",
      "point_id": "A",
      "timestamp_s": "6",
      "measurement_timestamp_s": "2",
      "received_at_s": "6",
      "age_s": "4.0",
      "status": "fresh",
      "energized": "True"
    },
    {
      "study_input_sha256": "586eee4bad1c35508293004deb254e6027b9ae18c4fab2ecee3eff9382a44697",
      "point_id": "A",
      "timestamp_s": "7",
      "measurement_timestamp_s": "2",
      "received_at_s": "6",
      "age_s": "5.0",
      "status": "fresh",
      "energized": "True"
    },
    {
      "study_input_sha256": "586eee4bad1c35508293004deb254e6027b9ae18c4fab2ecee3eff9382a44697",
      "point_id": "B",
      "timestamp_s": "5",
      "measurement_timestamp_s": "",
      "received_at_s": "",
      "age_s": "",
      "status": "missing",
      "energized": ""
    },
    {
      "study_input_sha256": "586eee4bad1c35508293004deb254e6027b9ae18c4fab2ecee3eff9382a44697",
      "point_id": "B",
      "timestamp_s": "6",
      "measurement_timestamp_s": "",
      "received_at_s": "",
      "age_s": "",
      "status": "missing",
      "energized": ""
    },
    {
      "study_input_sha256": "586eee4bad1c35508293004deb254e6027b9ae18c4fab2ecee3eff9382a44697",
      "point_id": "B",
      "timestamp_s": "7",
      "measurement_timestamp_s": "1",
      "received_at_s": "7",
      "age_s": "6.0",
      "status": "fresh",
      "energized": "False"
    }
  ],
  "expected_state_replay": {
    "study": "Offline multi-point telemetry replay",
    "points": {
      "A": {
        "study": "Offline telemetry replay",
        "records": [
          {
            "point_id": "A",
            "timestamp_s": 2,
            "received_at_s": 6,
            "energized": true,
            "quality": "good",
            "decision": "accepted",
            "accepted_state": [
              2,
              true
            ]
          }
        ],
        "freshness_checks": [],
        "stale_after_s": 6,
        "latest": [
          2,
          true
        ],
        "historical_checks": [
          {
            "timestamp_s": 5,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 6,
            "measurement_timestamp_s": 2,
            "age_s": 4.0,
            "status": "fresh",
            "energized": true,
            "received_at_s": 6
          },
          {
            "timestamp_s": 7,
            "measurement_timestamp_s": 2,
            "age_s": 5.0,
            "status": "fresh",
            "energized": true,
            "received_at_s": 6
          }
        ],
        "record_decision_counts": {
          "accepted": 1,
          "ignored_bad_quality": 0,
          "ignored_out_of_order": 0
        }
      },
      "B": {
        "study": "Offline telemetry replay",
        "records": [
          {
            "point_id": "B",
            "timestamp_s": 1,
            "received_at_s": 7,
            "energized": false,
            "quality": "good",
            "decision": "accepted",
            "accepted_state": [
              1,
              false
            ]
          }
        ],
        "freshness_checks": [],
        "stale_after_s": 6,
        "latest": [
          1,
          false
        ],
        "historical_checks": [
          {
            "timestamp_s": 5,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 6,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 7,
            "measurement_timestamp_s": 1,
            "age_s": 6.0,
            "status": "fresh",
            "energized": false,
            "received_at_s": 7
          }
        ],
        "record_decision_counts": {
          "accepted": 1,
          "ignored_bad_quality": 0,
          "ignored_out_of_order": 0
        }
      }
    },
    "study_input_sha256": "2f3b35470937f555e204fbff639102ac002932547a7dee6abf73ee7f3880374b",
    "record_decision_counts": {
      "accepted": 2,
      "ignored_bad_quality": 0,
      "ignored_out_of_order": 0
    },
    "expected_energized_states": {
      "A": true,
      "B": true
    },
    "snapshots": [
      {
        "timestamp_s": 5,
        "points_by_status": {
          "fresh": [],
          "stale": [],
          "missing": [
            "A",
            "B"
          ]
        },
        "fresh_energized_states": {},
        "all_points_fresh": false,
        "expected_state_comparison": {
          "matched": [],
          "mismatched": [],
          "unavailable": [
            "A",
            "B"
          ]
        }
      },
      {
        "timestamp_s": 6,
        "points_by_status": {
          "fresh": [
            "A"
          ],
          "stale": [],
          "missing": [
            "B"
          ]
        },
        "fresh_energized_states": {
          "A": true
        },
        "all_points_fresh": false,
        "expected_state_comparison": {
          "matched": [
            "A"
          ],
          "mismatched": [],
          "unavailable": [
            "B"
          ]
        }
      },
      {
        "timestamp_s": 7,
        "points_by_status": {
          "fresh": [
            "A",
            "B"
          ],
          "stale": [],
          "missing": []
        },
        "fresh_energized_states": {
          "A": true,
          "B": false
        },
        "all_points_fresh": true,
        "expected_state_comparison": {
          "matched": [
            "A"
          ],
          "mismatched": [
            "B"
          ],
          "unavailable": []
        }
      }
    ]
  },
  "scheduled_state_replay": {
    "study": "Offline multi-point telemetry replay",
    "points": {
      "A": {
        "study": "Offline telemetry replay",
        "records": [
          {
            "point_id": "A",
            "timestamp_s": 2,
            "received_at_s": 6,
            "energized": true,
            "quality": "good",
            "decision": "accepted",
            "accepted_state": [
              2,
              true
            ]
          }
        ],
        "freshness_checks": [],
        "stale_after_s": 6,
        "latest": [
          2,
          true
        ],
        "historical_checks": [
          {
            "timestamp_s": 5,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 6,
            "measurement_timestamp_s": 2,
            "age_s": 4.0,
            "status": "fresh",
            "energized": true,
            "received_at_s": 6
          },
          {
            "timestamp_s": 7,
            "measurement_timestamp_s": 2,
            "age_s": 5.0,
            "status": "fresh",
            "energized": true,
            "received_at_s": 6
          }
        ],
        "record_decision_counts": {
          "accepted": 1,
          "ignored_bad_quality": 0,
          "ignored_out_of_order": 0
        }
      },
      "B": {
        "study": "Offline telemetry replay",
        "records": [
          {
            "point_id": "B",
            "timestamp_s": 1,
            "received_at_s": 7,
            "energized": false,
            "quality": "good",
            "decision": "accepted",
            "accepted_state": [
              1,
              false
            ]
          }
        ],
        "freshness_checks": [],
        "stale_after_s": 6,
        "latest": [
          1,
          false
        ],
        "historical_checks": [
          {
            "timestamp_s": 5,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 6,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 7,
            "measurement_timestamp_s": 1,
            "age_s": 6.0,
            "status": "fresh",
            "energized": false,
            "received_at_s": 7
          }
        ],
        "record_decision_counts": {
          "accepted": 1,
          "ignored_bad_quality": 0,
          "ignored_out_of_order": 0
        }
      }
    },
    "study_input_sha256": "ad1d135b313993859e6abf38cbd47f0e00fc861e26ce878983a8caf662ea99ca",
    "record_decision_counts": {
      "accepted": 2,
      "ignored_bad_quality": 0,
      "ignored_out_of_order": 0
    },
    "expected_state_schedule": [
      {
        "timestamp_s": 6,
        "states": {
          "A": false
        }
      },
      {
        "timestamp_s": 7,
        "states": {
          "A": true,
          "B": false
        }
      }
    ],
    "snapshots": [
      {
        "timestamp_s": 5,
        "points_by_status": {
          "fresh": [],
          "stale": [],
          "missing": [
            "A",
            "B"
          ]
        },
        "fresh_energized_states": {},
        "all_points_fresh": false,
        "expected_energized_states": {},
        "expected_state_comparison": {
          "matched": [],
          "mismatched": [],
          "unavailable": []
        }
      },
      {
        "timestamp_s": 6,
        "points_by_status": {
          "fresh": [
            "A"
          ],
          "stale": [],
          "missing": [
            "B"
          ]
        },
        "fresh_energized_states": {
          "A": true
        },
        "all_points_fresh": false,
        "expected_energized_states": {
          "A": false
        },
        "expected_state_comparison": {
          "matched": [],
          "mismatched": [
            "A"
          ],
          "unavailable": []
        }
      },
      {
        "timestamp_s": 7,
        "points_by_status": {
          "fresh": [
            "A",
            "B"
          ],
          "stale": [],
          "missing": []
        },
        "fresh_energized_states": {
          "A": true,
          "B": false
        },
        "all_points_fresh": true,
        "expected_energized_states": {
          "A": true,
          "B": false
        },
        "expected_state_comparison": {
          "matched": [
            "A",
            "B"
          ],
          "mismatched": [],
          "unavailable": []
        }
      }
    ]
  },
  "switch_position_replay": {
    "study": "Offline multi-point telemetry replay",
    "points": {
      "A": {
        "study": "Offline telemetry replay",
        "records": [
          {
            "point_id": "A",
            "timestamp_s": 2,
            "received_at_s": 6,
            "energized": true,
            "quality": "good",
            "decision": "accepted",
            "accepted_state": [
              2,
              true
            ]
          }
        ],
        "freshness_checks": [],
        "stale_after_s": 6,
        "latest": [
          2,
          true
        ],
        "historical_checks": [
          {
            "timestamp_s": 5,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 6,
            "measurement_timestamp_s": 2,
            "age_s": 4.0,
            "status": "fresh",
            "energized": true,
            "received_at_s": 6
          },
          {
            "timestamp_s": 7,
            "measurement_timestamp_s": 2,
            "age_s": 5.0,
            "status": "fresh",
            "energized": true,
            "received_at_s": 6
          }
        ],
        "record_decision_counts": {
          "accepted": 1,
          "ignored_bad_quality": 0,
          "ignored_out_of_order": 0
        }
      },
      "B": {
        "study": "Offline telemetry replay",
        "records": [
          {
            "point_id": "B",
            "timestamp_s": 1,
            "received_at_s": 7,
            "energized": false,
            "quality": "good",
            "decision": "accepted",
            "accepted_state": [
              1,
              false
            ]
          }
        ],
        "freshness_checks": [],
        "stale_after_s": 6,
        "latest": [
          1,
          false
        ],
        "historical_checks": [
          {
            "timestamp_s": 5,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 6,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 7,
            "measurement_timestamp_s": 1,
            "age_s": 6.0,
            "status": "fresh",
            "energized": false,
            "received_at_s": 7
          }
        ],
        "record_decision_counts": {
          "accepted": 1,
          "ignored_bad_quality": 0,
          "ignored_out_of_order": 0
        }
      }
    },
    "study_input_sha256": "d0ee0d5e7a074abaf2948a0460458ddf97b14890e125693ff7f1ea1f21e9067f",
    "record_decision_counts": {
      "accepted": 2,
      "ignored_bad_quality": 0,
      "ignored_out_of_order": 0
    },
    "expected_state_schedule": [
      {
        "timestamp_s": 0,
        "states": {
          "A": true,
          "B": false
        }
      },
      {
        "timestamp_s": 6,
        "states": {
          "A": false,
          "B": false
        }
      },
      {
        "timestamp_s": 7,
        "states": {
          "A": false,
          "B": true
        }
      }
    ],
    "snapshots": [
      {
        "timestamp_s": 5,
        "points_by_status": {
          "fresh": [],
          "stale": [],
          "missing": [
            "A",
            "B"
          ]
        },
        "fresh_energized_states": {},
        "all_points_fresh": false,
        "expected_energized_states": {
          "A": true,
          "B": false
        },
        "expected_since_s": {
          "A": 0,
          "B": 0
        },
        "expected_state_comparison": {
          "matched": [],
          "mismatched": [],
          "unavailable": [
            "A",
            "B"
          ]
        },
        "feedback_unavailable_reasons": {
          "A": "missing",
          "B": "missing"
        },
        "expected_source_request_number": {
          "A": null,
          "B": null
        }
      },
      {
        "timestamp_s": 6,
        "points_by_status": {
          "fresh": [
            "A"
          ],
          "stale": [],
          "missing": [
            "B"
          ]
        },
        "fresh_energized_states": {
          "A": true
        },
        "all_points_fresh": false,
        "expected_energized_states": {
          "A": false,
          "B": false
        },
        "expected_since_s": {
          "A": 6,
          "B": 0
        },
        "expected_state_comparison": {
          "matched": [],
          "mismatched": [],
          "unavailable": [
            "A",
            "B"
          ]
        },
        "feedback_unavailable_reasons": {
          "A": "before_position_change",
          "B": "missing"
        },
        "expected_source_request_number": {
          "A": 2,
          "B": null
        }
      },
      {
        "timestamp_s": 7,
        "points_by_status": {
          "fresh": [
            "A",
            "B"
          ],
          "stale": [],
          "missing": []
        },
        "fresh_energized_states": {
          "A": true,
          "B": false
        },
        "all_points_fresh": true,
        "expected_energized_states": {
          "A": false,
          "B": true
        },
        "expected_since_s": {
          "A": 6,
          "B": 7
        },
        "expected_state_comparison": {
          "matched": [],
          "mismatched": [],
          "unavailable": [
            "A",
            "B"
          ]
        },
        "feedback_unavailable_reasons": {
          "A": "before_position_change",
          "B": "before_position_change"
        },
        "expected_source_request_number": {
          "A": 2,
          "B": 3
        }
      }
    ],
    "switching_input_sha256": "b122a1b05869e343ff27762cff23aa4d23990c43df2181e0ad97e26394968935"
  },
  "post_operation_feedback": {
    "study": "Offline multi-point telemetry replay",
    "points": {
      "A": {
        "study": "Offline telemetry replay",
        "records": [
          {
            "point_id": "A",
            "timestamp_s": 2,
            "received_at_s": 6,
            "energized": true,
            "quality": "good",
            "decision": "accepted",
            "accepted_state": [
              2,
              true
            ]
          }
        ],
        "freshness_checks": [],
        "stale_after_s": 6,
        "latest": [
          2,
          true
        ],
        "historical_checks": [
          {
            "timestamp_s": 5,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 6,
            "measurement_timestamp_s": 2,
            "age_s": 4.0,
            "status": "fresh",
            "energized": true,
            "received_at_s": 6
          },
          {
            "timestamp_s": 7,
            "measurement_timestamp_s": 2,
            "age_s": 5.0,
            "status": "fresh",
            "energized": true,
            "received_at_s": 6
          }
        ],
        "record_decision_counts": {
          "accepted": 1,
          "ignored_bad_quality": 0,
          "ignored_out_of_order": 0
        }
      },
      "B": {
        "study": "Offline telemetry replay",
        "records": [
          {
            "point_id": "B",
            "timestamp_s": 1,
            "received_at_s": 7,
            "energized": false,
            "quality": "good",
            "decision": "accepted",
            "accepted_state": [
              1,
              false
            ]
          },
          {
            "point_id": "B",
            "timestamp_s": 7,
            "received_at_s": 7,
            "energized": false,
            "quality": "good",
            "decision": "accepted",
            "accepted_state": [
              7,
              false
            ]
          }
        ],
        "freshness_checks": [],
        "stale_after_s": 6,
        "latest": [
          7,
          false
        ],
        "historical_checks": [
          {
            "timestamp_s": 5,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 6,
            "measurement_timestamp_s": null,
            "age_s": null,
            "status": "missing",
            "energized": null,
            "received_at_s": null
          },
          {
            "timestamp_s": 7,
            "measurement_timestamp_s": 7,
            "age_s": 0.0,
            "status": "fresh",
            "energized": false,
            "received_at_s": 7
          }
        ],
        "record_decision_counts": {
          "accepted": 2,
          "ignored_bad_quality": 0,
          "ignored_out_of_order": 0
        }
      }
    },
    "study_input_sha256": "39e1a2809ace5721a1fbf05ad90ad9636cf3e9bb160cac81588bf4727734226e",
    "record_decision_counts": {
      "accepted": 3,
      "ignored_bad_quality": 0,
      "ignored_out_of_order": 0
    },
    "expected_state_schedule": [
      {
        "timestamp_s": 0,
        "states": {
          "A": true,
          "B": false
        }
      },
      {
        "timestamp_s": 6,
        "states": {
          "A": false,
          "B": false
        }
      },
      {
        "timestamp_s": 7,
        "states": {
          "A": false,
          "B": true
        }
      }
    ],
    "snapshots": [
      {
        "timestamp_s": 5,
        "points_by_status": {
          "fresh": [],
          "stale": [],
          "missing": [
            "A",
            "B"
          ]
        },
        "fresh_energized_states": {},
        "all_points_fresh": false,
        "expected_energized_states": {
          "A": true,
          "B": false
        },
        "expected_since_s": {
          "A": 0,
          "B": 0
        },
        "expected_state_comparison": {
          "matched": [],
          "mismatched": [],
          "unavailable": [
            "A",
            "B"
          ]
        },
        "feedback_unavailable_reasons": {
          "A": "missing",
          "B": "missing"
        },
        "expected_source_request_number": {
          "A": null,
          "B": null
        }
      },
      {
        "timestamp_s": 6,
        "points_by_status": {
          "fresh": [
            "A"
          ],
          "stale": [],
          "missing": [
            "B"
          ]
        },
        "fresh_energized_states": {
          "A": true
        },
        "all_points_fresh": false,
        "expected_energized_states": {
          "A": false,
          "B": false
        },
        "expected_since_s": {
          "A": 6,
          "B": 0
        },
        "expected_state_comparison": {
          "matched": [],
          "mismatched": [],
          "unavailable": [
            "A",
            "B"
          ]
        },
        "feedback_unavailable_reasons": {
          "A": "before_position_change",
          "B": "missing"
        },
        "expected_source_request_number": {
          "A": 2,
          "B": null
        }
      },
      {
        "timestamp_s": 7,
        "points_by_status": {
          "fresh": [
            "A",
            "B"
          ],
          "stale": [],
          "missing": []
        },
        "fresh_energized_states": {
          "A": true,
          "B": false
        },
        "all_points_fresh": true,
        "expected_energized_states": {
          "A": false,
          "B": true
        },
        "expected_since_s": {
          "A": 6,
          "B": 7
        },
        "expected_state_comparison": {
          "matched": [],
          "mismatched": [
            "B"
          ],
          "unavailable": [
            "A"
          ]
        },
        "feedback_unavailable_reasons": {
          "A": "before_position_change"
        },
        "expected_source_request_number": {
          "A": 2,
          "B": 3
        }
      }
    ],
    "switching_input_sha256": "b122a1b05869e343ff27762cff23aa4d23990c43df2181e0ad97e26394968935"
  },
  "switch_feedback_csv": [
    {
      "study_input_sha256": "39e1a2809ace5721a1fbf05ad90ad9636cf3e9bb160cac81588bf4727734226e",
      "point_id": "A",
      "timestamp_s": "5",
      "measurement_timestamp_s": "",
      "received_at_s": "",
      "age_s": "",
      "status": "missing",
      "energized": "",
      "expected_energized": "True",
      "state_comparison": "unavailable",
      "expected_since_s": "0",
      "expected_source_request_number": "",
      "feedback_unavailable_reason": "missing",
      "switching_input_sha256": "b122a1b05869e343ff27762cff23aa4d23990c43df2181e0ad97e26394968935"
    },
    {
      "study_input_sha256": "39e1a2809ace5721a1fbf05ad90ad9636cf3e9bb160cac81588bf4727734226e",
      "point_id": "A",
      "timestamp_s": "6",
      "measurement_timestamp_s": "2",
      "received_at_s": "6",
      "age_s": "4.0",
      "status": "fresh",
      "energized": "True",
      "expected_energized": "False",
      "state_comparison": "unavailable",
      "expected_since_s": "6",
      "expected_source_request_number": "2",
      "feedback_unavailable_reason": "before_position_change",
      "switching_input_sha256": "b122a1b05869e343ff27762cff23aa4d23990c43df2181e0ad97e26394968935"
    },
    {
      "study_input_sha256": "39e1a2809ace5721a1fbf05ad90ad9636cf3e9bb160cac81588bf4727734226e",
      "point_id": "A",
      "timestamp_s": "7",
      "measurement_timestamp_s": "2",
      "received_at_s": "6",
      "age_s": "5.0",
      "status": "fresh",
      "energized": "True",
      "expected_energized": "False",
      "state_comparison": "unavailable",
      "expected_since_s": "6",
      "expected_source_request_number": "2",
      "feedback_unavailable_reason": "before_position_change",
      "switching_input_sha256": "b122a1b05869e343ff27762cff23aa4d23990c43df2181e0ad97e26394968935"
    },
    {
      "study_input_sha256": "39e1a2809ace5721a1fbf05ad90ad9636cf3e9bb160cac81588bf4727734226e",
      "point_id": "B",
      "timestamp_s": "5",
      "measurement_timestamp_s": "",
      "received_at_s": "",
      "age_s": "",
      "status": "missing",
      "energized": "",
      "expected_energized": "False",
      "state_comparison": "unavailable",
      "expected_since_s": "0",
      "expected_source_request_number": "",
      "feedback_unavailable_reason": "missing",
      "switching_input_sha256": "b122a1b05869e343ff27762cff23aa4d23990c43df2181e0ad97e26394968935"
    },
    {
      "study_input_sha256": "39e1a2809ace5721a1fbf05ad90ad9636cf3e9bb160cac81588bf4727734226e",
      "point_id": "B",
      "timestamp_s": "6",
      "measurement_timestamp_s": "",
      "received_at_s": "",
      "age_s": "",
      "status": "missing",
      "energized": "",
      "expected_energized": "False",
      "state_comparison": "unavailable",
      "expected_since_s": "0",
      "expected_source_request_number": "",
      "feedback_unavailable_reason": "missing",
      "switching_input_sha256": "b122a1b05869e343ff27762cff23aa4d23990c43df2181e0ad97e26394968935"
    },
    {
      "study_input_sha256": "39e1a2809ace5721a1fbf05ad90ad9636cf3e9bb160cac81588bf4727734226e",
      "point_id": "B",
      "timestamp_s": "7",
      "measurement_timestamp_s": "7",
      "received_at_s": "7",
      "age_s": "0.0",
      "status": "fresh",
      "energized": "False",
      "expected_energized": "True",
      "state_comparison": "mismatched",
      "expected_since_s": "7",
      "expected_source_request_number": "3",
      "feedback_unavailable_reason": "",
      "switching_input_sha256": "b122a1b05869e343ff27762cff23aa4d23990c43df2181e0ad97e26394968935"
    }
  ],
  "historian_csv_replay_verified": true,
  "historian_tag_mapping_verified": true,
  "historian_source": {
    "csv_sha256": "22e46db2d5e6a017b4d28a915516032e14b3a276b5532eb8c97ab62cf539c698",
    "tag_map_sha256": "9a6292bf153810d829a31d459b98b832be5d9a89bab40ecf34bb4b765dd1039e",
    "record_count": 3
  },
  "expected_state_csv_rows": [
    {
      "study_input_sha256": "2f3b35470937f555e204fbff639102ac002932547a7dee6abf73ee7f3880374b",
      "point_id": "A",
      "timestamp_s": "5",
      "measurement_timestamp_s": "",
      "received_at_s": "",
      "age_s": "",
      "status": "missing",
      "energized": "",
      "expected_energized": "True",
      "state_comparison": "unavailable"
    },
    {
      "study_input_sha256": "2f3b35470937f555e204fbff639102ac002932547a7dee6abf73ee7f3880374b",
      "point_id": "A",
      "timestamp_s": "6",
      "measurement_timestamp_s": "2",
      "received_at_s": "6",
      "age_s": "4.0",
      "status": "fresh",
      "energized": "True",
      "expected_energized": "True",
      "state_comparison": "matched"
    },
    {
      "study_input_sha256": "2f3b35470937f555e204fbff639102ac002932547a7dee6abf73ee7f3880374b",
      "point_id": "A",
      "timestamp_s": "7",
      "measurement_timestamp_s": "2",
      "received_at_s": "6",
      "age_s": "5.0",
      "status": "fresh",
      "energized": "True",
      "expected_energized": "True",
      "state_comparison": "matched"
    },
    {
      "study_input_sha256": "2f3b35470937f555e204fbff639102ac002932547a7dee6abf73ee7f3880374b",
      "point_id": "B",
      "timestamp_s": "5",
      "measurement_timestamp_s": "",
      "received_at_s": "",
      "age_s": "",
      "status": "missing",
      "energized": "",
      "expected_energized": "True",
      "state_comparison": "unavailable"
    },
    {
      "study_input_sha256": "2f3b35470937f555e204fbff639102ac002932547a7dee6abf73ee7f3880374b",
      "point_id": "B",
      "timestamp_s": "6",
      "measurement_timestamp_s": "",
      "received_at_s": "",
      "age_s": "",
      "status": "missing",
      "energized": "",
      "expected_energized": "True",
      "state_comparison": "unavailable"
    },
    {
      "study_input_sha256": "2f3b35470937f555e204fbff639102ac002932547a7dee6abf73ee7f3880374b",
      "point_id": "B",
      "timestamp_s": "7",
      "measurement_timestamp_s": "1",
      "received_at_s": "7",
      "age_s": "6.0",
      "status": "fresh",
      "energized": "False",
      "expected_energized": "True",
      "state_comparison": "mismatched"
    }
  ],
  "complete_snapshot": {
    "timestamp_s": 4,
    "points_by_status": {
      "fresh": [
        "A",
        "B"
      ],
      "stale": [],
      "missing": []
    },
    "fresh_energized_states": {
      "A": true,
      "B": false
    },
    "all_points_fresh": true
  },
  "unknown_point_rejected": true
}
