<commit_before>if (typeof(URB) == 'undefined') {

// *
// * URB <%= URB::VERSION %> (Uncompressed)
// *
// * (c) 2014 <NAME>
// * Except otherwise noted, URB is licensed under
// * http://creativecommons.org/licenses/by/3.0
// *
// * $Date: 2014-07-08 10:56:53 $
// *

URB = (function() {
  var urb_path = '<%= URB::PATH %>', maxlength = <%= URB::MAXLENGTH %>,

  $ = {
    ready: function(f){'\v'=='v'?setTimeout(f,0):$.on(document,'DOMContentLoaded',f);},
    on: function(e,t,f,r){if(e.attachEvent?(r?e.detachEvent('on'+t,e[t+f]):1):(r?e.removeEventListener(t,f,0):e.addEventListener(t,f,0))){e['e'+t+f]=f;e[t+f]=function(){e['e'+t+f](window.event);};e.attachEvent('on'+t,e[t+f]);}},
    hasClass: function(e,c){return $.indexOf(c,e.className.split(' '))>=0;},
    indexOf: function(v,a,i){for(i=a.length;i--&&a[i]!=v;);return i;},
    request: function(d,e,f,t){f=f||'post';var c=document.createElement('form');c.setAttribute('method',f);c.setAttribute('action',d);c.setAttribute('target',t);for(var b in e){if(e.hasOwnProperty(b)){var a=document.createElement('input');a.setAttribute('type','hidden');a.setAttribute('name',b);a.setAttribute('value',e[b]);c.appendChild(a)}}document.body.appendChild(c);c.submit()}
  },

  init = function() {
    $.on(document, 'click', function(event) {
      var target = event.target || event.srcElement || window.event.target || window.event.srcElement, css = URB.css || '', leftClick = (event.which || event.button) == 1;
      if (leftClick) {
        if (target.tagName.toLowerCase() == 'a' && ((css == '') || $.hasClass(target, css))) {
          event.preventDefault();
          open(target.getAttribute('href'), ((event.ctrlKey || event.metaKey) ? '_blank' : undefined));
        }
      }
    });
  },

  open = function(url, target) {
    target || (target = '_self');
    var location = document.createElement('a'), path;
    location.href = url;
    if (location.host == '') {
      location.href = location.href;
    }
    if ((location.host == window.location.host) && (path = location.pathname + location.search).length > maxlength) {
      $.request(urb_path, {path: path}, undefined, target);
    } else {
      window.open(url, target);<commit_msg>Ignoring links with hash tags<commit_after>if (typeof(URB) == 'undefined') {

// *
// * URB <%= URB::VERSION %> (Uncompressed)
// *
// * (c) 2014 <NAME>
// * Except otherwise noted, URB is licensed under
// * http://creativecommons.org/licenses/by/3.0
// *
// * $Date: 2014-10-22 17:22:12 $
// *

URB = (function() {
  var urb_path = '<%= URB::PATH %>', maxlength = <%= URB::MAXLENGTH %>,

  $ = {
    ready: function(f){'\v'=='v'?setTimeout(f,0):$.on(document,'DOMContentLoaded',f);},
    on: function(e,t,f,r){if(e.attachEvent?(r?e.detachEvent('on'+t,e[t+f]):1):(r?e.removeEventListener(t,f,0):e.addEventListener(t,f,0))){e['e'+t+f]=f;e[t+f]=function(){e['e'+t+f](window.event);};e.attachEvent('on'+t,e[t+f]);}},
    hasClass: function(e,c){return $.indexOf(c,e.className.split(' '))>=0;},
    indexOf: function(v,a,i){for(i=a.length;i--&&a[i]!=v;);return i;},
    request: function(d,e,f,t){f=f||'post';var c=document.createElement('form');c.setAttribute('method',f);c.setAttribute('action',d);c.setAttribute('target',t);for(var b in e){if(e.hasOwnProperty(b)){var a=document.createElement('input');a.setAttribute('type','hidden');a.setAttribute('name',b);a.setAttribute('value',e[b]);c.appendChild(a)}}document.body.appendChild(c);c.submit()}
  },

  init = function() {
    $.on(document, 'click', function(event) {
      var target = event.target || event.srcElement || window.event.target || window.event.srcElement, css = URB.css || '', leftClick = (event.which || event.button) == 1, href = target.getAttribute('href');
      if (leftClick && !href.match(/#/)) {
        if (target.tagName.toLowerCase() == 'a' && ((css == '') || $.hasClass(target, css))) {
          event.preventDefault();
          open(target.getAttribute('href'), ((event.ctrlKey || event.metaKey) ? '_blank' : undefined));
        }
      }
    });
  },

  open = function(url, target) {
    target || (target = '_self');
    var location = document.createElement('a'), path;
    location.href = url;
    if (location.host == '') {
      location.href = location.href;
    }
    if ((location.host == window.location.host) && (path = location.pathname + location.search).length > maxlength) {
      $.request(urb_path, {path: path}, undefined, target);
    } else {
      window.open(url, target);
{'fraction_non_alphanumeric': 0.2403031654034775, 'fraction_numerical': 0.0115916183682568, 'mean_word_length': 4.303782505910165, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, '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': '1196665', 'n_tokens_mistral': 1616, 'n_tokens_neox': 1588, 'n_words': 220}