code: function(protoIRs) {
        protoIRs.forEach(function(apir) {
          // Only consider animations for now.
          if (apir.irType !== ProtoIR.ANIMATION_TYPE)
            return;
  
          protoIRs.forEach(function(rpir) {
            // Only consider responses for now.
            if (rpir.irType !== ProtoIR.RESPONSE_TYPE)
              return;
  
            // Only consider responses that end during the animation.
            if (!apir.containsTimestampInclusive(rpir.end))
              return;
  
            // Ignore Responses that are entirely contained by the animation.
            if (apir.containsTimestampInclusive(rpir.start))
              return;
  
            // Move the animation start to the response end.
            apir.start = rpir.end;
          });
        });
        return protoIRs;
      }
docs: The ends of responses frequently overlap the starts of animations. Fix the animations to reflect the fact that the user can only start to expect 60fps after the response.  For example: RRR   -> RRRAA AAAA  protoIRs is input only. Returns a modified set of ProtoIRs.