TestCaseFlakinessResponse
Fields
Computed flakiness for the in-window timeline.
9 fields
classification- string
failed- integer
failure_rate- number
failure_rate_pct- number
impact_score- number
is_flaky- boolean
passed- integer
total_runs- integer
window_days- integer
Raw schema (JSON)
{
"description": "Computed flakiness for the in-window timeline.\n\n``failure_rate``/``failure_rate_pct`` match ``analytics_service.flaky_tests``;\n``classification`` + ``impact_score`` reuse ``test_health_coach_service``\nthresholds (no new formula).",
"properties": {
"classification": {
"default": "HEALTHY",
"title": "Classification",
"type": "string"
},
"failed": {
"default": 0,
"title": "Failed",
"type": "integer"
},
"failure_rate": {
"default": 0,
"title": "Failure Rate",
"type": "number"
},
"failure_rate_pct": {
"default": 0,
"title": "Failure Rate Pct",
"type": "number"
},
"impact_score": {
"default": 0,
"title": "Impact Score",
"type": "number"
},
"is_flaky": {
"default": false,
"title": "Is Flaky",
"type": "boolean"
},
"passed": {
"default": 0,
"title": "Passed",
"type": "integer"
},
"total_runs": {
"default": 0,
"title": "Total Runs",
"type": "integer"
},
"window_days": {
"default": 30,
"title": "Window Days",
"type": "integer"
}
},
"title": "TestCaseFlakinessResponse",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
GET/api/v1/runs/{run_id}/tests/{test_id}/history— Get Test Case History Endpoint
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON