[Shootout-list] scoring discrepancy
Stephen Weeks
sweeks@sweeks.com
Tue, 6 Jul 2004 08:24:19 -0700
I wrote some code to compute the scores using the data in
.craps.table. For the default case, the scores that my code computes
are different than the scores computed by PHP that appear on the web
page. As a simple sanity check, one can count by hand the number of
tests missing from clean. I count 3, which agrees with what my code
computes, and disagrees with the web page, which says 4.
Anyways, here's what my code computes. Hopefully it will be easy to
figure out why there's a difference.
gcc 55.8543 0
mlton 43.8074 0
g++ 43.2106 0
ocaml 40.9063 0
clean 40.0805 3
se 29.6713 4
bigloo 28.3002 1
gcj 22.0320 1
sbcl 21.8186 0
cmucl 21.4330 0
nice 21.1265 0
smlnj 21.0718 0
java 19.6115 1
ghc 18.2034 2
kaffe 17.6749 1
ocamlb 16.2858 0
perl 16.1698 0
gforth 16.1462 2
gij 15.0379 1
python 14.9082 0
pike 14.3716 0
gnat 14.3058 8
slang 14.2048 3
lua 13.9249 1
sablevm 12.3410 1
ruby 12.3401 0
gawk 11.2072 6
tcl 9.8220 3
mawk 9.7612 6
psyco 9.6184 2
stalin 9.5225 14
icon 8.9909 7
hipe 8.0376 4
rep 7.7694 4
oz 7.6032 6
erlang 7.5309 4
guile 7.3441 0
bash 6.9676 14
gwydion 6.0331 10
mzc 5.9030 7
xemacs 5.7934 9
php 5.6613 10
mzscheme 5.5210 7
elastic 1.4871 16
gprolog 0.4127 21
ciao 0.3013 22
csharp 0.0000 4
pysco 0.0000 24