parameters: (self, encoded_list)
return_statement: return encoded_list
docstring: Removes items from the run-length encoded list after the final
      item that exceeds the max number of builds to track.
  
      Args:
        encoded_results: run-length encoded results. An array of arrays, e.g.
            [[3,'A'],[1,'Q']] encodes AAAQ.
docstring_summary: Removes items from the run-length encoded list after the final
      item that exceeds the max number of builds to track.
docstring_tokens: Removes items from the run - length encoded list after the final item that exceeds the max number of builds to track .
function: def _RemoveItemsOverMaxNumberOfBuilds(self, encoded_list):
      """Removes items from the run-length encoded list after the final
      item that exceeds the max number of builds to track.
  
      Args:
        encoded_results: run-length encoded results. An array of arrays, e.g.
            [[3,'A'],[1,'Q']] encodes AAAQ.
      """
      num_builds = 0
      index = 0
      for result in encoded_list:
        num_builds = num_builds + result[0]
        index = index + 1
        if num_builds > self.MAX_NUMBER_OF_BUILD_RESULTS_TO_LOG:
          return encoded_list[:index]
      return encoded_list
function_tokens: def _RemoveItemsOverMaxNumberOfBuilds ( self , encoded_list ) : num_builds = 0 index = 0 for result in encoded_list : num_builds = num_builds + result [ 0 ] index = index + 1 if num_builds > self . MAX_NUMBER_OF_BUILD_RESULTS_TO_LOG : return encoded_list [ : index ] return encoded_list