Skip to content

Commit

Permalink
chore(application): reduce default rep quantile
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-wright committed Jul 12, 2023
1 parent 354c86e commit 849430c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/application/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ const MIN_NUM_MEASUREMENTS: usize = 2;
/// Reported measurements are weighted by the reputation score of the reporting node.
/// If there is no reputation score for the reporting node, we use a quantile from the array
/// of all reputation scores.
/// For example, if `DEFAULT_REP_QUANTILE = 0.3`, then we use the reputation score that is higher
/// than 30% of scores and lower than 70% of scores.
const DEFAULT_REP_QUANTILE: f64 = 0.3;
/// For example, if `DEFAULT_REP_QUANTILE = 0.1`, then we use the reputation score that is higher
/// than 10% of scores and lower than 90% of scores.
const DEFAULT_REP_QUANTILE: f64 = 0.1;

/// The rep score of a node is the exponentially weighted moving average of its rep scores over the
/// past epochs.
Expand Down

0 comments on commit 849430c

Please sign in to comment.