Skip to main content

eval_magic/pipeline/
mod.rs

1//! The post-dispatch processing chain: stateless JSON-in/JSON-out stages.
2//!
3//! Chain order:
4//! `record-runs` → `fill-transcripts` → `detect-stray-writes` → `grade` →
5//! `aggregate`. Each stage reads JSON/JSONL artifacts from an iteration directory
6//! and writes JSON back; no stage pipes to another in-memory, so any stage can
7//! be run (and re-run) standalone.
8
9pub mod aggregate;
10pub mod detect_stray_writes;
11pub mod diff_scope;
12pub mod error;
13pub mod fill_transcripts;
14pub mod grade;
15pub mod io;
16pub mod record_runs;
17pub mod slots;
18
19pub use aggregate::{Benchmark, aggregate};
20pub use detect_stray_writes::{
21    StrayFinding, StrayWritesReport, detect_live_source_reads, detect_stray_writes,
22    detect_stray_writes_report,
23};
24pub use diff_scope::{
25    DiffScopeMetrics, DiffScopeSummary, capture_iteration_baselines, measure_iteration_diff_scopes,
26};
27pub use error::PipelineError;
28pub use fill_transcripts::{FillTranscriptsResult, fill_transcripts};
29pub use grade::{GradeContext, emit_judge_tasks, finalize, grade_command_checks};
30pub use record_runs::{RecordRunsResult, record_runs};
31pub use slots::{RunSlot, run_slots};