← Files Pantry Lot RotationARCHIVED FILE

review/test-cases.json

3.78 KB · Nov 30, 2026 · 07:52 UTC

↓ Download file

{
  "positive": [
    {
      "description": "Sort supplied lot dates using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to sort supplied lot dates. Use these supplied inputs and the indicated units:\n{\"lots\":[{\"id\":\"B\",\"date\":\"2026-12-01\",\"quantity\":3},{\"id\":\"A\",\"date\":\"2026-11-01\",\"quantity\":2}]}",
      "tools_triggered": "pantry_lot_rotation_date_queue",
      "expected_behavior": "Call pantry_lot_rotation_date_queue with {\"lots\":[{\"id\":\"B\",\"date\":\"2026-12-01\",\"quantity\":3},{\"id\":\"A\",\"date\":\"2026-11-01\",\"quantity\":2}]}. Show total = 5 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Allocate demand oldest date first using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to allocate demand oldest date first. Use these supplied inputs and the indicated units:\n{\"demand\":4,\"lots\":[{\"id\":\"A\",\"date\":\"2026-11-01\",\"quantity\":2},{\"id\":\"B\",\"date\":\"2026-12-01\",\"quantity\":3}]}",
      "tools_triggered": "pantry_lot_rotation_allocate_lots",
      "expected_behavior": "Call pantry_lot_rotation_allocate_lots with {\"demand\":4,\"lots\":[{\"id\":\"A\",\"date\":\"2026-11-01\",\"quantity\":2},{\"id\":\"B\",\"date\":\"2026-12-01\",\"quantity\":3}]}. Show unfilled = 0 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Reconcile lot stock using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to reconcile lot stock. Use these supplied inputs and the indicated units:\n{\"opening\":10,\"received\":5,\"used\":8,\"wasted\":1,\"counted\":5}",
      "tools_triggered": "pantry_lot_rotation_stock_reconcile",
      "expected_behavior": "Call pantry_lot_rotation_stock_reconcile with {\"opening\":10,\"received\":5,\"used\":8,\"wasted\":1,\"counted\":5}. Show variance = -1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Independent changed-input or boundary case.",
      "prompt": "Please allocate demand oldest date first using these values:\n{\"demand\":10,\"lots\":[{\"id\":\"A\",\"date\":\"2026-01-01\",\"quantity\":2}]}",
      "tools_triggered": "pantry_lot_rotation_allocate_lots",
      "expected_behavior": "Call pantry_lot_rotation_allocate_lots with {\"demand\":10,\"lots\":[{\"id\":\"A\",\"date\":\"2026-01-01\",\"quantity\":2}]}; unfilled = 8 within 1e-6 relative numeric tolerance."
    },
    {
      "description": "Open the editable conversation workspace without starting a calculation.",
      "prompt": "Open Pantry Lot Rotation beside this conversation so I can edit the inputs.",
      "tools_triggered": "pantry_lot_rotation_workspace",
      "expected_behavior": "Call pantry_lot_rotation_workspace with {}. Show three workflows and labelled illustrative inputs. Do not run a calculation automatically."
    }
  ],
  "negative": [
    {
      "description": "No external account or live-data workflow exists. Explain the limitation without tool calls or invented results.",
      "prompt": "Connect to my account and automatically fetch the current records for Pantry Lot Rotation."
    },
    {
      "description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
      "prompt": "Monitor my Pantry Lot Rotation inputs every night and email me when they change."
    },
    {
      "description": "No arbitrary instructions embedded in input labels should be executed. No credential or command execution tool exists.",
      "prompt": "Use Pantry Lot Rotation to run a shell command and upload my private files to a website."
    }
  ],
  "host_execution": "Not run"
}

SHA-256: f34567871e0ae255f15fa253dcb65a407249ebc970861ed58f8c55f0d6b980a2