Repository navigation
Labels
Milestone
Description
Reporting: Comparison reporters
What
Add console, JSON, and Markdown reporters for ComparisonResult. No pass/fail/warning/regression/stability verdict may ever appear in this output — that vocabulary belongs to SuiteDecision's reporters, not these.
Add
ConsoleComparisonReporterJsonComparisonReporterMarkdownComparisonReporter- No JUnit — a policy-free comparison has no test verdict; JUnit's
<failure>element would misrepresent "slower" as "failed"
Scope
- Console: benchmark counts (comparable/added/removed), per-benchmark metric deltas with direction, added/removed benchmark names listed separately
- JSON: own
schemaVersion = 1, independently versioned fromJsonDecisionReporter,JsonValidationReporter, and the baseline/policy document schemas — never share a version counter with an unrelated document type - JSON preserves full numeric precision (no rounding); display rounding is a console/Markdown-only concern
- Markdown: describes change (useful for PR comments/build summaries), does not imitate a
checkreport with the verdict column removed - All three formats render
Added/Removedbenchmarks and every non-ComparableMetricComparisonStatusdistinctly, not silently dropped
Acceptance criteria
- No
Passed/Warning/Regressed/Unstablestring or status concept appears anywhere in any of the three reporters — enforced by a test grep/assertion, not just review - Golden-file or snapshot tests for console and Markdown output shape
- JSON schema test confirms full precision is preserved (no rounding in the serialized document)
Out of scope for this issue
The CLI command that invokes these (#29).
Depends on: #30.
Activity
Add immutable comparison-document types
Add immutable comparison-document types (#32)
Add comparison reporters: Console, JSON, Markdown
Add comparison reporters: Console, JSON, Markdown
Add benchmark-gate compare command
Add benchmark-gate compare command (#37)
Add ADR-0004 (versioned artifacts) and ADR-0005 (comparison facts vs.…
Release v0.4.0-alpha.1 (#39)