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

<tiles:importAttribute/>

<!-- view.jsp -->
<c:if test="${!empty VIEW}">
  <div class="view">
    Current view:<br/>
    <br/>
    <table class="results" cellspacing="0">
      <tr>
        <c:forEach var="path" items="${VIEW}" varStatus="status">
          <th>
            <c:out value="${path}"/>
            <c:if test="${!status.first}">
              [
              <html:link action="/viewChange?method=moveLeft&index=${status.index}">
                &lt; 
              </html:link>
              ]
            </c:if>
            <c:if test="${!status.last}">
              [
              <html:link
                 action="/viewChange?method=moveRight&index=${status.index}">
                &gt;
              </html:link>
              ]
            </c:if>
            [
            <html:link action="/viewChange?method=removeFromView&path=${path}">
              x
            </html:link>
            ]
          </th>
        </c:forEach>
      </tr>
    </table>
    <br/>
    <br/>
    <tiles:get name="saveQuery"/>
    <div>
      <html:link action="/viewChange?method=runQuery">
        <fmt:message key="view.showresults"/>
      </html:link>
    </div>
  </div>
</c:if>
<!-- /view.jsp --><commit_msg>Final I12Ning. Moved savedQuery and show results outside of the view DIV.<commit_after><%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>

<tiles:importAttribute/>

<!-- view.jsp -->
<c:if test="${empty VIEW}">
  <fmt:message key="view.empty.description"/>
</c:if>
<c:if test="${!empty VIEW}">
  <div class="view">
    <fmt:message key="view.notempty.description"/>
    <br/>
    <table class="results" cellspacing="0">
      <tr>
        <c:forEach var="path" items="${VIEW}" varStatus="status">
          <th>
            <nobr>
              <c:out value="${path}"/>
              <c:if test="${!status.first}">
                [
                <html:link action="/viewChange?method=moveLeft&index=${status.index}">
                  &lt; 
                </html:link>
                ]
              </c:if>
              <c:if test="${!status.last}">
                [
                <html:link
                   action="/viewChange?method=moveRight&index=${status.index}">
                  &gt;
                </html:link>
                ]
              </c:if>
              [
              <html:link action="/viewChange?method=removeFromView&path=${path}">
                x
              </html:link>
              ]
            </nobr>
          </th>
        </c:forEach>
      </tr>
    </table>
  </div>
</c:if>
<c:if test="${!empty VIEW}">
  <br/>
  <tiles:get name="saveQuery"/>
  <div>
    <html:link action="/viewChange?method=runQuery">
      <fmt:message key="view.showresults"/>
    </html:link>
  </div>
</c:if>
<!-- /view.jsp -->
{'fraction_non_alphanumeric': 0.20326958667489203, 'fraction_numerical': 0.0012338062924120913, 'mean_word_length': 1.7717948717948717, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, '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': '5687986', 'n_tokens_mistral': 1097, 'n_tokens_neox': 1058, 'n_words': 162}