from pathlib import Path
import json


def get_identifiers(bot, version, task, control_task, path, split, 
                    model='Deeper', embs='pmbv2'):
    """Load datapoint identifiers used in an experiment."""
    name = f'{bot}Bot_{version}_task-{task}_control-{control_task}_{model}_{embs}'
    with open(Path(path, name, f'identifiers_{split}'), 'r') as file:
        identifiers = json.load(file)
    return identifiers