<commit_before>function load_recruitment_graph(url, id, title) {
    $.get(url, function(data) {
        var graphData = [];

        for (var i = 0; i < data.data.length; i++) {
            var row = data.data[i];
            var date = Date.parse(row.date);
            var count = row.count;
            graphData.push([date, count]);
        }

        var options = {
            chart: {<commit_msg>Hide recruitment graphs if there isn't enough data<commit_after>function load_recruitment_graph(url, id, title) {
    $.get(url, function(data) {
        var graphData = [];

        for (var i = 0; i < data.data.length; i++) {
            var row = data.data[i];
            var date = Date.parse(row.date);
            var count = row.count;
            graphData.push([date, count]);
        }

        if (graphData.length <= 1) {
            $('#' + id).replaceWith('<p>Not enough data yet!</p>');
            return;
        }

        var options = {
            chart: {
{'fraction_non_alphanumeric': 0.14242115971515767, 'fraction_numerical': 0.003051881993896236, 'mean_word_length': 1.7257617728531855, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 5, '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': '4015522', 'n_tokens_mistral': 301, 'n_tokens_neox': 289, 'n_words': 73}