Files
2026-07-13 12:58:18 +08:00

64 lines
2.6 KiB
JSON

{
"_meta": {
"description": "D6 fixtures for ms-agent-python / byoc",
"sourceFile": "harness/fixtures/d5/feature-parity.json",
"created": "2026-05-22"
},
"fixtures": [
{
"_comment": "byoc-hashbrown pill: Sales dashboard with metric card + pie chart + bar chart. The BYOC renderer materializes the structured JSON as DOM components.",
"match": {
"userMessage": "Q4 sales dashboard",
"hasToolResult": false,
"context": "ms-agent-python"
},
"response": {
"toolCalls": [
{
"id": "call_d6_byoc_sales_dashboard_001",
"name": "render_dashboard",
"arguments": "{\"metrics\":[{\"label\":\"Total Revenue\",\"value\":\"$4.2M\",\"trend\":\"up\"},{\"label\":\"New Customers\",\"value\":\"1,247\",\"trend\":\"up\"},{\"label\":\"Churn Rate\",\"value\":\"1.8%\",\"trend\":\"down\"}],\"charts\":[{\"type\":\"pie\",\"title\":\"Revenue by Segment\",\"data\":[{\"label\":\"Enterprise\",\"value\":2100},{\"label\":\"SMB\",\"value\":1400},{\"label\":\"Startup\",\"value\":700}]},{\"type\":\"bar\",\"title\":\"Monthly Revenue\",\"data\":[{\"label\":\"Oct\",\"value\":1200},{\"label\":\"Nov\",\"value\":1400},{\"label\":\"Dec\",\"value\":1600}]}]}"
}
]
}
},
{
"match": {
"userMessage": "Q4 sales dashboard",
"hasToolResult": true,
"context": "ms-agent-python"
},
"response": {
"content": "Here is the Q4 sales dashboard with total revenue at $4.2M, a pie chart showing revenue by segment, and a bar chart of monthly revenue."
}
},
{
"_comment": "byoc-json-render pill: shorter prompt variant.",
"match": {
"userMessage": "sales dashboard with metrics",
"hasToolResult": false,
"context": "ms-agent-python"
},
"response": {
"toolCalls": [
{
"id": "call_d6_byoc_json_render_001",
"name": "render_dashboard",
"arguments": "{\"metrics\":[{\"label\":\"Revenue\",\"value\":\"$3.8M\",\"trend\":\"up\"},{\"label\":\"Active Users\",\"value\":\"12,430\",\"trend\":\"up\"}],\"charts\":[{\"type\":\"bar\",\"title\":\"Revenue Trend\",\"data\":[{\"label\":\"Q1\",\"value\":820},{\"label\":\"Q2\",\"value\":940},{\"label\":\"Q3\",\"value\":1080},{\"label\":\"Q4\",\"value\":960}]}]}"
}
]
}
},
{
"match": {
"userMessage": "sales dashboard with metrics",
"hasToolResult": true,
"context": "ms-agent-python"
},
"response": {
"content": "The sales dashboard is rendered above with revenue metrics and a revenue trend chart."
}
}
]
}