def generate_vector_dict(dataset):
    """
    Generates a dictionary that uses the user story vectors (tuples) as keys, with the user story IDs as values.
    """
    vector_dict = {}
    dataset_list = dataset.values.tolist()

    for row in dataset_list:
        id = row[0]
        vector = row[1:]
        vector_dict[tuple(vector)] = id
    return vector_dict