spark-rsi-mv
Native Rust recursive self-improvement engine with paired bootstrap evaluation and cryptographic ledger
Brought by drakestapleton
spark-rsi-mv / src / evaluator / layers / mod.rs
| 1 | pub mod correctness; |
| 2 | pub mod longitudinal_replay; |
| 3 | pub mod performance; |
| 4 | pub mod resource_efficiency; |
| 5 | pub mod security; |
| 6 | pub mod style; |
| 7 | |
| 8 | pub use correctness::{CorrectnessEvaluation, CorrectnessLayer}; |
| 9 | pub use longitudinal_replay::{ |
| 10 | DefectTestResult, LongitudinalReplayEvaluation, LongitudinalReplayLayer, |
| 11 | }; |
| 12 | pub use performance::{PerformanceEvaluation, PerformanceLayer}; |
| 13 | pub use resource_efficiency::{ResourceEfficiencyEvaluation, ResourceEfficiencyLayer}; |
| 14 | pub use security::{SecurityEvaluation, SecurityLayer}; |
| 15 | pub use style::{StyleEvaluation, StyleLayer}; |
| 16 | |
| 17 | use serde::{Deserialize, Serialize}; |
| 18 | |
| 19 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] |
| 20 | pub struct LayerResult { |
| 21 | pub layer_name: String, |
| 22 | pub is_hard_invariant: bool, |
| 23 | pub passed: bool, |
| 24 | pub score: f64, |
| 25 | pub summary: String, |
| 26 | pub violations: Vec<String>, |
| 27 | } |