def _get_intervention_string(conf):
    """
    Consolidates all the parameters to one single string.

    Args:
        conf (dict): yaml configuration of the experiment

    Returns:
        (str): a string to identify type of intervention being run

    Raises:
        (ValueError): if RISK_MODEL is unknown
    """
    if conf['RISK_MODEL'] == "":
        type_of_run = "UNMITIGATED"
        if conf['INTERPOLATE_CONTACTS_USING_LOCKDOWN_CONTACTS']:
            type_of_run = "LOCKDOWN"

        if conf['N_BEHAVIOR_LEVELS'] > 2:
            type_of_run = "POST-LOCKDOWN NO TRACING"

        return type_of_run

    risk_model = conf['RISK_MODEL']
    n_behavior_levels = conf['N_BEHAVIOR_LEVELS']
    hhld_behavior = conf['MAKE_HOUSEHOLD_BEHAVE_SAME_AS_MAX_RISK_RESIDENT']
    type_of_run = f"{risk_model} | HHLD_BEHAVIOR_SAME_AS_MAX_RISK_RESIDENT: {hhld_behavior} | N_BEHAVIOR_LEVELS:{n_behavior_levels} |"
    if risk_model == "digital":
        type_of_run += f" N_LEVELS_USED: 2 (1st and last) |"
        type_of_run += f" TRACING_ORDER:{conf['TRACING_ORDER']} |"
        type_of_run += f" TRACE_SYMPTOMS: {conf['TRACE_SYMPTOMS']} |"
        type_of_run += f" INTERPOLATE_USING_LOCKDOWN_CONTACTS:{conf['INTERPOLATE_CONTACTS_USING_LOCKDOWN_CONTACTS']} |"
        type_of_run += f" MODIFY_BEHAVIOR: {conf['SHOULD_MODIFY_BEHAVIOR']}"
        return type_of_run

    if risk_model == "transformer":
        type_of_run += f" USE_ORACLE: {conf['USE_ORACLE']}"
        type_of_run += f" N_LEVELS_USED: {n_behavior_levels} |"
        type_of_run += f" INTERPOLATE_USING_LOCKDOWN_CONTACTS:{conf['INTERPOLATE_CONTACTS_USING_LOCKDOWN_CONTACTS']} |"
        type_of_run += f" REC_LEVEL_THRESHOLDS: {conf['REC_LEVEL_THRESHOLDS']} |"
        type_of_run += f" MAX_RISK_LEVEL: {conf['MAX_RISK_LEVEL']} |"
        type_of_run += f" MODIFY_BEHAVIOR: {conf['SHOULD_MODIFY_BEHAVIOR']} "
        type_of_run += f"\n RISK_MAPPING: {conf['RISK_MAPPING']}"
        return type_of_run

    if risk_model in ['heuristicv1', 'heuristicv2', 'heuristicv3', 'heuristicv4']:
        type_of_run += f" N_LEVELS_USED: {n_behavior_levels} |"
        type_of_run += f" INTERPOLATE_USING_LOCKDOWN_CONTACTS:{conf['INTERPOLATE_CONTACTS_USING_LOCKDOWN_CONTACTS']} |"
        type_of_run += f" MAX_RISK_LEVEL: {conf['MAX_RISK_LEVEL']} |"
        type_of_run += f" MODIFY_BEHAVIOR: {conf['SHOULD_MODIFY_BEHAVIOR']}"
        return type_of_run

    raise ValueError(f"Unknown risk model:{risk_model}")