pub struct ReportBuilder {
pub mission: Option<MissionMeta>,
pub model_config: Option<ModelConfigSnapshot>,
pub router: Option<RouterStageReport>,
pub architect: Option<LlmStageReport>,
pub tester: Option<LlmStageReport>,
pub rounds: Vec<RoundReport>,
pub start_time: Instant,
/* private fields */
}Fields§
§mission: Option<MissionMeta>§model_config: Option<ModelConfigSnapshot>§router: Option<RouterStageReport>§architect: Option<LlmStageReport>§tester: Option<LlmStageReport>§rounds: Vec<RoundReport>§start_time: InstantImplementations§
Source§impl ReportBuilder
impl ReportBuilder
pub fn new() -> Self
pub fn set_mission(&mut self, meta: MissionMeta)
pub fn set_model_config(&mut self, config: &ModelConfig)
pub fn set_router(&mut self, tier: &str, duration_secs: f64)
pub fn set_architect(&mut self, stats: LlmStageReport)
pub fn set_tester(&mut self, stats: LlmStageReport)
pub fn add_round(&mut self, round: RoundReport)
pub fn build( &self, passed: bool, best_score: f32, best_round: usize, output_dir: &Path, files: &[GeneratedFile], ) -> PipelineReport
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReportBuilder
impl RefUnwindSafe for ReportBuilder
impl Send for ReportBuilder
impl Sync for ReportBuilder
impl Unpin for ReportBuilder
impl UnsafeUnpin for ReportBuilder
impl UnwindSafe for ReportBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more