Guth
NewsDocs
Page actions
View as Markdown ↗
Explore MCP tools ↗

instrument implementation / implementation-contract

Köppen Climate Classifier (rough) implementation

A source-bound implementation contract for Köppen Climate Classifier (rough); deployment and executable qualification remain separate.

Status: VERIFIED_CLEANLifecycle: implementation-contract

Binding contract

This record describes what an executable surface must bind and validate. It does not claim that a public calculator, package, or production route is deployed.

Record owner
Guth Instruments
Lifecycle
verified-clean
Evidence ID
t7-128
Effect
Computation or source lookup only

Input and validation requirements

Extreme finite-looking inputs overflow annual accumulations unless range checks are enforced, and an omitted temperature-unit convention changes the classification from ET to EF. The branch test also exposes the exact -3 °C C/D switch.

Required corrections

No binding erratum is attached to this unique-name record. Implementers must still preserve the declared units, domain, and failure behavior.

Inspectable interface fixture

The sample below is evidence for interface and validation tests, not a production implementation.

{
  "inputs": {
    "monthly_mean_temperature_C": [
      27,
      27,
      27,
      27,
      27,
      27,
      27,
      27,
      27,
      27,
      27,
      27
    ],
    "monthly_precipitation_mm": [
      60,
      60,
      60,
      60,
      60,
      60,
      60,
      60,
      60,
      60,
      60,
      60
    ]
  },
  "expected_outputs": {
    "classification_code": "Af",
    "description": "Tropical rainforest climate"
  },
  "reference_data": {
    "A_month_temperature_threshold_C": 18,
    "A_forest_month_precipitation_threshold_mm": 60,
    "source_convention": "Widely tabulated Köppen-Geiger standard rule value; Peel et al. (2007) convention"
  },
  "working": "1. Every monthly temperature = 27 °C, and 27 >= 18 °C, so the location satisfies the tropical A-climate temperature condition. 2. Annual precipitation = 12 x 60 = 720 mm. 3. Driest-month precipitation = 60 mm. 4. Af requires driest-month precipitation >= 60 mm. 5. 60 >= 60, exactly on the Af boundary. Therefore the code is Af."
}

Other records

Sources and evidence

These pointers bind the page to evidence. They do not grant authority or collapse verification into deployment.

  • VERIFIED_LEDGER.json
  • evidence-tranche7/tranche7-results.json