<commit_before><div class="ui container very padded text">
  <h1 class='ui header' id="title">Participate</h1>

  <div class="ui secondary  menu">
    {{#link-to 'dashboard' class='item'}}Dashboard{{/link-to}}
    {{#link-to 'proposals.new' class='item'}}New proposal{{/link-to}}
    <div class="right menu">
      <div class="ui item">
        {{#if session.isAuthenticated}}
          <a {{ action 'invalidateSession' }}>Logout</a>
        {{else}}
          {{#link-to 'login'}}Login{{/link-to}}
        {{/if}}
      </div>
    </div>
  </div><commit_msg>Hide menu items when not logged in<commit_after><div class="ui container very padded text">
  <h1 class='ui header' id="title">Participate</h1>

  <div class="ui secondary  menu">
    {{#if session.isAuthenticated}}
      {{#link-to 'dashboard' class='item'}}Dashboard{{/link-to}}
      {{#link-to 'proposals.new' class='item'}}New proposal{{/link-to}}
    {{else}}
      {{#link-to 'login'}}Login{{/link-to}}
    {{/if}}
    <div class="right menu">
      <div class="ui item">
        {{#if session.isAuthenticated}}
          <a {{ action 'invalidateSession' }}>Logout</a>
        {{/if}}
      </div>
    </div>
  </div>
{'fraction_non_alphanumeric': 0.2087912087912088, 'fraction_numerical': 0.0033812341504649195, 'mean_word_length': 3.0827586206896553, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '3282883', 'n_tokens_mistral': 410, 'n_tokens_neox': 409, 'n_words': 88}