<commit_before><div layout="column" layout-padding="">
    <span flex="20"></span>
    <md-content class="signup-form" layout="row">
        <span flex="10"></span>
        <md-card flex="80">
            <div class="title-wrapper">
                <br/>
                <h1 id="headline">
                    Sign Up
                </h1>
                <p class="iconoffer">+</p>
                <br/>
            </div>
            <md-card-content>
                <form name="SignupForm">
                    <md-input-container class="md-block" flex-gt-sm>
                        <label>Username</label>
                        <input type="text" name="username" ng-model="$ctrl.signup.username"  required minlength="5" ng-pattern="/^[a-zA-Z0-9ÖÜÄöüäß]+$/" md-maxlength="15"/>
                        <div ng-messages="SignupForm.username.$error">
                            <div ng-message="required">Please enter your username.</div>
                            <div ng-message="pattern">No whacky characters; We are sql injection proof!</div>
                            <div ng-message-exp="['minlength', 'maxlength']">Your username should be between 5 and 15 characters.</div>
                        </div>
                    </md-input-container>
                    <div layout-gt-sm="row">
                        <md-input-container class="md-block" flex-gt-sm>
                            <label>First Name</label>
                            <input type="text" name="firstName" ng-model="$ctrl.signup.firstName" required="" md-maxlength="30"/>
                            <div ng-messages="SignupForm.firstName.$error" role="alert" multiple="">
                                <div ng-message="required">Please enter your first name.</div>
                            </div>
                        </md-input-container>
                        <md-input-container class="md-block" flex-gt-sm>
                            <label>Last Name</label>
                            <input type="text" name="lastName" ng-model="$ctrl.signup.lastName" required="" md-maxlength="30"/>
                            <div ng-messages="SignupForm.lastName.$error" role="alert" multiple="">
                                <div ng-message="required">Please enter your last name.</div>
                            </div>
                        </md-input-container>
                    </div>
                    <md-input-container class="md-block" flex-gt-sm>
                        <label>Email</label>
                        <input type="email" name="email" ng-model="$ctrl.signup.email"  required minlength="10" maxlength="100" ng-pattern="/^.+@.+\..+$/"/>
                        <div ng-messages="SignupForm.email.$error" role="alert" multiple="">
                            <div  ng-message-exp="['required', 'minlength', 'maxlength', 'pattern']">
                                Your email must be between 10 and 100 characters long and look like an e-mail address.
                            </div>
                        </div>
                    </md-input-container>
                    <md-input-container class="md-block">
                        <label>Password</label>
                        <input type="password" name="password" ng-model="$ctrl.signup.password"  required="" md-maxlength="64"/>
                        <div ng-messages="SignupForm.password.$error" role="alert" multiple="">
                            <div ng-message="required">Please enter your password.</div>
                        </div>
                    </md-input-container>
                    <md-input-container class="md-block" flex-gt-sm>
                        <label>Address Line 1</label>
                        <input type="text" name="addressLine1" ng-model="$ctrl.signup.addressLine1" required=""/>
                        <div ng-messages="SignupForm.addressLine1.$error" role="alert" multiple="">
                            <div ng-message="required">Please enter your street address.</div>
                        </div>
                    </md-input-container>
                    <md-input-container class="md-block" flex-gt-sm>
                        <label>Address Line 2</label>
                        <input type="text" name="addressLine2" ng-model="$ctrl.signup.addressLine2" />
                    </md-input-container>
                    <div layout-gt-sm="row">
                        <md-input-container class="md-block" flex-gt-sm>
                            <label>City</label>
                            <input type="text" name="city" ng-model="$ctrl.signup.city" required=""/>
                            <div ng-messages="SignupForm.city.$error" role="alert" multiple="">
                                <div ng-message="required">Please enter your city name.</div>
                            </div>
                        </md-input-container>
                        <md-input-container class="md-block" flex-gt-sm>
                            <label>State</label>
                            <input type="text" name="state" ng-model="$ctrl.signup.state"  required=""/>
                            <div ng-messages="SignupForm.state.$error" role="alert" multiple="">
                                <div ng-message="required">Please enter your state.</div>
                            </div>
                        </md-input-container>
                        <md-input-container class="md-block" flex-gt-sm>
                            <label>ZIP Code</label>
                            <input name="zip" ng-model="$ctrl.signup.zip" required="" ng-pattern="/^[0-9]{5}$/" md-maxlength="5"/>
                            <div ng-messages="SignupForm.zip.$error">
                                <div ng-message="required">Please enter the ZIP code.</div>
                                <div ng-message="pattern">That doesn't look like a valid postal
                                    code.
                                </div>
                                <div ng-message="md-maxlength">
                                    Don't use the long version silly...we don't need to be that specific...
                                </div>
                            </div>
                        </md-input-container>
                    </div>
                    <md-input-container class="md-block" flex-gt-sm>
                        <label>Phone Number</label>
                        <input type="text" name="phone" ng-model="$ctrl.signup.phone"  required=""/>
                        <div ng-messages="SignupForm.phone.$error" role="alert" multiple="">
                            <div ng-message="required">Please enter the phone number.</div>
                        </div>
                    </md-input-container>
                    <div layout-gt-sm="row">
                        <md-input-container class="md-block" flex-gt-sm>
                                <md-checkbox  ng-model="$ctrl.signup.paymentMethod.isIban" aria-label="Checkbox 1">IBAN</md-checkbox>
                        </md-input-container>
                        <div>
                            <md-input-container class="textTemplate" flex-gt-sm>
                                <md-input-container>
                                    <p></p>
                                    <div class="hint" style="color: grey;">Upload your photo </div>
                                </md-input-container>
                                <label>{{$ctrl.signup.file.$ngfName }}</label>
                                <md-button id="uploadButton" class="md-fab md-mini" aria-label="Upload images" type="file" ngf-select ng-model="$ctrl.signup.file"
                                           name="file" ngf-pattern="'image/*'" ngf-accept="'image/*'" ngf-max-size="20MB" ngf-min-height="100"
                                           ngf-resize="{width: 550, height: 550}">
                                    <md-icon>
                                        <ng-md-icon icon="camera_alt"></ng-md-icon>
                                    </md-icon>
                                </md-button>
                            </md-input-container>
                        </div>
                    </div>
                    <div layout-gt-sm="row">
                        <md-input-container class="md-block" ng-if="$ctrl.signup.paymentMethod.isIban" flex-gt-sm>
                            <label>IBAN</label>
                            <input type="text" name="iban" ng-model="$ctrl.signup.iban" required />
                            <div ng-messages="SignupForm.iban.$error" role="alert" multiple="">
                                <div ng-message="required">Please enter the IBAN number.</div>
                            </div>
                        </md-input-container>
                        <md-input-container class="md-block" ng-if="$ctrl.signup.paymentMethod.isIban" flex-gt-sm>
                            <label>BIC</label>
                            <input type="text" name="bic" ng-model="$ctrl.signup.bic" required />
                            <div ng-messages="SignupForm.bic.$error" role="alert" multiple="">
                                <div ng-message="required">Please enter the BIC.</div>
                            </div>
                        </md-input-container>
                    </div>

                    <md-button ng-disabled="!SignupForm.$valid" ng-click="$ctrl.submit()" class="md-raised md-primary">&nbsp Signup &nbsp</md-button>
                </form>
            </md-card-content>
        </md-card>
        <span flex></span>
    </md-content>
    <span flex></span>
