<commit_before><!DOCTYPE html>
<html lang="en" ng-app="todo">
    <head>
        <meta charset="UTF-8">
        <link rel="stylesheet" href="/css/bootstrap/bootstrap.css">
        <link rel="stylesheet" href="/css/main.css">
    </head>
    <body>
        <div class="container">
            <div class="row" ng-controller="TasksController">
                <div class="col-md-4">
                    <h1>Uncompleted</h1>
                    <hr>
                    <ul class="list-unstyled">
                        <task ng-repeat="task in tasks | filter: {isCompleted: false}"></task>
                        <new-task></new-task>
                    </ul>
                </div>
                <div class="col-md-4">
                    <h1>Add a new task</h1>
                    <hr>
                    <form ng-submit="addTask()">
                        <div class="form-group">
                            <textarea class="form-control" ng-model="newTask"></textarea>
                        </div>
                        <button type="submit" class="btn btn-primary btn-lg">Add</button>
                    </form>
                </div>
                <div class="col-md-4">
                    <h1>Completed</h1>
                    <hr>
                    <ul class="list-unstyled">
                        <task ng-repeat="task in tasks | filter: {isCompleted: true}"></task>
                    </ul>
                </div>
            </div>
        </div> 
        <script src="/js/angular/angular.js"></script><commit_msg>Add form validation and some cool styling.<commit_after><!DOCTYPE html>
<html lang="en" ng-app="todo">
    <head>
        <meta charset="UTF-8">
        <link rel="stylesheet" href="/css/bootstrap/bootstrap.css">
        <link rel="stylesheet" href="/css/main.css">
    </head>
    <body>
        <div class="container">
            <div class="row" ng-controller="TasksController">
                <div class="col-md-4">
                    <h1>Uncompleted</h1>
                    <hr>
                    <ul class="list-unstyled">
                        <task ng-repeat="task in tasks | filter: {isCompleted: false}"></task>
                        <new-task></new-task>
                    </ul>
                </div>
                <div class="col-md-4">
                    <h1>Add a new task</h1>
                    <hr>
                    <form name="newTaskForm" ng-submit="newTaskForm.$valid && addTask()" novalidate>
                        <div class="form-group" ng-class="{'has-error': newTaskForm.$invalid}">
                            <textarea class="form-control" ng-model="newTask" required></textarea>
                        </div>
                        <button type="submit" class="btn btn-primary btn-lg">Add</button>
                    </form>
                </div>
                <div class="col-md-4">
                    <h1>Completed</h1>
                    <hr>
                    <ul class="list-unstyled">
                        <task ng-repeat="task in tasks | filter: {isCompleted: true}"></task>
                    </ul>
                </div>
            </div>
        </div> 
        <script src="/js/angular/angular.js"></script>
{'fraction_non_alphanumeric': 0.15051099411582533, 'fraction_numerical': 0.006193868070610096, 'mean_word_length': 1.204778156996587, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '4359737', 'n_tokens_mistral': 908, 'n_tokens_neox': 840, 'n_words': 167}