MetricsHarness class
Runs the validation corpus and computes per-rule precision, recall and false-positive rate — the measured correctness that the 1.0 bar rests on.
See context/Stage2/10_QUALITY_AND_CORRECTNESS.md: trust is the product, and
it is a measured quantity, not a claim.
- Annotations
-
- @experimental
Constructors
-
MetricsHarness({Auditor? auditor, Map<
String, Confidence> ? confidenceByRule}) - Creates a harness.
Properties
-
confidenceByRule
→ Map<
String, Confidence> -
How each rule is classified (deterministic vs heuristic), used by the gate.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
List< CorpusCase> cases) → Future<CorpusMetrics> -
Runs every case in
casesand aggregates the metrics. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited