MCPcopy Create free account
hub / github.com/docker/model-test / TestResult

Struct TestResult

models/test_result.go:8–18  ·  view source on GitHub ↗

TestResult represents the result of a single test execution

Source from the content-addressed store, hash-verified

6
7// TestResult represents the result of a single test execution
8type TestResult struct {
9 TestExecution TestExecution `json:"test_execution"`
10 Metrics TestMetrics `json:"metrics"`
11 ActualTools []ActualToolCall `json:"actual_tools"`
12 Success bool `json:"success"`
13 MatchedPath string `json:"matched_path,omitempty"` // Which path variant was matched (if any)
14 ErrorMessage string `json:"error_message,omitempty"`
15 Timestamp time.Time `json:"timestamp"`
16 Request *APIRequest `json:"request,omitempty"`
17 Response *APIResponse `json:"response,omitempty"`
18}
19
20// TestMetrics contains all efficiency metrics for a test
21type TestMetrics struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected