[or-cvs] r20648: {torflow} Woops. Fix a typo and add moar datapoints. (torflow/trunk/CircuitAnalysis/BuildTimes)
mikeperry at seul.org
mikeperry at seul.org
Tue Sep 22 21:36:40 UTC 2009
Author: mikeperry
Date: 2009-09-22 17:36:40 -0400 (Tue, 22 Sep 2009)
New Revision: 20648
Modified:
torflow/trunk/CircuitAnalysis/BuildTimes/binomial.py
Log:
Woops. Fix a typo and add moar datapoints.
Modified: torflow/trunk/CircuitAnalysis/BuildTimes/binomial.py
===================================================================
--- torflow/trunk/CircuitAnalysis/BuildTimes/binomial.py 2009-09-22 21:32:34 UTC (rev 20647)
+++ torflow/trunk/CircuitAnalysis/BuildTimes/binomial.py 2009-09-22 21:36:40 UTC (rev 20648)
@@ -23,34 +23,46 @@
thirty_pct = BinomialF(.35, 20, 15)
fourty_pct = BinomialF(.4, 20, 15)
fifty_pct = BinomialF(.5, 20, 15)
+sixty_pct = BinomialF(.6, 20, 15)
+seventy_pct = BinomialF(.7, 20, 15)
print "15 out of 20:"
print "20% circ timeout rate expects "+str(1.0/twenty_pct)+" circuits"
print "30% circ timeout rate expects "+str(1.0/thirty_pct) +" circuits"
print "40% circ timeout rate expects "+str(1.0/fourty_pct) +" circuits"
print "50% circ timeout rate expects "+str(1.0/fifty_pct)+" circuits"
+print "60% circ timeout rate expects "+str(1.0/sixty_pct)+" circuits"
+print "70% circ timeout rate expects "+str(1.0/seventy_pct)+" circuits"
print
twenty_pct = BinomialF(.2, 20, 16)
thirty_pct = BinomialF(.3, 20, 16)
fourty_pct = BinomialF(.4, 20, 16)
fifty_pct = BinomialF(.5, 20, 16)
+sixty_pct = BinomialF(.6, 20, 16)
+seventy_pct = BinomialF(.7, 20, 16)
print "16 out of 20:"
print "20% circ timeout rate expects "+str(1.0/twenty_pct) +" circuits"
print "30% circ timeout rate expects "+str(1.0/thirty_pct) +" circuits"
-print "40% circ timeout rate expects "+str(1.0/thirty_pct) +" circuits"
+print "40% circ timeout rate expects "+str(1.0/fourty_pct) +" circuits"
print "50% circ timeout rate expects "+str(1.0/fifty_pct)+" circuits"
+print "60% circ timeout rate expects "+str(1.0/sixty_pct)+" circuits"
+print "70% circ timeout rate expects "+str(1.0/seventy_pct)+" circuits"
print
twenty_pct = BinomialF(.2, 20, 18)
-thirty_pct = BinomialF(.30, 20, 17)
-fourty_pct = BinomialF(.40, 20, 17)
+thirty_pct = BinomialF(.30, 20, 18)
+fourty_pct = BinomialF(.40, 20, 18)
fifty_pct = BinomialF(.5, 20, 18)
+sixty_pct = BinomialF(.6, 20, 18)
+seventy_pct = BinomialF(.7, 20, 18)
print "18 out of 20:"
print "20% circ timeout rate expects "+str(1.0/twenty_pct)+" circuits"
print "30% circ timeout rate expects "+str(1.0/thirty_pct) +" circuits"
print "40% circ timeout rate expects "+str(1.0/fourty_pct) +" circuits"
print "50% circ timeout rate expects "+str(1.0/fifty_pct)+" circuits"
+print "60% circ timeout rate expects "+str(1.0/sixty_pct)+" circuits"
+print "70% circ timeout rate expects "+str(1.0/seventy_pct)+" circuits"
print
More information about the tor-commits
mailing list