<commit_before>function ddg_spice_github(re) {    
    var query = decodeURIComponent(rq);
    query = query.replace(/^\s*github\s+/, "");
    var header = query;

    re = re.data.repositories;

    var content = '<ul>';
    re.map(function(repo) {
        if (!repo.description || !repo.url) return;
        var ownerURL = repo.url.replace(/[^\/]*$/, "");
        content += '<li><a href="' + repo.url
                + '">' + repo.name + '</a>'
                +  ' (<i><a href="' + ownerURL
                + '">' + repo.owner + '</a></i>): '
                + repo.description + '</li>';
    });
    content += "</ul>";
    var more = "http://www.github.com/search?q=" + encodeURI(query);
    if (re.length == 1) {
        re = re[0];
        last_pushed = Math.floor((new Date() - new Date(re.pushed) ) / (1000*60*60*24));
        var years_ago = Math.floor(last_pushed / 365);
        if (years_ago >= 1) {
            last_pushed = years_ago + " year" + (years_ago == 1 ? "" : "s") + " ago";
        } else if (last_pushed == 0) {
            last_pushed = "today";
        } else if (last_pushed == 1) {
            last_pushed = "yesterday";
        } else {
            last_pushed = last_pushed + " day" + (last_pushed == 1 ? "" : "s") + " ago";<commit_msg>removed italics and added fork designator on list view<commit_after>function ddg_spice_github(re) {    
    var query = decodeURIComponent(rq);
    query = query.replace(/^\s*github\s+/, "");
    var header = query;

    re = re.data.repositories;

    var content = '<ul>';
    re.map(function(repo) {
        if (!repo.description || !repo.url) return;
        var ownerURL = repo.url.replace(/[^\/]*$/, "");
        content += '<li><a href="' + repo.url
                + '">' + repo.name + '</a>'
                +  ' (<a href="' + ownerURL
                + '">' + repo.owner + '</a>'
                + (repo.fork ? ', fork' : '') + ') - '
                + repo.description + '</li>';
    });
    content += "</ul>";
    var more = "http://www.github.com/search?q=" + encodeURI(query);
    if (re.length == 1) {
        re = re[0];
        last_pushed = Math.floor((new Date() - new Date(re.pushed) ) / (1000*60*60*24));
        var years_ago = Math.floor(last_pushed / 365);
        if (years_ago >= 1) {
            last_pushed = years_ago + " year" + (years_ago == 1 ? "" : "s") + " ago";
        } else if (last_pushed == 0) {
            last_pushed = "today";
        } else if (last_pushed == 1) {
            last_pushed = "yesterday";
        } else {
            last_pushed = last_pushed + " day" + (last_pushed == 1 ? "" : "s") + " ago";
{'fraction_non_alphanumeric': 0.19855182926829268, 'fraction_numerical': 0.01524390243902439, 'mean_word_length': 1.9037610619469028, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1179039', 'n_tokens_mistral': 932, 'n_tokens_neox': 880, 'n_words': 183}