Skip to content

docs: add ADR-0004 (comparison facts vs. evaluation verdicts) - #36

Merged
AamiriYouness merged 1 commit into
mainfrom
docs/adr-0004-comparison-facts-vs-verdicts
Aug 5, 2026
Merged

AamiriYouness merged 1 commit into
mainfrom
docs/adr-0004-comparison-facts-vs-verdicts

Conversation

@AamiriYouness

@AamiriYouness AamiriYouness commented Aug 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Documents the architectural decision underlying the whole v0.4.0 compare
milestone: BenchmarkComparisonEngine owns arithmetic and produces facts
(ComparisonResult); RegressionEvaluator owns policy interpretation and
produces verdicts (SuiteDecision). Neither duplicates the other.

Follows the same template as ADR-0003 (Status/Context/Decision/Consequences

  • an Addendum for implementation-detail decisions attributed per issue).

Pure documentation — no code changes.

Files

  • docs/adr/0004-comparison-facts-vs-evaluation-verdicts.md (new)

Testing checklist

  • N/A — documentation only

Records the v0.4.0 architectural split between BenchmarkComparisonEngine
(owns arithmetic, produces ComparisonResult) and RegressionEvaluator (owns
policy interpretation, produces SuiteDecision), plus five addendum
decisions that emerged during implementation:

- MetricCatalog's closed/immutable design (#21)
- UnitMismatch's deferral pending source-unit metadata (#26)
- The rejected idea of persisting coefficient of variation in
  ComparisonResult (#26/#30)
- RegressionEvaluator's invalid-value-skip behavior change from the
  pre-v0.4.0 evaluator (#27)
- SuiteDecision's canonical-ordering behavior change from the pre-v0.4.0
  evaluator (#27)

Pure documentation. No code changes.
@AamiriYouness
AamiriYouness merged commit 1beb6a4 into main Aug 5, 2026
1 check passed
@AamiriYouness
AamiriYouness deleted the docs/adr-0004-comparison-facts-vs-verdicts branch August 5, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant