<commit_before>  <% div_for @feature do %>
    <%= render :partial => "features/feature" %>
  <% end %>
  <% for scenario in @feature.scenarios %>
    <% div_for scenario do %>
      <div style="float:right;margin-left:10px;margin-top:8px;width:20px;height:30px;">
        <%= image_tag 'drag_handle.png', :class => "handle" %>
      </div>
      <div style="float:right;width:520px;text-align:left;">
      <%= link_to scenario.name, scenario_steps_path(scenario)%>
      <% if scenario.steps.empty? %>
        <%= link_to_remote('Delete',
              :html => {:class => "small-link delete-link"},
              :url => scenario_path(scenario), 
              :method => :delete) %>
      <% end %>
      <br/>
      <span style="color:#999;" class="small-text">
        Updated <%= time_ago_in_words(scenario.updated_at) %> ago.
      </span>
      </div>
      <br/>
    <% end %>
  <% end %>  
  <%= sortable_element "scenario_set_#{@feature.id}",
        :tag => "div",
        :handle => "handle",
        :only => "scenario",
        :scroll => "window", 
        :containment => false, 
        :dropOnEmpty => true,
        :url => update_scenario_order_feature_path(@feature),
        :method => :put %>
<commit_msg>make whole scenario clickable, and move delete right<commit_after>  <% div_for @feature do %>
    <%= render :partial => "features/feature" %>
  <% end %>
  <% for scenario in @feature.scenarios %>
    <% div_for scenario do %>
      <div style="float:right;margin-left:10px;margin-top:8px;width:20px;height:30px;">
        <%= image_tag 'drag_handle.png', :class => "handle" %>
      </div>
      <div style="float:right;margin-left:10px;margin-top:8px;margin-right:5px;width:40px;height:30px;">
        <% if scenario.steps.length == 0 %>
          <%= link_to_remote('Delete',
                :html => {:class => "small-link delete-link"},
                :url => scenario_path(scenario),
                :method => :delete) %>
        <% end %>
      </div>
      <% link_to(scenario_steps_path(scenario), 
           :style => "text-decoration:none;") do %>
        <div style="float:right;width:470px;text-align:left;">
          <%= scenario.name %>
          <br/>
          <span style="color:#999;" class="small-text">
            Updated <%= time_ago_in_words(scenario.updated_at) %> ago.
          </span>
        </div>
        <br/>
      <% end %>
    <% end %>
  <% end %>  
  <%= sortable_element "scenario_set_#{@feature.id}",
        :tag => "div",
        :handle => "handle",
        :only => "scenario",
        :scroll => "window", 
        :containment => false, 
        :dropOnEmpty => true,
        :url => update_scenario_order_feature_path(@feature),
        :method => :put %>

{'fraction_non_alphanumeric': 0.18311403508771928, 'fraction_numerical': 0.012792397660818713, 'mean_word_length': 2.404228855721393, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 80, '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': '3213603', 'n_tokens_mistral': 964, 'n_tokens_neox': 867, 'n_words': 152}