← Files Webhook Event LabARCHIVED FILE

review/test-cases.json

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

↓ Download file

{
  "positive": [
    {
      "description": "Simulate commit-aware webhook processing using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to simulate commit-aware webhook processing. Use these supplied inputs and the indicated units:\n{\"deliveries\":[{\"event_id\":\"e1\",\"aggregate\":\"sub1\",\"version\":1,\"state\":\"active\",\"committed\":\"no\"},{\"event_id\":\"e1\",\"aggregate\":\"sub1\",\"version\":1,\"state\":\"active\",\"committed\":\"yes\"}]}",
      "tools_triggered": "webhook_event_lab_idempotent_replay",
      "expected_behavior": "Call webhook_event_lab_idempotent_replay with {\"deliveries\":[{\"event_id\":\"e1\",\"aggregate\":\"sub1\",\"version\":1,\"state\":\"active\",\"committed\":\"no\"},{\"event_id\":\"e1\",\"aggregate\":\"sub1\",\"version\":1,\"state\":\"active\",\"committed\":\"yes\"}]}. Show applied = 1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Compare receipt and commit deduplication using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to compare receipt and commit deduplication. Use these supplied inputs and the indicated units:\n{\"deliveries\":[{\"event_id\":\"e1\",\"aggregate\":\"sub1\",\"version\":1,\"state\":\"active\",\"committed\":\"no\"},{\"event_id\":\"e1\",\"aggregate\":\"sub1\",\"version\":1,\"state\":\"active\",\"committed\":\"yes\"}]}",
      "tools_triggered": "webhook_event_lab_early_mark_comparison",
      "expected_behavior": "Call webhook_event_lab_early_mark_comparison with {\"deliveries\":[{\"event_id\":\"e1\",\"aggregate\":\"sub1\",\"version\":1,\"state\":\"active\",\"committed\":\"no\"},{\"event_id\":\"e1\",\"aggregate\":\"sub1\",\"version\":1,\"state\":\"active\",\"committed\":\"yes\"}]}. Show receipt_mark_applied = 0 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Inspect out-of-order and conflicting event versions using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to inspect out-of-order and conflicting event versions. Use these supplied inputs and the indicated units:\n{\"deliveries\":[{\"event_id\":\"e2\",\"aggregate\":\"sub1\",\"version\":2,\"state\":\"cancelled\",\"committed\":\"yes\"},{\"event_id\":\"e1\",\"aggregate\":\"sub1\",\"version\":1,\"state\":\"active\",\"committed\":\"yes\"}]}",
      "tools_triggered": "webhook_event_lab_version_order",
      "expected_behavior": "Call webhook_event_lab_version_order with {\"deliveries\":[{\"event_id\":\"e2\",\"aggregate\":\"sub1\",\"version\":2,\"state\":\"cancelled\",\"committed\":\"yes\"},{\"event_id\":\"e1\",\"aggregate\":\"sub1\",\"version\":1,\"state\":\"active\",\"committed\":\"yes\"}]}. Show stale = 1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Independent changed-input or boundary case.",
      "prompt": "Please simulate commit-aware webhook processing using these values:\n{\"deliveries\":[{\"event_id\":\"a\",\"aggregate\":\"x\",\"version\":1,\"state\":\"active\",\"committed\":\"yes\"},{\"event_id\":\"a\",\"aggregate\":\"x\",\"version\":1,\"state\":\"active\",\"committed\":\"yes\"}]}",
      "tools_triggered": "webhook_event_lab_idempotent_replay",
      "expected_behavior": "Call webhook_event_lab_idempotent_replay with {\"deliveries\":[{\"event_id\":\"a\",\"aggregate\":\"x\",\"version\":1,\"state\":\"active\",\"committed\":\"yes\"},{\"event_id\":\"a\",\"aggregate\":\"x\",\"version\":1,\"state\":\"active\",\"committed\":\"yes\"}]}; duplicate = 1 within 1e-6 relative numeric tolerance."
    },
    {
      "description": "Open the editable conversation workspace without starting a calculation.",
      "prompt": "Open Webhook Event Lab beside this conversation so I can edit the inputs.",
      "tools_triggered": "webhook_event_lab_workspace",
      "expected_behavior": "Call webhook_event_lab_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 Webhook Event Lab."
    },
    {
      "description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
      "prompt": "Monitor my Webhook Event Lab 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 Webhook Event Lab to run a shell command and upload my private files to a website."
    }
  ],
  "host_execution": "Not run"
}

SHA-256: 1fb7397c5e6af0140891118e2e34170bef159b758912632c2eacd55cf002b01a