pub struct GateThresholds {
pub min_deterministic_pass_rate: f64,
pub max_abandonment_rate: f64,
pub allow_flaky_items: bool,
pub forbid_side_effect_failures: bool,
pub min_judge_score: Option<f64>,
}Expand description
What a continuous integration gate refuses to merge.
Fields§
§min_deterministic_pass_rate: f64Minimum fraction of samples that must satisfy every deterministic expectation.
max_abandonment_rate: f64Maximum fraction of samples that may produce nothing usable.
allow_flaky_items: boolWhether an item whose samples disagree may still pass.
forbid_side_effect_failures: boolWhether any side-effect integrity failure fails the gate outright, whatever the pass rate is. On by default: §26.3 exists so this is not a percentage.
min_judge_score: Option<f64>Minimum mean judge score, when the run judged anything.
Trait Implementations§
Source§impl Clone for GateThresholds
impl Clone for GateThresholds
Source§impl Debug for GateThresholds
impl Debug for GateThresholds
Source§impl Default for GateThresholds
impl Default for GateThresholds
Source§impl<'de> Deserialize<'de> for GateThresholdswhere
GateThresholds: Default,
impl<'de> Deserialize<'de> for GateThresholdswhere
GateThresholds: Default,
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
Source§impl PartialEq for GateThresholds
impl PartialEq for GateThresholds
Source§impl Serialize for GateThresholds
impl Serialize for GateThresholds
impl StructuralPartialEq for GateThresholds
Auto Trait Implementations§
impl Freeze for GateThresholds
impl RefUnwindSafe for GateThresholds
impl Send for GateThresholds
impl Sync for GateThresholds
impl Unpin for GateThresholds
impl UnsafeUnpin for GateThresholds
impl UnwindSafe for GateThresholds
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