<commit_before>var askposts = (function() {

    return {
        desc: 'post',
        plural: 'posts'
    }
});

var deletedAskposts = (function() {

    return {
        desc: 'deleted post',
        plural: 'posts'
    }
});

var askPostsByDate = (function() {

    var protectedInfo = {};
    var thisGraph = countByDateChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, askposts().desc, askposts().plural)
    }

    return thisGraph;
});

var askPostsByYear = (function() {

    var protectedInfo = {};
    var thisGraph = countByYearChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, askposts().desc, askposts().plural)
    }

    return thisGraph;
});

var askPostsByMonth = (function() {

    var protectedInfo = {};
    var thisGraph = countByMonthChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, askposts().desc, askposts().plural)
    }

    return thisGraph;
});


var askPostsByDOW = (function() {

    var protectedInfo = {};
    var thisGraph = countByDOWChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, askposts().desc, askposts().plural)
    }

    return thisGraph;
});

var askPostsByHour = (function() {

    var protectedInfo = {};
    var thisGraph = countByHourChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, askposts().desc, askposts().plural)
    }

    return thisGraph;
});


var askPostsByMonthYear = (function() {

    var protectedInfo = {};
    var thisGraph = countByMonthYearChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, askposts().desc, askposts().plural)
    }

    return thisGraph;
});

/////

var askDeletedPostsByDate = (function() {

    var protectedInfo = {};
    var thisGraph = countByDateChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, deletedAskposts().desc, deletedAskposts().plural)
    }

    return thisGraph;
});

var askDeletedPostsByYear = (function() {

    var protectedInfo = {};
    var thisGraph = countByYearChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, deletedAskposts().desc, deletedAskposts().plural)
    }

    return thisGraph;
});

var askDeletedPostsByMonth = (function() {

    var protectedInfo = {};
    var thisGraph = countByMonthChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, deletedAskposts().desc, deletedAskposts().plural)
    }

    return thisGraph;<commit_msg>tweaks to askme js<commit_after>var askposts = (function() {

    return {
        desc: 'post',
        plural: 'posts'
    }
});

var deletedAskposts = (function() {

    return {
        desc: 'deleted post',
        plural: 'deleted posts'
    }
});

var askPostsByDate = (function() {

    var protectedInfo = {};
    var thisGraph = countByDateChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, askposts().desc, askposts().plural)
    }

    return thisGraph;
});

var askPostsByYear = (function() {

    var protectedInfo = {};
    var thisGraph = countByYearChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, askposts().desc, askposts().plural)
    }

    return thisGraph;
});

var askPostsByMonth = (function() {

    var protectedInfo = {};
    var thisGraph = countByMonthChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, askposts().desc, askposts().plural)
    }

    return thisGraph;
});


var askPostsByDOW = (function() {

    var protectedInfo = {};
    var thisGraph = countByDOWChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, askposts().desc, askposts().plural)
    }

    return thisGraph;
});

var askPostsByHour = (function() {

    var protectedInfo = {};
    var thisGraph = countByHourChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, askposts().desc, askposts().plural)
    }

    return thisGraph;
});


var askPostsByMonthYear = (function() {

    var protectedInfo = {};
    var thisGraph = countByMonthYearChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, askposts().desc, askposts().plural)
    }

    return thisGraph;
});

/////

var askDeletedPostsByDate = (function() {

    var protectedInfo = {};
    var thisGraph = countByDateChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, deletedAskposts().desc, deletedAskposts().plural)
    }

    protectedInfo.getOptions = function() {

        var opt = thisGraph.getOptions();
        var options = $.extend(true, {}, opt, {
            bars: { show: true},
            points: { show: true }
        });

        return options;
    };

    return thisGraph;
});

var askDeletedPostsByYear = (function() {

    var protectedInfo = {};
    var thisGraph = countByYearChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, deletedAskposts().desc, deletedAskposts().plural)
    }

    return thisGraph;
});

var askDeletedPostsByMonth = (function() {

    var protectedInfo = {};
    var thisGraph = countByMonthChart(protectedInfo);

    protectedInfo.tooltipContent = function(item) {
        return thisGraph.tooltipContent(item, deletedAskposts().desc, deletedAskposts().plural)
    }

    return thisGraph;
{'fraction_non_alphanumeric': 0.11985452140849727, 'fraction_numerical': 0.0, 'mean_word_length': 3.412837345003647, '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': '5625975', 'n_tokens_mistral': 1774, 'n_tokens_neox': 1688, 'n_words': 342}