How does a score and 'traffic light' gets calculated?