|
| 1 | +{ |
| 2 | + "status": "COMPLETED", |
| 3 | + "startTime": "2024-11-28T12:00:00Z", |
| 4 | + "endTime": "2024-11-28T12:05:00Z", |
| 5 | + "errorMessage": null, |
| 6 | + "testCases": [ |
| 7 | + { |
| 8 | + "status": "COMPLETED", |
| 9 | + "number": 1, |
| 10 | + "startTime": "2024-11-28T12:00:10Z", |
| 11 | + "endTime": "2024-11-28T12:00:20Z", |
| 12 | + "generatedData": { |
| 13 | + "type": "AGENT", |
| 14 | + "actionsSequence": ["Action1", "Action2"], |
| 15 | + "outcome": "Success", |
| 16 | + "topic": "Mathematics", |
| 17 | + "inputTokensCount": 50, |
| 18 | + "outputTokensCount": 55 |
| 19 | + }, |
| 20 | + "expectationResults": [ |
| 21 | + { |
| 22 | + "name": "topic_sequence_match", |
| 23 | + "actualValue": "Result A", |
| 24 | + "expectedValue": "Result A", |
| 25 | + "score": 1.0, |
| 26 | + "result": "Passed", |
| 27 | + "metricLabel": "Accuracy", |
| 28 | + "metricExplainability": "Measures the correctness of the result.", |
| 29 | + "status": "Completed", |
| 30 | + "startTime": "2024-11-28T12:00:12Z", |
| 31 | + "endTime": "2024-11-28T12:00:13Z", |
| 32 | + "errorCode": null, |
| 33 | + "errorMessage": null |
| 34 | + }, |
| 35 | + { |
| 36 | + "name": "action_sequence_match", |
| 37 | + "actualValue": "Result B", |
| 38 | + "expectedValue": "Result B", |
| 39 | + "score": 0.9, |
| 40 | + "result": "Passed", |
| 41 | + "metricLabel": "Precision", |
| 42 | + "metricExplainability": "Measures the precision of the result.", |
| 43 | + "status": "Completed", |
| 44 | + "startTime": "2024-11-28T12:00:14Z", |
| 45 | + "endTime": "2024-11-28T12:00:15Z", |
| 46 | + "errorCode": null, |
| 47 | + "errorMessage": null |
| 48 | + } |
| 49 | + ] |
| 50 | + }, |
| 51 | + { |
| 52 | + "status": "ERROR", |
| 53 | + "number": 2, |
| 54 | + "startTime": "2024-11-28T12:00:30Z", |
| 55 | + "endTime": "2024-11-28T12:00:40Z", |
| 56 | + "generatedData": { |
| 57 | + "type": "AGENT", |
| 58 | + "actionsSequence": ["Action3", "Action4"], |
| 59 | + "outcome": "Failure", |
| 60 | + "topic": "Physics", |
| 61 | + "inputTokensCount": 60, |
| 62 | + "outputTokensCount": 50 |
| 63 | + }, |
| 64 | + "expectationResults": [ |
| 65 | + { |
| 66 | + "name": "topic_sequence_match", |
| 67 | + "actualValue": "Result C", |
| 68 | + "expectedValue": "Result D", |
| 69 | + "score": 0.5, |
| 70 | + "result": "Failed", |
| 71 | + "metricLabel": "Accuracy", |
| 72 | + "metricExplainability": "Measures the correctness of the result.", |
| 73 | + "status": "Completed", |
| 74 | + "startTime": "2024-11-28T12:00:32Z", |
| 75 | + "endTime": "2024-11-28T12:00:33Z", |
| 76 | + "errorCode": null, |
| 77 | + "errorMessage": "Expected \"Result D\" but got \"Result C\"." |
| 78 | + }, |
| 79 | + { |
| 80 | + "name": "topic_sequence_match", |
| 81 | + "actualValue": "Result C", |
| 82 | + "expectedValue": "Result D", |
| 83 | + "score": 0.5, |
| 84 | + "result": "Failed", |
| 85 | + "metricLabel": "Accuracy", |
| 86 | + "metricExplainability": "Measures the correctness of the result.", |
| 87 | + "status": "Completed", |
| 88 | + "startTime": "2024-11-28T12:00:32Z", |
| 89 | + "endTime": "2024-11-28T12:00:33Z", |
| 90 | + "errorCode": null, |
| 91 | + "errorMessage": "Expected \"Result D\" but got \"Result C\"." |
| 92 | + } |
| 93 | + ] |
| 94 | + } |
| 95 | + ] |
| 96 | +} |
0 commit comments