<commit_before><%= render 'requests/new_request_form', request: Request.new %>
<div class='row collapse'>
  <ul class='button-group even-3 small-12 columns river-nav'>
  <li><%= button_to 'Community', river_path, method: 'get', class: 'small button river-btn' %></li>
  <li><%= button_to 'Active', active_path, method: 'get', class: 'small button river-btn' %></li>
  <li><%= button_to 'History', history_path, method: 'get', class: 'small button river-btn' %></li>
  </ul>
</div>

<div id="river">
  <ul id="group-transactions">
  </ul>
</div>

<script type="text/javascript" charset="utf-8">
  var pusher = new Pusher('<PASSWORD>', {
    encrypted: true,
    authEndpoint: '/pusher/groupauth',
    auth: {
      headers: {
        'X-CSRF-Token': '<%= form_authenticity_token %>'
      }
    }
  });

  var channel = pusher.subscribe('presence-<%= current_user.group_id %>');

  channel.bind("new_transaction", function(data) {
    var element = '<li>' + data.content + '</li>';

    $('#group-transactions').append(element);

    if (data.user_id === <%= current_user.id %>) {
      $('#my-transactions').append(element);
    }

  });

  channel.bind("new_request_posted", function(data) {
    $('#active-requests').append('<li>' + data.content + '</li>');
  });
</script><commit_msg>Remove merge conflict tags<commit_after><%= render 'requests/new_request_form', request: Request.new %>
<div class='row collapse'>
  <ul class='button-group even-3 small-12 columns river-nav'>
  <li><%= button_to 'Community', river_path, method: 'get', class: 'small button river-btn' %></li>
  <li><%= button_to 'Active', active_path, method: 'get', class: 'small button river-btn' %></li>
  <li><%= button_to 'History', history_path, method: 'get', class: 'small button river-btn' %></li>
  </ul>
</div>

<div id="river">
  <ul id="group-transactions">
  </ul>
</div>

<script type="text/javascript" charset="utf-8">
  var pusher = new Pusher('5<PASSWORD>', {
    encrypted: true,
    authEndpoint: '/pusher/groupauth',
    auth: {
      headers: {
        'X-CSRF-Token': '<%= form_authenticity_token %>'
      }
    }
  });

  var channel = pusher.subscribe('presence-<%= current_user.group_id %>');

  channel.bind("new_transaction", function(data) {
    var element = '<li>' + data.content + '</li>';

    $('#group-transactions').append(element);

    if (data.user_id === <%= current_user.id %>) {
      $('#my-transactions').append(element);
    }

  });

  channel.bind("new_request_posted", function(data) {
    $('#active-requests').append('<li>' + data.content + '</li>');
  });
</script>

{'fraction_non_alphanumeric': 0.21320973348783315, 'fraction_numerical': 0.0034762456546929316, 'mean_word_length': 4.009671179883946, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '6252488', 'n_tokens_mistral': 904, 'n_tokens_neox': 873, 'n_words': 186}