<commit_before><!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>TodoMVC</title>
    <link rel="stylesheet" href="/index.css">
  </head>
  <body>
    <section id="todoapp">
      <header id="header">
        <h1>todos</h1>
        <form action="/create_todo" method="POST">
          <input id="new-todo" type="text" placeholder="What needs to be done?" name="title" autofocus>
        </form>
      </header>
      <!-- This section should be hidden by default and shown when there are todos to display -->
      <section id="main">
        <form action="/toggle_all_complete" method="POST">
          <input id="toggle-all" type="checkbox" <%= "checked" if !Todo.more_to_do? %>>
          <label for="toggle-all">Mark all as complete</label>
        </form>
        <ul id="todo-list">
          <!-- These are here just to show the structure of the list items -->
          <!-- List items should get the class `editing` when editing and `completed` when marked as completed -->
          <% @todos.each do |todo| %>
          <li>
            <!-- If this list item is being edited, the div.view can be omitted -->
            <div class="view">
              <form action="/todo/<%= todo.id %>/toggle_complete" method="POST">
                  <input class="toggle" type="checkbox"  <%= "checked" if todo.is_complete %> > 
              </form>
              <a><%= todo.title %></a>
              <form action="/todo/<%= todo.id %>/destroy" method="POST">
                <button class="destroy"></button>
              </form>
            </div>
            <!-- The following form should appear only if this list item is being edited -->
            <form>
              <input class="edit" value="Taste the Ruby">
            </form>
          </li>
          <% end %>
        </ul>
      </section>
      <!-- This footer should hidden by default and shown when there are todos -->
      <% if Todo.all.size > 0 %>
        <footer id="footer">
          <!-- This should be `0 items left` by default -->
          <span id="todo-count"><strong><%= Todo.num_left_to_do %></strong> items left</span>
          <ul id="filters">
            <li><commit_msg>Item/Items (# left to do)<commit_after><!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>TodoMVC</title>
    <link rel="stylesheet" href="/index.css">
  </head>
  <body>
    <section id="todoapp">
      <header id="header">
        <h1>todos</h1>
        <form action="/create_todo" method="POST">
          <input id="new-todo" type="text" placeholder="What needs to be done?" name="title" autofocus>
        </form>
      </header>
      <!-- This section should be hidden by default and shown when there are todos to display -->
      <section id="main">
        <form action="/toggle_all_complete" method="POST">
          <input id="toggle-all" type="checkbox" <%= "checked" if !Todo.more_to_do? %>>
          <label for="toggle-all">Mark all as complete</label>
        </form>
        <ul id="todo-list">
          <!-- These are here just to show the structure of the list items -->
          <!-- List items should get the class `editing` when editing and `completed` when marked as completed -->
          <% @todos.each do |todo| %>
          <li>
            <!-- If this list item is being edited, the div.view can be omitted -->
            <div class="view">
              <form action="/todo/<%= todo.id %>/toggle_complete" method="POST">
                  <input class="toggle" type="checkbox"  <%= "checked" if todo.is_complete %> > 
              </form>
              <a><%= todo.title %></a>
              <form action="/todo/<%= todo.id %>/destroy" method="POST">
                <button class="destroy"></button>
              </form>
            </div>
            <!-- The following form should appear only if this list item is being edited -->
            <form>
              <input class="edit" value="Taste the Ruby">
            </form>
          </li>
          <% end %>
        </ul>
      </section>
      <!-- This footer should hidden by default and shown when there are todos -->
      <% if Todo.all.size > 0 %>
        <footer id="footer">
          <!-- This should be `0 items left` by default -->
          <% if Todo.num_left_to_do == 1 %>
            <span id="todo-count"><%= Todo.num_left_to_do %> item left</span>
          <% else %>
            <span id="todo-count"><%= Todo.num_left_to_do %> items left</span>
          <% end %>
          <ul id="filters">
            <li>
{'fraction_non_alphanumeric': 0.16120102214650767, 'fraction_numerical': 0.002768313458262351, 'mean_word_length': 1.978440076093849, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 141, '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': '5414355', 'n_tokens_mistral': 1402, 'n_tokens_neox': 1343, 'n_words': 407}