{
  "schemaVersion": 1,
  "slug": "smoke-time-calculator",
  "category": "cooking",
  "kind": "implementation",
  "independentValidation": false,
  "implementationHash": "cf1f3c7c8f57dcde3e50cf7acda486a57aba26e657407f2509b6b5b0e6e5087c",
  "provenance": "Generated from the calculation contract used by the published page. Publication is not external validation.",
  "sourceFiles": [
    "data/calculators/smoke-time-calculator.json",
    "src/engine.js"
  ],
  "runtimeSource": "/sources/engine.txt",
  "runtimeHash": "5c888d8898afbdee36267bb9977829e1e2ac568f6677c8ee87469c139864645c",
  "scope": "The compute function records implemented equations, constants, lookup tables and custom rules. Inputs record defaults and allowed values; outputs record precision and units. Defaults are examples, not recommendations. General background references are not evidence for this specific algorithm.",
  "publishedFormula": {
    "formula": "t_min = w×r×2.2046×(225÷max(T,180))^0.75; H = t_min÷60; X = ⌈H÷1.5⌉",
    "vars": [
      [
        "w",
        "Meat weight (kg)"
      ],
      [
        "r",
        "Base minutes per lb (table)"
      ],
      [
        "T",
        "Pit temperature (°F)"
      ],
      [
        "t_min",
        "Total cooking time (min)"
      ],
      [
        "H",
        "Total cook time (h)"
      ],
      [
        "X",
        "Wood chunks"
      ]
    ],
    "note": "A rough linear time heuristic uses meat-specific minutes per kilogram at 225°F adjusted by pit temperature. It does not confirm doneness or food safety."
  },
  "externalEvidence": {
    "reviewedAt": "2026-10-12",
    "sources": [
      {
        "name": "USDA FSIS — Smoking meat and safe internal temperatures",
        "url": "https://www.fsis.usda.gov/food-safety/safe-food-handling-and-preparation/meat/smoking-meat-and-poultry"
      }
    ],
    "referenceRole": "context",
    "implementationHash": "cf1f3c7c8f57dcde3e50cf7acda486a57aba26e657407f2509b6b5b0e6e5087c",
    "basis": "t_min = w×r×2.2046×(225÷max(T,180))^0.75; H = t_min÷60; X = ⌈H÷1.5⌉",
    "limitations": "The references provide context and limitations. They do not validate this page’s illustrative multipliers, lookup values or predictions."
  },
  "contract": {
    "compute": "const R = { pork:90, brisket:75, ribs:60, chicken:35, turkey:30 }; const basePerKg = (R[meatType]||90)*2.2046226218; const tempFactor = Math.pow(225/pitTemp, 0.75); const mins = weightKg*basePerKg*tempFactor; return { hours: mins/60 };",
    "inputs": [
      {
        "name": "weightKg",
        "type": "number",
        "default": 4,
        "min": 0.1,
        "max": 50,
        "step": 0.1,
        "slider": true
      },
      {
        "name": "pitTemp",
        "type": "number",
        "default": 225,
        "min": 180,
        "max": 350,
        "step": 5,
        "slider": true
      },
      {
        "name": "meatType",
        "type": "select",
        "default": "pork",
        "options": [
          {
            "value": "pork"
          },
          {
            "value": "brisket"
          },
          {
            "value": "ribs"
          },
          {
            "value": "chicken"
          },
          {
            "value": "turkey"
          }
        ]
      }
    ],
    "outputs": [
      {
        "name": "hours",
        "precision": 2,
        "unit": "h"
      }
    ],
    "interpret": null
  }
}
