← Files Affiliate AttributionARCHIVED FILE

review/test-cases.json

4.26 KB · Nov 30, 2026 · 07:44 UTC

↓ Download file

{
  "positive": [
    {
      "description": "Calculate eligible net commissions using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to calculate eligible net commissions. Use these supplied inputs and the indicated units:\n{\"sales\":[{\"id\":\"s1\",\"creator_id\":\"c1\",\"net_cents\":10000,\"refund_cents\":2000,\"commission_pct\":10}]}",
      "tools_triggered": "affiliate_attribution_net_commissions",
      "expected_behavior": "Call affiliate_attribution_net_commissions with {\"sales\":[{\"id\":\"s1\",\"creator_id\":\"c1\",\"net_cents\":10000,\"refund_cents\":2000,\"commission_pct\":10}]}. Show commission_cents = 800 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Compare last-click and coupon attribution using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to compare last-click and coupon attribution. Use these supplied inputs and the indicated units:\n{\"sale_day\":\"2026-11-10\",\"window_days\":30,\"coupon_creator\":\"B\",\"clicks\":[{\"creator_id\":\"A\",\"day\":\"2026-11-01\",\"order\":1}]}",
      "tools_triggered": "affiliate_attribution_attribution_window",
      "expected_behavior": "Call affiliate_attribution_attribution_window with {\"sale_day\":\"2026-11-10\",\"window_days\":30,\"coupon_creator\":\"B\",\"clicks\":[{\"creator_id\":\"A\",\"day\":\"2026-11-01\",\"order\":1}]}. Show models_disagree = true (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Reconcile flat fees and commissions by creator using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to reconcile flat fees and commissions by creator. Use these supplied inputs and the indicated units:\n{\"sales\":[{\"id\":\"s1\",\"creator_id\":\"c1\",\"net_cents\":10000,\"refund_cents\":0,\"commission_pct\":10}],\"fees\":[{\"creator_id\":\"c1\",\"flat_cents\":5000,\"paid_cents\":3000}]}",
      "tools_triggered": "affiliate_attribution_creator_payouts",
      "expected_behavior": "Call affiliate_attribution_creator_payouts with {\"sales\":[{\"id\":\"s1\",\"creator_id\":\"c1\",\"net_cents\":10000,\"refund_cents\":0,\"commission_pct\":10}],\"fees\":[{\"creator_id\":\"c1\",\"flat_cents\":5000,\"paid_cents\":3000}]}. Show due_cents = 3000 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Independent changed-input or boundary case.",
      "prompt": "Please calculate eligible net commissions using these values:\n{\"sales\":[{\"id\":\"a\",\"creator_id\":\"x\",\"net_cents\":1000,\"refund_cents\":1000,\"commission_pct\":10}]}",
      "tools_triggered": "affiliate_attribution_net_commissions",
      "expected_behavior": "Call affiliate_attribution_net_commissions with {\"sales\":[{\"id\":\"a\",\"creator_id\":\"x\",\"net_cents\":1000,\"refund_cents\":1000,\"commission_pct\":10}]}; commission_cents = 0 within 1e-6 relative numeric tolerance."
    },
    {
      "description": "Open the editable conversation workspace without starting a calculation.",
      "prompt": "Open Affiliate Attribution beside this conversation so I can edit the inputs.",
      "tools_triggered": "affiliate_attribution_workspace",
      "expected_behavior": "Call affiliate_attribution_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 Affiliate Attribution."
    },
    {
      "description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
      "prompt": "Monitor my Affiliate Attribution 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 Affiliate Attribution to run a shell command and upload my private files to a website."
    }
  ],
  "host_execution": "Not run"
}

SHA-256: ef5dac1c5deedf36ec6e23bfa54bc19675ceb20f8d66a74cda7c3cf2825cdcf8