{
  "context": {
    "cap_tokens": 261056,
    "max_model_len": 262144,
    "targets": [
      {
        "attempted_context_tokens": 32768,
        "chars_per_token": 3.0,
        "clamped_tokens": 32768,
        "e2e_ms": 9392.518281936646,
        "estimated_prompt_tokens": 32768,
        "output_tokens": 0,
        "status": "passed",
        "target_tokens": 32768,
        "ttft_ms": 9392.51708984375,
        "usage": {
          "completion_tokens": 64,
          "prompt_tokens": 27774,
          "total_tokens": 27838
        }
      },
      {
        "attempted_context_tokens": 128000,
        "chars_per_token": 3.539,
        "clamped_tokens": 128000,
        "e2e_ms": 92916.94235801697,
        "estimated_prompt_tokens": 127999,
        "output_tokens": 0,
        "status": "passed",
        "target_tokens": 128000,
        "ttft_ms": 92916.94164276123,
        "usage": {
          "completion_tokens": 64,
          "prompt_tokens": 149016,
          "total_tokens": 149080
        }
      },
      {
        "attempted_context_tokens": 240000,
        "chars_per_token": 3.04,
        "clamped_tokens": 240000,
        "e2e_ms": 223324.03659820557,
        "estimated_prompt_tokens": 239999,
        "output_tokens": 0,
        "status": "passed",
        "target_tokens": 240000,
        "ttft_ms": 223324.0361213684,
        "usage": {
          "completion_tokens": 64,
          "prompt_tokens": 243644,
          "total_tokens": 243708
        }
      }
    ]
  },
  "evaluation_protocol": {
    "budget_semantics": "visible_answer_tokens plus reasoning_headroom_tokens are sent as one max_tokens cap; the endpoint does not hard-partition the channels",
    "minimum_comparable_repetitions": 3,
    "minimum_pass_rate": 1.0,
    "reasoning_headroom_tokens": 4096,
    "records_finish_reason": true,
    "records_full_visible_answer": true,
    "records_reasoning_channel_metadata": true,
    "repetitions": 3,
    "version": 3,
    "visible_answer_tokens": 512
  },
  "failures": [],
  "identity": {
    "base_url": "http://127.0.0.1:39038/v1",
    "candidate_id": "unsloth-gemma4-31b-nvfp4",
    "config_id": "heavy-256k",
    "engine": "vllm-0.25.1",
    "gpu": "RTX-PRO-6000-96GB",
    "model": "gemma4-heavy-lab",
    "started_at": "2026-07-16T22:49:56Z"
  },
  "intelligence": {
    "checks": [
      {
        "attempt_count": 3,
        "attempts": [
          {
            "attempt": 1,
            "budget": {
              "legacy_max_tokens_as_visible": false,
              "max_completion_tokens": 4608,
              "reasoning_headroom_tokens": 4096,
              "visible_answer_tokens": 512
            },
            "content": "```diff\n--- app.py\n+++ app.py\n@@ -1,2 +1,2 @@\n-timeout = 30\n+timeout = 45\n retries = 2\n```",
            "content_excerpt": "```diff\n--- app.py\n+++ app.py\n@@ -1,2 +1,2 @@\n-timeout = 30\n+timeout = 45\n retries = 2\n```",
            "failure_class": null,
            "finish_reason": "stop",
            "latency_ms": 5173.034429550171,
            "reasoning_chars": 574,
            "reasoning_excerpt": "*   File: `app.py`\n    *   Original content:\n        ```python\n        timeout = 30\n        retries = 2\n        ```\n    *   Goal: Change `timeout` to 45, keep `retries` unchanged.\n    *   Output forma",
            "reasoning_field": "reasoning",
            "reasoning_tokens": null,
            "status": "passed",
            "text_checks": [
              {
                "name": "diff_shape",
                "passed": true
              },
              {
                "name": "removes_old_timeout",
                "passed": true
              },
              {
                "name": "adds_new_timeout",
                "passed": true
              }
            ],
            "usage": {
              "completion_tokens": 263,
              "prompt_tokens": 57,
              "prompt_tokens_details": null,
              "total_tokens": 320
            }
          },
          {
            "attempt": 2,
            "budget": {
              "legacy_max_tokens_as_visible": false,
              "max_completion_tokens": 4608,
              "reasoning_headroom_tokens": 4096,
              "visible_answer_tokens": 512
            },
            "content": "```diff\n--- app.py\n+++ app.py\n@@ -1,2 +1,2 @@\n-timeout = 30\n+timeout = 45\n retries = 2\n```",
            "content_excerpt": "```diff\n--- app.py\n+++ app.py\n@@ -1,2 +1,2 @@\n-timeout = 30\n+timeout = 45\n retries = 2\n```",
            "failure_class": null,
            "finish_reason": "stop",
            "latency_ms": 5167.252779006958,
            "reasoning_chars": 574,
            "reasoning_excerpt": "*   File: `app.py`\n    *   Original content:\n        ```python\n        timeout = 30\n        retries = 2\n        ```\n    *   Goal: Change `timeout` to 45, keep `retries` unchanged.\n    *   Output forma",
            "reasoning_field": "reasoning",
            "reasoning_tokens": null,
            "status": "passed",
            "text_checks": [
              {
                "name": "diff_shape",
                "passed": true
              },
              {
                "name": "removes_old_timeout",
                "passed": true
              },
              {
                "name": "adds_new_timeout",
                "passed": true
              }
            ],
            "usage": {
              "completion_tokens": 263,
              "prompt_tokens": 57,
              "prompt_tokens_details": null,
              "total_tokens": 320
            }
          },
          {
            "attempt": 3,
            "budget": {
              "legacy_max_tokens_as_visible": false,
              "max_completion_tokens": 4608,
              "reasoning_headroom_tokens": 4096,
              "visible_answer_tokens": 512
            },
            "content": "```diff\n--- app.py\n+++ app.py\n@@ -1,2 +1,2 @@\n-timeout = 30\n+timeout = 45\n retries = 2\n```",
            "content_excerpt": "```diff\n--- app.py\n+++ app.py\n@@ -1,2 +1,2 @@\n-timeout = 30\n+timeout = 45\n retries = 2\n```",
            "failure_class": null,
            "finish_reason": "stop",
            "latency_ms": 5167.985677719116,
            "reasoning_chars": 574,
            "reasoning_excerpt": "*   File: `app.py`\n    *   Original content:\n        ```python\n        timeout = 30\n        retries = 2\n        ```\n    *   Goal: Change `timeout` to 45, keep `retries` unchanged.\n    *   Output forma",
            "reasoning_field": "reasoning",
            "reasoning_tokens": null,
            "status": "passed",
            "text_checks": [
              {
                "name": "diff_shape",
                "passed": true
              },
              {
                "name": "removes_old_timeout",
                "passed": true
              },
              {
                "name": "adds_new_timeout",
                "passed": true
              }
            ],
            "usage": {
              "completion_tokens": 263,
              "prompt_tokens": 57,
              "prompt_tokens_details": null,
              "total_tokens": 320
            }
          }
        ],
        "id": "unified_diff_timeout_edit",
        "pass_count": 3,
        "pass_rate": 1.0,
        "required_pass_rate": 1.0,
        "status": "passed",
        "validator": "deterministic_text_checks"
      },
      {
        "attempt_count": 3,
        "attempts": [
          {
            "attempt": 1,
            "budget": {
              "legacy_max_tokens_as_visible": false,
              "max_completion_tokens": 4608,
              "reasoning_headroom_tokens": 4096,
              "visible_answer_tokens": 512
            },
            "content": "The total latency (3000ms) exceeds the 2500ms timeout; implement LLM streaming to the TTS to reduce the end-to-end delay.",
            "content_excerpt": "The total latency (3000ms) exceeds the 2500ms timeout; implement LLM streaming to the TTS to reduce the end-to-end delay.",
            "failure_class": null,
            "finish_reason": "stop",
            "latency_ms": 8607.907056808472,
            "reasoning_chars": 1214,
            "reasoning_excerpt": "*   Components: STT (Speech-to-Text), LLM (Large Language Model), TTS (Text-to-Speech).\n    *   Total Turn Timeout: 2500 ms.\n    *   Actual Latencies: STT (550 ms) + LLM (1800 ms) + TTS (650 ms) = 300",
            "reasoning_field": "reasoning",
            "reasoning_tokens": null,
            "status": "passed",
            "text_checks": [
              {
                "name": "identifies_budget_overrun",
                "passed": true
              },
              {
                "name": "offers_latency_fix",
                "passed": true
              }
            ],
            "usage": {
              "completion_tokens": 438,
              "prompt_tokens": 81,
              "prompt_tokens_details": null,
              "total_tokens": 519
            }
          },
          {
            "attempt": 2,
            "budget": {
              "legacy_max_tokens_as_visible": false,
              "max_completion_tokens": 4608,
              "reasoning_headroom_tokens": 4096,
              "visible_answer_tokens": 512
            },
            "content": "The total latency (3000ms) exceeds the 2500ms timeout; implement LLM streaming to the TTS to reduce the end-to-end delay.",
            "content_excerpt": "The total latency (3000ms) exceeds the 2500ms timeout; implement LLM streaming to the TTS to reduce the end-to-end delay.",
            "failure_class": null,
            "finish_reason": "stop",
            "latency_ms": 8533.834457397461,
            "reasoning_chars": 1191,
            "reasoning_excerpt": "*   Components: STT (Speech-to-Text), LLM (Large Language Model), TTS (Text-to-Speech).\n    *   Total Turn Timeout: 2500 ms.\n    *   Actual Latency: STT (550) + LLM (1800) + TTS (650) = 3000 ms.\n    *",
            "reasoning_field": "reasoning",
            "reasoning_tokens": null,
            "status": "passed",
            "text_checks": [
              {
                "name": "identifies_budget_overrun",
                "passed": true
              },
              {
                "name": "offers_latency_fix",
                "passed": true
              }
            ],
            "usage": {
              "completion_tokens": 434,
              "prompt_tokens": 81,
              "prompt_tokens_details": null,
              "total_tokens": 515
            }
          },
          {
            "attempt": 3,
            "budget": {
              "legacy_max_tokens_as_visible": false,
              "max_completion_tokens": 4608,
              "reasoning_headroom_tokens": 4096,
              "visible_answer_tokens": 512
            },
            "content": "The total latency (3000ms) exceeds the 2500ms timeout; implement LLM streaming to the TTS to reduce the end-to-end delay.",
            "content_excerpt": "The total latency (3000ms) exceeds the 2500ms timeout; implement LLM streaming to the TTS to reduce the end-to-end delay.",
            "failure_class": null,
            "finish_reason": "stop",
            "latency_ms": 8566.148519515991,
            "reasoning_chars": 1191,
            "reasoning_excerpt": "*   Components: STT (Speech-to-Text), LLM (Large Language Model), TTS (Text-to-Speech).\n    *   Total Turn Timeout: 2500 ms.\n    *   Actual Latency: STT (550) + LLM (1800) + TTS (650) = 3000 ms.\n    *",
            "reasoning_field": "reasoning",
            "reasoning_tokens": null,
            "status": "passed",
            "text_checks": [
              {
                "name": "identifies_budget_overrun",
                "passed": true
              },
              {
                "name": "offers_latency_fix",
                "passed": true
              }
            ],
            "usage": {
              "completion_tokens": 434,
              "prompt_tokens": 81,
              "prompt_tokens_details": null,
              "total_tokens": 515
            }
          }
        ],
        "id": "parallel_timeout_triage",
        "pass_count": 3,
        "pass_rate": 1.0,
        "required_pass_rate": 1.0,
        "status": "passed",
        "validator": "deterministic_text_checks"
      }
    ],
    "status": "passed"
  },
  "run_id": "fast-bakeoff-20260716T224956Z",
  "schema": "anvil-serving.fast-tier-bakeoff/v1",
  "score_inputs": {
    "e2e_p50_ms": 92916.94235801697,
    "intelligence_pass_rate": 1.0,
    "operational_fit_notes": [
      "endpoint was already loaded; benchmark did not start or stop serves"
    ],
    "session_recall_passed": true,
    "thinking_mode": "enabled",
    "tool_call_passed": true,
    "ttft_p50_ms": 92916.94164276123,
    "usable_context_tokens": 240000,
    "voice_latency_ms": null
  },
  "selection": {
    "context_targets": [
      32768,
      128000,
      240000
    ],
    "endpoint_already_loaded": true,
    "requests_per_context": 1,
    "suites": [
      "chat",
      "context",
      "tool",
      "session",
      "intelligence"
    ]
  },
  "session": {
    "checks": [
      {
        "attempt_count": 3,
        "attempts": [
          {
            "attempt": 1,
            "budget": {
              "legacy_max_tokens_as_visible": false,
              "max_completion_tokens": 4608,
              "reasoning_headroom_tokens": 4096,
              "visible_answer_tokens": 512
            },
            "content": "RIVER-918",
            "content_excerpt": "RIVER-918",
            "expected": "RIVER-918",
            "failure_class": null,
            "finish_reason": "stop",
            "latency_ms": 1637.3522281646729,
            "reasoning_chars": 262,
            "reasoning_excerpt": "The user is asking for the session code they previously told me to remember.\nThe previous interaction was:\nUser: \"Remember this session code: RIVER-918. Reply with ok.\"\nModel: \"ok\"\n\nThe session code i",
            "reasoning_field": "reasoning",
            "reasoning_tokens": null,
            "status": "passed",
            "usage": {
              "completion_tokens": 82,
              "prompt_tokens": 55,
              "prompt_tokens_details": null,
              "total_tokens": 137
            }
          },
          {
            "attempt": 2,
            "budget": {
              "legacy_max_tokens_as_visible": false,
              "max_completion_tokens": 4608,
              "reasoning_headroom_tokens": 4096,
              "visible_answer_tokens": 512
            },
            "content": "RIVER-918",
            "content_excerpt": "RIVER-918",
            "expected": "RIVER-918",
            "failure_class": null,
            "finish_reason": "stop",
            "latency_ms": 1641.4952278137207,
            "reasoning_chars": 262,
            "reasoning_excerpt": "The user is asking for the session code they previously told me to remember.\nThe previous interaction was:\nUser: \"Remember this session code: RIVER-918. Reply with ok.\"\nModel: \"ok\"\n\nThe session code i",
            "reasoning_field": "reasoning",
            "reasoning_tokens": null,
            "status": "passed",
            "usage": {
              "completion_tokens": 82,
              "prompt_tokens": 55,
              "prompt_tokens_details": null,
              "total_tokens": 137
            }
          },
          {
            "attempt": 3,
            "budget": {
              "legacy_max_tokens_as_visible": false,
              "max_completion_tokens": 4608,
              "reasoning_headroom_tokens": 4096,
              "visible_answer_tokens": 512
            },
            "content": "RIVER-918",
            "content_excerpt": "RIVER-918",
            "expected": "RIVER-918",
            "failure_class": null,
            "finish_reason": "stop",
            "latency_ms": 1641.1800384521484,
            "reasoning_chars": 262,
            "reasoning_excerpt": "The user is asking for the session code they previously told me to remember.\nThe previous interaction was:\nUser: \"Remember this session code: RIVER-918. Reply with ok.\"\nModel: \"ok\"\n\nThe session code i",
            "reasoning_field": "reasoning",
            "reasoning_tokens": null,
            "status": "passed",
            "usage": {
              "completion_tokens": 82,
              "prompt_tokens": 55,
              "prompt_tokens_details": null,
              "total_tokens": 137
            }
          }
        ],
        "name": "single_request_multiturn_recall",
        "pass_count": 3,
        "pass_rate": 1.0,
        "required_pass_rate": 1.0,
        "status": "passed"
      }
    ],
    "status": "passed"
  },
  "source_recipe": {
    "ref": null,
    "serve_command": null
  },
  "suites": {},
  "thinking": {
    "chat_template_kwargs": {
      "enable_thinking": true
    },
    "control_evidence": "C:\\Users\\operator\\ai-code\\anvil-serving\\docs\\findings\\2026-07-16-gemma4-nvfp4-evidence\\nvfp4-thinking-control.json",
    "control_evidence_sha256": "76122ddb42cbb489bc023164a2693a741215b257d949c18d8663981903c2e99b",
    "control_mechanism": "chat_template_kwargs",
    "control_requested": {
      "enable_thinking": true
    },
    "control_status": "supported",
    "mode": "enabled",
    "reasoning_effort": null,
    "unsupported": false
  },
  "timing": {
    "chat": {
      "e2e_p50_ms": 92916.94235801697,
      "e2e_p95_ms": 223324.03659820557,
      "output_tokens": 0,
      "ttft_p50_ms": 92916.94164276123,
      "ttft_p95_ms": 223324.0361213684
    },
    "wall_ms": 377226.500749588
  },
  "tool": {
    "checks": [
      {
        "attempt_count": 3,
        "attempts": [
          {
            "arguments": {
              "zip": "98101"
            },
            "attempt": 1,
            "budget": {
              "legacy_max_tokens_as_visible": false,
              "max_completion_tokens": 4608,
              "reasoning_headroom_tokens": 4096,
              "visible_answer_tokens": 512
            },
            "content": "",
            "content_excerpt": "",
            "failure_class": null,
            "finish_reason": "tool_calls",
            "latency_ms": 2934.022903442383,
            "reasoning_chars": 420,
            "reasoning_excerpt": "The user wants to call the `record_weather_zip` tool with the argument `zip=\"98101\"`.\nI should check if the tool `record_weather_zip` exists and if it takes a `zip` parameter.\nLooking at the tool defi",
            "reasoning_field": "reasoning",
            "reasoning_tokens": null,
            "status": "passed",
            "tool_call_count": 1,
            "usage": {
              "completion_tokens": 148,
              "prompt_tokens": 81,
              "prompt_tokens_details": null,
              "total_tokens": 229
            },
            "valid_tool_call_count": 1,
            "validation_errors": []
          },
          {
            "arguments": {
              "zip": "98101"
            },
            "attempt": 2,
            "budget": {
              "legacy_max_tokens_as_visible": false,
              "max_completion_tokens": 4608,
              "reasoning_headroom_tokens": 4096,
              "visible_answer_tokens": 512
            },
            "content": "",
            "content_excerpt": "",
            "failure_class": null,
            "finish_reason": "tool_calls",
            "latency_ms": 1248.2855319976807,
            "reasoning_chars": 122,
            "reasoning_excerpt": "The user wants to call the `record_weather_zip` tool with the argument `zip=\"98101\"`.\nI should call the tool as requested.",
            "reasoning_field": "reasoning",
            "reasoning_tokens": null,
            "status": "passed",
            "tool_call_count": 1,
            "usage": {
              "completion_tokens": 61,
              "prompt_tokens": 81,
              "prompt_tokens_details": null,
              "total_tokens": 142
            },
            "valid_tool_call_count": 1,
            "validation_errors": []
          },
          {
            "arguments": {
              "zip": "98101"
            },
            "attempt": 3,
            "budget": {
              "legacy_max_tokens_as_visible": false,
              "max_completion_tokens": 4608,
              "reasoning_headroom_tokens": 4096,
              "visible_answer_tokens": 512
            },
            "content": "",
            "content_excerpt": "",
            "failure_class": null,
            "finish_reason": "tool_calls",
            "latency_ms": 1235.7182502746582,
            "reasoning_chars": 122,
            "reasoning_excerpt": "The user wants to call the `record_weather_zip` tool with the argument `zip=\"98101\"`.\nI should call the tool as requested.",
            "reasoning_field": "reasoning",
            "reasoning_tokens": null,
            "status": "passed",
            "tool_call_count": 1,
            "usage": {
              "completion_tokens": 61,
              "prompt_tokens": 81,
              "prompt_tokens_details": null,
              "total_tokens": 142
            },
            "valid_tool_call_count": 1,
            "validation_errors": []
          }
        ],
        "expected_arguments": {
          "zip": "98101"
        },
        "expected_function": "record_weather_zip",
        "name": "openai_tool_call_smoke",
        "pass_count": 3,
        "pass_rate": 1.0,
        "required_pass_rate": 1.0,
        "status": "passed"
      }
    ],
    "status": "passed"
  },
  "voice": {
    "llm_latency_ms": null,
    "status": "not_run",
    "stt_latency_ms": null,
    "total_turn_latency_ms": null,
    "tts_latency_ms": null
  }
}
