#[non_exhaustive]pub struct Case {
pub name: String,
pub group: Group,
pub input_line: usize,
pub why: Vec<String>,
pub inputs: Inputs,
pub construction_warnings: Vec<Warning>,
pub outcome: Outcome,
}Expand description
One case: its case line and its key lines (record.md §3, §5).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe case name.
group: GroupThe coverage group.
input_line: usizeThe 1-based corpus.jsonl line of the case line, which holds the case’s inputs
(record.md §3.1): where a diagnostic about generated inputs points.
why: Vec<String>Behavior catalog ids, in file order.
inputs: InputsThe inputs, with keys reconstructed when omitted (record.md §3.1).
construction_warnings: Vec<Warning>Filtered warnings logged before the first snapshot (record.md §7).
outcome: OutcomeWhether the config was constructed, and what was recorded if so.
Implementations§
Source§impl Case
impl Case
Sourcepub fn check_origin(&self) -> &str
pub fn check_origin(&self) -> &str
The stable origin of the case’s checks: what produced them, stripped of the naming a schema bump reshuffles (case.md §3.2, §3.2.1).
The baseline, behavior and unknown groups keep the case name. A depth case drops
the --<key> suffix of a bisection part, leaving depth-<variant>. The batched groups
(breadth, unsupported, excluded) drop the section batch and any --<key> suffix,
leaving <group>-<source>, since a recorded read’s own key member already names the
exact setting. This is an assertion identity for replay expectations, not a runtime case
filter or a category grouping.