def METHOD_NAME(pred_json: Path, label_json: Path):
    # read label_json to dict
    with label_json.open("r", encoding="utf-8") as fp:
        labels = json.load(fp)
    label_dict = {item["signal"]: item["correctness"] for item in labels}
    with pred_json.open("r", encoding="utf-8") as fp:
        pred_dict = json.load(fp)
    prediction = [pred * 100.0 for pred in pred_dict.values()]
    label = [label_dict[signal] for signal in pred_dict]
    return np.array(prediction), np.array(label)