<commit_before><md-content flex class="md-padding">
    <form name="editTask" ng-submit="ctrl.saveTask(ctrl.event, ctrl.taskId, ctrl.task, editTask)">
        <div>
            <div layout="row">
                <md-input-container flex>
                    <label for="edit-task-name">Name</label>
                    <input type="text" name="editTaskTitle" id="edit-task-name"
                        ng-model="ctrl.task.title"
                        required="required" ng-minLength="3" md-maxLength="30"
                        placeholer="Challenge name"
                    />
                    <div ng-messages="editTask.editTaskTitle.$error">
                        <div ng-message="required">A challenge needs a name.</div>
                        <div ng-message="minlength">The name is too short.</div>
                        <div ng-message="md-maxlength">The name is too long.</div>
                    </div>
                </md-input-container>
                <md-input-container flex>
                    <label for="edit-task-priority">Priority</label>
                    <input type="number" name="editTaskPriority" id="edit-task-priority"
                        ng-model="ctrl.task.priority"
                        min="0" step="1"
                        placeholer="Challenge priority"
                    />
                    <div ng-messages="editTask.editTaskPriority.$error">
                        <div ng-message="number">The priority should be a possitive number.</div>
                    </div>
                </md-input-container>
            </div>
        </div>

        <div>
            <md-input-container>
                <label for="edit-task-desc">Description</label>
                <textarea name="editTaskDesc" id="edit-task-desc"
                    ng-model="ctrl.task.description"
                    required="required" ng-minLength="3" md-maxLength="100"
                    placeholer="Challenge description"
                ></textarea>
                <div ng-messages="editTask.editTaskDesc.$error">
                    <div ng-message="required">A challenge needs a description.</div>
                    <div ng-message="minlength">The descriptiion is too short.</div>
                    <div ng-message="md-maxlength">The description is too long.</div>
                </div>
            </md-input-container>
        </div>

        <div>
            <md-input-container>
                <label for="edit-task-link">Help Link</label>
                <input type="text" name="editTaskLink" id="edit-task-link"
                    ng-model="ctrl.task.link"
                    pattern="^(https?://.+|#/).+$"
                    placeholer="URL to a challenge help page"<commit_msg>Longer task description<commit_after><md-content flex class="md-padding">
    <form name="editTask" ng-submit="ctrl.saveTask(ctrl.event, ctrl.taskId, ctrl.task, editTask)">
        <div>
            <div layout="row">
                <md-input-container flex>
                    <label for="edit-task-name">Name</label>
                    <input type="text" name="editTaskTitle" id="edit-task-name"
                        ng-model="ctrl.task.title"
                        required="required" ng-minLength="3" md-maxLength="30"
                        placeholer="Challenge name"
                    />
                    <div ng-messages="editTask.editTaskTitle.$error">
                        <div ng-message="required">A challenge needs a name.</div>
                        <div ng-message="minlength">The name is too short.</div>
                        <div ng-message="md-maxlength">The name is too long.</div>
                    </div>
                </md-input-container>
                <md-input-container flex>
                    <label for="edit-task-priority">Priority</label>
                    <input type="number" name="editTaskPriority" id="edit-task-priority"
                        ng-model="ctrl.task.priority"
                        min="0" step="1"
                        placeholer="Challenge priority"
                    />
                    <div ng-messages="editTask.editTaskPriority.$error">
                        <div ng-message="number">The priority should be a possitive number.</div>
                    </div>
                </md-input-container>
            </div>
        </div>

        <div>
            <md-input-container>
                <label for="edit-task-desc">Description</label>
                <textarea name="editTaskDesc" id="edit-task-desc"
                    ng-model="ctrl.task.description"
                    required="required" ng-minLength="3" md-maxLength="200"
                    placeholer="Challenge description"
                ></textarea>
                <div ng-messages="editTask.editTaskDesc.$error">
                    <div ng-message="required">A challenge needs a description.</div>
                    <div ng-message="minlength">The descriptiion is too short.</div>
                    <div ng-message="md-maxlength">The description is too long.</div>
                </div>
            </md-input-container>
        </div>

        <div>
            <md-input-container>
                <label for="edit-task-link">Help Link</label>
                <input type="text" name="editTaskLink" id="edit-task-link"
                    ng-model="ctrl.task.link"
                    pattern="^(https?://.+|#/).+$"
                    placeholer="URL to a challenge help page"
{'fraction_non_alphanumeric': 0.13139745916515427, 'fraction_numerical': 0.003266787658802178, 'mean_word_length': 1.418165862220272, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 99, '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': '6816724', 'n_tokens_mistral': 1468, 'n_tokens_neox': 1355, 'n_words': 259}