{
  "schemaVersion": 1,
  "slug": "slow-cooker-conversion-calculator",
  "category": "cooking",
  "kind": "implementation",
  "independentValidation": false,
  "implementationHash": "db00f9d0dae9c2971a4007a7d23f21b705d7074c6407e77464adb009e8519269",
  "provenance": "Generated from the calculation contract used by the published page. Publication is not external validation.",
  "sourceFiles": [
    "data/calculators/slow-cooker-conversion-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": "b = h×m; T_low = 2b; T_high = b; M = 0.6V",
    "vars": [
      [
        "h",
        "Original recipe time (h)"
      ],
      [
        "m",
        "Source multiplier"
      ],
      [
        "b",
        "High-setting time (h)"
      ],
      [
        "T_low",
        "Low-setting time (h)"
      ],
      [
        "T_high",
        "Cooking time on high (h)"
      ],
      [
        "V",
        "Cooker capacity (L)"
      ],
      [
        "M",
        "Max batch size (kg)"
      ]
    ],
    "note": "Fixed time multipliers convert the source-method time into rough low/high estimates; ingredients, appliance variation, food quantity and safe doneness are not modeled."
  },
  "externalEvidence": null,
  "contract": {
    "compute": "const base = from === 'pressure' ? recipeHours*8 : from === 'stovetop' ? recipeHours*2.5 : recipeHours*2; return { lowHours: base*2, highHours: base };",
    "inputs": [
      {
        "name": "recipeHours",
        "type": "number",
        "default": 1,
        "min": 0.25,
        "max": 24,
        "step": 0.25,
        "slider": true
      },
      {
        "name": "from",
        "type": "select",
        "default": "oven",
        "options": [
          {
            "value": "oven"
          },
          {
            "value": "stovetop"
          },
          {
            "value": "pressure"
          }
        ]
      }
    ],
    "outputs": [
      {
        "name": "lowHours",
        "precision": 1,
        "unit": "h"
      },
      {
        "name": "highHours",
        "precision": 1,
        "unit": "h"
      }
    ],
    "interpret": null
  }
}
