<commit_before>(function(){
  var modal = $('#feedback-modal').modal({backdrop: true});
  var hidden = true;

  modal.bind('hide', function() {
    hidden = true;
  }).bind('show', function() {
    hidden = false;
  });

  $('.feedback').live('click', function() {
    modal.modal('show');

    // Load the tour
    $.ajax({
      url: "/feedback/new",
      dataType: "html",
      success: function(data) {
        modal.html(data);
      }
    });
  });

  $(".cancel", modal).live("click", function() {
    modal.modal('hide');
  })


  $("#feedback-form").live("ajax:success ajax:error", function(e, data) {
    var alertMsg = $(".alert-message", modal);
    alertMsg.html(data.msg).show();
    alertMsg.alert();
  });

})();
<commit_msg>Nonsensical comment from shameless copy-pasta<commit_after>(function(){
  var modal = $('#feedback-modal').modal({backdrop: true});
  var hidden = true;

  modal.bind('hide', function() {
    hidden = true;
  }).bind('show', function() {
    hidden = false;
  });

  $('.feedback').live('click', function() {
    modal.modal('show');

    $.ajax({
      url: "/feedback/new",
      dataType: "html",
      success: function(data) {
        modal.html(data);
      }
    });
  });

  $(".cancel", modal).live("click", function() {
    modal.modal('hide');
  })


  $("#feedback-form").live("ajax:success ajax:error", function(e, data) {
    var alertMsg = $(".alert-message", modal);
    alertMsg.html(data.msg).show();
    alertMsg.alert();
  });

})();

{'fraction_non_alphanumeric': 0.22778891115564462, 'fraction_numerical': 0.0, 'mean_word_length': 3.0268817204301075, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '822929', 'n_tokens_mistral': 501, 'n_tokens_neox': 479, 'n_words': 89}