fix measure_and_score.rb