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

<tiles:importAttribute/>

<!-- main.jsp -->
<table class="query" width="100%" cellspacing="0">
  <tr>
    <td rowspan="2" valign="top" width="50%" class="modelbrowse">
      <fmt:message key="query.currentclass"/><br/>

      <c:if test="${!empty navigation}">
        <c:forEach items="${navigation}" var="entry" varStatus="status">
          <fmt:message key="query.changePath" var="changePathTitle">
            <fmt:param value="${entry.key}"/>
          </fmt:message>
          <html:link action="/mainChange?method=changePath&prefix=${entry.value}&path=${QUERY.nodes[entry.value].type}"
                     title="${changePathTitle}">
            <c:out value="${entry.key}"/>
          </html:link>
          <c:if test="${!status.last}">&gt;</c:if>
        </c:forEach>
        <br/><br/>
      </c:if>
      <c:forEach var="node" items="${nodes}">
        <div>
          <nobr>
            <c:if test="${node.indentation > 0}">
              <c:forEach begin="1" end="${node.indentation}">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              </c:forEach>
            </c:if>
            <c:choose>
              <c:when test="${node.button == '+'}">
                <html:link action="/mainChange?method=changePath&path=${node.path}">
                  <img border="0" src="images/plus.png" alt="+"/>
                </html:link>
              </c:when>
              <c:when test="${node.button == '-'}">
                <html:link action="/mainChange?method=changePath&path=${node.prefix}">
                  <img border="0" src="images/minus.png" alt="-"/>
                </html:link>
              </c:when>
              <c:otherwise>
                <img src="images/blank.png" alt=" "/>
              </c:otherwise>
            </c:choose>
            <c:if test="${node.indentation > 0}">
              <span class="metadata">
                <c:out value="${node.fieldName}"/>
              </span>
            </c:if>
            <span class="type">
              <c:out value="${node.type}"/><c:if test="${!empty classDescriptions[node.type]}"><sup><html:link action="/classDescription?class=${node.type}">?</html:link></sup></c:if>
              <c:if test="${node.collection}">
                <fmt:message key="query.collection"/>
              </c:if>
            </span>
            <c:choose>
              <c:when test="{node.indentation > 0">
                <fmt:message key="query.showNodeTitle" var="selectNodeTitle">
                  <fmt:param value="${node.fieldName}"/>
                </fmt:message>
              </c:when>
              <c:otherwise>
                <fmt:message key="query.showNodeTitle" var="selectNodeTitle">
                  <fmt:param value="${node.type}"/>
                </fmt:message>
              </c:otherwise>
            </c:choose>
            <html:link action="/mainChange?method=addToView&path=${node.path}"
                       title="${selectNodeTitle}">
              <fmt:message key="query.showNode"/>
            </html:link>
            <fmt:message key="query.addConstraintTitle" var="addConstraintToTitle">
              <fmt:param value="${node.fieldName}"/>
            </fmt:message>
            <html:link action="/mainChange?method=addPath&path=${node.path}"
                       title="${addConstraintToTitle}">
              <img class="arrow" src="images/right-arrow.png" alt="->"/>
            </html:link>
          </nobr>
        </div>
      </c:forEach>


    </td>
    <td valign="top">
      <fmt:message key="query.currentquery"/><br/>

      <c:choose>
        <c:when test="${empty QUERY.nodes}">
          <fmt:message key="query.empty"/>
        </c:when>
        <c:otherwise>
          <c:forEach var="entry" items="${QUERY.nodes}" varStatus="status">
            <div>
              <nobr>
                <div>
                  <c:set var="node" value="${entry.value}"/>
                  <c:if test="${node.indentation > 0}">
                    <c:forEach begin="1" end="${node.indentation}">
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    </c:forEach>
                  </c:if>
                  <span class="metadata"><c:out value="${node.fieldName}"/></span>
                  <span class="type">
                    <c:choose>
                      <c:when test="${node.attribute}">
                        <c:out value="${node.type}"/>
                      </c:when>
                      <c:otherwise>
                        <fmt:message key="query.changePath" var="changePathTitle">
                          <fmt:param value="${node.type}"/>
                        </fmt:message>
                        <html:link action="/mainChange?method=changePath&prefix=${node.path}&path=${node.type}"<commit_msg>Removed attribute types.<commit_after><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<tiles:importAttribute/>

