← Files Allergen Trace MatrixARCHIVED FILE
review/test-cases.json
4.54 KB · Nov 30, 2026 · 07:52 UTC
{
"positive": [
{
"description": "Trace explicitly declared ingredient allergens using the supplied example; compare visible result to the returned values.",
"prompt": "I need to trace explicitly declared ingredient allergens. Use these supplied inputs and the indicated units:\n{\"items\":[{\"id\":\"cookie\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"mix\"]},{\"id\":\"mix\",\"allergens\":[\"wheat\",\"milk\"],\"declaration_known\":\"yes\",\"contains\":[]}],\"root\":\"cookie\"}",
"tools_triggered": "allergen_trace_matrix_allergen_provenance",
"expected_behavior": "Call allergen_trace_matrix_allergen_provenance with {\"items\":[{\"id\":\"cookie\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"mix\"]},{\"id\":\"mix\",\"allergens\":[\"wheat\",\"milk\"],\"declaration_known\":\"yes\",\"contains\":[]}],\"root\":\"cookie\"}. Show recorded_allergens = 2 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
},
{
"description": "Export a supplied-declaration review packet using the supplied example; compare visible result to the returned values.",
"prompt": "I need to export a supplied-declaration review packet. Use these supplied inputs and the indicated units:\n{\"items\":[{\"id\":\"cookie\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"mix\"]},{\"id\":\"mix\",\"allergens\":[\"wheat\"],\"declaration_known\":\"no\",\"contains\":[]}],\"root\":\"cookie\"}",
"tools_triggered": "allergen_trace_matrix_declaration_packet",
"expected_behavior": "Call allergen_trace_matrix_declaration_packet with {\"items\":[{\"id\":\"cookie\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"mix\"]},{\"id\":\"mix\",\"allergens\":[\"wheat\"],\"declaration_known\":\"no\",\"contains\":[]}],\"root\":\"cookie\"}. Show unknown_sources = 1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
},
{
"description": "Compare two explicit supplier declarations using the supplied example; compare visible result to the returned values.",
"prompt": "I need to compare two explicit supplier declarations. Use these supplied inputs and the indicated units:\n{\"before\":[\"wheat\"],\"after\":[\"wheat\",\"sesame\"]}",
"tools_triggered": "allergen_trace_matrix_declaration_change",
"expected_behavior": "Call allergen_trace_matrix_declaration_change with {\"before\":[\"wheat\"],\"after\":[\"wheat\",\"sesame\"]}. Show added = 1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
},
{
"description": "Independent changed-input or boundary case.",
"prompt": "Please trace explicitly declared ingredient allergens using these values:\n{\"items\":[{\"id\":\"a\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"b\"]},{\"id\":\"b\",\"allergens\":[],\"declaration_known\":\"no\",\"contains\":[]}],\"root\":\"a\"}",
"tools_triggered": "allergen_trace_matrix_allergen_provenance",
"expected_behavior": "Call allergen_trace_matrix_allergen_provenance with {\"items\":[{\"id\":\"a\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"b\"]},{\"id\":\"b\",\"allergens\":[],\"declaration_known\":\"no\",\"contains\":[]}],\"root\":\"a\"}; unknown_declarations = 1 within 1e-6 relative numeric tolerance."
},
{
"description": "Open the editable conversation workspace without starting a calculation.",
"prompt": "Open Allergen Trace Matrix beside this conversation so I can edit the inputs.",
"tools_triggered": "allergen_trace_matrix_workspace",
"expected_behavior": "Call allergen_trace_matrix_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 Allergen Trace Matrix."
},
{
"description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
"prompt": "Monitor my Allergen Trace Matrix 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 Allergen Trace Matrix to run a shell command and upload my private files to a website."
}
],
"host_execution": "Not run"
}SHA-256: 4746db88134faffec936b48d8b0531c03e9322b9f0b2ed0b71036dc83eb02142