</div><commit_msg>Validation on Signup form added<commit_after><div layout="column" layout-padding="">
    <span flex="20"></span>
    <md-content class="signup-form" layout="row">
        <span flex="10"></span>
        <md-card flex="80">
            <div class="title-wrapper">
                <br/>
                <h1 id="headline">
                    Sign Up
                </h1>
                <p class="iconoffer">+</p>
                <br/>
            </div>
            <md-card-content>
                <form name="SignupForm">
                    <md-input-container class="md-block" flex-gt-sm>
                        <label>Username</label>
                        <input type="text" name="username" ng-model="$ctrl.signup.username"  required minlength="5" ng-pattern="/^[a-zA-Z0-9ÖÜÄöüäß-]+$/" md-maxlength="15"/>
                        <div ng-messages="SignupForm.username.$error">
                            <div ng-message="required">Please enter your username.</div>
                            <div ng-message="pattern">No whacky characters please; We are sql injection proof!</div>
                            <div ng-message-exp="['minlength', 'maxlength']">Your username should be between 5 and 15 characters.</div>
                        </div>
                    </md-input-container>
                    <div layout-gt-sm="row">
                        <md-input-container class="md-block" flex-gt-sm>
                            <label>First Name</label>
                            <input type="text" name="firstName" ng-model="$ctrl.signup.firstName" required="" ng-pattern="/^[a-zA-Z0-9ÖÜÄöüäß-]+$/" md-maxlength="30"/>
                            <div ng-messages="SignupForm.firstName.$error" role="alert" multiple="">
                                <div ng-message="pattern">No whacky characters please; We are sql injection proof!</div>
                                <div ng-message="required">Please enter your first name.</div>
                            </div>
                        </md-input-container>
                        <md-input-container class="md-block" flex-gt-sm>
                            <label>Last Name</label>
                            <input type="text" name="lastName" ng-model="$ctrl.signup.lastName" required="" ng-pattern="/^[a-zA-Z0-9ÖÜÄöüäß-]+$/" md-maxlength="30"/>
                            <div ng-messages="SignupForm.lastName.$error" role="alert" multiple="">
                                <div ng-message="required">Please enter your last name.</div>
                                <div ng-message="pattern">No whacky characters please; We are sql injection proof!</div>
                            </div>
                        </md-input-container>
                    </div>
                    <md-input-container class="md-block" flex-gt-sm>
                        <label>Email</label>
                        <input type="email" name="email" ng-model="$ctrl.signup.email"  required minlength="10" maxlength="100" ng-pattern="/^.+@.+\..+$/"/>
                        <div ng-messages="SignupForm.email.$error" role="alert" multiple="">
                            <div  ng-message-exp="['required', 'minlength', 'maxlength', 'pattern']">
                                Your email must be between 10 and 100 characters long and look like an e-mail address.
                            </div>
                        </div>
                    </md-input-container>
                    <md-input-container class="md-block">
                        <label>Password</label>
                        <input type="password" name="password" ng-model="$ctrl.signup.password"  required="" md-maxlength="64"/>
                        <div ng-messages="SignupForm.password.$error" role="alert" multiple="">
                            <div ng-message="required">Please enter your password.</div>
                        </div>
                    </md-input-container>
                    <md-input-container class="md-block" flex-gt-sm>
                        <label>Address Line 1</label>
                        <input type="text" name="addressLine1" ng-model="$ctrl.signup.addressLine1" ng-pattern="/^[a-zA-Z0-9ÖÜÄöüäß'-]+$/" required=""/>
                        <div ng-messages="SignupForm.addressLine1.$error" role="alert" multiple="">
                            <div ng-message="required">Please enter your street address.</div>
                            <div ng-message="pattern">No whacky characters please; We are sql injection proof!</div>
                        </div>
                    </md-input-container>
                    <md-input-container class="md-block" flex-gt-sm>
                        <label>Address Line 2</label>
                        <input type="text" name="addressLine2" ng-model="$ctrl.signup.addressLine2" ng-pattern="/^[a-zA-Z0-9ÖÜÄöüäß'-]+$/" />
                        <div ng-messages="SignupForm.addressLine2.$error" role="alert" multiple="">
                            <div ng-message="pattern">No whacky characters please; We are sql injection proof!</div>
                        </div>
                    </md-input-container>
                    <div layout-gt-sm="row">
                        <md-input-container class="md-block" flex-gt-sm>
                            <label>City</label>
                            <input type="text" name="city" ng-model="$ctrl.signup.city" ng-pattern="/^[a-zA-ZÖÜÄöüäß-]+$/" required=""/>
                            <div ng-messages="SignupForm.city.$error" role="alert" multiple="">
                                <div ng-message="pattern">A city name should look like a C I T Y name</div>
                                <div ng-message="required">Please enter your city name.</div>
                            </div>
                        </md-input-container>
                        <md-input-container class="md-block" flex-gt-sm>
                            <label>State</label>
                            <input type="text" name="state" ng-model="$ctrl.signup.state" ng-pattern="/^[a-zA-ZÖÜÄöüäß-]+$/" required=""/>
                            <div ng-messages="SignupForm.state.$error" role="alert" multiple="">
                                <div ng-message="pattern">Oh come on! Don't put your nerdy username as the name of your state.</div>
                                <div ng-message="required">Please enter your state.</div>
                            </div>
                        </md-input-container>
                        <md-input-container class="md-block" flex-gt-sm>
                            <label>ZIP Code</label>
                            <input name="zip" ng-model="$ctrl.signup.zip" required="" ng-pattern="/^[0-9]{5}$/" md-maxlength="5"/>
                            <div ng-messages="SignupForm.zip.$error">
                                <div ng-message="required">Please enter the ZIP code.</div>
                                <div ng-message="pattern">That doesn't look like a valid postal
                                    code.
                                </div>
                                <div ng-message="md-maxlength">
                                    Don't use the long version silly...we don't need to be that specific...
                                </div>
                            </div>
                        </md-input-container>
                    </div>
                    <md-input-container class="md-block" flex-gt-sm>
                        <label>Phone Number</label>
                        <input type="text" name="phone" ng-model="$ctrl.signup.phone" ng-pattern="/^[0-9]{11}$/" required=""/>
                        <div ng-messages="SignupForm.phone.$error" role="alert" multiple="">
                            <div ng-message="pattern">Your phone number should contain only numbers and be 11 characters long.</div>
                            <div ng-message="required">Please enter the phone number.</div>
                        </div>
                    </md-input-container>
                    <div layout-gt-sm="row">
                        <md-input-container class="md-block" flex-gt-sm>
                                <md-checkbox  ng-model="$ctrl.signup.paymentMethod.isIban" aria-label="Checkbox 1">Bank Details</md-checkbox>
                        </md-input-container>
                        <div>
                            <md-input-container class="textTemplate" flex-gt-sm>
                                <md-input-container>
                                    <p></p>
                                    <div class="hint" style="color: grey;">Upload your photo </div>
                                </md-input-container>
                                <label>{{$ctrl.signup.file.$ngfName }}</label>
                                <md-button id="uploadButton" class="md-fab md-mini" aria-label="Upload images" type="file" ngf-select ng-model="$ctrl.signup.file"
                                           name="file" ngf-pattern="'image/*'" ngf-accept="'image/*'" ngf-max-size="20MB" ngf-min-height="100"
                                           ngf-resize="{width: 550, height: 550}">
                                    <md-icon>
                                        <ng-md-icon icon="camera_alt"></ng-md-icon>
                                    </md-icon>
                                </md-button>
                            </md-input-container>
                        </div>
                    </div>
                    <div layout-gt-sm="row">
                        <md-input-container class="md-block" ng-if="$ctrl.signup.paymentMethod.isIban" flex-gt-sm>
                            <label>IBAN</label>
                            <input type="text" name="iban" ng-model="$ctrl.signup.iban" ng-pattern="/^[a-zA-Z0-9]+$/" required />
                            <div ng-messages="SignupForm.iban.$error" role="alert" multiple="">
                                <div ng-message="pattern">That doesn't look like a valid IBAN number</div>
                                <div ng-message="required">Please enter the IBAN number.</div>
                            </div>
                        </md-input-container>
                        <md-input-container class="md-block" ng-if="$ctrl.signup.paymentMethod.isIban" flex-gt-sm>
                            <label>BIC</label>
                            <input type="text" name="bic" ng-model="$ctrl.signup.bic" ng-pattern="/^[a-zA-Z]+$/" required />
                            <div ng-messages="SignupForm.bic.$error" role="alert" multiple="">
                                <div ng-message="pattern">That doesn't look like a valid BIC code</div>
                                <div ng-message="required">Please enter the BIC.</div>
                            </div>
                        </md-input-container>
                    </div>

                    <md-button ng-disabled="!SignupForm.$valid" ng-click="$ctrl.submit()" class="md-raised md-primary">&nbsp Signup &nbsp</md-button>
                </form>
            </md-card-content>
        </md-card>
        <span flex></span>
    </md-content>
    <span flex></span>
</div>
{'fraction_non_alphanumeric': 0.13960386565878863, 'fraction_numerical': 0.00607597359104392, 'mean_word_length': 1.2199447748513168, 'pattern_counts': {'":': 0, '<': 381, '<?xml version=': 0, '>': 381, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3866440', 'n_tokens_mistral': 5453, 'n_tokens_neox': 5113, 'n_words': 992}