<commit_before>(function(document, undefined) {
  document.onreadystatechange = function() {
    if (document.readyState === "complete") {
      // Query data
      reqwest({
        'url': 'data.json',
        'type': 'json',
        'error': function() {
          console.error('Unable to get or parse data');
        },
        'success': function(data) {
          // Render data     
          var sectionsTemplate = document.getElementById('sections-template'),
              dataContainer = document.getElementById('data-container'),
              template = Hogan.compile(sectionsTemplate.innerHTML);

          dataContainer.innerHTML = template.render(data);
        }
      });

      // Social buttons
      (function(doc, script) {
        var js,
            fjs = doc.getElementsByTagName(script)[0],
            frag = doc.createDocumentFragment(),
            add = function(url, id) {
                if (doc.getElementById(id)) {
                    return;
                }
                js = doc.createElement(script);
                js.src = url;
                id && (js.id = id);
                frag.appendChild(js);
            };

        // Google+ button
        add('http://apis.google.com/js/plusone.js');
        // Facebook SDK
        add('//connect.facebook.net/uk_UA/all.js#xfbml=1&appId=200103733347528', 'facebook-jssdk');
        // Twitter SDK
        add('//platform.twitter.com/widgets.js');
        fjs.parentNode.insertBefore(frag, fjs);
      }(document, 'script'));
    }
  }
})(document);<commit_msg>app id<commit_after>(function(document, undefined) {
  document.onreadystatechange = function() {
    if (document.readyState === "complete") {
      // Query data
      reqwest({
        'url': 'data.json',
        'type': 'json',
        'error': function() {
          console.error('Unable to get or parse data');
        },
        'success': function(data) {
          // Render data     
          var sectionsTemplate = document.getElementById('sections-template'),
              dataContainer = document.getElementById('data-container'),
              template = Hogan.compile(sectionsTemplate.innerHTML);

          dataContainer.innerHTML = template.render(data);
        }
      });

      // Social buttons
      (function(doc, script) {
        var js,
            fjs = doc.getElementsByTagName(script)[0],
            frag = doc.createDocumentFragment(),
            add = function(url, id) {
                if (doc.getElementById(id)) {
                    return;
                }
                js = doc.createElement(script);
                js.src = url;
                id && (js.id = id);
                frag.appendChild(js);
            };

        // Google+ button
        add('http://apis.google.com/js/plusone.js');
        // Facebook SDK
        add('//connect.facebook.net/uk_UA/all.js#xfbml=1', 'facebook-jssdk');
        // Twitter SDK
        add('//platform.twitter.com/widgets.js');
        fjs.parentNode.insertBefore(frag, fjs);
      }(document, 'script'));
    }
  }
})(document);
{'fraction_non_alphanumeric': 0.14169645758856028, 'fraction_numerical': 0.006174845628859279, 'mean_word_length': 1.7384341637010676, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6047356', 'n_tokens_mistral': 851, 'n_tokens_neox': 814, 'n_words': 148}