{
  "bundle_hash": "2de6605646f45547d768223f2290ef48016608548785f208ed8ca67ca1680f09",
  "camera_config": {
    "aravis_version": "0.8.34",
    "exposure_us": 96000.0,
    "firmware_version": "IMX540_C/2744/1378 USB3c2rl-IMX/17",
    "gain_db": 24.0,
    "model": "DFK 38UX540",
    "pixel_format": "BayerRG8",
    "roi": [
      0,
      0,
      5320,
      4600
    ],
    "sensor_size": [
      5320,
      4600
    ],
    "serial_number": "25420561",
    "trigger_config": {
      "activation": "RisingEdge",
      "mode": "On",
      "selector": "FrameStart",
      "source": "Line1"
    },
    "white_balance_off": true
  },
  "chain_config": {
    "hash": "blake3",
    "state_bytes": 32
  },
  "chain_id": 30,
  "generator_code_hash": "154be9dd75e0586df456a7eae1528b7334a415f3a977a107c91c6b0751bfc540",
  "generator_config": {
    "GRID_H_TABLE": [
      17,
      34,
      68,
      135
    ],
    "GRID_W_TABLE": [
      30,
      60,
      120,
      240
    ],
    "NUM_OCTAVES": 4,
    "bit_depth": 8,
    "persistence_shift_per_octave": ">> octave",
    "upsample_method": "integer_bilinear_16_16_fixed"
  },
  "host_config": {
    "cpu_model": "AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S",
    "hostname": "g1a",
    "kernel_version": "7.0.0-14-generic",
    "os_release": "Ubuntu 26.04 LTS",
    "python_version": "3.14.4"
  },
  "metadata_schema": {
    "endianness": "big",
    "fields": [
      {
        "length_bytes": 4,
        "name": "t",
        "offset": 0,
        "type": "uint32"
      },
      {
        "length_bytes": 8,
        "name": "aravis_device_timestamp_ns",
        "offset": 4,
        "type": "uint64"
      },
      {
        "length_bytes": 8,
        "name": "capture_wall_ns",
        "offset": 12,
        "type": "uint64"
      },
      {
        "length_bytes": 4,
        "name": "exposure_us",
        "offset": 20,
        "type": "uint32"
      },
      {
        "length_bytes": 4,
        "name": "fourcc",
        "offset": 24,
        "type": "ascii4"
      }
    ],
    "fourcc_map": {
      "BayerRG8": "RG08"
    },
    "struct_format": ">IQQI4s",
    "total_bytes": 28
  },
  "projector_config": {
    "color_space": "sRGB",
    "connector": "HDMI-1",
    "edid_fingerprint": "a0dbcfde1ca1a8ebf617b9fbd9196b9f66da32a2d234e67416981bbdc80d78cc",
    "model": "EKB 4750LC",
    "refresh_rate_hz": 60,
    "resolution": [
      1920,
      1080
    ],
    "serial_number": null
  },
  "protocol_version": "TB-v0.9",
  "rig_pipeline_calibration": {
    "B_to_W": {
      "classification_threshold": 41.2988,
      "intensity_distribution_stable_black": {
        "mean": 14.8692,
        "n": 20,
        "std": 0.0086
      },
      "intensity_distribution_stable_white": {
        "mean": 67.7283,
        "n": 20,
        "std": 0.0462
      },
      "p100_wait_ms": 96,
      "p99_wait_ms": 96,
      "per_wait_correct_fraction": {
        "0": 0.0,
        "112": 1.0,
        "128": 1.0,
        "16": 0.0,
        "160": 1.0,
        "200": 1.0,
        "300": 1.0,
        "32": 0.0,
        "48": 0.0,
        "500": 1.0,
        "64": 0.0,
        "80": 0.0,
        "96": 1.0
      }
    },
    "W_to_B": {
      "classification_threshold": 41.2988,
      "intensity_distribution_stable_black": {
        "mean": 14.8692,
        "n": 20,
        "std": 0.0086
      },
      "intensity_distribution_stable_white": {
        "mean": 67.7283,
        "n": 20,
        "std": 0.0462
      },
      "p100_wait_ms": 200,
      "p99_wait_ms": 200,
      "per_wait_correct_fraction": {
        "0": 0.0,
        "112": 0.0,
        "128": 0.0,
        "16": 0.0,
        "160": 0.0,
        "200": 1.0,
        "300": 1.0,
        "32": 0.0,
        "48": 0.0,
        "500": 1.0,
        "64": 0.0,
        "80": 0.0,
        "96": 0.0
      }
    },
    "confidence": "50/50 trials transitioned cleanly at the p100 wait for both directions; recommended = max(W→B.p100=200, B→W.p100=96) + 20ms safety margin = 220 ms",
    "measurement_timestamp": "2026-04-23T20:53:37+00:00",
    "method": "white_black_empirical",
    "n_trials_per_wait": 50,
    "recommended_wait_ms": 220,
    "rig_config": {
      "camera_firmware": "IMX540_C/2744/1378 USB3c2rl-IMX/17",
      "camera_serial": "25420561",
      "exposure_us": 96000,
      "gain_db": 24.0,
      "hdmi_edid_fingerprint": "a0dbcfde1ca1a8ebf617b9fbd9196b9f66da32a2d234e67416981bbdc80d78cc",
      "projector_connector": "HDMI-1"
    },
    "rig_hash": "3984699a504fb79821e6bcd1d81e8f7e3c64a7a99761680dac9aea104795038b",
    "wait_ms_tested": [
      0,
      16,
      32,
      48,
      64,
      80,
      96,
      112,
      128,
      160,
      200,
      300,
      500
    ]
  },
  "rig_pipeline_calibration_hash": "cb9d4af058fc878f8fd18bcc7dd9b16e8e7107b2fc70d0d48cad3de204267f84",
  "session_mode": "blocking",
  "tile_config": {
    "bit_depth": 8,
    "dimensions": [
      1920,
      1080
    ],
    "pixel_format": "RGB888"
  },
  "wallet_address": "0xf6ccb1B45A7acC5A5D41B310Bf24191E2112Db77"
}
