from pathlib import Path


def construct_target_path(participant_name, model_name, roi):
    """Construct path to save results to."""
    project_root = Path(__file__).parents[1]
    return project_root / "results" / participant_name / f"model_{model_name}"\
        / f"roi_{roi}"