<!-- main.jsp -->
<table class="query" width="100%" cellspacing="0">
  <tr>
    <td rowspan="2" valign="top" width="50%" class="modelbrowse">
      <fmt:message key="query.currentclass"/><br/>

      <c:if test="${!empty navigation}">
        <c:forEach items="${navigation}" var="entry" varStatus="status">
          <fmt:message key="query.changePath" var="changePathTitle">
            <fmt:param value="${entry.key}"/>
          </fmt:message>
          <html:link action="/mainChange?method=changePath&prefix=${entry.value}&path=${QUERY.nodes[entry.value].type}"
                     title="${changePathTitle}">
            <c:out value="${entry.key}"/>
          </html:link>
          <c:if test="${!status.last}">&gt;</c:if>
        </c:forEach>
        <br/><br/>
      </c:if>
      <c:forEach var="node" items="${nodes}">
        <div>
          <nobr>
            <c:if test="${node.indentation > 0}">
              <c:forEach begin="1" end="${node.indentation}">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              </c:forEach>
            </c:if>
            <c:choose>
              <c:when test="${node.button == '+'}">
                <html:link action="/mainChange?method=changePath&path=${node.path}">
                  <img border="0" src="images/plus.png" alt="+"/>
                </html:link>
              </c:when>
              <c:when test="${node.button == '-'}">
                <html:link action="/mainChange?method=changePath&path=${node.prefix}">
                  <img border="0" src="images/minus.png" alt="-"/>
                </html:link>
              </c:when>
              <c:otherwise>
                <img src="images/blank.png" alt=" "/>
              </c:otherwise>
            </c:choose>
            <c:if test="${node.indentation > 0}">
              <span class="metadata">
                <c:out value="${node.fieldName}"/>
              </span>
            </c:if>
            <span class="type">
              <c:if test="${node.indentation == 0}"><c:out value="${node.type}"/></c:if>
              <c:if test="${!empty classDescriptions[node.type]}"><sup><html:link action="/classDescription?class=${node.type}">?</html:link></sup></c:if>
              <c:if test="${node.collection}">
                <fmt:message key="query.collection"/>
              </c:if>
            </span>
            <c:choose>
              <c:when test="{node.indentation > 0">
                <fmt:message key="query.showNodeTitle" var="selectNodeTitle">
                  <fmt:param value="${node.fieldName}"/>
                </fmt:message>
              </c:when>
              <c:otherwise>
                <fmt:message key="query.showNodeTitle" var="selectNodeTitle">
                  <fmt:param value="${node.type}"/>
                </fmt:message>
              </c:otherwise>
            </c:choose>
            <html:link action="/mainChange?method=addToView&path=${node.path}"
                       title="${selectNodeTitle}">
              <fmt:message key="query.showNode"/>
            </html:link>
            <fmt:message key="query.addConstraintTitle" var="addConstraintToTitle">
              <fmt:param value="${node.fieldName}"/>
            </fmt:message>
            <html:link action="/mainChange?method=addPath&path=${node.path}"
                       title="${addConstraintToTitle}">
              <img class="arrow" src="images/right-arrow.png" alt="->"/>
            </html:link>
          </nobr>
        </div>
      </c:forEach>


    </td>
    <td valign="top">
      <fmt:message key="query.currentquery"/><br/>

      <c:choose>
        <c:when test="${empty QUERY.nodes}">
          <fmt:message key="query.empty"/>
        </c:when>
        <c:otherwise>
          <c:forEach var="entry" items="${QUERY.nodes}" varStatus="status">
            <div>
              <nobr>
                <div>
                  <c:set var="node" value="${entry.value}"/>
                  <c:if test="${node.indentation > 0}">
                    <c:forEach begin="1" end="${node.indentation}">
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    </c:forEach>
                  </c:if>
                  <span class="metadata"><c:out value="${node.fieldName}"/></span>
                  <span class="type">
                    <c:choose>
                      <c:when test="${node.attribute}">
                        <%--<c:out value="${node.type}"/>--%>
                      </c:when>
                      <c:otherwise>
                        <fmt:message key="query.changePath" var="changePathTitle">
                          <fmt:param value="${node.type}"/>
                        </fmt:message>
                        <html:link action="/mainChange?method=changePath&prefix=${node.path}&path=${node.type}"
{'fraction_non_alphanumeric': 0.19355155804580754, 'fraction_numerical': 0.0030472820210360758, 'mean_word_length': 1.761672095548317, 'pattern_counts': {'":': 0, '<': 244, '<?xml version=': 0, '>': 252, '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': '5494192', 'n_tokens_mistral': 3067, 'n_tokens_neox': 2912, 'n_words': 422}