<commit_before><% remote_form_for([@plan, Scenario.new]) do |f| %>
    <%= f.hidden_field :feature_id, {:value => @feature.id} %>
    <%= f.text_field :name, :style => "margin-left:4px;width:300px;"%>
    <br/>
    <%= submit_tag 'Add Scenario', :class => "button", :style => "margin-left:4px;" %>
    or 
<%= 
    link_to_function('Cancel', :style => "font-size:85%; margin: 4px;") do |page|
      page["new_scenario_feature_#{@feature.id}"].visual_effect :slide_up, :duration => 0.25
      page["add_scenario_feature_#{@feature.id}"].visual_effect :appear
    end 
%>
<% end %>
<commit_msg>forms and fields need separate ids<commit_after><% remote_form_for([@plan, Scenario.new], 
     :html => { :id => "new_scenario_#{@feature.id}"}) do |f| %>
    <%= f.hidden_field :feature_id, 
          {:value => @feature.id, :id => "scenario_feature_id_#{@feature.id}"}%>
    <%= f.text_field :name, 
          :style => "margin-left:4px;width:300px;",
          :id => "scenario_name_#{@feature.id}" %>
    <br/>
    <%= submit_tag 'Add Scenario', :class => "button", :style => "margin-left:4px;" %>
    or 
<%= 
    link_to_function('Cancel', :style => "font-size:85%; margin: 4px;") do |page|
      page["new_scenario_feature_#{@feature.id}"].visual_effect :slide_up, :duration => 0.25
      page["add_scenario_feature_#{@feature.id}"].visual_effect :appear
    end 
%>
<% end %>

{'fraction_non_alphanumeric': 0.21350762527233116, 'fraction_numerical': 0.01597676107480029, 'mean_word_length': 3.9747292418772564, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 33, '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': '4429234', 'n_tokens_mistral': 551, 'n_tokens_neox': 517, 'n_words': 86}