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