<commit_before>package ui.client.grid2;

public class GridColumn {
    private int ordinal;
    private String title;
    private Display display;
    private Display defaultDisplay;
    private boolean sortable;
    private GridSort sort = GridSort.NONE;
    private boolean alignCenter;
    // For legacy grid support
    private String id;

    public GridColumn(Enum enumValue, String title, Integer flexGrow, boolean sortable) {
        this(enumValue, title, flexGrow, sortable, false);
    }

    public GridColumn(Enum enumValue, String title, Integer flexGrow, boolean sortable, boolean alignCenter) {
        this.ordinal = enumValue.ordinal();
        this.title = title;
        this.sortable = sortable;
        this.defaultDisplay = new Display();
        this.defaultDisplay.setFlexGrow(flexGrow);
        this.alignCenter = alignCenter;
        resetDisplay();
    }


    public GridColumn(Enum enumValue, String title, Double width, boolean sortable) {
        this.ordinal = enumValue.ordinal();
        this.title = title;
        this.sortable = sortable;
        this.defaultDisplay = new Display();
        this.defaultDisplay.setWidth(width);
        resetDisplay();
    }

    public GridColumn(String id, String title, int flexGrow, boolean ignoreThis, boolean sortable) {
        this.id = id;
        this.title = title;
        this.sortable = sortable;
        this.defaultDisplay = new Display();
        this.defaultDisplay.setFlexGrow(flexGrow);
        resetDisplay();
    }<commit_msg>grid align center<commit_after>package ui.client.grid2;

public class GridColumn {
    private int ordinal;
    private String title;
    private Display display;
    private Display defaultDisplay;
    private boolean sortable;
    private GridSort sort = GridSort.NONE;
    private boolean alignCenter;
    // For legacy grid support
    private String id;

    public GridColumn(Enum enumValue, String title, Integer flexGrow, boolean sortable) {
        this(enumValue, title, flexGrow, sortable, false);
    }

    public GridColumn(Enum enumValue, String title, Integer flexGrow, boolean sortable, boolean alignCenter) {
        this.ordinal = enumValue.ordinal();
        this.title = title;
        this.sortable = sortable;
        this.defaultDisplay = new Display();
        this.defaultDisplay.setFlexGrow(flexGrow);
        this.alignCenter = alignCenter;
        resetDisplay();
    }

    public GridColumn(Enum enumValue, String title, Double width, boolean sortable) {
        this(enumValue, title, width, sortable, false);
    }

    public GridColumn(Enum enumValue, String title, Double width, boolean sortable, boolean alignCenter) {
        this.ordinal = enumValue.ordinal();
        this.title = title;
        this.sortable = sortable;
        this.defaultDisplay = new Display();
        this.defaultDisplay.setWidth(width);
        this.alignCenter = alignCenter;
        resetDisplay();
    }

    public GridColumn(String id, String title, int flexGrow, boolean ignoreThis, boolean sortable) {
        this.id = id;
        this.title = title;
        this.sortable = sortable;
        this.defaultDisplay = new Display();
        this.defaultDisplay.setFlexGrow(flexGrow);
        resetDisplay();
    }
{'fraction_non_alphanumeric': 0.08607439286812173, 'fraction_numerical': 0.0006148170919151552, 'mean_word_length': 2.860023724792408, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7141445', 'n_tokens_mistral': 875, 'n_tokens_neox': 857, 'n_words': 248}