{
  "checkedAt": "2026-08-15T18:22:03.746Z",
  "status": "sampling-mode-drift-verified",
  "scope": {
    "kind": "official-document and pinned-source extraction plus fourteen local sampling-profile fixtures",
    "authenticatedApiCalls": 0,
    "liveModelCalls": 0,
    "tokenizerCalls": 0,
    "graderCalls": 0,
    "credentialsUsed": false,
    "warning": "Fixtures validate parameter resolution and documented decoding-mode selection only. They do not measure output quality, exact reproducibility, route acceptance, latency, or provider-side implementation details."
  },
  "sources": {
    "coreParameters": {
      "url": "https://docs.z.ai/guides/overview/concept-param.md",
      "status": 200,
      "bytes": 10543,
      "sha256": "b07051b257be57a382efdb536a72c12ddff7d332ac0776bb92db849da0423143",
      "transport": "curl with redirects, compression, a 30-second bound, and an identifiable user agent"
    },
    "modelGuide": {
      "url": "https://docs.z.ai/guides/llm/glm-5.2.md",
      "status": 200,
      "bytes": 25293,
      "sha256": "eeca971119068b0619137ce9c9d3c9362131baf16fdab0c067eefe5802919023",
      "transport": "curl with redirects, compression, a 30-second bound, and an identifiable user agent"
    },
    "chatCompletion": {
      "url": "https://docs.z.ai/api-reference/llm/chat-completion.md",
      "status": 200,
      "bytes": 42731,
      "sha256": "322c87b850c4504873b8c225b5b31266d90aa129f362134fa040c49c5943a7c9",
      "transport": "curl with redirects, compression, a 30-second bound, and an identifiable user agent"
    },
    "modelApi": {
      "url": "https://huggingface.co/api/models/zai-org/GLM-5.2",
      "status": 200,
      "bytes": 23604,
      "sha256": "55f3455f70ca1d9a9dc2e2e234a557bd8c8a6f490f526d9cd68402fc7cab6e40",
      "transport": "curl with redirects, compression, a 30-second bound, and an identifiable user agent"
    },
    "transformersGenerationSource": {
      "url": "https://raw.githubusercontent.com/huggingface/transformers/v5.12.0/src/transformers/generation/configuration_utils.py",
      "status": 200,
      "bytes": 97025,
      "sha256": "5feaa3dd36a0f9096a0c92dcc8394db73a9d5e86bc21eeaaed69290cb6650e44",
      "transport": "curl with redirects, compression, a 30-second bound, and an identifiable user agent"
    },
    "transformersGenerationGuide": {
      "url": "https://raw.githubusercontent.com/huggingface/transformers/v5.12.0/docs/source/en/generation_strategies.md",
      "status": 200,
      "bytes": 19356,
      "sha256": "e88eeccbf8c47fb7fa9b698a8c40d771b9d9655e33e3ab9bf9a4085393486771",
      "transport": "curl with redirects, compression, a 30-second bound, and an identifiable user agent"
    },
    "vllmRecipe": {
      "url": "https://api.github.com/repos/vllm-project/recipes/contents/models/zai-org/GLM-5.2.yaml",
      "status": 200,
      "bytes": 21904,
      "sha256": "5f5f95cf6acd5dfface1f01105187eafb4250343052f51c7f863e6c0508fced9",
      "transport": "curl with redirects, compression, a 30-second bound, and an identifiable user agent"
    },
    "glm52Blog": {
      "url": "https://z.ai/blog/glm-5.2",
      "status": 200,
      "bytes": 598,
      "sha256": "63e94b9e11a2db64243ff18418011577f2a98ca7851ce9dcb0e97cfe34cc245a",
      "transport": "curl with redirects, compression, a 30-second bound, and an identifiable user agent"
    },
    "zhipuResearch": {
      "url": "https://www.zhipuai.cn/zh/research",
      "status": 200,
      "bytes": 1243011,
      "sha256": "c9825ad32a505b312954e96db523aa18233301902cddb0a9b91244d939509402",
      "transport": "curl with redirects, compression, a 30-second bound, and an identifiable user agent"
    },
    "pinnedGenerationConfig": {
      "url": "https://huggingface.co/zai-org/GLM-5.2/resolve/b4734de4facf877f85769a911abafc5283eab3d9/generation_config.json",
      "status": 200,
      "bytes": 194,
      "sha256": "ac76b43d8683d3b930126870fc8be73d8679308fe752fa1f381096d8354f6a55",
      "transport": "curl with redirects, compression, a 30-second bound, and an identifiable user agent"
    },
    "pinnedReadme": {
      "url": "https://huggingface.co/zai-org/GLM-5.2/resolve/b4734de4facf877f85769a911abafc5283eab3d9/README.md",
      "status": 200,
      "bytes": 10905,
      "sha256": "ed5aca8ce3dc5f8de626c87e488444343e43b1dcbdeb0e643dc72fea63ab06e8",
      "transport": "curl with redirects, compression, a 30-second bound, and an identifiable user agent"
    }
  },
  "findings": {
    "modelRevision": "b4734de4facf877f85769a911abafc5283eab3d9",
    "hosted": {
      "doSampleDefault": true,
      "temperatureDefault": 1,
      "temperatureMinimum": 0,
      "temperatureMaximum": 1,
      "topPDefault": 0.95,
      "topPMinimum": 0.01,
      "topPMaximum": 1,
      "docsSayDisabledSamplingIgnoresTemperatureAndTopP": true,
      "documentedSeedField": false
    },
    "coreGuidance": {
      "recommendsOneControl": true,
      "recommendsTopPRange": true,
      "saysDoSampleEnablesDiversity": true
    },
    "checkpoint": {
      "generationConfigHasDoSample": false,
      "generationConfigTemperature": 1,
      "generationConfigTopP": 0.95,
      "generationConfigTransformersVersion": "5.12.0",
      "readmeUsesTemperature1TopP095": true,
      "readmeUsesTemperature1TopP1": true
    },
    "transformers": {
      "absentDoSampleLoadsAsNone": true,
      "notTrueSelectsGreedy": true,
      "samplingGuideRequiresTrue": true,
      "validatesIgnoredTemperature": true,
      "validatesIgnoredTopP": true
    },
    "modelGuideExamples": {
      "containsTemperature1": true,
      "containsTemperature06": true
    },
    "vllmRecipe": {
      "contentSha": "c0d146d82ff822486ad0760d07fd6954fab3c18d",
      "minVllmVersion": "0.23.0",
      "exampleDoesNotPinSampling": true
    },
    "fixedDiscoveryChecks": {
      "glm52BlogReturned200": true,
      "glm52BlogNamesGlm52": false,
      "zhipuResearchReturned200": true,
      "zhipuResearchNamesGlm52": true
    }
  },
  "fixtures": {
    "hostedOmittedDefaults": {
      "route": "hosted",
      "accepted": true,
      "safeProfile": true,
      "errors": [],
      "warnings": [],
      "explicit": {
        "doSample": false,
        "temperature": false,
        "topP": false
      },
      "resolved": {
        "doSample": true,
        "temperature": 1,
        "topP": 0.95,
        "mode": "sample"
      },
      "activeControls": [
        "top_p"
      ],
      "ignoredControls": []
    },
    "transformersCheckpointDefaults": {
      "route": "transformers",
      "accepted": true,
      "safeProfile": false,
      "errors": [],
      "warnings": [
        "IMPLICIT_GREEDY_MODE"
      ],
      "explicit": {
        "doSample": false,
        "temperature": false,
        "topP": false
      },
      "resolved": {
        "doSample": null,
        "temperature": 1,
        "topP": 0.95,
        "mode": "greedy"
      },
      "activeControls": [],
      "ignoredControls": [
        "top_p"
      ]
    },
    "transformersOfficialSampleProfile": {
      "route": "transformers",
      "accepted": true,
      "safeProfile": true,
      "errors": [],
      "warnings": [],
      "explicit": {
        "doSample": true,
        "temperature": true,
        "topP": true
      },
      "resolved": {
        "doSample": true,
        "temperature": 1,
        "topP": 0.95,
        "mode": "sample"
      },
      "activeControls": [
        "top_p"
      ],
      "ignoredControls": []
    },
    "hostedExplicitGreedy": {
      "route": "hosted",
      "accepted": true,
      "safeProfile": true,
      "errors": [],
      "warnings": [],
      "explicit": {
        "doSample": true,
        "temperature": false,
        "topP": false
      },
      "resolved": {
        "doSample": false,
        "temperature": 1,
        "topP": 0.95,
        "mode": "greedy"
      },
      "activeControls": [],
      "ignoredControls": [
        "top_p"
      ]
    },
    "transformersExplicitGreedyNeutral": {
      "route": "transformers",
      "accepted": true,
      "safeProfile": true,
      "errors": [],
      "warnings": [],
      "explicit": {
        "doSample": true,
        "temperature": true,
        "topP": true
      },
      "resolved": {
        "doSample": false,
        "temperature": 1,
        "topP": 1,
        "mode": "greedy"
      },
      "activeControls": [],
      "ignoredControls": []
    },
    "temperatureOnly": {
      "route": "hosted",
      "accepted": true,
      "safeProfile": true,
      "errors": [],
      "warnings": [],
      "explicit": {
        "doSample": true,
        "temperature": true,
        "topP": true
      },
      "resolved": {
        "doSample": true,
        "temperature": 0.6,
        "topP": 1,
        "mode": "sample"
      },
      "activeControls": [
        "temperature"
      ],
      "ignoredControls": []
    },
    "topPOnly": {
      "route": "hosted",
      "accepted": true,
      "safeProfile": true,
      "errors": [],
      "warnings": [],
      "explicit": {
        "doSample": true,
        "temperature": true,
        "topP": true
      },
      "resolved": {
        "doSample": true,
        "temperature": 1,
        "topP": 0.85,
        "mode": "sample"
      },
      "activeControls": [
        "top_p"
      ],
      "ignoredControls": []
    },
    "bothNonNeutral": {
      "route": "hosted",
      "accepted": true,
      "safeProfile": false,
      "errors": [],
      "warnings": [
        "BOTH_NON_NEUTRAL_SAMPLERS"
      ],
      "explicit": {
        "doSample": true,
        "temperature": true,
        "topP": true
      },
      "resolved": {
        "doSample": true,
        "temperature": 0.6,
        "topP": 0.85,
        "mode": "sample"
      },
      "activeControls": [
        "temperature",
        "top_p"
      ],
      "ignoredControls": []
    },
    "greedyWithIgnoredOverrides": {
      "route": "hosted",
      "accepted": true,
      "safeProfile": false,
      "errors": [],
      "warnings": [
        "EXPLICIT_TEMPERATURE_IGNORED",
        "EXPLICIT_TOP_P_IGNORED"
      ],
      "explicit": {
        "doSample": true,
        "temperature": true,
        "topP": true
      },
      "resolved": {
        "doSample": false,
        "temperature": 0.4,
        "topP": 0.8,
        "mode": "greedy"
      },
      "activeControls": [],
      "ignoredControls": [
        "temperature",
        "top_p"
      ]
    },
    "temperatureBelowRange": {
      "route": "hosted",
      "accepted": false,
      "safeProfile": false,
      "errors": [
        "TEMPERATURE_OUT_OF_RANGE"
      ],
      "warnings": [],
      "explicit": {
        "doSample": true,
        "temperature": true,
        "topP": true
      },
      "resolved": {
        "doSample": true,
        "temperature": -0.01,
        "topP": 1,
        "mode": "sample"
      },
      "activeControls": [
        "temperature"
      ],
      "ignoredControls": []
    },
    "temperatureAboveRange": {
      "route": "hosted",
      "accepted": false,
      "safeProfile": false,
      "errors": [
        "TEMPERATURE_OUT_OF_RANGE"
      ],
      "warnings": [],
      "explicit": {
        "doSample": true,
        "temperature": true,
        "topP": true
      },
      "resolved": {
        "doSample": true,
        "temperature": 1.01,
        "topP": 1,
        "mode": "sample"
      },
      "activeControls": [
        "temperature"
      ],
      "ignoredControls": []
    },
    "topPBelowRange": {
      "route": "hosted",
      "accepted": false,
      "safeProfile": false,
      "errors": [
        "TOP_P_OUT_OF_RANGE"
      ],
      "warnings": [],
      "explicit": {
        "doSample": true,
        "temperature": true,
        "topP": true
      },
      "resolved": {
        "doSample": true,
        "temperature": 1,
        "topP": 0,
        "mode": "sample"
      },
      "activeControls": [
        "top_p"
      ],
      "ignoredControls": []
    },
    "topPAboveRange": {
      "route": "hosted",
      "accepted": false,
      "safeProfile": false,
      "errors": [
        "TOP_P_OUT_OF_RANGE"
      ],
      "warnings": [],
      "explicit": {
        "doSample": true,
        "temperature": true,
        "topP": true
      },
      "resolved": {
        "doSample": true,
        "temperature": 1,
        "topP": 1.01,
        "mode": "sample"
      },
      "activeControls": [
        "top_p"
      ],
      "ignoredControls": []
    },
    "invalidDoSampleType": {
      "route": "hosted",
      "accepted": false,
      "safeProfile": false,
      "errors": [
        "INVALID_DO_SAMPLE"
      ],
      "warnings": [
        "EXPLICIT_TOP_P_IGNORED"
      ],
      "explicit": {
        "doSample": true,
        "temperature": true,
        "topP": true
      },
      "resolved": {
        "doSample": "true",
        "temperature": 1,
        "topP": 0.95,
        "mode": "greedy"
      },
      "activeControls": [],
      "ignoredControls": [
        "top_p"
      ]
    }
  },
  "parity": {
    "omittedHostedVsCheckpoint": false,
    "hostedDefaultVsExplicitLocalSample": true
  },
  "invariants": {
    "requiredSourcesReturned200": true,
    "pinnedModelFilesReturned200": true,
    "hostedDefaultsMatchCheckpointSamplingValues": true,
    "hostedEnablesSamplingByDefault": true,
    "checkpointOmitsSamplingMode": true,
    "transformersTreatsMissingModeAsGreedy": true,
    "omittedRoutesDoNotMatch": true,
    "explicitLocalProfileRestoresParity": true,
    "singleControlProfilesPass": true,
    "dualControlProfileIsFlagged": true,
    "ignoredOverridesAreFlagged": true,
    "rangeNegativesFail": true,
    "invalidBooleanFails": true
  },
  "decisionRule": {
    "mode": "set do_sample explicitly when parity matters; true selects sampling and false selects greedy",
    "stochasticControls": "keep at most one of temperature and top_p non-neutral; use 1.0 as the neutral value for the other control",
    "ranges": [
      "0 <= temperature <= 1",
      "0.01 <= top_p <= 1"
    ],
    "regressionEvidence": "record route, engine version, model revision, do_sample, temperature, top_p, reasoning controls, and repeated-run outcomes"
  },
  "limitations": [
    "The hosted defaults and ranges are documentation values observed on the check date, not an authenticated request receipt.",
    "The checkpoint finding applies to the pinned generation_config.json and Transformers 5.12.0 mode-selection source; another engine may resolve omitted values differently.",
    "do_sample=false removes multinomial token sampling but does not guarantee byte-identical output across different kernels, hardware, engine versions, or server implementations.",
    "The current Z.AI Chat Completion schema does not document a seed field; absence from the schema is not proof that every compatible proxy rejects an extension field.",
    "The model guide currently includes examples with temperature 1.0 and 0.6. Example values are not treated as one universal recommended profile.",
    "The public Zhipu research index is a required discovery check; a bounded failure is recorded rather than treated as corroborating evidence."
  ]
}
