mod part_00;
pub const MODEL_SHA256: &str = "7da20c8d98bf486b8231526d64ccc3cf71515ca7f0381fd8df7182e503a82bc9";
pub const FEATURES: [&str; 18] = ["gap", "gap_in_text_heights", "gap_over_table_median", "gap_over_table_tightest", "gap_rank_in_table", "table_median_gap", "table_tightest_gap", "gaps_in_table", "numeric_share_above", "numeric_share_below", "numeric_change", "words_above", "words_below", "left_edges_agree", "right_edges_agree", "text_height", "band_height_above", "band_height_below"];
pub const THRESHOLD: f64 = 0.1_f64;
#[inline(always)]
fn go_left(value: f64, threshold: f64, default_left: bool, missing: u8) -> bool {
let value = if missing != 2 && value.is_nan() { 0.0 } else { value };
if (missing == 1 && value.abs() <= 1e-35) || (missing == 2 && value.is_nan()) {
return default_left;
}
value <= threshold
}
pub fn predict_margin(x: &[f64; 18]) -> f64 {
let acc = 0.0;
part_00::add(x, acc)
}