<commit_before>
<%unless params[:admin]%>	
	<div id="results_count">
		<h3><%= t('groups_and_results', :size => @groups.size) %></h3>	
	</div>
<%end%>

	<% for group in @groups -%>
		<div class="group">
			<ul class="group_links">
				<%if @space.users.include?(current_user) || current_user.superuser?%>
					<li><%= link_to t('message.send'), space_groups_path(@space, :send_message => group.users), :title => t('group.send_message') %></li>
					<!--<li><a>e-mail</a></li>-->
					<li><%= link_to t('join'), space_group_path(@space, group, :add_user => current_user.id), :title => t('group.join'), :method => :put if @space.users.include?(current_user) && !group.users.include?(current_user)%></li>
					<li><%= link_to t('edit'), edit_space_group_path(@space, group, :admin => params[:admin]) if @space.authorize?([:manage, :group], :to => current_user)%></li>
					<li><%= link_to t('delete.one'), space_group_path(@space, group, :admin => params[:admin]), :title => t('group.delete'), :confirm => t('delete.confirm', :element => @group.name), :method => :delete, :class => 'delete_group' if @space.authorize?([:manage, :group], :to => current_user)%></li>
				<%end%>	
			</ul>
			<h3><%=sanitize(first_words(group.name,40))%><br/>
			<%= t('group.mailing_list') +  mail_to(sanitize("vcc-#{group.<EMAIL>")) if group.users.include?(current_user) && group.mailing_list.present?%></h3>
			<% for user in group.users.sort {|x,y| x.name <=> y.name } -%>
				<%= render :partial => 'users/simple_user', :object=> user %>
			<% end -%>
		</div>
	<% end -%>
	<% unless @users_without_group.empty? -%>
		<div class="group">
			<h3><%= t('user.without_group') %></h3>
			<% for user in @users_without_group -%>
				<%= render :partial => 'users/simple_user', :object=> user %>
			<% end -%>
		</div>
	<% end -%><commit_msg>bug solved, @groups was wrong it was groups<commit_after>
<%unless params[:admin]%>	
	<div id="results_count">
		<h3><%= t('groups_and_results', :size => @groups.size) %></h3>	
	</div>
<%end%>

	<% for group in @groups -%>
		<div class="group">
			<ul class="group_links">
				<%if @space.users.include?(current_user) || current_user.superuser?%>
					<li><%= link_to t('message.send'), space_groups_path(@space, :send_message => group.users), :title => t('group.send_message') %></li>
					<!--<li><a>e-mail</a></li>-->
					<li><%= link_to t('join'), space_group_path(@space, group, :add_user => current_user.id), :title => t('group.join'), :method => :put if @space.users.include?(current_user) && !group.users.include?(current_user)%></li>
					<li><%= link_to t('edit'), edit_space_group_path(@space, group, :admin => params[:admin]) if @space.authorize?([:manage, :group], :to => current_user)%></li>
					<li><%= link_to t('delete.one'), space_group_path(@space, group, :admin => params[:admin]), :title => t('group.delete'), :confirm => t('delete.confirm', :element => group.name), :method => :delete, :class => 'delete_group' if @space.authorize?([:manage, :group], :to => current_user)%></li>
				<%end%>	
			</ul>
			<h3><%=sanitize(first_words(group.name,40))%><br/>
			<%= t('group.mailing_list') +  mail_to(sanitize("vcc-#{group.<EMAIL>")) if group.users.include?(current_user) && group.mailing_list.present?%></h3>
			<% for user in group.users.sort {|x,y| x.name <=> y.name } -%>
				<%= render :partial => 'users/simple_user', :object=> user %>
			<% end -%>
		</div>
	<% end -%>
	<% unless @users_without_group.empty? -%>
		<div class="group">
			<h3><%= t('user.without_group') %></h3>
			<% for user in @users_without_group -%>
				<%= render :partial => 'users/simple_user', :object=> user %>
			<% end -%>
		</div>
	<% end -%>
{'fraction_non_alphanumeric': 0.24952277065721298, 'fraction_numerical': 0.00436323970548132, 'mean_word_length': 4.713395638629284, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 145, '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': '4868341', 'n_tokens_mistral': 1526, 'n_tokens_neox': 1371, 'n_words': 253}