<commit_before><%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!-- menu.jsp -->
<html:xhtml/>
<div class="links">
  <span class="menu-item">
    <html:link href="${WEB_PROPERTIES['project.sitePrefix']}/">
      <fmt:message key="menu.home"/>
    </html:link>
  </span>
  <c:if test="${!empty QUERY}">
    <span class="menu-item">
      <html:link action="/query.do">
        <fmt:message key="menu.currentquery"/>
      </html:link>
    </span>
  </c:if>
  <span class="menu-item">
    <html:link action="/begin.do">
      <fmt:message key="menu.newquery"/>
    </html:link>
  </span>
  <c:if test="${!empty PROFILE.savedBags || !empty PROFILE.savedQueries}">
    <span class="menu-item">
      <html:link action="/history.do">
        <fmt:message key="menu.history"/>
      </html:link>
    </span>
  </c:if>
  <span class="menu-item">
    <html:link action="/examples.do">
      <fmt:message key="menu.examples"/>
    </html:link>
  </span>
  <span class="menu-item">
    <html:link action="/templateSearch.do">
      <fmt:message key="menu.searchTemplates"/>
    </html:link>
    <img src="images/inspect.gif" width="12" height="11" alt="-&gt;"/>
  </span>
  <c:if test="${!empty PROFILE_MANAGER && empty PROFILE.username}">
    <span class="menu-item">
      <html:link action="/login.do">
        <fmt:message key="menu.login"/>
      </html:link>
    </span>
  </c:if>
  <span class="menu-item">
    <html:link action="/feedback.do">
      <fmt:message key="menu.feedback"/>
    </html:link>
  </span>
  <span class="menu-item">
    <html:link href="${WEB_PROPERTIES['project.sitePrefix']}/doc/manual/index.html">
      <fmt:message key="menu.help"/>
    </html:link>
  </span>
</div>

<!-- /menu.jsp --><commit_msg>All menu items remain on screen but some can be disabled.<commit_after><%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!-- menu.jsp -->
<html:xhtml/>
<div class="links">
  <span class="menu-item">
    <html:link href="${WEB_PROPERTIES['project.sitePrefix']}/">
      <fmt:message key="menu.home"/>
    </html:link>
  </span>
  <span class="menu-item">
    <c:choose>
      <c:when test="${!empty QUERY}">
        <html:link action="/query.do">
          <fmt:message key="menu.currentquery"/>
        </html:link>
      </c:when>
      <c:otherwise>
        <fmt:message key="menu.currentquery"/>
      </c:otherwise>
    </c:choose>
  </span>
  <span class="menu-item">
    <html:link action="/begin.do">
      <fmt:message key="menu.newquery"/>
    </html:link>
  </span>
  <span class="menu-item">
  <c:choose>
    <c:when test="${!empty PROFILE.savedBags || !empty PROFILE.savedQueries}">
      <html:link action="/history.do">
        <fmt:message key="menu.history"/>
      </html:link>
    </c:when>
    <c:otherwise>
      <fmt:message key="menu.history"/>
    </c:otherwise>
  </c:choose>
  </span>
  <span class="menu-item">
    <html:link action="/examples.do">
      <fmt:message key="menu.examples"/>
    </html:link>
  </span>
  <span class="menu-item">
    <html:link action="/templateSearch.do">
      <fmt:message key="menu.searchTemplates"/>
    </html:link>
    <img src="images/inspect.gif" width="12" height="11" alt="-&gt;"/>
  </span>
  <span class="menu-item">
    <html:link action="/feedback.do">
      <fmt:message key="menu.feedback"/>
    </html:link>
  </span>
  <span class="menu-item">
    <c:choose>
      <c:when test="${!empty PROFILE_MANAGER && empty PROFILE.username}">
        <html:link action="/login.do">
          <fmt:message key="menu.login"/>
        </html:link>
      </c:when>
      <c:otherwise>
        <fmt:message key="menu.login"/>
      </c:otherwise>
    </c:choose>
  </span>
  <span class="menu-item">
    <html:link href="${WEB_PROPERTIES['project.sitePrefix']}/doc/manual/index.html">
      <fmt:message key="menu.help"/>
    </html:link>
  </span>
</div>

<!-- /menu.jsp -->
{'fraction_non_alphanumeric': 0.2255729794933655, 'fraction_numerical': 0.0019300361881785283, 'mean_word_length': 3.104950495049505, 'pattern_counts': {'":': 0, '<': 138, '<?xml version=': 0, '>': 138, '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': '1431338', 'n_tokens_mistral': 1532, 'n_tokens_neox': 1489, 'n_words': 246}