Expand description
Pipeline verification & visualization system (APR-VERIFY-001) Pipeline Verification & Visualization System (APR-VERIFY-001)
Deterministic, visual pipeline verification for ML model debugging. Combines Pixar/Weta-style stage gates with Probar-style TUI testing.
§Overview
This module provides systematic ground truth comparison at each pipeline stage, enabling rapid identification of divergence points in ML inference pipelines.
§Example
ⓘ
use aprender::verify::{Pipeline, Stage, GroundTruth, Tolerance};
let pipeline = Pipeline::builder("whisper-tiny")
.stage("mel")
.ground_truth(GroundTruth::from_stats(0.0, -0.215, 0.448))
.tolerance(Tolerance::percent(5.0))
.build_stage()
.build()
.expect("valid pipeline config");
let result = pipeline.verify(&input_data);
assert!(result.all_passed());Structs§
- Delta
- Delta represents the divergence between computed output and ground truth.
- Ground
Truth - Ground truth statistics for a tensor at a pipeline stage.
- Pipeline
- A verification pipeline consisting of multiple stages.
- Pipeline
Builder - Builder for constructing pipelines.
- Stage
- Definition of a pipeline stage.
- Stage
Builder - Builder for constructing stages.
- Stage
Result - Result of verifying a single stage.
- Verify
Report - Report of pipeline verification results.
Enums§
- Metric
- Statistical divergence metrics for comparison.
- Stage
Status - Status of a stage verification.
- Tolerance
- Tolerance threshold for pipeline stage verification.