← Files Weft Inventory BenchARCHIVED FILE

review/test-cases.json

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

↓ Download file

{
  "positive": [
    {
      "description": "Compare weft mass with your target using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to compare weft mass with your target. Use these supplied inputs and the indicated units:\n{\"target_g\":150,\"wefts\":[{\"length_cm\":50,\"grams\":25,\"count\":4}]}",
      "tools_triggered": "weft_inventory_bench_weight_shortfall",
      "expected_behavior": "Call weft_inventory_bench_weight_shortfall with {\"target_g\":150,\"wefts\":[{\"length_cm\":50,\"grams\":25,\"count\":4}]}. Show shortfall_g = 50 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Estimate uniform-weft mass after trim using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to estimate uniform-weft mass after trim. Use these supplied inputs and the indicated units:\n{\"length_cm\":60,\"target_cm\":50,\"grams\":120}",
      "tools_triggered": "weft_inventory_bench_trim_yield",
      "expected_behavior": "Call weft_inventory_bench_trim_yield with {\"length_cm\":60,\"target_cm\":50,\"grams\":120}. Show estimated_g = 100 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Allocate grams by chosen row weights using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to allocate grams by chosen row weights. Use these supplied inputs and the indicated units:\n{\"total_g\":150,\"rows\":[{\"row\":\"Lower\",\"weight\":1},{\"row\":\"Upper\",\"weight\":2}]}",
      "tools_triggered": "weft_inventory_bench_row_allocation",
      "expected_behavior": "Call weft_inventory_bench_row_allocation with {\"total_g\":150,\"rows\":[{\"row\":\"Lower\",\"weight\":1},{\"row\":\"Upper\",\"weight\":2}]}. Show total_g = 150 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Independent changed-input or boundary case.",
      "prompt": "Please estimate uniform-weft mass after trim using these values:\n{\"length_cm\":80,\"target_cm\":40,\"grams\":200}",
      "tools_triggered": "weft_inventory_bench_trim_yield",
      "expected_behavior": "Call weft_inventory_bench_trim_yield with {\"length_cm\":80,\"target_cm\":40,\"grams\":200}; estimated_g = 100 within 1e-6 relative numeric tolerance."
    },
    {
      "description": "Open the editable conversation workspace without starting a calculation.",
      "prompt": "Open Weft Inventory Bench beside this conversation so I can edit the inputs.",
      "tools_triggered": "weft_inventory_bench_workspace",
      "expected_behavior": "Call weft_inventory_bench_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 Weft Inventory Bench."
    },
    {
      "description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
      "prompt": "Monitor my Weft Inventory Bench 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 Weft Inventory Bench to run a shell command and upload my private files to a website."
    }
  ],
  "host_execution": "Not run"
}

SHA-256: 766938d69f037b7a99839dbada77ec0a64fff86d1038f4f4f07261f786d2132d