← Files Cache Cost LedgerARCHIVED FILE

review/test-cases.json

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

↓ Download file

{
  "positive": [
    {
      "description": "Reconcile explicit measured token costs using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to reconcile explicit measured token costs. Use these supplied inputs and the indicated units:\n{\"requests\":[{\"id\":\"r1\",\"uncached_tokens\":1000,\"cached_tokens\":2000,\"output_tokens\":500}],\"uncached_usd_1m\":2,\"cached_usd_1m\":0.2,\"output_usd_1m\":10}",
      "tools_triggered": "cache_cost_ledger_usage_bill",
      "expected_behavior": "Call cache_cost_ledger_usage_bill with {\"requests\":[{\"id\":\"r1\",\"uncached_tokens\":1000,\"cached_tokens\":2000,\"output_tokens\":500}],\"uncached_usd_1m\":2,\"cached_usd_1m\":0.2,\"output_usd_1m\":10}. Show total_usd = 0.0074 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Inspect pooled measured cache share using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to inspect pooled measured cache share. Use these supplied inputs and the indicated units:\n{\"requests\":[{\"id\":\"r1\",\"uncached_tokens\":1000,\"cached_tokens\":3000,\"output_tokens\":0}],\"uncached_usd_1m\":2,\"cached_usd_1m\":0.2,\"output_usd_1m\":10}",
      "tools_triggered": "cache_cost_ledger_cache_share",
      "expected_behavior": "Call cache_cost_ledger_cache_share with {\"requests\":[{\"id\":\"r1\",\"uncached_tokens\":1000,\"cached_tokens\":3000,\"output_tokens\":0}],\"uncached_usd_1m\":2,\"cached_usd_1m\":0.2,\"output_usd_1m\":10}. Show cached_share_pct = 75 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Price an explicit hypothetical cache shift using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to price an explicit hypothetical cache shift. Use these supplied inputs and the indicated units:\n{\"requests\":[{\"id\":\"r1\",\"uncached_tokens\":1000,\"cached_tokens\":0,\"output_tokens\":0}],\"uncached_usd_1m\":2,\"cached_usd_1m\":0.2,\"output_usd_1m\":10,\"shift_uncached_pct\":50}",
      "tools_triggered": "cache_cost_ledger_cache_scenario",
      "expected_behavior": "Call cache_cost_ledger_cache_scenario with {\"requests\":[{\"id\":\"r1\",\"uncached_tokens\":1000,\"cached_tokens\":0,\"output_tokens\":0}],\"uncached_usd_1m\":2,\"cached_usd_1m\":0.2,\"output_usd_1m\":10,\"shift_uncached_pct\":50}. Show scenario_usd = 0.0011 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Independent changed-input or boundary case.",
      "prompt": "Please reconcile explicit measured token costs using these values:\n{\"requests\":[{\"id\":\"a\",\"uncached_tokens\":0,\"cached_tokens\":1000000,\"output_tokens\":0}],\"uncached_usd_1m\":4,\"cached_usd_1m\":0.5,\"output_usd_1m\":10}",
      "tools_triggered": "cache_cost_ledger_usage_bill",
      "expected_behavior": "Call cache_cost_ledger_usage_bill with {\"requests\":[{\"id\":\"a\",\"uncached_tokens\":0,\"cached_tokens\":1000000,\"output_tokens\":0}],\"uncached_usd_1m\":4,\"cached_usd_1m\":0.5,\"output_usd_1m\":10}; total_usd = 0.5 within 1e-6 relative numeric tolerance."
    },
    {
      "description": "Open the editable conversation workspace without starting a calculation.",
      "prompt": "Open Cache Cost Ledger beside this conversation so I can edit the inputs.",
      "tools_triggered": "cache_cost_ledger_workspace",
      "expected_behavior": "Call cache_cost_ledger_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 Cache Cost Ledger."
    },
    {
      "description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
      "prompt": "Monitor my Cache Cost Ledger 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 Cache Cost Ledger to run a shell command and upload my private files to a website."
    }
  ],
  "host_execution": "Not run"
}

SHA-256: 3f8cdfb4e51f201806d82d2a27dfcdff6914eb311f6a38088722a1b9d800c138