<commit_before><section data-ng-controller="CoursesController" data-ng-hide=!isAuthorized>
    <form name="courseForm" class="form-horizontal col-md-6" role="form" data-ng-submit="create(courseForm.$valid)" novalidate>
        <div class="form-group" ng-class="{ 'has-error' : submitted && courseForm.title.$invalid }">
            <label class="col-md-3 control-label">Course title</label>
            <div class="col-md-9">
                <input name="title" type="text" class="form-control" data-ng-model="course.title" id="title" placeholder="Enter course title here" required>
                <div ng-show="submitted && courseForm.title.$invalid" class="help-block">
                    <p ng-show="courseForm.title.$error.required">Course title is required</p>
                </div>
            </div>
        </div>

        <div class="form-group" ng-class="{ 'has-error' : submitted && courseForm.title.$invalid }">
            <label class="col-md-3 control-label">Course number</label>
            <div class="col-md-9">
                <input name="courseNumber" type="number" class="form-control" data-ng-model="course.courseNumber" id="courseNumber" placeholder="Enter course number here" required>
                <div ng-show="submitted && courseForm.courseNumber.$invalid" class="help-block">
                    <p ng-show="courseForm.courseNumber.$error.required">Course number is required</p>
                </div>
            </div>
        </div>

        <div class="form-group" ng-class="{ 'has-error' : submitted && courseForm.content.$invalid }">
            <label for="description" class="col-md-3 control-label">Description</label>
            <div class="col-md-9">
                <textarea name="description" data-ng-model="course.description" id="description" cols="30" rows="10" placeholder="Course description" class="form-control" required></textarea>
                <div ng-show="submitted && courseForm.content.$invalid" class="help-block">
                    <p ng-show="courseForm.content.$error.required">Description is required</p>
                </div>
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-offset-3 col-md-9">
                <button type="submit" class="btn btn-info">Create course</button>
            </div>
        </div>

    </form>
</section><commit_msg>Don't need to have description to create a course<commit_after><section data-ng-controller="CoursesController" data-ng-hide=!isAuthorized>
    <form name="courseForm" class="form-horizontal col-md-6" role="form" data-ng-submit="create(courseForm.$valid)" novalidate>
        <div class="form-group" ng-class="{ 'has-error' : submitted && courseForm.title.$invalid }">
            <label class="col-md-3 control-label">Course title</label>
            <div class="col-md-9">
                <input name="title" type="text" class="form-control" data-ng-model="course.title" id="title" placeholder="Enter course title here" required>
                <div ng-show="submitted && courseForm.title.$invalid" class="help-block">
                    <p ng-show="courseForm.title.$error.required">Course title is required</p>
                </div>
            </div>
        </div>

        <div class="form-group" ng-class="{ 'has-error' : submitted && courseForm.courseNumber.$invalid }">
            <label class="col-md-3 control-label">Course number</label>
            <div class="col-md-9">
                <input name="courseNumber" type="number" class="form-control" data-ng-model="course.courseNumber" id="courseNumber" placeholder="Enter course number here" required>
                <div ng-show="submitted && courseForm.courseNumber.$invalid" class="help-block">
                    <p ng-show="courseForm.courseNumber.$error.required">Course number is required</p>
                </div>
            </div>
        </div>

        <div class="form-group" ng-class="{ 'has-error' : submitted && courseForm.content.$invalid }">
            <label for="description" class="col-md-3 control-label">Description</label>
            <div class="col-md-9">
                <textarea name="description" data-ng-model="course.description" id="description" cols="30" rows="10" placeholder="Course description" class="form-control"></textarea>
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-offset-3 col-md-9">
                <button type="submit" class="btn btn-info">Create course</button>
            </div>
        </div>

    </form>
</section>
{'fraction_non_alphanumeric': 0.1624698927085614, 'fraction_numerical': 0.005693015108386249, 'mean_word_length': 2.579937304075235, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, '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': '3741856', 'n_tokens_mistral': 1312, 'n_tokens_neox': 1251, 'n_words': 251}