<commit_before>#navigation(style="width:100%;")
  .ui.menu.large
    a.item(href="/")
      i.icon.left(class="#{ config.service.icon || 'lab' }")
      | #{config.service.name}

    block mainMenu
      .right.menu
        if (user)
          a.item(href="/people/#{user.slug}") #{user.username}
          a.item(href="/sessions/#{session.hash}?method=delete") Logout
        else
          a.item(href="/sessions")
            i.user.icon
            | Login &raquo;
          a.item(href="/people")
            i.icons
              i.user.icon
              i.corner.add.icon
            |  Register &raquo;
<commit_msg>Disable UI when public registration is disabled.<commit_after>#navigation(style="width:100%;")
  .ui.menu.large
    a.item(href="/")
      i.icon.left(class="#{ config.service.icon || 'lab' }")
      | #{config.service.name}

    block mainMenu
      .right.menu
        if (user)
          a.item(href="/people/#{user.slug}") #{user.username}
          a.item(href="/sessions/#{session.hash}?method=delete") Logout
        else if (config.config.allowPublicRegistration)
          a.item(href="/sessions")
            i.user.icon
            | Login &raquo;
          a.item(href="/people")
            i.icons
              i.user.icon
              i.corner.add.icon
            |  Register &raquo;

{'fraction_non_alphanumeric': 0.1636500754147813, 'fraction_numerical': 0.004524886877828055, 'mean_word_length': 1.8354700854700854, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6785108', 'n_tokens_mistral': 423, 'n_tokens_neox': 412, 'n_words': 62}