eval_magic/core/mod.rs
1//! Shared kernel used by nearly every other module.
2//!
3//! - [`types`] — domain types (`Eval`, `RunRecord`, `Assertion`, `GradingResult`, …)
4//! - [`context`] — `RunContext` detection from parsed flags / environment
5//! - [`capabilities`] — per-harness run-option capabilities
6//! - [`runtime`] — runtime helpers (git spawning)
7//!
8//! The submodules are re-exported flat here so downstream code writes
9//! `crate::core::Eval` rather than `crate::core::types::Eval`.
10
11pub mod capabilities;
12pub mod context;
13pub mod runtime;
14pub mod types;
15
16pub use capabilities::HarnessRunCapabilities;
17pub use context::{ContextError, DetectInput, Harness, RunContext, detect_run_context};
18pub use runtime::{GitOutput, run_git};
19pub use types::*;