[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-web/master] Only run censorship detector on new user numbers.



commit fe9e25f7dcb1d07e3140c6c1dade0c5222da7ce3
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Wed Jan 22 13:19:51 2014 +0100

    Only run censorship detector on new user numbers.
    
    This change was already made on the server, but not in the code
    repository.
---
 detector/detector.py |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/detector/detector.py b/detector/detector.py
index 65e8e22..611f25b 100644
--- a/detector/detector.py
+++ b/detector/detector.py
@@ -431,9 +431,7 @@ def detect(CSV_FILE = "userstats-detector.csv",
     write_ml_report(tss, minx, maxx, INTERV, DAYS, 1)
 
 def main():
-  detect(CSV_FILE = "direct-users.csv",
-         RANGES_FILE = "direct-users-ranges.csv")
-  detect(REPORT = False)
+  detect()
 
 if __name__ == "__main__":
     main()



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits