<commit_before><% @project ||= @show_projects.first -%>
<h3 style="display:inline-block"><%= your_project.title %></h3>

<% if profile = @viewer.profiles.find_by_project_id(@project.id) %>
  (<%= link_to("Dashboard", profile_path(profile)) %>)
<% end %>

<br/>

<%= render :remote, :controller => 'reports', :action => :project_stats, :project_id => your_project.id %>

<%
@viewer.set_project(your_project)

title = ""
if @viewer.is_eventgroup_coordinator?(@eg)
    title += ", Projects Coordinator"
end
if @viewer.is_project_director?
    title += ", Project Director"
end
if @viewer.is_project_administrator?
    title += ", Project Administrator"
end
if @viewer.is_support_coach?
    title += ", Support Coach"
end
if @viewer.is_project_staff?
    title += ", Project Staff"
end
if @viewer.is_processor?
    title += ", Processor"
end

%><commit_msg>put staff's name in the link to dashboard on your projects<commit_after><% @project ||= @show_projects.first -%>
<h3 style="display:inline-block"><%= your_project.title %></h3>

<% if profile = @viewer.profiles.find_by_project_id(@project.id) %>
  (<%= link_to("View #{@viewer.person.full_name} Dashboard", profile_path(profile)) %>)
<% end %>

<br/>

<%= render :remote, :controller => 'reports', :action => :project_stats, :project_id => your_project.id %>

<%
@viewer.set_project(your_project)

title = ""
if @viewer.is_eventgroup_coordinator?(@eg)
    title += ", Projects Coordinator"
end
if @viewer.is_project_director?
    title += ", Project Director"
end
if @viewer.is_project_administrator?
    title += ", Project Administrator"
end
if @viewer.is_support_coach?
    title += ", Support Coach"
end
if @viewer.is_project_staff?
    title += ", Project Staff"
end
if @viewer.is_processor?
    title += ", Processor"
end

%>
{'fraction_non_alphanumeric': 0.1687219730941704, 'fraction_numerical': 0.002242152466367713, 'mean_word_length': 5.176470588235294, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 29, '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': '5609268', 'n_tokens_mistral': 643, 'n_tokens_neox': 613, 'n_words': 130}