[tor-commits] [torspec/master] Correct n_filt by n in step 2

nickm at torproject.org nickm at torproject.org
Mon Nov 26 21:52:47 UTC 2018


commit 45da870809210ba30330e5cffd876b83f443c76d
Author: juga0 <juga at riseup.net>
Date:   Wed Nov 7 18:00:32 2018 +0000

    Correct n_filt by n in step 2
    
    The number of relays does not change for a relay filtered bandwdith.
---
 bandwidth-file-spec.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bandwidth-file-spec.txt b/bandwidth-file-spec.txt
index 50e7294..87bdb7e 100644
--- a/bandwidth-file-spec.txt
+++ b/bandwidth-file-spec.txt
@@ -546,7 +546,7 @@ would be included in the next bandwidth authority's upcoming vote.
 2. Calculate network averages:
    - calculate the filtered average by dividing the sum of all the
      relays' filtered bandwidth by the number of relays that have been
-     measured (`n_filt`), ie, calculate the mean average of the relays' filtered
+     measured (`n`), ie, calculate the mean average of the relays' filtered
      bandwidth.
    - calculate the stream average by dividing the sum of all the
      relays' filtered bandwidth by the number of relays that have been
@@ -555,7 +555,7 @@ would be included in the next bandwidth authority's upcoming vote.
 
     In pseudocode:
 
-      bw_avg_filt_ = bw_filt_i / n_filt
+      bw_avg_filt_ = bw_filt_i / n
       bw_avg_strm = bw_i / n
 
 3. Calculate ratios for each relay:





More information about the tor-commits mailing list