def score_reference_dist(sim_frame: dict) -> dict:
    """Simplest example of score assignment. Gives points from zero to one simply by (10-d)/10, where d is distance from reference track in meters.

    Parameters
    ----------
    sim_frame : dict
        A single object from simulationMessage.frames compliant with project JSON schema

    Returns
    -------
    dict
        A single object from assessmentMessage.frames compliant with project JSON schema
    """
    result = dict()
    result['time'] = sim_frame['time']
    result['score'] = [
        # max and min clamp the result to be in 0 to 1 range to comply with schema
        max(0, min(1, (10.0 - sim_frame['reference']) / 10.0))
    ]  # The score needs to be an array of numbers, even if only one number is sent
    return result