<commit_before>/*
 *
 * Copyright (c) 2014 <NAME> (https://github.com/Ryuk87)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 * 
 * Version 1.0.0
 *
 */
(function(e){function t(e,t,n){if(t=="show"){switch(n){case"fade":e.fadeIn();break;case"slide":e.slideDown();break;default:e.fadeIn()}}else{switch(n){case"fade":e.fadeOut();break;case"slide":e.slideUp();break;default:e.fadeOut()}}}e.goup=function(n){var r=e.extend({location:"right",locationOffset:20,bottomOffset:10,containerSize:40,containerRadius:10,containerClass:"goup-container",arrowClass:"goup-arrow",alwaysVisible:false,trigger:500,entryAnimation:"fade",goupSpeed:"slow",hideUnderWidth:500,containerColor:"#000",arrowColor:"#fff",title:"",titleAsText:false,titleAsTextClass:"goup-text"},n);e("body").append('<div style="display:none" class="'+r.containerClass+'"></div>');var i=e("."+r.containerClass);e(i).html('<div class="'+r.arrowClass+'"></div>');var s=e("."+r.arrowClass);if(r.location!="right"&&r.location!="left"){r.location="right"}if(r.locationOffset<0){r.locationOffset=0}if(r.bottomOffset<0){r.bottomOffset=0}if(r.containerSize<20){r.containerSize=20}if(r.containerRadius<0){r.containerRadius=0}if(r.trigger<0){r.trigger=0}if(r.hideUnderWidth<0){r.hideUnderWidth=0}var o=/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i;if(!o.test(r.containerColor)){r.containerColor="#000"}if(!o.test(r.arrowColor)){r.arrowColor="#fff"}if(r.title===""){r.titleAsText=false}var u={};u={position:"fixed",width:r.containerSize,height:r.containerSize,background:r.containerColor,cursor:"pointer"};u["bottom"]=r.bottomOffset;u[r.location]=r.locationOffset;u["border-radius"]=r.containerRadius;e(i).css(u);if(!r.titleAsText){e(i).attr("title",r.title)}else{e("body").append('<div class="'+r.titleAsTextClass+'">'+r.title+"</div>");var a=e("."+r.titleAsTextClass);e(a).attr("style",e(i).attr("style"));e(a).css("background","transparent").css("width",r.containerSize+40).css("height","auto").css("text-align","center").css(r.location,r.locationOffset-20);var f=e(a).height()+10;e(i).css("bottom","+="+f+"px")}var l={};var c=.25*r.containerSize;l={width:0,height:0,margin:"0 auto","padding-top":Math.ceil(.325*r.containerSize),"border-style":"solid","border-width":"0 "+c+"px "+c+"px "+c+"px","border-color":"transparent transparent "+r.arrowColor+" transparent"};e(s).css(l);var h=false;e(window).resize(function(){if(e(window).outerWidth()<=r.hideUnderWidth){h=true;t(e(i),"hide",r.entryAnimation);if(a)t(e(a),"hide",r.entryAnimation)}else{h=false;e(window).trigger("scroll")}});if(e(window).outerWidth()<=r.hideUnderWidth){h=true;e(i).hide();if(a)e(a).hide()}if(!r.alwaysVisible){e(window).scroll(function(){if(e(window).scrollTop()>=r.trigger&&!h){t(e(i),"show",r.entryAnimation);if(a)t(e(a),"show",r.entryAnimation)}if(e(window).scrollTop()<r.trigger&&!h){t(e(i),"hide",r.entryAnimation);if(a)t(e(a),"hide",r.entryAnimation)}})}else{t(e(i),"show",r.entryAnimation);if(a)t(e(a),"show",r.entryAnimation)}if(e(window).scrollTop()>=r.trigger&&!h){t(e(i),"show",r.entryAnimation);if(a)t(e(a),"show",r.entryAnimation)}var p=true;e(i).add(a).on("click",function(){if(p){p=false;e("html,body").animate({scrollTop:0},r.goupSpeed,function(){p=true})}return false})}})(jQuery)<commit_msg>change goup啥玩意萌新不懂这英文了哼<commit_after>/*
 *
 * Copyright (c) 2014 <NAME> (https://github.com/Ryuk87)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * Version 1.0.0
 *
 */
