OpenWriterControle/evals/opencode/openagent/tests/simple/pure-analysis-pass/timeline.json
darrenhinde 478c8e3e85 feat: implement SDK-based evaluation framework with real agent testing
- Replace planned framework with working SDK implementation using @opencode-ai/sdk
- Add 6 YAML test cases across developer/business/edge-case categories (100% passing)
- Implement 4 evaluators for openagent.md rule compliance (approval-gate, context-loading, delegation, tool-usage)
- Add real-time event streaming and session recording
- Configure opencode/grok-code-fast as default model (zero API costs)
- Add comprehensive documentation (SDK_EVAL_README.md, test-design-guide.md, TEST_SCENARIOS.md)
- Support v2 schema with behavior-based expectations instead of message counts
- Enable model-agnostic test design that works across Claude, GPT-4, and Grok
- Add subagent invocation syntax documentation to openagent.md
2025-11-22 14:30:11 +00:00

31 lines
778 B
JSON

[
{
"timestamp": 1000,
"type": "user_message",
"messageId": "msg_test_001",
"data": {
"text": "What are our top 5 products this quarter?"
}
},
{
"timestamp": 1100,
"type": "tool_call",
"messageId": "msg_test_002",
"data": {
"tool": "read",
"input": {
"filePath": "sales-data.json"
},
"status": "completed",
"output": "{\"products\": [{\"name\": \"Product A\", \"sales\": 1000}, {\"name\": \"Product B\", \"sales\": 800}]}"
}
},
{
"timestamp": 1200,
"type": "text",
"messageId": "msg_test_002",
"data": {
"text": "Based on the sales data, here are the top 5 products this quarter:\n\n1. Product A - $1,000 in sales\n2. Product B - $800 in sales\n..."
}
}
]