[tor-commits] [sbws/master] Change Torflow scaling to use mean obs bw
juga at torproject.org
juga at torproject.org
Tue Sep 18 09:26:12 UTC 2018
commit ecac09767067538e4e1197d6f63542fe0b8ffb53
Author: juga0 <juga at riseup.net>
Date: Wed Sep 5 12:30:54 2018 +0000
Change Torflow scaling to use mean obs bw
---
sbws/lib/v3bwfile.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index 5567c5c..a7a4991 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -566,7 +566,7 @@ class V3BWFile(object):
'allowed', (1 - accuracy_ratio) * 100, margin * 100)
@staticmethod
- def bw_torflow_scale(bw_lines, desc_obs_bws=TORFLOW_OBS_LAST,
+ def bw_torflow_scale(bw_lines, desc_obs_bws=TORFLOW_OBS_MEAN,
cap=TORFLOW_BW_MARGIN,
num_round_dig=TORFLOW_ROUND_DIG, reverse=False):
"""
More information about the tor-commits
mailing list