{
  "schema": "dswp_v2_neural.v1",
  "corpus": "Dominica Sperm Whale Project (DSWP), 1,501 WAV files on disk (80 evaluated: 50 training / 30 held-out)",
  "evaluation_protocol_mode": "both",
  "initial_or_loaded_state_hash": {
    "state_sha256": "348ffa30beb657b7ace168dd5fefcb647f3f3d261b438375a5f4fb172a178731",
    "encoder_sha256": "8fec57f8bf230675be69e230b31edd331327d4bb657934c387d4000c9d524dc6",
    "causal_transformer_sha256": "a673f2e8866931e6b41bc446c33dd606fd4dab5c29499f2d28eebc54294d3f38",
    "codebooks_sha256": "10b2f59fc77eaf08e2fa70771e7f90e1f5b05435cb4865e1483fd637be05b503",
    "initial_or_loaded_state_sha256": "348ffa30beb657b7ace168dd5fefcb647f3f3d261b438375a5f4fb172a178731",
    "weights_modified_since_init_or_load": false
  },
  "frozen_pre_adaptation_evaluation": {
    "mode": "frozen_pre_adaptation",
    "weights_modified_during_frozen_eval": false,
    "engine_state_hash": {
      "state_sha256": "348ffa30beb657b7ace168dd5fefcb647f3f3d261b438375a5f4fb172a178731",
      "encoder_sha256": "8fec57f8bf230675be69e230b31edd331327d4bb657934c387d4000c9d524dc6",
      "causal_transformer_sha256": "a673f2e8866931e6b41bc446c33dd606fd4dab5c29499f2d28eebc54294d3f38",
      "codebooks_sha256": "10b2f59fc77eaf08e2fa70771e7f90e1f5b05435cb4865e1483fd637be05b503",
      "initial_or_loaded_state_sha256": "348ffa30beb657b7ace168dd5fefcb647f3f3d261b438375a5f4fb172a178731",
      "weights_modified_since_init_or_load": false
    },
    "train_mean_latent_rvq_snr_db": -0.033,
    "heldout_mean_latent_rvq_snr_db": -0.032,
    "heldout_causal_evaluation": {
      "evaluated": true,
      "n_heldout_sequences": 30,
      "n_heldout_tokens": 1890,
      "evaluated_next_token_positions": 1890,
      "total_untruncated_tokens": 5730,
      "total_available_next_token_positions": 5730,
      "max_seq_len_cap": 64,
      "n_sequences_truncated": 30,
      "heldout_prefix_coverage_ratio": 0.9979,
      "heldout_bigram_context_vocab_coverage_ratio": 0.9979,
      "heldout_sequence_length_position_coverage_ratio": 0.3298,
      "coverage_definitions": {
        "heldout_bigram_context_vocab_coverage_ratio": "fraction of evaluated held-out token contexts (prefix token a_t) observed in the training vocabulary",
        "heldout_sequence_length_position_coverage_ratio": "evaluated_next_token_positions / total_available_next_token_positions under max_seq_len_cap"
      },
      "evaluated_engine_state_sha256": "348ffa30beb657b7ace168dd5fefcb647f3f3d261b438375a5f4fb172a178731",
      "weights_modified_since_init_or_load": false,
      "heldout_nll_nats": 5.196,
      "heldout_nll_bits": 7.4963,
      "heldout_perplexity": 180.554,
      "uniform_codebook_baseline_perplexity": 128.0,
      "train_unigram_baseline_perplexity": 17.466,
      "train_bigram_markov_baseline_perplexity": 11.91,
      "persistence_repeat_last_token_accuracy": 0.2746
    }
  },
  "post_adaptation_state_hash": {
    "state_sha256": "2ba4aaf33a02d94f64669523f9579d5d0a3eef7b1986d91af76d61c5ac26efa0",
    "encoder_sha256": "8fec57f8bf230675be69e230b31edd331327d4bb657934c387d4000c9d524dc6",
    "causal_transformer_sha256": "30b953b7266ada514dc3204b0ddeee13f25c7be36b062d5c5fa88557f7ba50ca",
    "codebooks_sha256": "f5adf5904aeb0ce92efe56a58d576e9e498ef4a244561c0d012dc092cb0f3260",
    "initial_or_loaded_state_sha256": "348ffa30beb657b7ace168dd5fefcb647f3f3d261b438375a5f4fb172a178731",
    "weights_modified_since_init_or_load": true
  },
  "v1_stage1_battery_summary": {
    "n_sampled": 300,
    "n_scored": 300,
    "pass_rate": 0.5567,
    "median_selfsim_z": 4.198,
    "median_rqa_z": 2.962,
    "negative_control_ok": true
  },
  "v1_coda_reality_summary": {
    "n_files_sampled": 1501,
    "n_codas_detected": 495,
    "Q1_frac_codas_with_a_template_length": 0.1253,
    "Q2_sign_test_p": 0.41941,
    "Q2_verdict": "NOT SUPPORTED -- real rhythm is no closer to the assumed alphabet than its own shuffle; the alphabet is ours, not the whales'"
  },
  "v2_neural_rvq": {
    "n_wavs_encoded_rvq": 80,
    "n_train_wavs": 50,
    "n_heldout_wavs": 30,
    "mean_latent_rvq_snr_db": 10.363,
    "mean_rvq_reconstruction_snr_db": 10.363,
    "embedding_stereotypy_z": -65.467,
    "embedding_stereotypy_null_method": "within_column_feature_permutation_preserving_marginal_distributions",
    "null_procedure_matched_across_positive_and_negative": true,
    "heldout_dswp_transition_test": {
      "n_heldout_wavs": 30,
      "null_method": "pre_encoder_waveform_sample_permutation (matched with white_noise_negative_control)",
      "n_surrogates": 40,
      "conditional_entropy_bits": 3.5953,
      "null_mean_bits": 3.8085,
      "null_sd_bits": 0.0195,
      "rvq_transition_z": -10.918,
      "p_value": 0.02439,
      "secondary_post_encoder_token_shuffle_z": -50.574,
      "secondary_post_encoder_token_shuffle_p": 0.00498,
      "gate": "PASS"
    },
    "trained_causal_transformer": {
      "training": {
        "trained": true,
        "epochs": 6,
        "n_train_windows": 300,
        "window_length": 64,
        "initial_train_nll_nats": 5.4806,
        "final_train_nll_nats": 2.6909,
        "final_train_nll_bits": 3.8821,
        "initial_train_perplexity": 239.984,
        "final_train_perplexity": 14.744
      },
      "heldout_dswp_evaluation": {
        "evaluated": true,
        "n_heldout_sequences": 30,
        "n_heldout_tokens": 1890,
        "evaluated_next_token_positions": 1890,
        "total_untruncated_tokens": 5730,
        "total_available_next_token_positions": 5730,
        "max_seq_len_cap": 64,
        "n_sequences_truncated": 30,
        "heldout_prefix_coverage_ratio": 0.9974,
        "heldout_bigram_context_vocab_coverage_ratio": 0.9974,
        "heldout_sequence_length_position_coverage_ratio": 0.3298,
        "coverage_definitions": {
          "heldout_bigram_context_vocab_coverage_ratio": "fraction of evaluated held-out token contexts (prefix token a_t) observed in the training vocabulary",
          "heldout_sequence_length_position_coverage_ratio": "evaluated_next_token_positions / total_available_next_token_positions under max_seq_len_cap"
        },
        "evaluated_engine_state_sha256": "2ba4aaf33a02d94f64669523f9579d5d0a3eef7b1986d91af76d61c5ac26efa0",
        "weights_modified_since_init_or_load": true,
        "heldout_nll_nats": 3.2075,
        "heldout_nll_bits": 4.6274,
        "heldout_perplexity": 24.716,
        "uniform_codebook_baseline_perplexity": 128.0,
        "train_unigram_baseline_perplexity": 109.415,
        "train_bigram_markov_baseline_perplexity": 34.453,
        "persistence_repeat_last_token_accuracy": 0.2106
      }
    },
    "white_noise_negative_control": {
      "clip": "agnostic/impossible/noise.wav",
      "evaluated_on_same_dswp_fitted_codebook": true,
      "null_method": "pre_encoder_waveform_sample_permutation (matched with heldout_dswp_transition_test)",
      "n_surrogates": 40,
      "conditional_entropy_bits": 2.5461,
      "null_mean_bits": 2.5708,
      "null_sd_bits": 0.0767,
      "rvq_transition_z": -0.322,
      "p_value": 0.41463,
      "secondary_post_encoder_token_shuffle_z": -2.333,
      "secondary_post_encoder_token_shuffle_p": 0.0199,
      "causal_transformer_evaluation": {
        "evaluated": true,
        "n_heldout_sequences": 1,
        "n_heldout_tokens": 63,
        "evaluated_next_token_positions": 63,
        "total_untruncated_tokens": 191,
        "total_available_next_token_positions": 191,
        "max_seq_len_cap": 64,
        "n_sequences_truncated": 1,
        "heldout_prefix_coverage_ratio": 1.0,
        "heldout_bigram_context_vocab_coverage_ratio": 1.0,
        "heldout_sequence_length_position_coverage_ratio": 0.3298,
        "coverage_definitions": {
          "heldout_bigram_context_vocab_coverage_ratio": "fraction of evaluated held-out token contexts (prefix token a_t) observed in the training vocabulary",
          "heldout_sequence_length_position_coverage_ratio": "evaluated_next_token_positions / total_available_next_token_positions under max_seq_len_cap"
        },
        "evaluated_engine_state_sha256": "2ba4aaf33a02d94f64669523f9579d5d0a3eef7b1986d91af76d61c5ac26efa0",
        "weights_modified_since_init_or_load": true,
        "heldout_nll_nats": 3.2264,
        "heldout_nll_bits": 4.6547,
        "heldout_perplexity": 25.188,
        "uniform_codebook_baseline_perplexity": 128.0,
        "train_unigram_baseline_perplexity": 87.001,
        "train_bigram_markov_baseline_perplexity": 34.365,
        "persistence_repeat_last_token_accuracy": 0.1111
      },
      "gate": "FAIL",
      "expected": "FAIL",
      "control_behaved_correctly": true
    },
    "rung3_context_verdict": "FAIL_CLOSED_REFUSED_PENDING_DTAG_CONTEXT"
  },
  "swap_slot_receipt": {
    "schema": "masidyn_bioacoustic_swap.v1",
    "slot_id": "gate5_dswp_sperm_whale",
    "model_id": "google/dolphingemma",
    "checkpoint_path": null,
    "checkpoint_sha256": null,
    "checkpoint_parameter_audit": {},
    "weight_source": "fitted_local_rvq_and_trained_causal_transformer",
    "entry_engine_state_hash": {
      "state_sha256": "348ffa30beb657b7ace168dd5fefcb647f3f3d261b438375a5f4fb172a178731",
      "encoder_sha256": "8fec57f8bf230675be69e230b31edd331327d4bb657934c387d4000c9d524dc6",
      "causal_transformer_sha256": "a673f2e8866931e6b41bc446c33dd606fd4dab5c29499f2d28eebc54294d3f38",
      "codebooks_sha256": "10b2f59fc77eaf08e2fa70771e7f90e1f5b05435cb4865e1483fd637be05b503",
      "initial_or_loaded_state_sha256": "348ffa30beb657b7ace168dd5fefcb647f3f3d261b438375a5f4fb172a178731",
      "weights_modified_since_init_or_load": false
    },
    "final_engine_state_hash": {
      "state_sha256": "2ba4aaf33a02d94f64669523f9579d5d0a3eef7b1986d91af76d61c5ac26efa0",
      "encoder_sha256": "8fec57f8bf230675be69e230b31edd331327d4bb657934c387d4000c9d524dc6",
      "causal_transformer_sha256": "30b953b7266ada514dc3204b0ddeee13f25c7be36b062d5c5fa88557f7ba50ca",
      "codebooks_sha256": "f5adf5904aeb0ce92efe56a58d576e9e498ef4a244561c0d012dc092cb0f3260",
      "initial_or_loaded_state_sha256": "348ffa30beb657b7ace168dd5fefcb647f3f3d261b438375a5f4fb172a178731",
      "weights_modified_since_init_or_load": true
    },
    "weights_modified_during_slot": true,
    "causal_training_summary": {
      "trained": true,
      "epochs": 6,
      "n_train_windows": 300,
      "window_length": 64,
      "initial_train_nll_nats": 5.4806,
      "final_train_nll_nats": 2.6909,
      "final_train_nll_bits": 3.8821,
      "initial_train_perplexity": 239.984,
      "final_train_perplexity": 14.744
    },
    "device_policy": "auto",
    "active_device_in_slot": "cpu",
    "cuda_measurement_status": "measured",
    "min_free_vram_mb_guard": 4096.0,
    "max_vram_fraction_cap": 0.06,
    "in_slot_cuda_allocated_bytes": 0,
    "in_slot_cuda_allocated_mb": 0.0,
    "post_exit_cuda_allocated_bytes": 0,
    "post_exit_cuda_reserved_bytes": 0,
    "zero_residual_vram_verified": true,
    "masidyn_pids_before": [
      61536
    ],
    "masidyn_pids_after": [
      11068,
      49336,
      61536,
      71300,
      96012,
      102712,
      109428
    ],
    "masidyn_server_pids_before": [
      61536
    ],
    "masidyn_server_pids_after": [
      61536
    ],
    "masidyn_ports_before": {
      "11434": false,
      "11435": false,
      "11510": true,
      "11520": true,
      "11530": false,
      "11444": false
    },
    "masidyn_ports_after": {
      "11434": false,
      "11435": true,
      "11510": true,
      "11520": true,
      "11530": false,
      "11444": false
    },
    "masidyn_routing_undisturbed": true,
    "preflight_gpu": {
      "gpu_name": "NVIDIA GeForce RTX 5080 Laptop GPU",
      "total_vram_mb": 16303.0,
      "used_vram_mb": 3331.0,
      "free_vram_mb": 12673.0,
      "gpu_utilization_pct": 9.0
    },
    "post_exit_gpu": {
      "gpu_name": "NVIDIA GeForce RTX 5080 Laptop GPU",
      "total_vram_mb": 16303.0,
      "used_vram_mb": 9991.0,
      "free_vram_mb": 6013.0,
      "gpu_utilization_pct": 57.0
    }
  },
  "claim_tier": "R1-R2 STRUCTURE & RHYTHM ONLY. Rung 3 refused (no behavioral metadata in DSWP). Rung 4 unsolved.",
  "elapsed_s": 101.06
}
