Skip to main content

Baseline Object

The baseline object identifies a previous report used as a comparison reference when computing insights. It enables delta analysis between the current run and a known baseline, supporting trend detection and regression analysis.

info

The baseline object is optional and is typically added by consumers during post-processing rather than by test reporters directly.

Properties​

PropertyTypeRequiredDescription
reportIdStringRequiredThe UUID of the baseline report. Must be a valid UUID.
timestampStringOptionalWhen the baseline report was generated (RFC 3339 / ISO 8601 format).
sourceStringOptionalA descriptive label (such as a branch or environment) or URL identifying the baseline report or its source. No specific format is required.
buildNumberIntegerOptionalThe build number of the baseline run.
buildNameStringOptionalThe build name of the baseline run.
buildUrlStringOptionalURL to the baseline build for reference.
commitStringOptionalGit commit SHA of the baseline run.
extraObjectOptionalExtension point for arbitrary baseline-related metadata.

Example​

"baseline": {
"reportId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2025-01-20T10:30:00Z",
"source": "https://reports.example.com/ctrf/550e8400",
"buildName": "main-pipeline",
"buildNumber": 1540,
"buildUrl": "https://ci.example.com/builds/1540",
"commit": "f1e2d3c4b5a6"
}

Usage with Insights​

The baseline is used in conjunction with the Insights Object to compute metric deltas. When a baseline is specified, insight metrics can include both current and baseline values, along with the computed change between them.