Adjust thresholds

This commit is contained in:
Vecna 2024-06-29 15:40:25 -04:00
parent ac1f09a8c1
commit aab51731e1
2 changed files with 4 additions and 5 deletions

View File

@ -35,7 +35,6 @@ pub mod simulation {
use analysis::Analyzer; use analysis::Analyzer;
use extra_info::*; use extra_info::*;
use lox_analysis::LoxAnalyzer;
use negative_report::*; use negative_report::*;
use positive_report::*; use positive_report::*;

View File

@ -66,10 +66,10 @@ fn too_few_bridge_ips(
8 8
} else if max_users <= 40 { } else if max_users <= 40 {
// expect 30 // expect 30
24 16
} else if max_users <= 96 { } else if max_users <= 96 {
// expect 90 // expect 90
32 24
} else { } else {
// also 32, but it could be something else // also 32, but it could be something else
32 32
@ -85,9 +85,9 @@ fn too_few_bridge_ips(
min_bip min_bip
}; };
// If we see positive reports from trusted users, double the minimum // If we see positive reports from trusted users, halve the minimum
let min_bip = if positive_reports_today > 0 { let min_bip = if positive_reports_today > 0 {
min_bip * 2 min_bip / 2
} else { } else {
min_bip min_bip
}; };