{
  "author": "Anant Mishra",
  "study_id": "AM-RP-002",
  "status": "synthetic_fixture_not_facility_records",
  "tolerance_g": 1000,
  "cases": [
    {
      "id": "balanced",
      "account": {
        "unit": "g",
        "opening_stock_g": 120000,
        "incoming_g": 1000000,
        "other_inflow_g": 0,
        "material_output_g": 620000,
        "residue_output_g": 230000,
        "other_outflow_g": 0,
        "closing_stock_g": 270000
      },
      "expected_status": "balanced",
      "expected_discrepancy_g": 0
    },
    {
      "id": "missing-stock",
      "account": {
        "unit": "g",
        "opening_stock_g": 120000,
        "incoming_g": 1000000,
        "other_inflow_g": 0,
        "material_output_g": 620000,
        "residue_output_g": 230000,
        "other_outflow_g": 0,
        "closing_stock_g": null
      },
      "expected_status": "incomplete",
      "expected_discrepancy_g": null
    },
    {
      "id": "small-discrepancy",
      "account": {
        "unit": "g",
        "opening_stock_g": 120000,
        "incoming_g": 1000000,
        "other_inflow_g": 0,
        "material_output_g": 620000,
        "residue_output_g": 230000,
        "other_outflow_g": 0,
        "closing_stock_g": 269500
      },
      "expected_status": "within_tolerance",
      "expected_discrepancy_g": 500
    },
    {
      "id": "excess-output",
      "account": {
        "unit": "g",
        "opening_stock_g": 120000,
        "incoming_g": 1000000,
        "other_inflow_g": 0,
        "material_output_g": 630000,
        "residue_output_g": 230000,
        "other_outflow_g": 0,
        "closing_stock_g": 270000
      },
      "expected_status": "unreconciled",
      "expected_discrepancy_g": -10000
    }
  ]
}
