<commit_before>function api(b,c,d,a){if(!b){apiError("no API URL set")}else{$.ajax({type:(c==null?"GET":"POST"),url:b,data:c,dataType:"json",success:function(e){console.log(e);if(typeof e.error!=="undefined"){apiError(e.error.join("<br>"))}else{if(typeof d!=="undefined"&&d){d(e)}}},error:function(e){console.log(e);if(typeof a!=="undefined"&&a){if(a(e)===false){return}}if(typeof e.responseJSON!=="undefined"&&typeof e.responseJSON["error"]!=="undefined"){apiError(e.responseJSON["error"].join("<br>"))}else{if(typeof e.responseText!=="undefined"){apiError(e.responseText)}else{if(typeof e.statusText!=="undefined"){apiError(e.statusText)}else{apiError(e)}}}}})}}function apiError(a){$("#api_error").html(a);$("#api_error_link").fancybox({closeBtn:false,beforeShow:function(){this.skin.css({background:"#F2DEDE",color:"#B94A48",border:"solid 1px #EED3D7"})}}).click()};<commit_msg>api.min.js updated<commit_after>function api(b,c,d,a){if(!b){apiError("no API URL set")}else{$.ajax({type:(c==null?"GET":"POST"),url:b,data:c,dataType:"json",success:function(e){if(typeof e.error!=="undefined"){apiError(e.error.join("<br>"))}else{if(typeof d!=="undefined"&&d){d(e)}}},error:function(e){if(typeof a!=="undefined"&&a){if(a(e)===false){return}}if(typeof e.responseJSON!=="undefined"&&typeof e.responseJSON["error"]!=="undefined"){apiError(e.responseJSON["error"].join("<br>"))}else{if(typeof e.responseText!=="undefined"){apiError(e.responseText)}else{if(typeof e.statusText!=="undefined"){apiError(e.statusText)}else{apiError(e)}}}}})}}function apiError(a){$("#api_error").html(a);$("#api_error_link").fancybox({closeBtn:false,beforeShow:function(){this.skin.css({background:"#F2DEDE",color:"#B94A48",border:"solid 1px #EED3D7"})}}).click()};
{'fraction_non_alphanumeric': 0.2806210465784934, 'fraction_numerical': 0.009200690051753882, 'mean_word_length': 24.58823529411765, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 7, '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': '3735597', 'n_tokens_mistral': 654, 'n_tokens_neox': 641, 'n_words': 30}