def get_most_recent_model():
    try:
        most_recent_file = max([blob for blob in bucket.list_blobs(prefix='models/') if ((blob.size > 0) and (not ('/eval/' in blob.name)))], key=(lambda blob: ((blob.metadata or {}).get('elo', 0.0), blob.time_created)))
        if most_recent_file:
            return dirname(most_recent_file.name)
    except ValueError:
        return None
def get_most_recent_model():
    try:
        most_recent_file = max([blob for blob in bucket.list_blobs(prefix='models/') if ((blob.size > 0) and (not ('/eval/' in blob.name)))], key=(lambda blob: ((blob.metadata or {}).get('elo', 0.0), blob.time_created)))
        if most_recent_file:
            return dirname(most_recent_file.name)
    except ValueError:
        return None