def _get_list_feat_names(idx_feat_dict, num_pair):
    """Creates flattened list of (repeated) feature names.

    The indexing corresponds with the flattened list of T values and the
    flattened list of p-values obtained from _get_list_signif_scores().

    Arguments:
        idx_feat_dict: {int: string}
            dictionary mapping feature indices to faetures
        num_class: int
            number of classes

    Returns:
        list_feat_names: [string]
            list of feature names with length num_feature * num_pair
    """
    num_feature = len(idx_feat_dict)
    return [idx_feat_dict[feat_idx] for feat_idx in range(num_feature)] \
        * num_pair