(index, size, turn, generation, timestamp_ms)
| 61 | |
| 62 | |
| 63 | def envelope(index, size, turn, generation, timestamp_ms): |
| 64 | raw = tool_payload(index, size, turn) |
| 65 | return {"schema_version": 1, "event_id": f"bench-event-{turn}-{index}", |
| 66 | "session_id": SESSION, "turn_number": turn, "generation": generation, |
| 67 | "timestamp_ms": timestamp_ms + index, "causal_parent_ids": [], |
| 68 | "event": {"type": "tool", "phase": "after", "tool_name": raw["tool_name"], |
| 69 | "tool_call_id": raw["tool_use_id"], "input": raw["tool_input"], |
| 70 | "output": raw["tool_output"], "status": "completed", "raw": raw}} |
| 71 | |
| 72 | |
| 73 | class Fixture: |
no test coverage detected