{
  "stage": "Stage 6: Trained Neural Network Policy (NES/CEM in MuJoCo) + Qwen2.5-0.5B Fight-IQ",
  "policy_architecture": {
    "type": "2-Layer Tanh MLP Neural Policy (Zero scripted trajectories or sine waves)",
    "input_dim": 20,
    "hidden_dim": 8,
    "output_dim": 9,
    "total_trainable_parameters": 249,
    "weights_npz": "g1_trained_punch_policy.npz",
    "weights_onnx": null
  },
  "qwen_fight_iq": {
    "model": "qwen2.5-0.5b-instruct-q4_k_m.gguf",
    "command_sequence": [
      0,
      1,
      2,
      3
    ],
    "raw_response": "[Qwen2.5-0.5B-Instruct, 15.44s] JAB, CROSS, HOOK, UPPERCUT \u2014 Lead with centerline jab-cross to set heavy-bag pendulum phase, followed by left hook and right uppercut."
  },
  "training_summary": {
    "algorithm": "Natural Evolution Strategies / Cross-Entropy Method (NES/CEM) in MuJoCo",
    "generations": 12,
    "population_size": 12,
    "total_episodes": 144,
    "wall_clock_sec": 18.14,
    "gen0_untrained_reward": 16.4,
    "gen0_untrained_peak_force_N": 0.0,
    "final_trained_reward": 716.45,
    "final_trained_peak_force_N": 347.18,
    "final_trained_impulse_Ns": 8.095,
    "final_trained_hits": 7
  },
  "closed_loop_onnx_evaluation": {
    "peak_contact_force_N": 132.98,
    "total_impulse_Ns": 1.063,
    "distinct_heavy_bag_hits": 2,
    "peak_bag_swing_deg": 0.88,
    "min_root_height_m": 0.738,
    "falls": 0,
    "video": "g1_boxer_stage6_qwen.mp4"
  },
  "training_history": [
    {
      "generation": 0,
      "best_reward": 16.4,
      "mean_reward": 16.4,
      "peak_force_N": 0.0,
      "impulse_Ns": 0.0,
      "distinct_hits": 0
    },
    {
      "generation": 1,
      "best_reward": 485.73,
      "mean_reward": -162.28,
      "peak_force_N": 311.91,
      "impulse_Ns": 7.485,
      "distinct_hits": 4
    },
    {
      "generation": 2,
      "best_reward": 485.73,
      "mean_reward": -183.13,
      "peak_force_N": 311.91,
      "impulse_Ns": 7.485,
      "distinct_hits": 4
    },
    {
      "generation": 3,
      "best_reward": 485.73,
      "mean_reward": -77.43,
      "peak_force_N": 311.91,
      "impulse_Ns": 7.485,
      "distinct_hits": 4
    },
    {
      "generation": 4,
      "best_reward": 485.73,
      "mean_reward": -64.39,
      "peak_force_N": 311.91,
      "impulse_Ns": 7.485,
      "distinct_hits": 4
    },
    {
      "generation": 5,
      "best_reward": 485.73,
      "mean_reward": -12.79,
      "peak_force_N": 311.91,
      "impulse_Ns": 7.485,
      "distinct_hits": 4
    },
    {
      "generation": 6,
      "best_reward": 587.42,
      "mean_reward": 165.89,
      "peak_force_N": 389.51,
      "impulse_Ns": 8.721,
      "distinct_hits": 6
    },
    {
      "generation": 7,
      "best_reward": 592.45,
      "mean_reward": 251.13,
      "peak_force_N": 439.18,
      "impulse_Ns": 7.811,
      "distinct_hits": 6
    },
    {
      "generation": 8,
      "best_reward": 696.28,
      "mean_reward": 395.01,
      "peak_force_N": 314.94,
      "impulse_Ns": 6.447,
      "distinct_hits": 5
    },
    {
      "generation": 9,
      "best_reward": 696.28,
      "mean_reward": 422.17,
      "peak_force_N": 314.94,
      "impulse_Ns": 6.447,
      "distinct_hits": 5
    },
    {
      "generation": 10,
      "best_reward": 696.28,
      "mean_reward": 489.45,
      "peak_force_N": 314.94,
      "impulse_Ns": 6.447,
      "distinct_hits": 5
    },
    {
      "generation": 11,
      "best_reward": 696.28,
      "mean_reward": 470.26,
      "peak_force_N": 314.94,
      "impulse_Ns": 6.447,
      "distinct_hits": 5
    },
    {
      "generation": 12,
      "best_reward": 716.45,
      "mean_reward": 544.76,
      "peak_force_N": 347.18,
      "impulse_Ns": 8.095,
      "distinct_hits": 7
    }
  ]
}