<commit_before><?xml version="1.0" ?>

<constraint-mapping xmlns="http://symfony.com/schema/dic/constraint-mapping"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/constraint-mapping http://symfony.com/schema/dic/constraint-mapping/constraint-mapping-1.0.xsd">

  <class name="Symfony\Component\Form\Field">
    <getter property="transformationSuccessful">
      <constraint name="AssertTrue">
        <option name="message">This value is invalid</option>
      </constraint>
    </getter>
  </class>

  <class name="Symfony\Component\Form\Form">
    <constraint name="Execute">validateData</constraint>
    <property name="fields">
      <constraint name="Valid" />
    </property>
  </class>

  <class name="Symfony\Component\Form\RepeatedField">
    <getter property="firstEqualToSecond">
      <constraint name="AssertTrue">
        <option name="message">The two values should be equal</option>
      </constraint>
    </getter>
  </class>

  <class name="Symfony\Component\Form\DateField">
    <getter property="partiallyFilled">
      <constraint name="AssertFalse">
        <option name="message">The date is not fully selected</option>
      </constraint>
    </getter>
    <getter property="yearWithinRange">
      <constraint name="AssertTrue">
        <option name="message">The year is invalid</option>
      </constraint>
    </getter>
    <getter property="monthWithinRange">
      <constraint name="AssertTrue">
        <option name="message">The month is invalid</option>
      </constraint>
    </getter>
    <getter property="dayWithinRange">
      <constraint name="AssertTrue">
        <option name="message">The day is invalid</option>
      </constraint>
    </getter>
  </class>

  <class name="Symfony\Component\Form\TimeField">
    <getter property="partiallyFilled">
      <constraint name="AssertFalse">
        <option name="message">The time is not fully selected</option>
      </constraint>
    </getter>
    <getter property="hourWithinRange">
      <constraint name="AssertTrue">
        <option name="message">The hour is invalid</option>
      </constraint>
    </getter>
    <getter property="minuteWithinRange">
      <constraint name="AssertTrue">
        <option name="message">The minutes are invalid</option>
      </constraint>
    </getter>
    <getter property="secondWithinRange">
      <constraint name="AssertTrue">
        <option name="message">The seconds are invalid</option>
      </constraint>
    </getter>
  </class>

  <class name="Symfony\Component\Form\FileField">
    <getter property="iniSizeExceeded">
      <constraint name="AssertFalse">
        <option name="message">The file is too large. Please upload a smaller file</option>
      </constraint>
    </getter>
    <getter property="formSizeExceeded">
      <constraint name="AssertFalse">
        <option name="message">The file is too large. Please upload a smaller file</option>
      </constraint>
    </getter>
    <getter property="uploadComplete">
      <constraint name="AssertTrue">
        <option name="message">The file was only partially uploaded. Please try again</option>
      </constraint>
    </getter>
  </class>
</constraint-mapping>
<commit_msg>[Form] Fixed validation.xml<commit_after><?xml version="1.0" ?>

<constraint-mapping xmlns="http://symfony.com/schema/dic/constraint-mapping"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/constraint-mapping http://symfony.com/schema/dic/constraint-mapping/constraint-mapping-1.0.xsd">

  <class name="Symfony\Component\Form\Field">
    <getter property="transformationSuccessful">
      <constraint name="AssertTrue">
        <option name="message">This value is invalid</option>
      </constraint>
    </getter>
  </class>

  <class name="Symfony\Component\Form\Form">
    <constraint name="Execute">validateData</constraint>
    <property name="children">
      <constraint name="Valid" />
    </property>
  </class>

  <class name="Symfony\Component\Form\RepeatedField">
    <getter property="firstEqualToSecond">
      <constraint name="AssertTrue">
        <option name="message">The two values should be equal</option>
      </constraint>
    </getter>
  </class>

  <class name="Symfony\Component\Form\DateField">
    <getter property="partiallyFilled">
      <constraint name="AssertFalse">
        <option name="message">The date is not fully selected</option>
      </constraint>
    </getter>
    <getter property="yearWithinRange">
      <constraint name="AssertTrue">
        <option name="message">The year is invalid</option>
      </constraint>
    </getter>
    <getter property="monthWithinRange">
      <constraint name="AssertTrue">
        <option name="message">The month is invalid</option>
      </constraint>
    </getter>
    <getter property="dayWithinRange">
      <constraint name="AssertTrue">
        <option name="message">The day is invalid</option>
      </constraint>
    </getter>
  </class>

  <class name="Symfony\Component\Form\TimeField">
    <getter property="partiallyFilled">
      <constraint name="AssertFalse">
        <option name="message">The time is not fully selected</option>
      </constraint>
    </getter>
    <getter property="hourWithinRange">
      <constraint name="AssertTrue">
        <option name="message">The hour is invalid</option>
      </constraint>
    </getter>
    <getter property="minuteWithinRange">
      <constraint name="AssertTrue">
        <option name="message">The minutes are invalid</option>
      </constraint>
    </getter>
    <getter property="secondWithinRange">
      <constraint name="AssertTrue">
        <option name="message">The seconds are invalid</option>
      </constraint>
    </getter>
  </class>

  <class name="Symfony\Component\Form\FileField">
    <getter property="iniSizeExceeded">
      <constraint name="AssertFalse">
        <option name="message">The file is too large. Please upload a smaller file</option>
      </constraint>
    </getter>
    <getter property="formSizeExceeded">
      <constraint name="AssertFalse">
        <option name="message">The file is too large. Please upload a smaller file</option>
      </constraint>
    </getter>
    <getter property="uploadComplete">
      <constraint name="AssertTrue">
        <option name="message">The file was only partially uploaded. Please try again</option>
      </constraint>
    </getter>
  </class>
</constraint-mapping>

{'fraction_non_alphanumeric': 0.1445468509984639, 'fraction_numerical': 0.0027649769585253456, 'mean_word_length': 3.4595890410958905, 'pattern_counts': {'":': 0, '<': 199, '<?xml version=': 2, '>': 199, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 7}, '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': '1690694', 'n_tokens_mistral': 1864, 'n_tokens_neox': 1825, 'n_words': 400}