def METHOD_NAME():
    state_dict = {
        "group 1": {"state": False, "features": {"ch 1": ["grp1_ch1_f1", "grp1_f2", "grp1_f3"]}},
        "group 2": {"state": True, "features": {"ch 2": ["grp2_ch2_f1", "grp2_ch2_f2", "grp2_ch2_f3"]}},
        "group 3": {"state": True, "features": {"ch 1": ["grp3_ch1_f1"], "ch 2": ["grp3_ch2_f1"]}},
    }
    assert SimpleEdgeFeatureSelection._to_feature_dict(state_dict) == {
        "ch 1": ["grp3_ch1_f1"],
        "ch 2": ["grp2_ch2_f1", "grp2_ch2_f2", "grp2_ch2_f3", "grp3_ch2_f1"],
    }