<commit_before>%div
  %h2.left History
  .right
    = form_tag project_path(@project), :method => :get do
      .span-2
        = radio_button_tag :view, "recent", (params[:view] || "recent") == "recent", :onclick => "this.form.submit()", :id => "recent_view"
        = label_tag "recent_view","Recent"
      .span-2
        = radio_button_tag :view, "day", params[:view] == "day", :onclick => "this.form.submit()", :id => "day_view"
        = label_tag "day_view","Today"
      .span-2
        = radio_button_tag :view, "week", params[:view] == "week", :onclick => "this.form.submit()", :id => "week_view"
        = label_tag "week_view","Week"
  .clear
  %hr
.span-11
  %h3 Commits
  =render "projects/recent_commits"

.span-11.right
  %h3 Talk
  =render "projects/recent_messages"
<commit_msg>update project's dashboard every 5 minutes<commit_after>%div
  %h2.left History
  .right
    = form_tag project_path(@project), :method => :get do
      .span-2
        = radio_button_tag :view, "recent", (params[:view] || "recent") == "recent", :onclick => "this.form.submit()", :id => "recent_view"
        = label_tag "recent_view","Recent"
      .span-2
        = radio_button_tag :view, "day", params[:view] == "day", :onclick => "this.form.submit()", :id => "day_view"
        = label_tag "day_view","Today"
      .span-2
        = radio_button_tag :view, "week", params[:view] == "week", :onclick => "this.form.submit()", :id => "week_view"
        = label_tag "week_view","Week"
  .clear
  %hr
.span-11
  %h3 Commits
  =render "projects/recent_commits"

.span-11.right
  %h3 Talk
  =render "projects/recent_messages"

:javascript
  function updateDashboard(){
    $('#content-container').load("#{escape_javascript(project_path(@project))} #content-container>*");
  }
  setInterval("updateDashboard()", 300000);
{'fraction_non_alphanumeric': 0.1868798235942668, 'fraction_numerical': 0.014884233737596472, 'mean_word_length': 3.5717884130982367, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 18, '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': '3376872', 'n_tokens_mistral': 661, 'n_tokens_neox': 635, 'n_words': 128}