class

Mrcv::Reliability::ReliabilityReport

Inherits Reference < Object

Encapsulates the complete 100-point Reliability Index evaluation, confidence tier, and diagnostics.

Constants

MAX_CONTIGUITY_SCORE = 30
MAX_DEPTH_SCORE = 50
MAX_SUBSTANCE_SCORE = 20
MAX_TOTAL_SCORE = 100

Constructors

new(depth_score : Int32, contiguity_score : Int32, substance_score : Int32, search_result : Search::SearchResult, diagnostics : Array(String) = [] of String, caveats : Array(String) = [] of String, recommendations : Array(String) = [] of String, tier : Tier | Nil = nil)
Source

Instance methods

bronze?

Returns true if confidence tier is Bronze (40-69 pts).

Source
caveats
Source
contiguity_description

Human-readable breakdown explanation for the Matrix Contiguity vector.

Source
contiguity_score
Source
depth_description

Human-readable breakdown explanation for the Verification Depth vector.

Source
depth_score
Source
diagnostics
Source
gold?

Returns true if confidence tier is Gold (90-100 pts).

Source
has_caveats?

Returns true if any caveats were noted.

Source
has_recommendations?

Returns true if any recommendations were generated.

Source
has_warnings?

Returns true if any diagnostic warnings were generated.

Source
low?

Returns true if confidence tier is Low (< 40 pts).

Source
recommendations
Source
score

Total reliability score out of 100.

Source
search_result
Source
silver?

Returns true if confidence tier is Silver (70-89 pts).

Source
substance_description

Human-readable breakdown explanation for the Spec Suite Substance vector.

Source
substance_score
Source
tier
Source
to_json(json : JSON::Builder) : Nil

Serializes report to JSON format conforming to the MRCV specification.

Source
to_s(io : IO) : Nil

Formats human-readable summary of the reliability report.

Source
total_score
Source