{
  "arms": {
    "zero": "No glossary",
    "gloss": "12-term glossary prompt",
    "fewshot": "Glossary + 2 examples",
    "repair": "Glossary + checker-driven rewrite"
  },
  "results": {
    "zero": {
      "segments": 20,
      "outputs": 60,
      "comet_kiwi_mean": 0.7923,
      "comet_kiwi_ci95": [
        0.774,
        0.8094
      ],
      "glossary_strict_pct": 26.67,
      "glossary_lenient_pct": 76.67,
      "glossary_required": 90,
      "glossary_misses": {
        "AI agent": 39,
        "large language model": 9,
        "agentic AI": 6,
        "sandbox": 6,
        "agent harness": 3,
        "human in the loop": 3
      },
      "check_pass_pct": {
        "placeholders": 100.0,
        "code": 100.0,
        "urls": 100.0,
        "digits": 90.0,
        "dnt": 50.0,
        "no_preamble": 100.0,
        "no_source_echo": 100.0,
        "no_meta": 100.0,
        "arabic_ratio": 100.0,
        "length": 100.0,
        "not_echo": 100.0,
        "all": 50.0
      },
      "median_latency_ms": 2338.2,
      "total_requests": 60,
      "repaired_outputs": 0
    },
    "gloss": {
      "segments": 20,
      "outputs": 60,
      "comet_kiwi_mean": 0.7994,
      "comet_kiwi_ci95": [
        0.7859,
        0.8111
      ],
      "glossary_strict_pct": 46.67,
      "glossary_lenient_pct": 100.0,
      "glossary_required": 90,
      "glossary_misses": {
        "AI agent": 39,
        "large language model": 6,
        "sandbox": 3
      },
      "check_pass_pct": {
        "placeholders": 100.0,
        "code": 100.0,
        "urls": 100.0,
        "digits": 95.0,
        "dnt": 45.0,
        "no_preamble": 100.0,
        "no_source_echo": 100.0,
        "no_meta": 100.0,
        "arabic_ratio": 100.0,
        "length": 100.0,
        "not_echo": 100.0,
        "all": 45.0
      },
      "median_latency_ms": 2457.1,
      "total_requests": 60,
      "repaired_outputs": 0
    },
    "fewshot": {
      "segments": 20,
      "outputs": 60,
      "comet_kiwi_mean": 0.7968,
      "comet_kiwi_ci95": [
        0.7831,
        0.8096
      ],
      "glossary_strict_pct": 50.0,
      "glossary_lenient_pct": 100.0,
      "glossary_required": 90,
      "glossary_misses": {
        "AI agent": 36,
        "large language model": 6,
        "sandbox": 3
      },
      "check_pass_pct": {
        "placeholders": 100.0,
        "code": 100.0,
        "urls": 100.0,
        "digits": 95.0,
        "dnt": 45.0,
        "no_preamble": 100.0,
        "no_source_echo": 100.0,
        "no_meta": 100.0,
        "arabic_ratio": 100.0,
        "length": 100.0,
        "not_echo": 100.0,
        "all": 45.0
      },
      "median_latency_ms": 2345.5,
      "total_requests": 60,
      "repaired_outputs": 0
    },
    "repair": {
      "segments": 20,
      "outputs": 60,
      "comet_kiwi_mean": 0.781,
      "comet_kiwi_ci95": [
        0.7412,
        0.8074
      ],
      "glossary_strict_pct": 56.67,
      "glossary_lenient_pct": 100.0,
      "glossary_required": 90,
      "glossary_misses": {
        "AI agent": 30,
        "large language model": 6,
        "sandbox": 3
      },
      "check_pass_pct": {
        "placeholders": 100.0,
        "code": 100.0,
        "urls": 100.0,
        "digits": 90.0,
        "dnt": 45.0,
        "no_preamble": 100.0,
        "no_source_echo": 100.0,
        "no_meta": 100.0,
        "arabic_ratio": 100.0,
        "length": 95.0,
        "not_echo": 100.0,
        "all": 40.0
      },
      "median_latency_ms": 3716.5,
      "total_requests": 102,
      "repaired_outputs": 42
    }
  },
  "paired": {
    "comet": {
      "gloss_minus_zero": {
        "mean_diff": 0.0071,
        "ci95": [
          -0.0033,
          0.0198
        ],
        "p_bootstrap": 0.2208,
        "n_segments": 20
      },
      "fewshot_minus_zero": {
        "mean_diff": 0.0045,
        "ci95": [
          -0.0053,
          0.0169
        ],
        "p_bootstrap": 0.4766,
        "n_segments": 20
      },
      "repair_minus_zero": {
        "mean_diff": -0.0113,
        "ci95": [
          -0.0525,
          0.0151
        ],
        "p_bootstrap": 0.6792,
        "n_segments": 20
      },
      "fewshot_minus_gloss": {
        "mean_diff": -0.0026,
        "ci95": [
          -0.0082,
          0.0024
        ],
        "p_bootstrap": 0.3198,
        "n_segments": 20
      },
      "repair_minus_gloss": {
        "mean_diff": -0.0184,
        "ci95": [
          -0.0545,
          0.0015
        ],
        "p_bootstrap": 0.1968,
        "n_segments": 20
      },
      "repair_minus_fewshot": {
        "mean_diff": -0.0158,
        "ci95": [
          -0.0526,
          0.0045
        ],
        "p_bootstrap": 0.569,
        "n_segments": 20
      }
    },
    "gloss": {
      "gloss_minus_zero": {
        "mean_diff": 0.195,
        "ci95": [
          0.05,
          0.3651
        ],
        "p_bootstrap": 0.0058,
        "n_segments": 20
      },
      "fewshot_minus_zero": {
        "mean_diff": 0.22,
        "ci95": [
          0.07,
          0.395
        ],
        "p_bootstrap": 0.0014,
        "n_segments": 20
      },
      "repair_minus_zero": {
        "mean_diff": 0.2617,
        "ci95": [
          0.1117,
          0.4284
        ],
        "p_bootstrap": 0.0,
        "n_segments": 20
      },
      "fewshot_minus_gloss": {
        "mean_diff": 0.025,
        "ci95": [
          0.0,
          0.075
        ],
        "p_bootstrap": 0.7184,
        "n_segments": 20
      },
      "repair_minus_gloss": {
        "mean_diff": 0.0667,
        "ci95": [
          0.0,
          0.1417
        ],
        "p_bootstrap": 0.0814,
        "n_segments": 20
      },
      "repair_minus_fewshot": {
        "mean_diff": 0.0417,
        "ci95": [
          0.0,
          0.1083
        ],
        "p_bootstrap": 0.254,
        "n_segments": 20
      }
    }
  }
}