<commit_before><a id="users-toggle" class="btn btn-primary btn-lg toggle"><i class="fa fa-users"></i></a>
<div id="sideusers" class="leather">
	<ul class="sidebar-nav">
		<a id="users-close" class="btn btn-default btn-lg pull-right toggle"><i class="fa fa-times"></i></a>
        <li class="sidebar-brand"><%= link_to "User list", nil %></li>
		<div id="userlist" style="overflow-y: hidden;">
        	<% @usershere.each do |x| %>
        <% y = User.find_by_id(x) %>
				<% if.include("guest_") %>
          <li><%= link_to y.name, y %></li>
        <% elsif y.super_user == true %>
					<li><%= link_to y do %> <%= y.name %> <span class="label label-danger">SuperAdmin</span><% end %></li>
				<% elsif @chat.administrators.include?(x.email) %>
					<li><%= link_to y do %> <%= y.name %> <span class="label label-danger">Admin</span><% end %></li>
				<% else %>
					<li><%= link_to y.name, y %></li>
				<% end %>
			<% end %>
		</div>
	</ul>
</div>
<script>
$("#users-close").click(function(e) {
	e.preventDefault();<commit_msg>fix a bug with admin checking<commit_after><a id="users-toggle" class="btn btn-primary btn-lg toggle"><i class="fa fa-users"></i></a>
<div id="sideusers" class="leather">
	<ul class="sidebar-nav">
		<a id="users-close" class="btn btn-default btn-lg pull-right toggle"><i class="fa fa-times"></i></a>
        <li class="sidebar-brand"><%= link_to "User list", nil %></li>
		<div id="userlist" style="overflow-y: hidden;">
        	<% @usershere.each do |x| %>
        <% y = User.find_by_id(x) %>
				<% if y.name.include?("guest_") %>
          <li><%= link_to y.name, y %></li>
        <% elsif y.super_user == true %>
					<li><%= link_to y do %> <%= y.name %> <span class="label label-danger">SuperAdmin</span><% end %></li>
				<% elsif @chat.administrators.include?(x.email) %>
					<li><%= link_to y do %> <%= y.name %> <span class="label label-danger">Admin</span><% end %></li>
				<% else %>
					<li><%= link_to y.name, y %></li>
				<% end %>
			<% end %>
		</div>
	</ul>
</div>
<script>
$("#users-close").click(function(e) {
	e.preventDefault();
{'fraction_non_alphanumeric': 0.24593301435406698, 'fraction_numerical': 0.0, 'mean_word_length': 3.3744769874476988, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, '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': '1999806', 'n_tokens_mistral': 874, 'n_tokens_neox': 761, 'n_words': 171}