pystamps.verify

Data classes

NameFields
FileComparisonrelative_path:str, ok:bool, message:str
VerificationReportcomparisons:list[FileComparison]

verify_run_against_golden(run_root, golden_root, tolerance, patterns=DEFAULT_GLOBS)

def verify_run_against_golden(run_root: str|Path, golden_root: str|Path, tolerance: ToleranceConfig, patterns: tuple[str,...]=DEFAULT_GLOBS) -> VerificationReport

Compares numeric MAT payloads with tolerance and fallback size checks for non-MAT files.

Returns report with one FileComparison per matched artifact.

Exceptions: none from function body; compares continue per file.

Inferred: Missing golden dataset yields one failed comparison entry <dataset>.