{
  "generated_at_utc": "2026-10-16T17:35:00Z",
  "version": "v3.2_special_token_orthogonal_per_word_null_wfld_l47",
  "solver_source": "scripts/solve_phase4_wfld_l47.cpp (invoked by scripts/run_phase4_colab_ftpo.py)",
  "deliverable_bundle": {
    "path": "results/phase4_healed_persona_ftpo_writers.bin",
    "file_size_bytes": 45057914,
    "n_tensors": 48,
    "scope": "swift_writers_plus_router",
    "all_tensors_pass_whitelist": true,
    "layers_preserved_bit_identical_to_phase3": "blk.0..46.ffn_down_shexp.weight (47 tensors, 0 bytes changed -> 0 intermediate routing/QSA/GDN drift)",
    "layers_updated_in_phase4": "blk.47.ffn_down_shexp.weight (1 tensor, Q8_0 type 8, 1,740,800 bytes, relative Frobenius norm ||dW||/||W|| = 0.0978)",
    "relative_frobenius_norm_pct": 9.78
  },
  "ftpo_natural_sentences_summary": {
    "total_phrases": 7,
    "strict_prefix_match_enforced": true,
    "unprefixed_mined_penalties": 0,
    "train_split": {
      "count": 28,
      "before_mean_prob_rejected": 0.63264,
      "after_quantized_mean_prob_rejected": 0.10032,
      "prob_reduction_pct": 84.14
    },
    "heldout_separate_doc_split": {
      "trace_path": "data/m5_val_prompts/phase4_ftpo_heldout_1024tok.txt (1,100 tokens, 1,098 L47 rows across 21 standalone interleaved multi-turn chat turns with <think> blocks)",
      "dump_prefix": "models/K256_reap_l2_sum/cal_cache/p4_ftpo_heldout_1024",
      "count": 21,
      "turns_per_phrase": 3,
      "before_mean_prob_rejected": 0.47034,
      "after_quantized_mean_prob_rejected": 0.14264,
      "prob_reduction_pct": 69.67,
      "before_mean_prob_im_end": 0.05207,
      "after_mean_prob_im_end": 0.05105,
      "prob_im_end_delta": -0.00102,
      "prob_im_end_did_not_rise": true
    },
    "heldout_same_doc_split_33pct": {
      "count": 14,
      "heldout_fraction_pct": 33.33,
      "before_mean_prob_rejected": 0.87327,
      "after_quantized_mean_prob_rejected": 0.26217,
      "prob_reduction_pct": 69.98
    }
  },
  "special_token_and_chat_doc_stability_bars_f_g": {
    "heldout_chat_doc_rows": 1098,
    "ordinary_non_slop_non_imend_count": 1034,
    "bar_f_argmax_flips_to_special_tokens": {
      "heldout_chat_doc_nonslop_flips": 0,
      "heldout_chat_doc_slop21_flips": 0,
      "heldout_chat_doc_total_flips": 0,
      "sft_chat_doc_total_flips": 0,
      "cal_doc_total_flips": 0,
      "collateral_doc_total_flips": 0,
      "bar_max_flips": 0,
      "pass": true
    },
    "bar_g_heldout_chat_doc_stability": {
      "ordinary_token_mean_delta_logprob_nats": 0.02078,
      "ordinary_token_bar_nats": -0.01,
      "nonslop_kld_nats": 0.00472,
      "nonslop_kld_bar_nats": 0.005,
      "whole_doc_kld_including_21_slop_positions_nats": 0.01516,
      "pass": true
    }
  },
  "collateral_legitimate_target_benchmark": {
    "trace_path": "data/m5_val_prompts/phase4_collateral_1024tok.txt (1,640 tokens across 48 unique natural sentences, 0 8-gram overlap between train_anchor and heldout_eval)",
    "dump_prefix": "models/K256_reap_l2_sum/cal_cache/p4_collateral_1640",
    "target_token_ids": [
      809,
      1056,
      1092,
      2243,
      3023,
      3404
    ],
    "banned_prefix_matches_in_collateral": 0,
    "heldout_eval_split": {
      "count": 142,
      "token_range": "pos >= 480 (0 8-gram overlap with train_anchor)",
      "mean_delta_logprob_nats": 0.02113,
      "loss_gt_0_1_count": 13,
      "loss_gt_0_1_pct": 9.15,
      "loss_gt_0_1_bar_pct": 10.0,
      "per_word_bar_nats": -0.05,
      "per_word_breakdown": {
        " end": {
          "n": 24,
          "mean_delta_logprob": -0.01401,
          "worst": -0.0816,
          "count_lt_neg0_1": 0,
          "pass": true
        },
        " than": {
          "n": 20,
          "mean_delta_logprob": -0.03429,
          "worst": -0.3384,
          "count_lt_neg0_1": 3,
          "pass": true
        },
        " what": {
          "n": 27,
          "mean_delta_logprob": 0.15976,
          "worst": -0.3851,
          "count_lt_neg0_1": 1,
          "pass": true
        },
        " version": {
          "n": 32,
          "mean_delta_logprob": 0.00709,
          "worst": -0.2015,
          "count_lt_neg0_1": 3,
          "pass": true
        },
        " away": {
          "n": 23,
          "mean_delta_logprob": 0.00658,
          "worst": -0.2617,
          "count_lt_neg0_1": 4,
          "pass": true
        },
        " actually": {
          "n": 16,
          "mean_delta_logprob": -0.04187,
          "worst": -0.2779,
          "count_lt_neg0_1": 2,
          "pass": true
        }
      },
      "all_6_words_pass_ge_neg0_05": true,
      "loss_gt_0_1_passes_le_10pct": true
    }
  },
  "real_strata_metal_engine_verification": {
    "engine": "vendor/strata/build-metal/strata_window_cli (real 48-layer QSA+GDN+PLE+MoE engine on M5 Air)",
    "test_gguf": "/tmp/K256-phase4-v2-test.gguf",
    "acceptance_bar_kld_vs_phase3": 0.01,
    "kld_vs_phase3_healed_m0": {
      "ops_tools": {
        "phase3_ppl": 3.0165,
        "phase4_ppl": 2.9826,
        "mean_kld": 0.007877,
        "top1_agree_pct": 96.88,
        "pass": true
      },
      "chat_json": {
        "phase3_ppl": 1.2023,
        "phase4_ppl": 1.1979,
        "mean_kld": 0.000787,
        "top1_agree_pct": 98.44,
        "pass": true
      },
      "ja": {
        "phase3_ppl": 1.7785,
        "phase4_ppl": 1.7796,
        "mean_kld": 0.000903,
        "top1_agree_pct": 98.44,
        "pass": true
      },
      "macro_kld": 0.003189,
      "macro_top1_agree_pct": 97.92,
      "all_domains_pass_le_0_01": true
    }
  }
}
