<commit_before><% present @story do |story_presenter| %>
  <h1>
    <%= @story.name %>
    <small><%= link_to @story.project.name, @story.project %></small>
  </h1>

  <div class="pure-g">

    <div class="pure-u-1 pure-u-md-17-24 ui-story-container">
      <div class="ui-story">
        <article>
          <header>
            <div class="actions">
              <%= link_to "Edit", edit_project_story_path(@story.project, @story) if can? :edit, @story %>
            </div>
            <%= present(@story.owner).avatar_link(30) %>
            <%= present(@story.owner).full_name %> added <%= human_time @story.created_at %>
          </header>
          <section class="body">
            <%= markdownify @story.description %>
          </section>
        </article>
        <div class="tasks">
          <% if @story.tasks.empty? %>
            <p>No tasks</p>

          <% else %>
            <h4><%= pluralize(@story.tasks.incomplete.count, "Incomplete Task") %></h4>

              <ul>
                <% @story.tasks.each do |task| %>
                  <li class="<%= "complete" if task.completed? %>">
                    <label>
                      <%= simple_form_for [@story.project, @story, task] do |f| %>
                        <input type="checkbox" <%= "checked" if task.completed? %>><%= task.label %>
                      <% end %>
                    </label>
                  </li>
                <% end %>
              </ul>
          <% end %>

          <% if can? :create, Task.new %>
            <%= simple_form_for [@story.project, @story, Task.new], html: { class: "pure-form pure-form-stacked" } do |f| %>
              <%= f.input :label, label: false, placeholder: "Add a new task..." %>
            <% end %>
          <% end %>
        </div>
        <div class="attachments">
          <p>No attachments</p>
        </div>
        <% @story.comments.each do |comment| %>
        <article>
          <header>
            <div class="actions">
              <%= link_to "Edit", edit_project_story_comment_path(@story.project, @story, comment) if can? :edit, comment %>
            </div>
            <%= present(comment.owner).avatar_link(30) %>
            <%= present(comment.owner).full_name %> added <%= human_time comment.created_at %>
          </header><commit_msg>remove label, so the text cannot check the checkbox<commit_after><% present @story do |story_presenter| %>
  <h1>
    <%= @story.name %>
    <small><%= link_to @story.project.name, @story.project %></small>
  </h1>

  <div class="pure-g">

    <div class="pure-u-1 pure-u-md-17-24 ui-story-container">
      <div class="ui-story">
        <article>
          <header>
            <div class="actions">
              <%= link_to "Edit", edit_project_story_path(@story.project, @story) if can? :edit, @story %>
            </div>
            <%= present(@story.owner).avatar_link(30) %>
            <%= present(@story.owner).full_name %> added <%= human_time @story.created_at %>
          </header>
          <section class="body">
            <%= markdownify @story.description %>
          </section>
        </article>
        <div class="tasks">
          <% if @story.tasks.empty? %>
            <p>No tasks</p>

          <% else %>
            <h4><%= pluralize(@story.tasks.incomplete.count, "Incomplete Task") %></h4>

              <ul>
                <% @story.tasks.each do |task| %>
                  <li class="<%= "complete" if task.completed? %>">
                    <%= simple_form_for [@story.project, @story, task] do |f| %>
                      <input type="checkbox" <%= "checked" if task.completed? %>><%= task.label %>
                    <% end %>
                  </li>
                <% end %>
              </ul>
          <% end %>

          <% if can? :create, Task.new %>
            <%= simple_form_for [@story.project, @story, Task.new], html: { class: "pure-form pure-form-stacked" } do |f| %>
              <%= f.input :label, label: false, placeholder: "Add a new task..." %>
            <% end %>
          <% end %>
        </div>
        <div class="attachments">
          <p>No attachments</p>
        </div>
        <% @story.comments.each do |comment| %>
        <article>
          <header>
            <div class="actions">
              <%= link_to "Edit", edit_project_story_comment_path(@story.project, @story, comment) if can? :edit, comment %>
            </div>
            <%= present(comment.owner).avatar_link(30) %>
            <%= present(comment.owner).full_name %> added <%= human_time comment.created_at %>
          </header>
{'fraction_non_alphanumeric': 0.1759721920486639, 'fraction_numerical': 0.005648490115142298, 'mean_word_length': 1.6987104337631886, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 133, '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': '221444', 'n_tokens_mistral': 1508, 'n_tokens_neox': 1340, 'n_words': 286}