def get_base_intervention(intervention_conf):
    """
    Maps `conf` to the configuration filename in `configs/simulation/intervention/` folder.

    Args:
        intervention_conf (dict): an experimental configuration.

    Returns:
        (str): filename in `configs/simulation/intervention/` folder.
    """

    # this key is added later
    if "INTERVENTION_NAME" in intervention_conf:
        return intervention_conf['INTERVENTION_NAME']

    # for old runs, base_intervention needs to be inferred from the conf parameters.
    if intervention_conf['RISK_MODEL'] == "":
        if intervention_conf['N_BEHAVIOR_LEVELS'] > 2:
            return "post-lockdown-no-tracing"

        if intervention_conf['INTERPOLATE_CONTACTS_USING_LOCKDOWN_CONTACTS']:
            return "lockdown"

        return "no_intervention"

    risk_model = intervention_conf['RISK_MODEL']
    hhld_behavior = intervention_conf['MAKE_HOUSEHOLD_BEHAVE_SAME_AS_MAX_RISK_RESIDENT']

    if risk_model == "digital":
        order = intervention_conf['TRACING_ORDER']
        x = f"bdt{order}"
    else:
        x = f"{risk_model}"

    if hhld_behavior:
        return f"{x}"
    return f"{x}_wo_hhld"