{
  "schemaVersion": 1,
  "slug": "cooking-time-per-pound-calculator",
  "category": "cooking",
  "kind": "implementation",
  "independentValidation": false,
  "implementationHash": "5d172060feecb7ee456b0e379cea1ffb1045454e57376e6b320be9a91ae57461",
  "provenance": "Generated from the calculation contract used by the published page. Publication is not external validation.",
  "sourceFiles": [
    "data/calculators/cooking-time-per-pound-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 = w × m; m_lb = m ÷ 2.2046226218; T_total = T + r",
    "vars": [
      [
        "w",
        "weight in kg"
      ],
      [
        "m",
        "minutes per kg"
      ],
      [
        "T",
        "cooking minutes"
      ],
      [
        "r",
        "resting minutes"
      ],
      [
        "m_lb",
        "minutes per pound"
      ],
      [
        "T_total",
        "total minutes"
      ]
    ],
    "note": "Uses the user-entered cooking rate in minutes per kilogram and the entered weight in kilograms; times are estimates and food safety depends on internal temperature."
  },
  "externalEvidence": null,
  "contract": {
    "compute": "const cook = weight*minutesPerKg; return { cookMinutes: cook, cookHours: cook/60, totalMinutes: cook+restMinutes, minutesPerPound: minutesPerKg/2.2046226218 };",
    "inputs": [
      {
        "name": "weight",
        "type": "number",
        "default": 2,
        "min": 0,
        "max": 100,
        "step": 0.1,
        "slider": true
      },
      {
        "name": "minutesPerKg",
        "type": "number",
        "default": 45,
        "min": 1,
        "max": 500,
        "step": 1,
        "slider": true
      },
      {
        "name": "restMinutes",
        "type": "number",
        "default": 20,
        "min": 0,
        "max": 300,
        "step": 5,
        "slider": true
      }
    ],
    "outputs": [
      {
        "name": "cookMinutes",
        "precision": 0,
        "unit": "min"
      },
      {
        "name": "cookHours",
        "precision": 2,
        "unit": "h"
      },
      {
        "name": "totalMinutes",
        "precision": 0,
        "unit": "min"
      },
      {
        "name": "minutesPerPound",
        "precision": 1,
        "unit": "min/lb"
      }
    ],
    "interpret": null
  }
}
