<commit_before><%inherit file="master.mak" />
<head>
    <script src="/pace/pace.js"></script>
  <link href="/pace/themes/pace-theme-barber-shop.css" rel="stylesheet" />
</head>

<div class="jumbotron">
  <h1>Participants</h1>
  <p>Should have ${int(target_number)} blog posts</p>
  <!--<p><a href="#" class="btn btn-primary btn-lg">Generate Report&raquo;</a></p>-->
</div>

<div class="row">
  %for student in student_data:
    <div class="col-sm-4">
      <div class="shadowcard padded">
        <div>
          <img class="uglymug pull-left" src="${gravatar(student['rit_dce'] + '@rit.edu')}" alt="${student['irc']}'s Avatar" />
          <h4 class="item">${student['irc']}</h4>
          <div class="item blog clearfix">
            <a target="_blank" href="${student['blog']}">Blog</a>
            <% post_count = student_posts.get(student['irc'], 0) %>
            <span class="label label-${'success' if post_count >= target_number else 'warning' if post_count >= target_number*.8 else 'danger'}">${post_count}</span>
          </div>
        </div>
        <ul class="cardlist list-unstyled">
          % for forge_link in student['forges']:
            <li><a target="_blank" href="${forge_link}">${forge_link}</a></li>
          % endfor

          <% keys = ['hackprop1', 'commcont1', 'hack1', 'hackprop2', 'commcont2', 'commcont3', 'finalweek', 'finalpreso', 'finalpost'] %>
          % for key in keys:
              % if student.get(key):
                <li><a target="_blank" href="${student[key]}">${key}</a></li>
              % else:
                <li class="redtext">${key}?</li>
              % endif
          % endfor

        </ul>
        <!-- <p><a class="btn" href="#">View details &raquo;</a></p> -->
      </div>
    </div><!--/span--><commit_msg>Added 'hack2' to blog template<commit_after><%inherit file="master.mak" />
<head>
    <script src="/pace/pace.js"></script>
  <link href="/pace/themes/pace-theme-barber-shop.css" rel="stylesheet" />
</head>

<div class="jumbotron">
  <h1>Participants</h1>
  <p>Should have ${int(target_number)} blog posts</p>
  <!--<p><a href="#" class="btn btn-primary btn-lg">Generate Report&raquo;</a></p>-->
</div>

<div class="row">
  %for student in student_data:
    <div class="col-sm-4">
      <div class="shadowcard padded">
        <div>
          <img class="uglymug pull-left" src="${gravatar(student['rit_dce'] + '@rit.edu')}" alt="${student['irc']}'s Avatar" />
          <h4 class="item">${student['irc']}</h4>
          <div class="item blog clearfix">
            <a target="_blank" href="${student['blog']}">Blog</a>
            <% post_count = student_posts.get(student['irc'], 0) %>
            <span class="label label-${'success' if post_count >= target_number else 'warning' if post_count >= target_number*.8 else 'danger'}">${post_count}</span>
          </div>
        </div>
        <ul class="cardlist list-unstyled">
          % for forge_link in student['forges']:
            <li><a target="_blank" href="${forge_link}">${forge_link}</a></li>
          % endfor

          <% keys = ['hackprop1', 'hack1', 'commcont1', 'hackprop2', 'hack2', 'commcont2', 'commcont3', 'finalweek', 'finalpreso', 'finalpost'] %>
          % for key in keys:
              % if student.get(key):
                <li><a target="_blank" href="${student[key]}">${key}</a></li>
              % else:
                <li class="redtext">${key}?</li>
              % endif
          % endfor

        </ul>
        <!-- <p><a class="btn" href="#">View details &raquo;</a></p> -->
      </div>
    </div><!--/span-->
{'fraction_non_alphanumeric': 0.2202680067001675, 'fraction_numerical': 0.007816862088218872, 'mean_word_length': 2.6862139917695473, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 113, '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': '3191026', 'n_tokens_mistral': 1230, 'n_tokens_neox': 1181, 'n_words': 230}