def json_without_bytes(jobj):
    # Create a JSON-compatible copy of the attributes for validation
    jobj = jobj.copy()
    for k, v in jobj.items():
        if isinstance(v, six.binary_type):
            jobj[k] = v.decode('utf8', 'replace')
    return jobj
Expect to have a score between 0 and 1 (including).
dataset/ETHPy150Open CenterForOpenScience/scrapi/scrapi/util.py/json_without_bytes--crossover with--dataset/ETHPy150Open heiskr/sagefy/server/test/test_models_response.py/test_score