Adjust thresholds
This commit is contained in:
parent
ac1f09a8c1
commit
aab51731e1
|
@ -35,7 +35,6 @@ pub mod simulation {
|
|||
|
||||
use analysis::Analyzer;
|
||||
use extra_info::*;
|
||||
use lox_analysis::LoxAnalyzer;
|
||||
use negative_report::*;
|
||||
use positive_report::*;
|
||||
|
||||
|
|
|
@ -66,10 +66,10 @@ fn too_few_bridge_ips(
|
|||
8
|
||||
} else if max_users <= 40 {
|
||||
// expect 30
|
||||
24
|
||||
16
|
||||
} else if max_users <= 96 {
|
||||
// expect 90
|
||||
32
|
||||
24
|
||||
} else {
|
||||
// also 32, but it could be something else
|
||||
32
|
||||
|
@ -85,9 +85,9 @@ fn too_few_bridge_ips(
|
|||
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 {
|
||||
min_bip * 2
|
||||
min_bip / 2
|
||||
} else {
|
||||
min_bip
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue