def score(matches):
    """Assign winning amplicon set id based on match stats"""

    # naive: take max of all bins
    m = 0
    winner = None
    for k, v in matches.items():
        if v >= m:
            m = v
            winner = k
    return winner