<commit_before><template name="projectPage">
  <div class="project-page page">
    {{> projectItem extendContext 'projectItemIsOpen' true}}
    <div>
      <ul class="nav nav-tabs" role="tablist">
        <li role="presentation" class="active">
          <a href="#sources" aria-controls="sources" role="tab" data-toggle="tab">
            Sources
          </a>
        </li>
        <li role="presentation">
          <a href="#findings" aria-controls="findings" role="tab" data-toggle="tab">
            Findings
          </a>
        </li>
        <li role="presentation">
          <a href="#risks" aria-controls="risks" role="tab" data-toggle="tab">
            Risks
          </a>
        </li>
        <li role="presentation">
          <a href="#report" aria-controls="report" role="tab" data-toggle="tab">
            Report
          </a>
        </li>
      </ul>
      <div class="tab-content">
        <div class="tab-pane fade in active" id="sources">
          <ul class="sources">
            {{#each sources}}
              {{> sourceItem}}
            {{/each}}
          </ul>
          {{#if currentUser}}
            {{> sourceSubmit}}
          {{else}}
            <p>Please log in to add sources.</p>
          {{/if}}
        </div>
        <div class="tab-pane fade" id="findings">
          {{#if has_sources}}
            <ul class="findings">
              {{#each findings}}
                {{> findingItem}}
              {{/each}}
            </ul>
            {{#if currentUser}}
              {{> findingSubmit}}
            {{else}}
              <p>Please log in to add findings.</p>
            {{/if}}
          {{else}}
            <p>You need to add sources before you can add findings.</p>
          {{/if}}
        </div>
        <div class="tab-pane fade" id="risks">
          {{#if has_findings}}
            <ul class="risks">
              {{#each risks}}
                {{> riskItem}}
              {{/each}}
            </ul>
            {{#if currentUser}}
              {{> riskSubmit}}
            {{else}}
              <p>Please log in to add risks.</p>
            {{/if}}
          {{else}}
            <p>You need to add findings before you can add risks.</p>
          {{/if}}
        </div>
        <div class="tab-pane fade" id="report">
          {{> projectReport}}
        </div>
      </div>
    </div>
  </div>
</template><commit_msg>Remove checks for logged in status and use jumbotron for messages.<commit_after><template name="projectPage">
  <div class="project-page page">
    {{> projectItem extendContext 'projectItemIsOpen' true}}
    <div>
      <ul class="nav nav-tabs" role="tablist">
        <li role="presentation" class="active">
          <a href="#sources" aria-controls="sources" role="tab" data-toggle="tab">
            Sources
          </a>
        </li>
        <li role="presentation">
          <a href="#findings" aria-controls="findings" role="tab" data-toggle="tab">
            Findings
          </a>
        </li>
        <li role="presentation">
          <a href="#risks" aria-controls="risks" role="tab" data-toggle="tab">
            Risks
          </a>
        </li>
        <li role="presentation">
          <a href="#report" aria-controls="report" role="tab" data-toggle="tab">
            Report
          </a>
        </li>
      </ul>
      <div class="tab-content">
        <div class="tab-pane fade in active" id="sources">
          <ul class="sources">
            {{#each sources}}
              {{> sourceItem}}
            {{/each}}
          </ul>
          {{> sourceSubmit}}
        </div>
        <div class="tab-pane fade" id="findings">
          {{#if has_sources}}
            <ul class="findings">
              {{#each findings}}
                {{> findingItem}}
              {{/each}}
            </ul>
            {{> findingSubmit}}
          {{else}}
            <div class="jumbotron">
              <p>You need to add sources before you can add findings.</p>
            </div>
          {{/if}}
        </div>
        <div class="tab-pane fade" id="risks">
          {{#if has_findings}}
            <ul class="risks">
              {{#each risks}}
                {{> riskItem}}
              {{/each}}
            </ul>
            {{> riskSubmit}}
          {{else}}
            <div class="jumbotron">
              <p>You need to add findings before you can add risks.</p>
            </div>
          {{/if}}
        </div>
        <div class="tab-pane fade" id="report">
          {{> projectReport}}
        </div>
      </div>
    </div>
  </div>
</template>
{'fraction_non_alphanumeric': 0.16659426585577758, 'fraction_numerical': 0.0, 'mean_word_length': 1.4612506680919295, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 117, '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': '5145842', 'n_tokens_mistral': 1318, 'n_tokens_neox': 1305, 'n_words': 319}