update decoder, add some ruby scripts to statistic decoding results...