<commit_before><section data-ng-controller="TodosController" data-ng-init="getAll()">
    <div class="page-header">
        <h1>Todos</h1>
    </div>
    <div class="todo-items">
      <span data-ng-repeat="todo in todos track by $index" ng-attr-id="{{ 'todo-item-' + $index }}" ng-class="{'todo-order': !todo.isDone, 'todo-order-done': todo.isDone}" ng-click="setToDone($index, todo)">
        <input class="todo-input" id="{{'item' + $index}}" type="checkbox" ng-disabled="todo.isDone">
        <label class="todo-label" for="{{'item' + $index}}" ng-disabled="todo.isDone">{{todo.name}} <i ng-if="todo.isDone" class="todo-done_small"> done by {{todo.done_by}} {{todo.done_when | date:"dd.MM.yyyy (H:mm)"}}</i></label>
      </span>

      <h2 class="todo-h2 todo-undone" aria-hidden="true">Not Done</h2>
      <h2 class="todo-h2 todo-done" aria-hidden="true">Done</h2>
    </div>

    <div class="alert alert-warning text-center" data-ng-hide="!todos.$resolved || todos.length">
    	No Todos yet, why don't you <a href="/#!/todos/create">create one</a>?
    </div>
</section><commit_msg>fix: link to add when empty<commit_after><section data-ng-controller="TodosController" data-ng-init="getAll()">
    <div class="page-header">
        <h1>Todos</h1>
    </div>
    <div class="todo-items" ng-hide="!todos.length">
      <span data-ng-repeat="todo in todos track by $index" ng-attr-id="{{ 'todo-item-' + $index }}" ng-class="{'todo-order': !todo.isDone, 'todo-order-done': todo.isDone}" ng-click="setToDone($index, todo)">
        <input class="todo-input" id="{{'item' + $index}}" type="checkbox" ng-disabled="todo.isDone">
        <label class="todo-label" for="{{'item' + $index}}" ng-disabled="todo.isDone">{{todo.name}} <i ng-if="todo.isDone" class="todo-done_small"> done by {{todo.done_by}} {{todo.done_when | date:"dd.MM.yyyy (H:mm)"}}</i></label>
      </span>

      <h2 class="todo-h2 todo-undone" aria-hidden="true">Not Done</h2>
      <h2 class="todo-h2 todo-done" aria-hidden="true">Done</h2>
    </div>

    <div class="alert alert-warning text-center" data-ng-hide="todos.length">
    	No Todos yet, why don't you <a href="/#!/todos/create">create one</a>?
    </div>
</section>
{'fraction_non_alphanumeric': 0.22747952684258416, 'fraction_numerical': 0.007279344858962694, 'mean_word_length': 4.02054794520548, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '932130', 'n_tokens_mistral': 854, 'n_tokens_neox': 835, 'n_words': 150}