anchor.diff:      }
     };
   
  -  const isRevert = (event) => {
  -    return event.revert != undefined;
  -  };
  +  const isRevert = (event) => event.revert != undefined;
   
     const appendPredictCircle = ($lights, event) => {
       if (isPrediction(event)) {
  
positive.code:       }
      }
    };
  
    const isPrediction = (light) => {
      return light.predicted != undefined &&
               light.predicted != 'none';
    };
  
    const isRag = (s) => ['red','amber','green'].includes(s);
  
    const counts = {
      pulling: 0,
  
negative.code:     }
    };
  
    const isPrediction = (light) => light.predicted != undefined && light.predicted != 'none';
  
    const $ragImage = (event) => {
      const colour = event.colour;
      return $('<img>', {
  