<commit_before><%
   sweep_length ||= 1
   locked ||= false
   hidden ||= false
%>

<div class="fold">
  <div class="foldTitle">
    <%= title %>
    <% if locked %>
      (fixed)
    <% end %>
  </div>
  <div class="foldContent workflow_input" <%= 'style="display: none;"'.html_safe if hidden -%>>
    <% if form.object.is_a?(Sweep) %>
      <% sweep_length.times do |i| %>
        <h2>Iteration <%= i+1 -%></h2>
        <%= form.fields_for :runs, TavernaPlayer::Run.new do |run_fields| %>
          <% inputs.each do |input| %>
            <%= render :partial => 'taverna_player/runs/input_form', :locals => {:input => input, :form => run_fields,
                                                                                 :locked => locked } %>
          <% end %>
        <% end %>
      <% end %>
    <% else %>
      <% inputs.each do |input| %><commit_msg>Removed unused code<commit_after><%
   sweep_length ||= 1
   hidden ||= false
%>

<div class="fold">
  <div class="foldTitle">
    <%= title %>
  </div>
  <div class="foldContent workflow_input" <%= 'style="display: none;"'.html_safe if hidden -%>>
    <% if form.object.is_a?(Sweep) %>
      <% sweep_length.times do |i| %>
        <h2>Iteration <%= i+1 -%></h2>
        <%= form.fields_for :runs, TavernaPlayer::Run.new do |run_fields| %>
          <% inputs.each do |input| %>
            <%= render :partial => 'taverna_player/runs/input_form', :locals => {:input => input, :form => run_fields,
                                                                                 :locked => locked } %>
          <% end %>
        <% end %>
      <% end %>
    <% else %>
      <% inputs.each do |input| %>
{'fraction_non_alphanumeric': 0.1869772998805257, 'fraction_numerical': 0.0047789725209080045, 'mean_word_length': 1.8534923339011926, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4734406', 'n_tokens_mistral': 579, 'n_tokens_neox': 521, 'n_words': 110}