{
  "address": "3f73a73454e2260c31c5ef2ae1466b89",
  "category": "other",
  "question": "What is 100 degrees C in degrees F?",
  "answer": "212.00 deg F",
  "askedBy": {
    "kind": "guest",
    "display": "method deck",
    "stamped": false,
    "id": null
  },
  "answeredBy": "method",
  "madeAt": "2026-09-30T22:39:30.722Z",
  "validUntil": null,
  "validityClass": "forever",
  "sources": [
    {
      "label": "Guide for the Use of the International System of Units (SI)",
      "url": null
    }
  ],
  "supersedes": null,
  "supersededBy": null,
  "isSeed": false,
  "seedSource": null,
  "seedAttribution": null,
  "duplicateOfQid": null,
  "publishedAt": null,
  "unpublishedAt": null,
  "voteCount": 0,
  "queuedForSubstrate": false,
  "answerMethod": "method",
  "unsourced": false,
  "source": {
    "kind": "standard",
    "value": "NIST Special Publication 811 (2008 edition), section 4, Table 4 \"Temperature\"",
    "retrieved_utc": "2026-09-30T19:29:48Z"
  },
  "qsha256": "9df78a413c6d7426f87ea02d7f0377145e35f47f10e47c270a25dd2aeee67f0b",
  "runOne": null,
  "cardContractVersion": "card_contract/1",
  "deck_id": "method-deck",
  "deck_title": "Method Deck",
  "method": {
    "name": "Temperature conversion",
    "version": "1",
    "source_url_or_file": "methods/temperature-conversion.cjs",
    "sha256_of_method_file": "760df6671509b484df4c7e66546510ace49afa9e143a1acbc73270c77a29b6ef"
  },
  "receipt": {
    "inSubstrate": false,
    "local": true,
    "modelCallsAtMint": 0,
    "tokensAtMint": 0
  },
  "method_deck": {
    "inputs": [
      {
        "name": "value",
        "type": "number",
        "unit": "from_unit",
        "required": true,
        "description": "The temperature to convert"
      },
      {
        "name": "from_unit",
        "type": "string",
        "required": true,
        "description": "Unit of the input value",
        "enum": [
          "C",
          "F",
          "K",
          "R"
        ]
      },
      {
        "name": "to_unit",
        "type": "string",
        "required": true,
        "description": "Unit to convert into",
        "enum": [
          "C",
          "F",
          "K",
          "R"
        ]
      }
    ],
    "outputs": [
      {
        "name": "result",
        "unit": "to_unit",
        "description": "The converted temperature"
      }
    ],
    "steps": [
      "Convert the input to Celsius: C=C if from_unit is C; C=(F-32)*5/9 if F; C=K-273.15 if K; C=(R-491.67)*5/9 if R (since R=F+459.67).",
      "Convert Celsius to the target unit: F=C*9/5+32; K=C+273.15; R=(C+273.15)*9/5; C=C.",
      "Round the result to 2 decimal places (the conventional precision for temperature)."
    ],
    "constants": [
      {
        "name": "celsius_to_kelvin_offset",
        "value": 273.15,
        "unit": "K",
        "source": 0
      },
      {
        "name": "fahrenheit_scale_factor",
        "value": 1.8,
        "unit": "F per C",
        "source": 0
      },
      {
        "name": "fahrenheit_zero_offset",
        "value": 32,
        "unit": "F",
        "source": 0
      },
      {
        "name": "rankine_to_fahrenheit_offset",
        "value": 459.67,
        "unit": "R",
        "source": 0
      }
    ],
    "examples": [
      {
        "name": "worked example",
        "inputs": {
          "value": 100,
          "from_unit": "C",
          "to_unit": "F"
        },
        "expected": {
          "answer": "212.00 deg F"
        },
        "check": "By hand: F = 100 * 9/5 + 32 = 180 + 32 = 212 exactly."
      },
      {
        "name": "test vector: freezing point to Kelvin",
        "inputs": {
          "value": 0,
          "from_unit": "C",
          "to_unit": "K"
        },
        "expected": {
          "answer": "273.15 deg K"
        },
        "check": "By definition K = C + 273.15 = 0 + 273.15 = 273.15 exactly."
      },
      {
        "name": "test vector: body temperature to Celsius",
        "inputs": {
          "value": 98.6,
          "from_unit": "F",
          "to_unit": "C"
        },
        "expected": {
          "answer": "37.00 deg C"
        },
        "check": "By hand: C = (98.6 - 32) * 5/9 = 66.6 * 5/9 = 333/9 = 37 exactly."
      }
    ],
    "disclaimer": null,
    "deck_category": "units"
  },
  "status": "minted",
  "kind": "method",
  "provenanceClass": "own_question",
  "provenance": {
    "schema": "card_provenance/2.0.0",
    "chain": [
      {
        "source": {
          "kind": "standard",
          "value": "NIST Special Publication 811 (2008 edition), section 4, Table 4 \"Temperature\"",
          "retrieved_utc": "2026-09-30T19:29:48Z"
        },
        "sha256": "c93e7a7bba69362163e672279dbb65a3305302df96a1353c4580f5d52b8d15ca",
        "supersedes": null,
        "added_utc": "2026-09-30T22:39:30.722Z",
        "added_by": "method:Temperature conversion",
        "why": "the method that computed this answer",
        "check": null,
        "status_label": "pending",
        "signature": null
      }
    ]
  }
}
