<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def compute_author_match_score(x_authors, y_authors):
 """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. """

    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)