{
  "title": "Mixed Atmospheres: large-colony performance investigation",
  "measurement_date": "2026-11-06",
  "publication_status": "Research findings; no production adoption or release qualification",
  "recommendation": "Qualify the two exact parcel caches first. Keep numerical defaults. Redesign additional overlap for conservation safety. Target SO substeps and transport. Sustained smooth 3x remains unproven.",
  "native_replay": {
    "scope": "Four ABBA replays; same initial owner state and 3000 requested inputs; 12 workers; first 150 ticks excluded from timings. Full-cycle endpoint hashes match; not every intermediate full-cycle checkpoint was compared.",
    "baseline": {
      "mean_owner_ms": 89.754,
      "mean_transfer_ms": 18.433,
      "owner_p99_ms": 214.367,
      "worst_owner_ms": 967.313,
      "mean_peak_rss_MiB": 4396.9
    },
    "two_parcel_caches": {
      "mean_owner_ms": 78.639,
      "mean_transfer_ms": 8.504,
      "owner_p99_ms": 118.453,
      "worst_owner_ms": 141.571,
      "mean_peak_rss_MiB": 4397.4
    },
    "owner_time_reduction_percent": 12.38,
    "transfer_time_reduction_percent": 53.87,
    "full_cycle_final_owner_hashes_match": true,
    "short_tests": "Every intermediate owner image matches in separate 16-tick tests in both colonies at 1 and 12 workers.",
    "meaningful_memory_saving": false
  },
  "live_game": {
    "caveat": "Ordered individual live runs, not repeated randomized causal estimates. Inputs vary with scheduling and external host work affected timings.",
    "speed_unit": "Game seconds / wall seconds",
    "industrial_base_full_cycle": {
      "duplicants": 32,
      "baseline": 1.297,
      "parcel_caches": 1.559,
      "multigrid_plus_1mL_detail": 1.932,
      "full_combination": 2.093
    },
    "spaced_out_900_ticks": {
      "duplicants": 14,
      "baseline": 0.986,
      "parcel_caches": 0.983
    }
  },
  "numerical_deviation": {
    "scope": "600-game-second native replay; same requested inputs; deviation from unchanged algorithm, not physical ground truth. Both variants include parcel caches.",
    "multigrid": {
      "mean_owner_ms": 65.962,
      "populated_temperature_rms_K": 3.719,
      "populated_temperature_max_K": 38.868,
      "liquid_volume_L1_m3": 0.5734,
      "liquid_volume_max_cell_m3": 0.1725,
      "gas_cell_constituent_L1_percent": 1.0995
    },
    "multigrid_plus_1mL_detail": {
      "mean_owner_ms": 50.321,
      "populated_temperature_rms_K": 2.852,
      "populated_temperature_max_K": 136.063,
      "gas_above_100g_temperature_max_K": 49.143,
      "liquid_volume_L1_m3": 9.98,
      "liquid_volume_max_cell_m3": 0.8448,
      "gas_cell_constituent_L1_percent": 1.0347
    }
  },
  "extra_overlap": {
    "status": "Unsafe experimental implementation; redesign before use",
    "added_game_second_staleness": 0.2,
    "short_live_observed_gain_percent": {
      "base": 14.6,
      "spaced_out": 7.6
    },
    "synthetic_counterexamples": {
      "freeze_mass_discrepancy_kg": 0.25,
      "withdrawal_shortfall_kg": 0.15,
      "skipped_heat_J": 4000
    },
    "caveat": "Focused synthetic counterexamples, not observed corruption in the large-colony runs."
  },
  "verification": {
    "native_ctests_passed": 93,
    "live_runs_passed": 14,
    "managed_python_integration_suites_passed": true,
    "production_remaining": [
      "15 Linux scenario batches",
      "Fresh full-cycle native replay and live-colony comparisons",
      "Windows OS/game qualification"
    ]
  },
  "host": {
    "os": "Linux",
    "cpu": "Ryzen 9 5900X",
    "physical_cores": 12,
    "logical_threads": 24,
    "RAM_GiB_approx": 60,
    "GPU": "RTX 5090",
    "game_window": "640x480",
    "Windows_timing_measured": false
  },
  "measurement_context": "The main performance comparisons are historical research experiments measured on 2026-11-06, not production performance claims. The dated progress update contains subsequent qualification and lookup microbenchmark findings.",
  "progress_update": {
    "date": "2026-11-07",
    "exact_parcel_caches": "Production qualification underway on latest main; no production adoption claimed yet.",
    "const_read_fix": {
      "status": "Synthetic operation ABBA improved; old/new synthetic checkpoints match; whole-cycle replay and live-colony timings still in progress",
      "change": "Const reads inspect untouched storage during occupied-volume initialization, neighbor snapshots and heat/energy queries, preventing unnecessary copy-on-write chunk copies",
      "regression_check": {
        "copied_cell_chunks": 1,
        "case": "Zero-momentum parcel admission across chunk boundaries, with and without a partial liquid cell",
        "kernels": 3,
        "scope": "Structural copy regression, not throughput or whole-game memory measurement"
      },
      "whole_game_gain_claimed": false
    },
    "numerical_defaults": "Unchanged",
    "extra_overlap": "Not adopted",
    "rejected_lookup_index": {
      "candidate": "Rebuild a parcel coalescing lookup index each frame",
      "status": "Rejected for the measured workload",
      "scope": "Synthetic lookup microbenchmark, not whole-game timing; first-match search, half of queries missing, index construction included",
      "held_entries": 35959,
      "queries": 16,
      "scan_ms": 0.41,
      "rebuild_index_and_query_ms": 2.232,
      "prior_colony_admission_samples": {
        "warmed_frames": 285,
        "median_held_admissions_per_frame": 13,
        "p95_held_admissions_per_frame": 19
      }
    },
    "qualification": {
      "status": "Full functional build checks and diagnostic equivalence passed; replay/game qualification in progress; candidate not committed or pushed",
      "native_CTests_passed": 93,
      "native_CTests_total": 93,
      "Python_suite": "Passed; 516 tests reported with 11 existing skips",
      "managed_suites": "Passed",
      "integration_suites": "Passed",
      "baseline_diagnostic_outputs_captured": 88,
      "known_nonzero_baseline_outcomes": 8,
      "running_or_pending": [
        "Full 3000-tick native ABBA replay",
        "Current live-colony comparisons",
        "15 Linux scenario batches",
        "Windows OS/game qualification"
      ],
      "production_adoption_claimed": false,
      "diagnostic_comparison": {
        "outputs_compared": 88,
        "stdout_stderr_exit_match": true,
        "masked_timing_fields": [
          "ref_ms",
          "prod_ms"
        ],
        "existing_nonzero_outcomes_unchanged": 8,
        "nonzero_outcomes_newly_passed": false
      },
      "Windows_cross_build": {
        "DLLs": 2,
        "architecture": "x64",
        "status": "Passed",
        "focused_precision_and_parcel_controls": "Passed under Wine for all three kernels",
        "Windows_OS_game_qualification": false
      }
    },
    "copy_operation_microbenchmark": {
      "date": "2026-11-07",
      "scope": "Operation microbenchmarks and synthetic-process RSS, not whole-game speed or RAM promises",
      "cells": 65536,
      "independent_zero_momentum_single_cell_admissions_per_run": 100,
      "runs_per_side_per_case": 2,
      "order": "ABBA",
      "all_old_new_synthetic_checkpoints_equal_within_each_case": true,
      "full_gas_implicit_volume_array": {
        "old_copied_chunks": 64,
        "new_copied_chunks": 1,
        "old_mean_ms_per_admission": 5.78034,
        "new_mean_ms_per_admission": 0.614468,
        "old_mean_peak_process_RSS_MiB": 77.140625,
        "new_mean_peak_process_RSS_MiB": 41.814453125
      },
      "existing_partial_liquid_array_chunk_boundary_recipient": {
        "old_copied_chunks": 2,
        "new_copied_chunks": 1,
        "old_mean_ms_per_admission": 0.189825,
        "new_mean_ms_per_admission": 0.1160045,
        "old_mean_peak_process_RSS_MiB": 41.61914,
        "new_mean_peak_process_RSS_MiB": 41.80273,
        "memory_reduction_established": false
      }
    }
  }
}
