<commit_before><html>
  <head>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js">
    </script>
    <script>
      var receiveMessage = function (event) {
        // todo here: security for event.src coming from a reasonable place
        var message = JSON.parse(event.data);
        var ajaxResponse = function(successOrFail) {
          return function(response) {
            event.source.postMessage(JSON.stringify({
              callbackId:    message.callbackId,
              successOrFail: successOrFail,
              response:      response
            }), event.origin);
          }<commit_msg>Protocol-relative import<commit_after><html>
  <head>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js">
    </script>
    <script>
      var receiveMessage = function (event) {
        // todo here: security for event.src coming from a reasonable place
        var message = JSON.parse(event.data);
        var ajaxResponse = function(successOrFail) {
          return function(response) {
            event.source.postMessage(JSON.stringify({
              callbackId:    message.callbackId,
              successOrFail: successOrFail,
              response:      response
            }), event.origin);
          }
{'fraction_non_alphanumeric': 0.11059190031152648, 'fraction_numerical': 0.004672897196261682, 'mean_word_length': 2.0963855421686746, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '3979432', 'n_tokens_mistral': 345, 'n_tokens_neox': 337, 'n_words': 73}