<commit_before><%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ 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/functions" prefix="fn" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="im"%>

<!-- begin.jsp -->
<html:xhtml/>

<div id="content-wrap">
    <div id="boxes">
        <div id="search-bochs">
            <img class="title" src="themes/purple/homepage/search-ico-right.png" title="search"/>
            <div class="inner">
                <h3><c:out value="${WEB_PROPERTIES['begin.searchBox.title']}" /></h3>
                <span class="ugly-hack">&nbsp;</span>
                <p><c:out value="${WEB_PROPERTIES['begin.searchBox.description']}" escapeXml="false" /></p>

                <form action="<c:url value="/keywordSearchResults.do" />" name="search" method="get">
                    <div class="input"><input id="actionsInput" name="searchTerm" class="input" type="text" value="${WEB_PROPERTIES['begin.searchBox.example']}"></div>
                    <div class="bottom">
                        <center>
                            <input id="mainSearchButton" name="searchSubmit" class="button dark" type="submit" value="search"/>
                        </center>
                    </div>
                </form>

                <div style="clear:both;"></div>
            </div>
        </div>
        <div id="lists-bochs">
            <img class="title" src="images/icons/lists-64.png" title="lists"/>
            <div class="inner">
                <h3><c:out value="${WEB_PROPERTIES['begin.listBox.title']}" /></h3>
                <p><c:out value="${WEB_PROPERTIES['begin.listBox.description']}" escapeXml="false" /></p>

                <form name="buildBagForm" method="post" action="<c:url value="/buildBag.do" />">
                    <select name="type">
                      <c:forEach var="bag" items="${preferredBags}">
                        <option value="<c:out value="${bag}" />"><c:out value="${bag}" /></option>
                      </c:forEach>
                    </select>
                    <div class="textarea">
                      <textarea id="listInput" name="text"><c:out value="${WEB_PROPERTIES['bag.example.identifiers']}" /></textarea>
                    </div>
                    <div class="bottom">
                        <center>
                            <a class="advanced" href="bag.do?subtab=upload">advanced</a>
                            <br />
                            <input class="button light" type="submit" value="analyse"/>
                        </center>
                    </div>
                </form>
            </div>
        </div>
        <div id="welcome-bochs">
            <div class="inner">
              <c:choose>
                <c:when test="${!isNewUser && !empty(WEB_PROPERTIES['begin.thirdBox.visitedTitle'])}">
                  <h3><c:out value="${WEB_PROPERTIES['begin.thirdBox.visitedTitle']}" /></h3>
                </c:when>
                <c:otherwise>
                  <h3><c:out value="${WEB_PROPERTIES['begin.thirdBox.title']}" /></h3>
                </c:otherwise>
              </c:choose>
                <br />
                <c:choose>
                  <c:when test="${!isNewUser && !empty(WEB_PROPERTIES['begin.thirdBox.visitedDescription'])}">
                    <p><c:out value="${WEB_PROPERTIES['begin.thirdBox.visitedDescription']}" escapeXml="false" /></p>
                  </c:when>
                  <c:otherwise>
                    <p><c:out value="${WEB_PROPERTIES['begin.thirdBox.description']}" escapeXml="false" /></p>
                  </c:otherwise>
                </c:choose>
                <c:if test="${!empty WEB_PROPERTIES['begin.thirdBox.linkTitle']}">
                  <div class="bottom">
                      <center>
                        <c:choose>
                          <c:when test="${!isNewUser && !empty(WEB_PROPERTIES['begin.thirdBox.visitedLink'])}">
                            <a class="button gray" href="<c:out value="${WEB_PROPERTIES['begin.thirdBox.visitedLink']}" />"
                            onclick="javascript:window.open('<c:out value="${WEB_PROPERTIES['begin.thirdBox.visitedLink']}" />','_help','toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=1,width=800,height=600');return false">
                          </c:when>
                          <c:otherwise>
                            <a class="button gray" href="<c:out value="${WEB_PROPERTIES['begin.thirdBox.link']}" />"
                            onclick="javascript:window.open('<c:out value="${WEB_PROPERTIES['begin.thirdBox.link']}" />','_help','toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=1,width=800,height=600');return false">
                          </c:otherwise>
                        </c:choose>
                            <div>
                              <span>
                                <c:choose>
                                  <c:when test="${!isNewUser && !empty(WEB_PROPERTIES['begin.thirdBox.visitedLinkTitle'])}">
                                    <c:out value="${WEB_PROPERTIES['begin.thirdBox.visitedLinkTitle']}" />
                                  </c:when>
                                  <c:otherwise>
                                    <c:out value="${WEB_PROPERTIES['begin.thirdBox.linkTitle']}" />
                                  </c:otherwise>
                                </c:choose>
                              </span>
                            </div>
                          </a>
                      </center>
                  </div>
                </c:if>
            </div><commit_msg>Change empty( to empty ( to work around JSTL bug in Tomcat 6.0.18.<commit_after><%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ 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/functions" prefix="fn" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="im"%>

<!-- begin.jsp -->
<html:xhtml/>

<div id="content-wrap">
    <div id="boxes">
        <div id="search-bochs">
            <img class="title" src="themes/purple/homepage/search-ico-right.png" title="search"/>
            <div class="inner">
                <h3><c:out value="${WEB_PROPERTIES['begin.searchBox.title']}" /></h3>
                <span class="ugly-hack">&nbsp;</span>
                <p><c:out value="${WEB_PROPERTIES['begin.searchBox.description']}" escapeXml="false" /></p>

                <form action="<c:url value="/keywordSearchResults.do" />" name="search" method="get">
                    <div class="input"><input id="actionsInput" name="searchTerm" class="input" type="text" value="${WEB_PROPERTIES['begin.searchBox.example']}"></div>
                    <div class="bottom">
                        <center>
                            <input id="mainSearchButton" name="searchSubmit" class="button dark" type="submit" value="search"/>
                        </center>
                    </div>
                </form>

                <div style="clear:both;"></div>
            </div>
        </div>
        <div id="lists-bochs">
            <img class="title" src="images/icons/lists-64.png" title="lists"/>
            <div class="inner">
                <h3><c:out value="${WEB_PROPERTIES['begin.listBox.title']}" /></h3>
                <p><c:out value="${WEB_PROPERTIES['begin.listBox.description']}" escapeXml="false" /></p>

                <form name="buildBagForm" method="post" action="<c:url value="/buildBag.do" />">
                    <select name="type">
                      <c:forEach var="bag" items="${preferredBags}">
                        <option value="<c:out value="${bag}" />"><c:out value="${bag}" /></option>
                      </c:forEach>
                    </select>
                    <div class="textarea">
                      <textarea id="listInput" name="text"><c:out value="${WEB_PROPERTIES['bag.example.identifiers']}" /></textarea>
                    </div>
                    <div class="bottom">
                        <center>
                            <a class="advanced" href="bag.do?subtab=upload">advanced</a>
                            <br />
                            <input class="button light" type="submit" value="analyse"/>
                        </center>
                    </div>
                </form>
            </div>
        </div>
        <div id="welcome-bochs">
            <div class="inner">
              <c:choose>
                <c:when test="${!isNewUser && !empty (WEB_PROPERTIES['begin.thirdBox.visitedTitle'])}">
                  <h3><c:out value="${WEB_PROPERTIES['begin.thirdBox.visitedTitle']}" /></h3>
                </c:when>
                <c:otherwise>
                  <h3><c:out value="${WEB_PROPERTIES['begin.thirdBox.title']}" /></h3>
                </c:otherwise>
              </c:choose>
                <br />
                <c:choose>
                  <c:when test="${!isNewUser && !empty (WEB_PROPERTIES['begin.thirdBox.visitedDescription'])}">
                    <p><c:out value="${WEB_PROPERTIES['begin.thirdBox.visitedDescription']}" escapeXml="false" /></p>
                  </c:when>
                  <c:otherwise>
                    <p><c:out value="${WEB_PROPERTIES['begin.thirdBox.description']}" escapeXml="false" /></p>
                  </c:otherwise>
                </c:choose>
                <c:if test="${!empty WEB_PROPERTIES['begin.thirdBox.linkTitle']}">
                  <div class="bottom">
                      <center>
                        <c:choose>
                          <c:when test="${!isNewUser && !empty (WEB_PROPERTIES['begin.thirdBox.visitedLink'])}">
                            <a class="button gray" href="<c:out value="${WEB_PROPERTIES['begin.thirdBox.visitedLink']}" />"
                            onclick="javascript:window.open('<c:out value="${WEB_PROPERTIES['begin.thirdBox.visitedLink']}" />','_help','toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=1,width=800,height=600');return false">
                          </c:when>
                          <c:otherwise>
                            <a class="button gray" href="<c:out value="${WEB_PROPERTIES['begin.thirdBox.link']}" />"
                            onclick="javascript:window.open('<c:out value="${WEB_PROPERTIES['begin.thirdBox.link']}" />','_help','toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=1,width=800,height=600');return false">
                          </c:otherwise>
                        </c:choose>
                            <div>
                              <span>
                                <c:choose>
                                  <c:when test="${!isNewUser && !empty (WEB_PROPERTIES['begin.thirdBox.visitedLinkTitle'])}">
                                    <c:out value="${WEB_PROPERTIES['begin.thirdBox.visitedLinkTitle']}" />
                                  </c:when>
                                  <c:otherwise>
                                    <c:out value="${WEB_PROPERTIES['begin.thirdBox.linkTitle']}" />
                                  </c:otherwise>
                                </c:choose>
                              </span>
                            </div>
                          </a>
                      </center>
                  </div>
                </c:if>
            </div>
{'fraction_non_alphanumeric': 0.17652005718610714, 'fraction_numerical': 0.0063913884450424695, 'mean_word_length': 1.5908496732026143, 'pattern_counts': {'":': 0, '<': 265, '<?xml version=': 0, '>': 265, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5993518', 'n_tokens_mistral': 3562, 'n_tokens_neox': 3327, 'n_words': 456}