{
  "schemaVersion": 1,
  "model": "batch-correction-1",
  "description": "Synthetic example for an existing 100 kg batch. All compositions are percentages by mass.",
  "calculator": "https://calculatormonkey.com/batch-correction-calculator",
  "unit": "kg",
  "initialMass": "100",
  "increment": "1",
  "components": [
    {
      "name": "A",
      "initial": "10",
      "lower": "20",
      "upper": ""
    },
    {
      "name": "B",
      "initial": "10",
      "lower": "15",
      "upper": ""
    }
  ],
  "stocks": [
    {
      "name": "Stock X",
      "available": "30",
      "composition": [
        "60",
        "10"
      ]
    },
    {
      "name": "Stock Y",
      "available": "19",
      "composition": [
        "10",
        "50"
      ]
    }
  ],
  "results": {
    "exactAdditions": [
      "800/27",
      "500/27"
    ],
    "exactFinalMass": "4000/27",
    "exactPercentages": [
      "20",
      "15"
    ],
    "roundedAdditions": [
      "30",
      "19"
    ],
    "roundedPercentages": [
      "2990/149",
      "2250/149"
    ],
    "roundingMeetsTargets": false
  },
  "shortfall": {
    "stock": "Stock Y",
    "availability": "15",
    "feasible": false
  }
}
