<commit_before>function updateFirstPage(){
    //temporary put this function here, need to find better place or rename the updateFirstPage
    renameHFMissingField();
    renameOtherField()
    var items = $j('div[itemid]');
    var item_type = getItemType(items);
    var item_ids = getItemIds(items);

    if (item_type != null && item_ids.length > 0){
        $j.ajax({
            url: items_for_result_url,
            async: false,
            data: {item_ids: item_ids.join(','), item_type: item_type}
        })
            .done(function( data ) {
                updateContent(data.resource_list_items);

                $j('.exhibit-viewPanel').removeClass('exhibit-ui-protection');
                $j('.exhibit-collectionView-header-groupControl').hide();
                $j('.exhibit-toolboxWidget-button').hide();
                decodeValueTooltip();
                $j('.exhibit-viewPanel-viewContainer').show();
            });
    }
}

jQuery.noConflict();
var $j = jQuery;<commit_msg>backout a commit<commit_after>function updateFirstPage(){
    //temporary put this function here, need to find better place or rename the updateFirstPage
    renameHFMissingField();
    renameOtherField()
    var items = $j('div[itemid]');
    var item_type = getItemType(items);
    var item_ids = getItemIds(items);

    if (item_type != null && item_ids.length > 0){
        $j.ajax({
            url: items_for_result_url,
            async: false,
            data: {item_ids: item_ids.join(','), item_type: item_type}
        })
            .done(function( data ) {
                updateContent(data.resource_list_items);

                $j('.exhibit-viewPanel').removeClass('exhibit-ui-protection');
                $j('.exhibit-collectionView-header-groupControl').hide();
                $j('.exhibit-toolboxWidget-button').hide();
                decodeValueTooltip();
            });
    }
}

jQuery.noConflict();
var $j = jQuery;
{'fraction_non_alphanumeric': 0.13566289825282632, 'fraction_numerical': 0.0010277492291880781, 'mean_word_length': 2.356896551724138, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1361251', 'n_tokens_mistral': 584, 'n_tokens_neox': 552, 'n_words': 108}