def get_score_example_pairs(y, y_hat, examples):
    """ Return a list of dicts: {truth score, predicted score, example} """
    paired_results = sorted(zip(y, y_hat), key=lambda x: x[0]-x[1])
    performance = []
    for i, (truth, prediction) in enumerate(paired_results): 
        performance.append({"truth": truth, "prediction": prediction, "example": examples[i]})
    return performance