(function(e){function t(e,t,n){if(t=="show"){switch(n){case"fade":e.fadeIn();break;case"slide":e.slideDown();break;default:e.fadeIn()}}else{switch(n){case"fade":e.fadeOut();break;case"slide":e.slideUp();break;default:e.fadeOut()}}}e.goup=function(n){var r=e.extend({location:"right",locationOffset:23,bottomOffset:80,containerSize:40,containerRadius:10,containerClass:"goup-container",arrowClass:"goup-arrow",alwaysVisible:false,trigger:500,entryAnimation:"fade",goupSpeed:"slow",hideUnderWidth:500,containerColor:"#000",arrowColor:"#fff",title:"",titleAsText:false,titleAsTextClass:"goup-text"},n);e("body").append('<div style="display:none" class="'+r.containerClass+'"></div>');var i=e("."+r.containerClass);e(i).html('<div class="'+r.arrowClass+'"></div>');var s=e("."+r.arrowClass);if(r.location!="right"&&r.location!="left"){r.location="right"}if(r.locationOffset<0){r.locationOffset=0}if(r.bottomOffset<0){r.bottomOffset=0}if(r.containerSize<20){r.containerSize=20}if(r.containerRadius<0){r.containerRadius=0}if(r.trigger<0){r.trigger=0}if(r.hideUnderWidth<0){r.hideUnderWidth=0}var o=/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i;if(!o.test(r.containerColor)){r.containerColor="#000"}if(!o.test(r.arrowColor)){r.arrowColor="#fff"}if(r.title===""){r.titleAsText=false}var u={};u={position:"fixed",width:r.containerSize,height:r.containerSize,background:r.containerColor,cursor:"pointer"};u["bottom"]=r.bottomOffset;u[r.location]=r.locationOffset;u["border-radius"]=r.containerRadius;e(i).css(u);if(!r.titleAsText){e(i).attr("title",r.title)}else{e("body").append('<div class="'+r.titleAsTextClass+'">'+r.title+"</div>");var a=e("."+r.titleAsTextClass);e(a).attr("style",e(i).attr("style"));e(a).css("background","transparent").css("width",r.containerSize+40).css("height","auto").css("text-align","center").css(r.location,r.locationOffset-20);var f=e(a).height()+10;e(i).css("bottom","+="+f+"px")}var l={};var c=.25*r.containerSize;l={width:0,height:0,margin:"0 auto","padding-top":Math.ceil(.325*r.containerSize),"border-style":"solid","border-width":"0 "+c+"px "+c+"px "+c+"px","border-color":"transparent transparent "+r.arrowColor+" transparent"};e(s).css(l);var h=false;e(window).resize(function(){if(e(window).outerWidth()<=r.hideUnderWidth){h=true;t(e(i),"hide",r.entryAnimation);if(a)t(e(a),"hide",r.entryAnimation)}else{h=false;e(window).trigger("scroll")}});if(e(window).outerWidth()<=r.hideUnderWidth){h=true;e(i).hide();if(a)e(a).hide()}if(!r.alwaysVisible){e(window).scroll(function(){if(e(window).scrollTop()>=r.trigger&&!h){t(e(i),"show",r.entryAnimation);if(a)t(e(a),"show",r.entryAnimation)}if(e(window).scrollTop()<r.trigger&&!h){t(e(i),"hide",r.entryAnimation);if(a)t(e(a),"hide",r.entryAnimation)}})}else{t(e(i),"show",r.entryAnimation);if(a)t(e(a),"show",r.entryAnimation)}if(e(window).scrollTop()>=r.trigger&&!h){t(e(i),"show",r.entryAnimation);if(a)t(e(a),"show",r.entryAnimation)}var p=true;e(i).add(a).on("click",function(){if(p){p=false;e("html,body").animate({scrollTop:0},r.goupSpeed,function(){p=true})}return false})}})(jQuery)
{'fraction_non_alphanumeric': 0.2782191575475941, 'fraction_numerical': 0.019487333233398293, 'mean_word_length': 15.07710843373494, 'pattern_counts': {'":': 16, '<': 35, '<?xml version=': 0, '>': 21, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '637447', 'n_tokens_mistral': 2652, 'n_tokens_neox': 2573, 'n_words': 86}