def remove_inferred(gt_json_list):
    """Remove all unnecessary records
    Unnecessary records = ["reset]

    Arguments:
        gt_json_list {[list]} -- List of Day2 detection dictionaries

    Returns:
        [list] -- List of Day2 detection dictionaries with relevant records
    """
    json_list = []
    id_so_far = 0
    for json_ele in gt_json_list:
        event = json_ele.get('event', None)
        if event is not None:
            if event.get('type', None) not in ['reset']:
                json_list.append(json_ele)
        id_so_far += 1
    return json_list