{
  "plan_schema_version": "0.1",
  "protocol_id": "inference-bench-methodology-0.2",
  "state": "draft",
  "generated_at": "2026-11-15T15:32:50.305Z",
  "comparison_type": "same_source_controlled_serving",
  "source": {
    "registry": "huggingface",
    "repo_id": "Qwen/Qwen2.5-7B-Instruct",
    "revision": "a09a35458c702b33eeacc393d103063234e8bc28",
    "source_identity": {
      "source_model": "Qwen/Qwen2.5-7B-Instruct",
      "model_revision": "a09a35458c702b33eeacc393d103063234e8bc28",
      "architecture": "config_sha256:7463bb0ea78315365e6c6b74de4e73bbcc8359dfb0c5a737584e077d42c0b03c; model_type:qwen2; architectures:Qwen2ForCausalLM"
    },
    "metadata_manifest_sha256": "35f32ffc0ad6b3da393fb811b312fc3d9d4f4f44b67f2f3bf20dc66bb16f5672",
    "expected_raw_config_sha256": "7463bb0ea78315365e6c6b74de4e73bbcc8359dfb0c5a737584e077d42c0b03c",
    "topology": {
      "model_type": "qwen2",
      "architectures": [
        "Qwen2ForCausalLM"
      ],
      "num_hidden_layers": 28,
      "hidden_size": 3584,
      "intermediate_size": 18944,
      "num_attention_heads": 28,
      "num_key_value_heads": 4,
      "vocab_size": 152064
    },
    "content_inventory": null,
    "tokenizer_manifest": null,
    "processor_manifest": null,
    "deployment_evidence": "not_observed"
  },
  "systems": {
    "reference": {
      "purpose": "source semantics check",
      "engine": "huggingface-transformers",
      "build": null
    },
    "baseline": {
      "purpose": "production serving reference",
      "engine": null,
      "precision": "BF16",
      "container_digest": null,
      "effective_config": null
    },
    "candidate": {
      "purpose": "one compatible quantized artifact",
      "artifact_ref": null,
      "source_lineage": "unverified",
      "calibration_dataset": null,
      "engine": null,
      "container_digest": null,
      "effective_config": null
    }
  },
  "platform": {
    "gpu_shape": null,
    "host_manifest": null,
    "resource_envelope": null
  },
  "workload": {
    "status": "proposed_shapes_only",
    "payload_manifest": null,
    "profiles": [
      {
        "id": "controlled-2048-128",
        "effective_input_tokens": 2048,
        "output_tokens": 128,
        "eos_policy": "force_fixed_length"
      }
    ],
    "generation": {
      "sampling": "greedy",
      "template_manifest": null
    },
    "cache_policy": null
  },
  "quality": {
    "status": "not_registered",
    "tasks": [],
    "paired_examples": true,
    "loss_definition": "reference score minus candidate score for higher-is-better metrics",
    "admission": "one-sided upper loss bound within each pre-registered task margin; otherwise fail or inconclusive",
    "confidence_method": null,
    "claim_family_and_multiplicity_policy": null,
    "evaluator_build": null
  },
  "performance": {
    "status": "proposed_starting_floors",
    "closed_loop_concurrency": [
      1,
      4
    ],
    "open_loop_schedule": null,
    "minimum_measured_requests_per_point": 1000,
    "minimum_duration_s_per_point": 300,
    "p99_observation_floor": 10000,
    "paired_blocks": 5,
    "order": "pre-generated seeded AB/BA blocks",
    "schedule_seed": 20261114,
    "warmup_criteria": null,
    "analysis_method": null,
    "drain_policy": null,
    "slo": {
      "ttft_ms": null,
      "complete_latency_ms": null
    },
    "note": "Floors are engineering starting choices, not statistical guarantees. Freeze final values after the pilot."
  },
  "cost": {
    "currency": "USD",
    "execution_limit_usd": null,
    "billing_scope": null,
    "preparation_cost_scope": null
  },
  "publication": {
    "state": "not_eligible",
    "quality_admission": "not_evaluated",
    "independence": "not_established",
    "bundle_manifest": null
  },
  "preparation": {
    "weights_downloaded": false,
    "benchmark_executed": false,
    "unresolved": [
      {
        "id": "source_bytes",
        "status": "unresolved",
        "requirement": "Verify required weight, tokenizer, template and config file hashes on the execution host."
      },
      {
        "id": "artifact_lineage",
        "status": "unresolved",
        "requirement": "Pin candidate artifact and establish its relationship to the source and calibration data."
      },
      {
        "id": "platform",
        "status": "unresolved",
        "requirement": "Select GPU/resource envelope and record an observed host manifest."
      },
      {
        "id": "runtime",
        "status": "unresolved",
        "requirement": "Pin reference and candidate runtime/container builds, effective settings and protocol adapter."
      },
      {
        "id": "quality",
        "status": "unresolved",
        "requirement": "Pin datasets, samples, scorers, per-task margins and statistical admission method."
      },
      {
        "id": "workload",
        "status": "unresolved",
        "requirement": "Freeze effective payload/token manifests, generation and cache policies."
      },
      {
        "id": "load",
        "status": "unresolved",
        "requirement": "Use a pilot to freeze warmup, load delivery, sample size, durations and paired block count."
      },
      {
        "id": "slo",
        "status": "unresolved",
        "requirement": "Set customer TTFT and complete-latency acceptance thresholds."
      },
      {
        "id": "budget",
        "status": "unresolved",
        "requirement": "Set an execution spending limit and record the cost scope."
      },
      {
        "id": "registration",
        "status": "unresolved",
        "requirement": "Freeze and content-address the final experiment before confirmation runs."
      }
    ]
  },
  "execution": {
    "enabled": false,
    "reason": "Planning contract only. It is not a run.mjs configuration or an executable job."
  }
}
