<commit_before> // avoid javascript namespace pollution
(function() {

    // css variable
    var title_css = {
        "font-size": "24px",
        "font-weight": "bold",
        "line-height": "1.2em",
        "border-bottom": "3px dotted",
        "margin-left": "0px !important",
        "margin-bottom": "5px !important",
        "width": "auto !important"
    };
    var p_css = {
        "font-size": "16px"
    };
    var h2_css = {
        "font-size": "18px",
        "font-weight": "bold"
    };
    var cat_css = {
        "font-size": "30px",
        "background-color": "#FFC",
        "text-align": "center"
    };
    var sep_css = {
        "height": "5px",
        "background-color": "Red",
        "color": "Red",
        "margin": "20px 0 10px"
    };
    var introp_css = {
        "float": "left",
        "margin-right": "15px !important "
    };
    // remove all javascript on the page
    $("script").remove();
    // issue date of the news
    var iss_id = $("input[name=issue_id]").val();
    // array of all news id and link info
    var news = [];
    // maximum 2 simultaneous ajax request at a time
    var ManagedAjax = $.manageAjax.create('fetchQ', {
        queue: true,
        cacheResponse: true,
        maxRequests: 2
    });
    
    var loc_article = (new jsUri(window.location.href)).getQueryParamValue("art_id");
    ManagedAjax.AjaxComplete(function(){ window.scrollTo($("#"+loc_article).location().left,$("#"+loc_article).location().top);});
    $('#sltArticleMenu optgroup').each(function() {
        // build yellow block of title from optgroup
        var cat = $('<div>');
        cat.html("<h1>" + $(this).attr('label') + "</h1>");
        cat.find("h1").css(cat_css);
        $('#siteFooter').before(cat);
        $(this).find("option").each(function(index) {
            // parse it to json format and remove type
            news[index] = JSON.parse($(this).attr('value').replace(/'/gi, '"').replace(/type:"t",/, '').replace(/sec_id/, '"sec_id"').replace(/subsec_id/, '"subsec_id"').replace(/art_id/, '"art_id"').replace(/cat_id/, '"cat_id"').replace(/coln_id/, '"coln_id"').replace(/,"cat_id":"0"/, '').replace(/,"coln_id":"0"/, ''));
            news[index].iss_id = iss_id;
            // build div by article id and give name for fast bookmark jump
            var node = $('<div>');
            $(node).attr('id', news[index].art_id);
            $(node).attr('name', news[index].art_id);<commit_msg>Jump to the news of address bar<commit_after> // avoid javascript namespace pollution
(function() {

    // css variable
    var title_css = {
        "font-size": "24px",
        "font-weight": "bold",
        "line-height": "1.2em",
        "border-bottom": "3px dotted",
        "margin-left": "0px !important",
        "margin-bottom": "5px !important",
        "width": "auto !important"
    };
    var p_css = {
        "font-size": "16px"
    };
    var h2_css = {
        "font-size": "18px",
        "font-weight": "bold"
    };
    var cat_css = {
        "font-size": "30px",
        "background-color": "#FFC",
        "text-align": "center"
    };
    var sep_css = {
        "height": "5px",
        "background-color": "Red",
        "color": "Red",
        "margin": "20px 0 10px"
    };
    var introp_css = {
        "float": "left",
        "margin-right": "15px !important "
    };
    // remove all javascript on the page
    $("script").remove();
    // issue date of the news
    var iss_id = $("input[name=issue_id]").val();
    // array of all news id and link info
    var news = [];
    // maximum 2 simultaneous ajax request at a time
    var ManagedAjax = $.manageAjax.create('fetchQ', {
        queue: true,
        cacheResponse: true,
        maxRequests: 2
    });
    var loc_article = (new jsUri(window.location.href)).getQueryParamValue("art_id");
    
    $(document).bind("fetchQAjaxComplete", function() {
        var art = $("#"+loc_article);
        window.scrollTo(art.position().left, art.position().top);
    });
    $('#sltArticleMenu optgroup').each(function() {
        // build yellow block of title from optgroup
        var cat = $('<div>');
        cat.html("<h1>" + $(this).attr('label') + "</h1>");
        cat.find("h1").css(cat_css);
        $('#siteFooter').before(cat);
        $(this).find("option").each(function(index) {
            // parse it to json format and remove type
            news[index] = JSON.parse($(this).attr('value').replace(/'/gi, '"').replace(/type:"t",/, '').replace(/sec_id/, '"sec_id"').replace(/subsec_id/, '"subsec_id"').replace(/art_id/, '"art_id"').replace(/cat_id/, '"cat_id"').replace(/coln_id/, '"coln_id"').replace(/,"cat_id":"0"/, '').replace(/,"coln_id":"0"/, ''));
            news[index].iss_id = iss_id;
            // build div by article id and give name for fast bookmark jump
            var node = $('<div>');
            $(node).attr('id', news[index].art_id);
{'fraction_non_alphanumeric': 0.19987812309567338, 'fraction_numerical': 0.011781434084907576, 'mean_word_length': 2.3888506538196834, 'pattern_counts': {'":': 42, '<': 11, '<?xml version=': 0, '>': 11, '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': '1952108', 'n_tokens_mistral': 1615, 'n_tokens_neox': 1576, 'n_words': 348}