def _prepare_consensus(FetcherClass, results):
    # _get_results returns lists of 2 item list, first element is service, second is the returned value.
    # when determining consensus amoung services, only take into account values returned.
    if hasattr(FetcherClass, "strip_for_consensus"):
        to_compare = [
            FetcherClass.strip_for_consensus(value) for (service, value) in results
        ]
    else:
        to_compare = [value for service, value in results]

    return to_compare, [service._successful_service for service, values in results]
Given a list of results, return a list that is simplified to make consensus
dataset/ETHPy150Open priestc/moneywagon/moneywagon/core.py/_prepare_consensus