code: def compute_author_match_score(x_authors, y_authors):
      
      if not x_authors or not y_authors:
          return 0.0
  
      matches = get_number_of_author_matches(x_authors, y_authors)
      max_length = max(len(x_authors), len(y_authors))
  
      return matches / float(max_length)
docs: Return the matching score of 2 given lists of authors.
  
      Args:
          x_authors (list(dict)): first schema-compliant list of authors.
          y_authors (list(dict)): second schema-compliant list of authors.
  
      Returns:
          float: matching score of authors.