mod check#

module check#

Corpus quality checks for a configured shared id prefix.

Functions

fn check_corpus(root: &Path, prefix: &str) -> Result<CheckReport>#

Run all quality rules over a corpus directory using prefix (from config/CLI).

fn check_responses(docs: &[CannedResponse], prefix: &str) -> CheckReport#

Pure quality rules over already-loaded responses (unit-testable).

fn format_check_report(report: &CheckReport) -> String#

Format a human-readable check report.

Structs and Unions

struct CheckFinding#

One quality finding.

path: String#
id: String#
code: String#
message: String#
struct CheckReport#

Aggregated quality report.

findings: Vec<CheckFinding>#
checked: usize#

Implementations

impl CheckReport#

Functions

fn ok(&self) -> bool#
fn summary_line(&self) -> String#