<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project basedir="../" name="kiln:init">

  <description>Initialization Targets</description>

  <target name="init">
    <!-- Set the timestamps -->
    <tstamp />

    <!-- Loads the build properties file -->
    <property file="local.build.properties" />
    <property file="buildconf/build.properties" />

    <!-- Dist directory -->
    <property location="${basedir}/dist" name="dist.dir" />

    <!-- Webapp directory -->
    <property location="${basedir}/webapps/root" name="webapp.dir" />

    <!-- Stylesheets directory name and directory -->
    <property name="stylesheets.dir.name" value="stylesheets" />
    <property location="${webapp.dir}/${stylesheets.dir.name}"
      name="stylesheets.dir" />
  </target>

  <target description="Validates all the XML files in the project"
    name="validate">
    <xmlvalidate failonerror="yes" lenient="yes">
      <fileset dir="${basedir}/webapps/root">
        <include name="**/*.xmap" />
        <include name="**/*.xml" />
        <include name="**/*.xsl" />
      </fileset>
    </xmlvalidate>
  </target>
</project><commit_msg>The init target creates the root webapp content directories if they don't exist.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project basedir="../" name="kiln:init">

  <description>Initialization Targets</description>

  <target name="init">
    <!-- Set the timestamps -->
    <tstamp />

    <!-- Loads the build properties file -->
    <property file="local.build.properties" />
    <property file="buildconf/build.properties" />

    <!-- Dist directory -->
    <property location="${basedir}/dist" name="dist.dir" />

    <!-- Webapp directory -->
    <property location="${basedir}/webapps/root" name="webapp.dir" />

    <!-- Stylesheets directory name and directory -->
    <property name="stylesheets.dir.name" value="stylesheets" />
    <property location="${webapp.dir}/${stylesheets.dir.name}"
      name="stylesheets.dir" />
  	
  	<!-- Creates content directories -->
  	<mkdir dir="${webapp.dir}/content" />
  	<mkdir dir="${webapp.dir}/content/xml/tei" />
  	<mkdir dir="${webapp.dir}/content/images" />
  </target>

  <target description="Validates all the XML files in the project"
    name="validate">
    <xmlvalidate failonerror="yes" lenient="yes">
      <fileset dir="${basedir}/webapps/root">
        <include name="**/*.xmap" />
        <include name="**/*.xml" />
        <include name="**/*.xsl" />
      </fileset>
    </xmlvalidate>
  </target>
</project>
{'fraction_non_alphanumeric': 0.1951123374063855, 'fraction_numerical': 0.002364998029168309, 'mean_word_length': 3.1881188118811883, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 2, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 9}, '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': '6579934', 'n_tokens_mistral': 783, 'n_tokens_neox': 750, 'n_words': 160}