pub struct ShadowConfig {
pub sample_rate: f32,
pub frontier_model: String,
pub judge_model: String,
pub auto_gate_floor: f32,
pub min_samples_per_segment: u32,
}Fields§
§sample_rate: f32Fraction of traffic to shadow-test, in [0.0, 1.0].
frontier_model: StringWhich model to use as the frontier baseline in shadow tests.
judge_model: StringModel used as the judge.
auto_gate_floor: f32Cheap-model win rate below this over min_samples_per_segment marks
the segment regressed.
min_samples_per_segment: u32Trait Implementations§
Source§impl Clone for ShadowConfig
impl Clone for ShadowConfig
Source§fn clone(&self) -> ShadowConfig
fn clone(&self) -> ShadowConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShadowConfig
impl Debug for ShadowConfig
Source§impl Default for ShadowConfig
impl Default for ShadowConfig
Source§impl<'de> Deserialize<'de> for ShadowConfig
impl<'de> Deserialize<'de> for ShadowConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ShadowConfig
impl RefUnwindSafe for ShadowConfig
impl Send for ShadowConfig
impl Sync for ShadowConfig
impl Unpin for ShadowConfig
impl UnsafeUnpin for ShadowConfig
impl UnwindSafe for ShadowConfig
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