<commit_before><% userid << participant.user_id %>
<tr class= "" style="font-size: 15px">
  <td ><%= link_to participant.user.name(session[:ip]), impersonate_impersonate_path(:user => {:name => participant.user.name(session[:ip])}), :method => :post %></td>
  <td ><%= link_to participant.user.fullname(session[:ip]), :controller=> 'users', :action => 'show', :id => participant.user_id %></td>
  <td><a href="mailto: <%= participant.user.email(session[:ip]) %>"><%= participant.user.email(session[:ip]) %></a></td>
  <td><%= participant.user.role.name %></td>
  <td align = "left"><%= (User.find(participant.user.parent_id)).name(session[:ip]) %></td>
  <% if participant.assignment.badge? %>
    <td align = "left"><%= get_awarded_badges(participant) %></td>
  <% end %>
  <td align = "left"><%= User.yesorno(participant.user.email_on_review) %></td>
  <td align = "left"><%= User.yesorno(participant.user.email_on_submission) %></td>
  <td align = "left"><%= User.yesorno(participant.user.email_on_review_of_review) %></td>
  <td align = "left"><%= participant.can_submit == false ? 'no' : 'yes' %></td>
  <td align = "left"><%= participant.can_review == false ? 'no' : 'yes' %></td>
  <td align = "left"><%= participant.can_take_quiz == false ? 'no' : 'yes' %></td>
  <td align = "left"><%= participant.handle(session[:ip]) %></td>

  <td align="left" ><%= link_to 'Remove', {:controller => controller, :action => 'destroy', :id => participant.id}, :method => :delete %></td>

  <!-- E726 Fall2012 Changes Begin -->
  <% authorization = Participant.get_authorization(participant.can_submit, participant.can_review, participant.can_take_quiz) %>
  <% if authorization =='reader' %>
      <td><%= fa_icon 'book', title: 'reader' %></td>
  <% else %>
      <td></td>
  <% end %><commit_msg>add way to remove participant from course<commit_after><% userid << participant.user_id %>
<tr class= "" style="font-size: 15px">
  <td ><%= link_to participant.user.name(session[:ip]), impersonate_impersonate_path(:user => {:name => participant.user.name(session[:ip])}), :method => :post %></td>
  <td ><%= link_to participant.user.fullname(session[:ip]), :controller=> 'users', :action => 'show', :id => participant.user_id %></td>
  <td><a href="mailto: <%= participant.user.email(session[:ip]) %>"><%= participant.user.email(session[:ip]) %></a></td>
  <td><%= participant.user.role.name %></td>
  <td align = "left"><%= (User.find(participant.user.parent_id)).name(session[:ip]) %></td>
  <% if participant.assignment.badge? %>
    <td align = "left"><%= get_awarded_badges(participant) %></td>
  <% end %>
  <td align = "left"><%= User.yesorno(participant.user.email_on_review) %></td>
  <td align = "left"><%= User.yesorno(participant.user.email_on_submission) %></td>
  <td align = "left"><%= User.yesorno(participant.user.email_on_review_of_review) %></td>
  <td align = "left"><%= participant.can_submit == false ? 'no' : 'yes' %></td>
  <td align = "left"><%= participant.can_review == false ? 'no' : 'yes' %></td>
  <td align = "left"><%= participant.can_take_quiz == false ? 'no' : 'yes' %></td>
  <td align = "left"><%= participant.handle(session[:ip]) %></td>

  <td align="left" ><%= link_to 'Remove', {:controller => 'participants', :action => 'destroy', :id => participant.id}, :method => :delete %></td>

  <!-- E726 Fall2012 Changes Begin -->
  <% authorization = Participant.get_authorization(participant.can_submit, participant.can_review, participant.can_take_quiz) %>
  <% if authorization =='reader' %>
      <td><%= fa_icon 'book', title: 'reader' %></td>
  <% else %>
      <td></td>
  <% end %>
{'fraction_non_alphanumeric': 0.23851687880464859, 'fraction_numerical': 0.004980630879911455, 'mean_word_length': 5.116751269035533, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 141, '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': '7381545', 'n_tokens_mistral': 1337, 'n_tokens_neox': 1238, 'n_words': 254}