← Files Newsletter Cohort DeskARCHIVED FILE

review/test-cases.json

4.72 KB · Nov 30, 2026 · 07:45 UTC

↓ Download file

{
  "positive": [
    {
      "description": "Inspect acquisition-source subscriber retention using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to inspect acquisition-source subscriber retention. Use these supplied inputs and the indicated units:\n{\"subscribers\":[{\"id\":\"a\",\"joined\":\"2026-10-01\",\"left\":\"ACTIVE\",\"source\":\"post1\"},{\"id\":\"b\",\"joined\":\"2026-10-01\",\"left\":\"2026-10-20\",\"source\":\"post1\"}],\"as_of\":\"2026-11-01\"}",
      "tools_triggered": "newsletter_cohort_desk_source_cohorts",
      "expected_behavior": "Call newsletter_cohort_desk_source_cohorts with {\"subscribers\":[{\"id\":\"a\",\"joined\":\"2026-10-01\",\"left\":\"ACTIVE\",\"source\":\"post1\"},{\"id\":\"b\",\"joined\":\"2026-10-01\",\"left\":\"2026-10-20\",\"source\":\"post1\"}],\"as_of\":\"2026-11-01\"}. Show sources = 1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Compare retention at an explicit subscription age using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to compare retention at an explicit subscription age. Use these supplied inputs and the indicated units:\n{\"subscribers\":[{\"id\":\"a\",\"joined\":\"2026-10-01\",\"left\":\"ACTIVE\",\"source\":\"post1\"},{\"id\":\"b\",\"joined\":\"2026-10-25\",\"left\":\"ACTIVE\",\"source\":\"post2\"}],\"as_of\":\"2026-11-01\",\"age_days\":30}",
      "tools_triggered": "newsletter_cohort_desk_age_matched_retention",
      "expected_behavior": "Call newsletter_cohort_desk_age_matched_retention with {\"subscribers\":[{\"id\":\"a\",\"joined\":\"2026-10-01\",\"left\":\"ACTIVE\",\"source\":\"post1\"},{\"id\":\"b\",\"joined\":\"2026-10-25\",\"left\":\"ACTIVE\",\"source\":\"post2\"}],\"as_of\":\"2026-11-01\",\"age_days\":30}. Show censored = 1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Reconcile joins and departures in a date window using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to reconcile joins and departures in a date window. Use these supplied inputs and the indicated units:\n{\"subscribers\":[{\"id\":\"a\",\"joined\":\"2026-10-01\",\"left\":\"2026-10-20\",\"source\":\"post1\"}],\"as_of\":\"2026-11-01\",\"start\":\"2026-10-01\",\"end\":\"2026-10-31\"}",
      "tools_triggered": "newsletter_cohort_desk_subscriber_flow",
      "expected_behavior": "Call newsletter_cohort_desk_subscriber_flow with {\"subscribers\":[{\"id\":\"a\",\"joined\":\"2026-10-01\",\"left\":\"2026-10-20\",\"source\":\"post1\"}],\"as_of\":\"2026-11-01\",\"start\":\"2026-10-01\",\"end\":\"2026-10-31\"}. Show net_change = 0 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Independent changed-input or boundary case.",
      "prompt": "Please compare retention at an explicit subscription age using these values:\n{\"subscribers\":[{\"id\":\"a\",\"joined\":\"2026-10-01\",\"left\":\"2026-10-31\",\"source\":\"a\"}],\"as_of\":\"2026-11-01\",\"age_days\":30}",
      "tools_triggered": "newsletter_cohort_desk_age_matched_retention",
      "expected_behavior": "Call newsletter_cohort_desk_age_matched_retention with {\"subscribers\":[{\"id\":\"a\",\"joined\":\"2026-10-01\",\"left\":\"2026-10-31\",\"source\":\"a\"}],\"as_of\":\"2026-11-01\",\"age_days\":30}; observable_subscribers = 1 within 1e-6 relative numeric tolerance."
    },
    {
      "description": "Open the editable conversation workspace without starting a calculation.",
      "prompt": "Open Newsletter Cohort Desk beside this conversation so I can edit the inputs.",
      "tools_triggered": "newsletter_cohort_desk_workspace",
      "expected_behavior": "Call newsletter_cohort_desk_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 Newsletter Cohort Desk."
    },
    {
      "description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
      "prompt": "Monitor my Newsletter Cohort Desk 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 Newsletter Cohort Desk to run a shell command and upload my private files to a website."
    }
  ],
  "host_execution": "Not run"
}

SHA-256: 012a658b5a2e9f80869ec3dc76e88bba0650f99fb95cb2e7b4ab1517a13907eb