<commit_before><template>
  <header id="header">
    <h1>Todos</h1>
    <form role="form" submit.delegate="addNewTodo(newTodoTitle)">
      <input id="new-todo" value.bind="newTodoTitle" placeholder="What needs to be done?" autofocus>
    </form>
  </header>

  <section id="main">
    <ul id="todo-list">
      <li repeat.for="todoItem of filteredItems" class="${todoItem.isChecked ? 'checked' : ''}">
        <input type="checkbox" checked.bind="todoItem.isChecked">
        <label>${todoItem.title}</label>
        <button click.delegate="$parent.deleteTodo(todoItem)">x</button>
      </li>
    </ul>
  </section>

  <footer id="footer">
    <span id="todo-count">${countTodosLeft} items left</span>
  </footer>
</template><commit_msg>updated Todos view to show navigation links and clearCompleted button<commit_after><template>
  <header id="header">
    <h1>Todos</h1>
    <form role="form" submit.delegate="addNewTodo(newTodoTitle)">
      <input id="new-todo" value.bind="newTodoTitle" placeholder="What needs to be done?" autofocus>
    </form>
  </header>

  <section id="main">
    <ul id="todo-list">
      <li repeat.for="todoItem of filteredItems" class="${todoItem.isChecked ? 'checked' : ''}">
        <input type="checkbox" checked.bind="todoItem.isChecked">
        <label>${todoItem.title}</label>
        <button click.delegate="$parent.deleteTodo(todoItem)">x</button>
      </li>
    </ul>
  </section>

  <footer id="footer">
    <span id="todo-count">${countTodosLeft} items left</span>
    <ul>
      <li><a href="#">All</a></li>
      <li><a href="#/active">Active</a></li>
      <li><a href="#/completed">Completed</a></li>
      <li><a click.delegate="clearCompletedTodos()">Clear completed</a></li>
    </ul>
  </footer>
</template>
{'fraction_non_alphanumeric': 0.19591141396933562, 'fraction_numerical': 0.002271436683702442, 'mean_word_length': 3.8273972602739725, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '4892208', 'n_tokens_mistral': 613, 'n_tokens_neox': 601, 'n_words': 109}