<commit_before><div class="form-horizontal">
    <div class="form-group">
        <label for="email" class="col-sm-2 control-label">
            Email *
        </label>
        <div class="col-sm-3">
            <input type="email" required class="form-control" ng-model="person.email" name="email" id="email">
            <div class="validation-error" ng-show="(exampleForm.email.$dirty || invalidSubmitAttempt)&& exampleForm.email.$error.required">
                Email is required.
            </div>
            <div class="validation-error" ng-show="(exampleForm.email.$dirty || invalidSubmitAttempt) && exampleForm.email.$error.email">
                Email must be a valid email address.
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="firstName" class="col-sm-2 control-label">
            First Name *
        </label>
        <div class="col-sm-3">
            <input type="text" required class="form-control" ng-model="person.firstName" name="firstName" id="firstName">

            <div class="validation-error" ng-show="(exampleForm.firstName.$dirty || invalidSubmitAttempt) && exampleForm.firstName.$error.required">
                First Name is required.
            </div>
            <div class="validation-error" ng-show="(exampleForm.firstName.$dirty || invalidSubmitAttempt) && exampleForm.firstName.$error.maxlength">
                First name must be less than 30 characters.
            </div>
            <div class="validation-error" ng-show="(exampleForm.firstName.$dirty || invalidSubmitAttempt) && exampleForm.firstName.$error.minlength">
                First Name must be greater than 2 characters.
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="lastName" class="col-sm-2 control-label">
            Last Name Custom *
        </label>
        <div class="col-sm-3">
            <input type="text" required class="form-control" ng-model="person.lastName" name="lastName" id="lastName">

            <i ng-show="exampleForm.lastName.$invalid" class="fa fa-exclamation-circle fa-lg"></i>

            <div class="validation-error" ng-show="(exampleForm.lastName.$dirty || invalidSubmitAttempt) && exampleForm.lastName.$error.required">
                Last Name is required.
            </div>
            <div class="validation-error" ng-show="(exampleForm.lastName.$dirty || invalidSubmitAttempt) && exampleForm.lastName.$error.maxlength">
                Last Name must be less than 30 characters.
            </div>
            <div class="validation-error" ng-show="(exampleForm.lastName.$dirty || invalidSubmitAttempt) && exampleForm.lastName.$error.minlength">
                Last Name must be greater than 2 characters.
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="favoriteNumber" class="col-sm-2 control-label">
            Favorite Number
        </label>
        <div class="col-sm-3">
            <input type="number" required class="form-control" ng-model="person.favoriteNumber" name="favoriteNumber" id="favoriteNumber">

            <div class="validation-error" ng-show="(exampleForm.favoriteNumber.$dirty || invalidSubmitAttempt) && exampleForm.favoriteNumber.$error.number">
                Favorite Number must be a number
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="age" class="col-sm-2 control-label">
            Age *
        </label>
        <div class="col-sm-3">
            <input type="number" required class="form-control" ng-model="person.age" name="age" id="age">

            <div class="validation-error" ng-show="(exampleForm.age.$dirty || invalidSubmitAttempt) && exampleForm.age.$error.number">
                Age must be a number
            </div>
            <div class="validation-error" ng-show="(exampleForm.age.$dirty || invalidSubmitAttempt) && exampleForm.age.$error.min">
                Age must be at least 0.
            </div>
            <div class="validation-error" ng-show="(exampleForm.age.$dirty || invalidSubmitAttempt) && exampleForm.age.$error.max">
                Age must be at most 140.
            </div>
            <div class="validation-error" ng-show="(exampleForm.age.$dirty || invalidSubmitAttempt) && exampleForm.age.$error.required">
                Age is required.
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="favoriteLetter" class="col-sm-2 control-label">
            Favorite Letter *
        </label>
        <div class="col-sm-3">
            <input type="text" required class="form-control" ng-model="person.favoriteLetter" name="favoriteLetter" id="favoriteLetter">

            <div class="validation-error" ng-show="(exampleForm.favoriteLetter.$dirty || invalidSubmitAttempt) && exampleForm.favoriteLetter.$error.required">
                Favorite Letter is required.
            </div>

            <div class="validation-error" ng-show="(exampleForm.favoriteLetter.$dirty || invalidSubmitAttempt) && exampleForm.favoriteLetter.$error.pattern">
                Favorite Letter is invalid.
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="favoriteWebsite" class="col-sm-2 control-label">
            Favorite Website *
        </label>
        <div class="col-sm-3">
            <input type="text" required class="form-control" ng-model="person.favoriteWebsite" name="favoriteWebsite" id="favoriteWebsite">

            <div class="validation-error" ng-show="(exampleForm.favoriteWebsite.$dirty || invalidSubmitAttempt) && exampleForm.favoriteWebsite.$error.required">
                Favorite Website is required.
            </div>

            <div class="validation-error" ng-show="(exampleForm.favoriteWebsite.$dirty || invalidSubmitAttempt) && exampleForm.favoriteWebsite.$error.url">
                Favorite Website must be a valid url.<commit_msg>more fixes to example code<commit_after><div ng-form="exampleForm" class="form-horizontal">
    <div class="form-group">
        <label for="email" class="col-sm-2 control-label">
            Email *
        </label>
        <div class="col-sm-3">
            <input type="email" class="form-control" ng-model="person.email" name="email" id="email" required>
            <div class="validation-error" ng-show="(exampleForm.email.$dirty || invalidSubmitAttempt)&& exampleForm.email.$error.required">
                Email is required.
            </div>
            <div class="validation-error" ng-show="(exampleForm.email.$dirty || invalidSubmitAttempt) && exampleForm.email.$error.email">
                Email must be a valid email address.
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="firstName" class="col-sm-2 control-label">
            First Name *
        </label>
        <div class="col-sm-3">
            <input type="text" class="form-control" ng-model="person.firstName" name="firstName" id="firstName" required ng-minlength="2" ng-maxlength="30">

            <div class="validation-error" ng-show="(exampleForm.firstName.$dirty || invalidSubmitAttempt) && exampleForm.firstName.$error.required">
                First Name is required.
            </div>
            <div class="validation-error" ng-show="(exampleForm.firstName.$dirty || invalidSubmitAttempt) && exampleForm.firstName.$error.maxlength">
                First name must be less than 30 characters.
            </div>
            <div class="validation-error" ng-show="(exampleForm.firstName.$dirty || invalidSubmitAttempt) && exampleForm.firstName.$error.minlength">
                First Name must be greater than 2 characters.
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="lastName" class="col-sm-2 control-label">
            Last Name Custom *
        </label>
        <div class="col-sm-3">
            <input type="text" class="form-control" ng-model="person.lastName" name="lastName" id="lastName" required ng-minlength="2" ng-maxlength="30">

            <i ng-show="exampleForm.lastName.$invalid" class="fa fa-exclamation-circle fa-lg"></i>

            <div class="validation-error" ng-show="(exampleForm.lastName.$dirty || invalidSubmitAttempt) && exampleForm.lastName.$error.required">
                Last Name is required.
            </div>
            <div class="validation-error" ng-show="(exampleForm.lastName.$dirty || invalidSubmitAttempt) && exampleForm.lastName.$error.maxlength">
                Last Name must be less than 30 characters.
            </div>
            <div class="validation-error" ng-show="(exampleForm.lastName.$dirty || invalidSubmitAttempt) && exampleForm.lastName.$error.minlength">
                Last Name must be greater than 2 characters.
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="favoriteNumber" class="col-sm-2 control-label">
            Favorite Number
        </label>
        <div class="col-sm-3">
            <input type="number" required class="form-control" ng-model="person.favoriteNumber" name="favoriteNumber" id="favoriteNumber">

            <div class="validation-error" ng-show="(exampleForm.favoriteNumber.$dirty || invalidSubmitAttempt) && exampleForm.favoriteNumber.$error.number">
                Favorite Number must be a number
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="age" class="col-sm-2 control-label">
            Age *
        </label>
        <div class="col-sm-3">
            <input type="number" class="form-control" ng-model="person.age" name="age" id="age" min="0" max="140" required>

            <div class="validation-error" ng-show="(exampleForm.age.$dirty || invalidSubmitAttempt) && exampleForm.age.$error.number">
                Age must be a number
            </div>
            <div class="validation-error" ng-show="(exampleForm.age.$dirty || invalidSubmitAttempt) && exampleForm.age.$error.min">
                Age must be at least 0.
            </div>
            <div class="validation-error" ng-show="(exampleForm.age.$dirty || invalidSubmitAttempt) && exampleForm.age.$error.max">
                Age must be at most 140.
            </div>
            <div class="validation-error" ng-show="(exampleForm.age.$dirty || invalidSubmitAttempt) && exampleForm.age.$error.required">
                Age is required.
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="favoriteLetter" class="col-sm-2 control-label">
            Favorite Letter *
        </label>
        <div class="col-sm-3">
            <input type="text" class="form-control" ng-model="person.favoriteLetter" name="favoriteLetter" id="favoriteLetter"
                maxlength="1" ng-pattern="/^[A-Za-z]$/" required>

            <div class="validation-error" ng-show="(exampleForm.favoriteLetter.$dirty || invalidSubmitAttempt) && exampleForm.favoriteLetter.$error.required">
                Favorite Letter is required.
            </div>

            <div class="validation-error" ng-show="(exampleForm.favoriteLetter.$dirty || invalidSubmitAttempt) && exampleForm.favoriteLetter.$error.pattern">
                Favorite Letter is invalid.
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="favoriteWebsite" class="col-sm-2 control-label">
            Favorite Website *
        </label>
        <div class="col-sm-3">
            <input type="text" class="form-control" ng-model="person.favoriteWebsite" name="favoriteWebsite" id="favoriteWebsite" required>

            <div class="validation-error" ng-show="(exampleForm.favoriteWebsite.$dirty || invalidSubmitAttempt) && exampleForm.favoriteWebsite.$error.required">
                Favorite Website is required.
            </div>

            <div class="validation-error" ng-show="(exampleForm.favoriteWebsite.$dirty || invalidSubmitAttempt) && exampleForm.favoriteWebsite.$error.url">
                Favorite Website must be a valid url.
{'fraction_non_alphanumeric': 0.14420295843318734, 'fraction_numerical': 0.0048756301132137836, 'mean_word_length': 2.4322178105501986, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 0, '>': 169, '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': '5893241', 'n_tokens_mistral': 3398, 'n_tokens_neox': 3249, 'n_words': 692}