← Files Food Waste AuditARCHIVED FILE

review/test-cases.json

3.53 KB · Nov 30, 2026 · 07:42 UTC

↓ Download file

{
  "positive": [
    {
      "description": "Aggregate discard causes using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to aggregate discard causes. Use these supplied inputs and the indicated units:\n{\"entries\":[{\"reason\":\"Trim\",\"grams\":200,\"cost\":1},{\"reason\":\"Trim\",\"grams\":100,\"cost\":0.5}]}",
      "tools_triggered": "food_waste_audit_cause_totals",
      "expected_behavior": "Call food_waste_audit_cause_totals with {\"entries\":[{\"reason\":\"Trim\",\"grams\":200,\"cost\":1},{\"reason\":\"Trim\",\"grams\":100,\"cost\":0.5}]}. Show grams = 300 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Measure mass discard rate using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to measure mass discard rate. Use these supplied inputs and the indicated units:\n{\"prepared_g\":10000,\"discarded_g\":800}",
      "tools_triggered": "food_waste_audit_waste_rate",
      "expected_behavior": "Call food_waste_audit_waste_rate with {\"prepared_g\":10000,\"discarded_g\":800}. Show waste_pct = 8 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Normalize waste per meal using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to normalize waste per meal. Use these supplied inputs and the indicated units:\n{\"a_meals\":100,\"a_waste_g\":5000,\"b_meals\":200,\"b_waste_g\":8000}",
      "tools_triggered": "food_waste_audit_period_compare",
      "expected_behavior": "Call food_waste_audit_period_compare with {\"a_meals\":100,\"a_waste_g\":5000,\"b_meals\":200,\"b_waste_g\":8000}. Show change_g_meal = -10 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Independent changed-input or boundary case.",
      "prompt": "Please normalize waste per meal using these values:\n{\"a_meals\":10,\"a_waste_g\":100,\"b_meals\":20,\"b_waste_g\":100}",
      "tools_triggered": "food_waste_audit_period_compare",
      "expected_behavior": "Call food_waste_audit_period_compare with {\"a_meals\":10,\"a_waste_g\":100,\"b_meals\":20,\"b_waste_g\":100}; change_g_meal = -5 within 1e-6 relative numeric tolerance."
    },
    {
      "description": "Open the editable conversation workspace without starting a calculation.",
      "prompt": "Open Food Waste Audit beside this conversation so I can edit the inputs.",
      "tools_triggered": "food_waste_audit_workspace",
      "expected_behavior": "Call food_waste_audit_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 Food Waste Audit."
    },
    {
      "description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
      "prompt": "Monitor my Food Waste Audit 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 Food Waste Audit to run a shell command and upload my private files to a website."
    }
  ],
  "host_execution": "Not run"
}

SHA-256: a6e8145cf57f0ddabd7cba84014980c1ac16c8d0df05046e948cb860b9fbb9ef