<commit_before><%@ 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" %>

<!-- bagBuild.jsp -->
<html:xhtml/>
<h2>Create a new bag</h2>
<div class="bagBuild">
  <html:form action="/buildBag" focus="text" method="post" enctype="multipart/form-data">
    <p>
      <fmt:message key="bagBuild.bagFromText1"/>
      <br/>
      <fmt:message key="bagBuild.bagFromText2"/>
      <br/>
      <html:textarea property="text" rows="10" cols="40"/>
      <br/>
      <html:reset>
        <fmt:message key="bagBuild.reset"/>
      </html:reset>
    </p>
    <p>
      <fmt:message key="bagBuild.or"/>
    </p>
    <p>
      <fmt:message key="bagBuild.bagFromFile"/>:
      <br/>
      <html:file property="formFile"/>
    </p>
    <p>
      <fmt:message key="bagBuild.bagNamePrompt"/>: <html:text property="bagName"/>
    </p>
    <p>
      <fmt:message key="bagBuild.extraHelpText1"/>
      <br/>
      <fmt:message key="bagBuild.extraHelpText2"/>
    </p>
    <p>
      <html:submit property="action">
        <fmt:message key="bagBuild.makeStringBag"/>
      </html:submit>
      <c:if test="${!empty WEB_PROPERTIES['begin.browse.template']}">
        <html:submit property="action">
          <fmt:message key="bagBuild.makeObjectBag"/>
        </html:submit>
      </c:if>
    </p>
  </html:form>
</div>
<!-- /bagBuild.jsp --><commit_msg>Remove "Make details bag" button.<commit_after><%@ 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" %>

<!-- bagBuild.jsp -->
<html:xhtml/>
<h2>Create a new bag</h2>
<div class="bagBuild">
  <html:form action="/buildBag" focus="text" method="post" enctype="multipart/form-data">
    <p>
      <fmt:message key="bagBuild.bagFromText1"/>
      <br/>
      <fmt:message key="bagBuild.bagFromText2"/>
      <br/>
      <html:textarea property="text" rows="10" cols="40"/>
      <br/>
      <html:reset>
        <fmt:message key="bagBuild.reset"/>
      </html:reset>
    </p>
    <p>
      <fmt:message key="bagBuild.or"/>
    </p>
    <p>
      <fmt:message key="bagBuild.bagFromFile"/>:
      <br/>
      <html:file property="formFile"/>
    </p>
    <p>
      <fmt:message key="bagBuild.bagNamePrompt"/>: <html:text property="bagName"/>
    </p>
    <p>
      <fmt:message key="bagBuild.extraHelpText1"/>
      <br/>
      <fmt:message key="bagBuild.extraHelpText2"/>
    </p>
    <p>
      <html:submit property="action">
        <fmt:message key="bagBuild.makeStringBag"/>
      </html:submit>
    </p>
  </html:form>
</div>
<!-- /bagBuild.jsp -->
{'fraction_non_alphanumeric': 0.21602914389799635, 'fraction_numerical': 0.007285974499089253, 'mean_word_length': 2.819193324061196, 'pattern_counts': {'":': 0, '<': 98, '<?xml version=': 0, '>': 98, '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': '929892', 'n_tokens_mistral': 1023, 'n_tokens_neox': 999, 'n_words': 161}