<commit_before>var columnDefs = [

    // the first group column
    {headerName: "Country", cellRenderer: 'group', field: "country", rowGroupIndex: 0,
        cellRendererParams: {
            groupField: 'country'
        }
    },

    // and second group column
    {headerName: "Year", cellRenderer: 'group', field: "year", rowGroupIndex: 1,
        cellRendererParams: {
            groupField: 'year'
        }
    },

    {headerName: "Athlete", field: "athlete"},
    {headerName: "Gold", field: "gold"},
    {headerName: "Silver", field: "silver"},
    {headerName: "Bronze", field: "bronze"},
    {headerName: "Total", field: "total"},
    {headerName: "Age", field: "age"},
    {headerName: "Date", field: "date"},
    {headerName: "Sport", field: "sport"}
];

var gridOptions = {
    columnDefs: columnDefs,
    rowData: null,
    groupSuppressAutoColumn: true
};

// setup the grid after the page has finished loading
document.addEventListener('DOMContentLoaded', function() {
    var gridDiv = document.querySelector('#myGrid');
    new agGrid.Grid(gridDiv, gridOptions);

    // do http request to get our sample data - not using any framework to keep the example self contained.
    // you will probably use a framework like JQuery, Angular or something else to do your HTTP calls.<commit_msg>iteration of jobs board<commit_after>var columnDefs = [

    // the first group column
    {headerName: "Country", cellRenderer: 'group', field: "country", rowGroupIndex: 0,
        cellRendererParams: {
            restrictToOneGroup: true
        }
    },

    // and second group column
    {headerName: "Year", cellRenderer: 'group', field: "year", rowGroupIndex: 1,
        cellRendererParams: {
            restrictToOneGroup: true
        }
    },

    {headerName: "Athlete", field: "athlete"},
    {headerName: "Gold", field: "gold"},
    {headerName: "Silver", field: "silver"},
    {headerName: "Bronze", field: "bronze"},
    {headerName: "Total", field: "total"},
    {headerName: "Age", field: "age"},
    {headerName: "Date", field: "date"},
    {headerName: "Sport", field: "sport"}
];

var gridOptions = {
    columnDefs: columnDefs,
    rowData: null,
    groupSuppressAutoColumn: true
};

// setup the grid after the page has finished loading
document.addEventListener('DOMContentLoaded', function() {
    var gridDiv = document.querySelector('#myGrid');
    new agGrid.Grid(gridDiv, gridOptions);

    // do http request to get our sample data - not using any framework to keep the example self contained.
    // you will probably use a framework like JQuery, Angular or something else to do your HTTP calls.
{'fraction_non_alphanumeric': 0.13196814562002276, 'fraction_numerical': 0.0015168752370117557, 'mean_word_length': 3.2964169381107493, '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': '5999624', 'n_tokens_mistral': 776, 'n_tokens_neox': 755, 'n_words': 250}