{
  "address": "bc73720b7aa68d416956b102f8e908f9",
  "category": "other",
  "question": "What are the circumference and area of a circle with radius 7?",
  "answer": "circumference 43.98, area 153.94",
  "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": "Circle circumference and area formulas",
      "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": "edition_page",
    "value": "Standard geometry reference (e.g. Coxeter, H.S.M. Introduction to Geometry, 2nd ed., Wiley, 1969).",
    "retrieved_utc": "2026-09-30T19:48:00Z"
  },
  "qsha256": "40b39128417e93505998f516c49f3fcd1fab16a0f0010ecaa13d1b4e77f19e2e",
  "runOne": null,
  "cardContractVersion": "card_contract/1",
  "deck_id": "method-deck",
  "deck_title": "Method Deck",
  "method": {
    "name": "Circle circumference and area",
    "version": "1",
    "source_url_or_file": "methods/circle-measures.cjs",
    "sha256_of_method_file": "341bb69a251aa60fdb76388eb3ea7fe858f177105dd3317f68d41fc78df03efb"
  },
  "receipt": {
    "inSubstrate": false,
    "local": true,
    "modelCallsAtMint": 0,
    "tokensAtMint": 0
  },
  "method_deck": {
    "inputs": [
      {
        "name": "which_given",
        "type": "string",
        "required": true,
        "description": "Whether value is a radius or a diameter.",
        "enum": [
          "radius",
          "diameter"
        ]
      },
      {
        "name": "value",
        "type": "number",
        "unit": "length units",
        "required": true,
        "description": "The radius or diameter, per which_given.",
        "min": 0
      }
    ],
    "outputs": [
      {
        "name": "circumference",
        "unit": "length units",
        "description": "Circle circumference."
      },
      {
        "name": "area",
        "unit": "square length units",
        "description": "Circle area."
      }
    ],
    "steps": [
      "If which_given is diameter, radius = value / 2; otherwise radius = value.",
      "circumference = 2 * pi * radius.",
      "area = pi * radius^2.",
      "Round both to 2 decimals."
    ],
    "constants": [
      {
        "name": "pi",
        "value": 3.14159265358979,
        "unit": "dimensionless",
        "source": 0
      }
    ],
    "examples": [
      {
        "name": "worked example",
        "inputs": {
          "which_given": "radius",
          "value": 7
        },
        "expected": {
          "answer": "circumference 43.98, area 153.94"
        },
        "check": "By hand: circumference=2*3.14159265*7=43.9823 rounds to 43.98; area=3.14159265*49=153.9380 rounds to 153.94."
      },
      {
        "name": "test vector: given diameter",
        "inputs": {
          "which_given": "diameter",
          "value": 10
        },
        "expected": {
          "answer": "circumference 31.42, area 78.54"
        },
        "check": "By hand: radius=5; circumference=2*3.14159265*5=31.4159 rounds to 31.42; area=3.14159265*25=78.5398 rounds to 78.54; matches the well known fact that a circle of diameter 10 has circumference pi*10=31.4159."
      }
    ],
    "disclaimer": null,
    "deck_category": "geometry"
  },
  "status": "minted",
  "kind": "method",
  "provenanceClass": "own_question",
  "provenance": {
    "schema": "card_provenance/2.0.0",
    "chain": [
      {
        "source": {
          "kind": "edition_page",
          "value": "Standard geometry reference (e.g. Coxeter, H.S.M. Introduction to Geometry, 2nd ed., Wiley, 1969).",
          "retrieved_utc": "2026-09-30T19:48:00Z"
        },
        "sha256": "f8b42d2ccffeaea87969259d39aa0f741759af514eb30d033b3bc036a8a4ccd5",
        "supersedes": null,
        "added_utc": "2026-09-30T22:39:30.722Z",
        "added_by": "method:Circle circumference and area",
        "why": "the method that computed this answer",
        "check": null,
        "status_label": "pending",
        "signature": null
      }
    ]
  }
}
