Gavin Kistner
11/2/2006 5:28:00 PM
From: Gavin Kistner
> Following are the results I obtained from running my test
> script against everyone's submissions.
Oops. I found a small bug in my test script's counting of offsets.
(Large update intervals would cause it to think that the class was
transitioning outside of a +/- 5 minute range.)
Here are updated results and test script. Sorry for the bandwidth. :)
C:\Ruby\Quiz\FuzzyTime>testall.bat
C:\Ruby\Quiz\FuzzyTime>ruby -rtest_fuzzytime.rb BenGiddings_1.rb
Loaded suite BenGiddings_1
Started
F
Finished in 0.016 seconds.
1) Failure:
test_running(FuzzyTimeTester)
[./test_fuzzytime.rb:33:in `test_running'
./test_fuzzytime.rb:27:in `times'
./test_fuzzytime.rb:27:in `test_running'
./test_fuzzytime.rb:23:in `each'
./test_fuzzytime.rb:23:in `test_running']:
<Mon Nov 06 23:04:15 -0700 2006> expected but was
<Mon Nov 06 23:04:13 -0700 2006>.
1 tests, 3 assertions, 1 failures, 0 errors
C:\Ruby\Quiz\FuzzyTime>ruby -rtest_fuzzytime.rb CameronPope_1.rb
Loaded suite CameronPope_1
Started
2 second advance: 0.0% behind, 38.1% ahead
-5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5
0.7% 0% 0% 0% 0% 0% 0.7% 0% 12% 41% 46%
6 second advance: 0.0% behind, 31.8% ahead
-5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5
0.7% 0% 0% 0% 0% 0.7% 4.8% 9.6% 25% 38% 22%
17 second advance: 1.8% behind, 19.5% ahead
-5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5
0.7% 0.7% 0.7% 2.7% 6.2% 11% 14% 19% 21% 18% 6.2%
30 second advance: 3.2% behind, 16.1% ahead
-5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5
1.4% 2.1% 1.4% 3.4% 6.2% 19% 14% 18% 23% 9.0% 3.4%
47 second advance: 6.8% behind, 14.2% ahead
-5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5
5.6% 3.5% 5.6% 5.6% 11% 13% 16% 15% 16% 5.6% 3.5%
60 second advance: 11.5% behind, 9.9% ahead
-5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5
10% 7.6% 6.3% 11% 13% 15% 15% 12% 6.3% 4.2% 0.7%
65 second advance: 9.8% behind, 10.2% ahead
-5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5
11% 4.8% 8.3% 10% 9.0% 18% 14% 14% 6.2% 3.4% 0%
120 second advance: 22.5% behind, 9.3% ahead
-5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5
26% 20% 0% 17% 0% 17% 0% 15% 0% 4.9% 0%
290 second advance: 27.2% behind, 9.4% ahead
-5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5
64% 10% 2.9% 5.0% 2.9% 6.5% 3.6% 2.2% 1.4% 1.4% 0%