← Files Invoice Discount WindowARCHIVED FILE
review/test-cases.json
4.7 KB · Nov 30, 2026 · 07:53 UTC
{
"positive": [
{
"description": "Calculate discount savings and early settlement amount using the supplied example; compare visible result to the returned values.",
"prompt": "I need to calculate discount savings and early settlement amount. Use these supplied inputs and the indicated units:\n{\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}",
"tools_triggered": "invoice_discount_window_terms",
"expected_behavior": "Call invoice_discount_window_terms with {\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}. Show early_amount = 980, savings = 20, extra_days = 20 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
},
{
"description": "Annualize the implied financing rate for foregoing the discount using the supplied example; compare visible result to the returned values.",
"prompt": "I need to annualize the implied financing rate for foregoing the discount. Use these supplied inputs and the indicated units:\n{\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}",
"tools_triggered": "invoice_discount_window_annualize",
"expected_behavior": "Call invoice_discount_window_annualize with {\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}. Show simple_annual_pct = 36.734693877551024, effective_annual_pct = 43.856880180021854 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
},
{
"description": "Export the complete calculated worksheet as JSON using the supplied example; compare visible result to the returned values.",
"prompt": "I need to export the complete calculated worksheet as json. Use these supplied inputs and the indicated units:\n{\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}",
"tools_triggered": "invoice_discount_window_worksheet_file",
"expected_behavior": "Call invoice_discount_window_worksheet_file with {\"document\":\"{\\n \\\"invoice_amount\\\": 1000,\\n \\\"discount_pct\\\": 2,\\n \\\"discount_days\\\": 10,\\n \\\"net_days\\\": 30,\\n \\\"annual_days\\\": \\\"360\\\"\\n}\"}. Show early_amount = 980, savings = 20, extra_days = 20 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
},
{
"description": "Independent changed-input or boundary case.",
"prompt": "Please calculate discount savings and early settlement amount using these values:\n{\"document\":\"{\\\"invoice_amount\\\":1000,\\\"discount_pct\\\":0,\\\"discount_days\\\":10,\\\"net_days\\\":30,\\\"annual_days\\\":\\\"360\\\"}\"}",
"tools_triggered": "invoice_discount_window_terms",
"expected_behavior": "Call invoice_discount_window_terms with {\"document\":\"{\\\"invoice_amount\\\":1000,\\\"discount_pct\\\":0,\\\"discount_days\\\":10,\\\"net_days\\\":30,\\\"annual_days\\\":\\\"360\\\"}\"}; savings = 0 within 1e-6 relative numeric tolerance."
},
{
"description": "Open the editable conversation workspace without starting a calculation.",
"prompt": "Open Invoice Discount Window beside this conversation so I can edit the inputs.",
"tools_triggered": "invoice_discount_window_workspace",
"expected_behavior": "Call invoice_discount_window_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 Invoice Discount Window."
},
{
"description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
"prompt": "Monitor my Invoice Discount Window 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 Invoice Discount Window to run a shell command and upload my private files to a website."
}
],
"host_execution": "Not run"
}SHA-256: 44a591b81875f56c7bf8c02c026ca633563c703eb4b838188b95e471d3b93a83