<commit_before><%
   workflow_title = TavernaPlayer.workflow_proxy.title(@workflow) || ""
   data_input_names = @workflow.data_input_ports.map { |input| input.name }
%>
<script type="text/javascript">
  var inputs = <%= input_json_hash(@workflow.data_input_ports) -%>;
  var iteration_template = "<%= escape_javascript render('iteration_template') -%>";
  var input_template = "<%= escape_javascript render('input_template') -%>";
</script>

<div class="breadcrumbs">
  <a href="/">Home</a> &gt;
  <%= link_to @workflow.category.name, main_app.workflows_path(:category_id => @workflow.category) -%> &gt;
  <%= link_to @workflow.title, main_app.workflow_path(@workflow) -%> &gt;
  <%= link_to "#{@run.name}", taverna_player.run_path(@run) unless @run.blank? -%> &gt;
  New sweep
</div>

<div class="contribution_title">
  <h1><%= 'New Data Sweep for Workflow: ' + workflow_title -%></h1>
</div>

<div class="show_basic">
  <%= error_messages_for :sweep -%>

  <%= form_for @sweep, :html => {:multipart => true} do |sweep_form| %>
    <%= sweep_form.hidden_field :workflow_id, :value => @workflow.id %>
    <%= hidden_field_tag :run_id, params[:run_id] %>
    <%# f.hidden_field :workflow_version, :value => @workflow_version.version %>

    <div>
      <% if !@run.blank? %>
        <div class="box_standout curved">
          <p>
            <%= label_tag 'Sweep based on run:' %> <%= link_to(@run.name, @run) %>
          </p>
        </div>
      <% end %>
      <p>
        <%= sweep_form.label :name, "Sweep name:" %>
        <%= sweep_form.text_field :name, :value => "#{workflow_title} sweep", :size => 80 %><br/>
      </p>

      <div>
        <%= label_tag "Data inputs to iterate over:" %>
        <ul class="sweep_input_selection"><commit_msg>Fixed double right chevron in new sweep breadcrumb<commit_after><%
   workflow_title = TavernaPlayer.workflow_proxy.title(@workflow) || ""
   data_input_names = @workflow.data_input_ports.map { |input| input.name }
%>
<script type="text/javascript">
  var inputs = <%= input_json_hash(@workflow.data_input_ports) -%>;
  var iteration_template = "<%= escape_javascript render('iteration_template') -%>";
  var input_template = "<%= escape_javascript render('input_template') -%>";
</script>

<div class="breadcrumbs">
  <a href="/">Home</a> &gt;
  <%= link_to @workflow.category.name, main_app.workflows_path(:category_id => @workflow.category) -%> &gt;
  <%= link_to @workflow.title, main_app.workflow_path(@workflow) -%> &gt;
  <% unless @run.blank? %>
    <%= link_to "#{@run.name}", taverna_player.run_path(@run) -%> &gt;
  <% end %>
  New sweep
</div>

<div class="contribution_title">
  <h1><%= 'New Data Sweep for Workflow: ' + workflow_title -%></h1>
</div>

<div class="show_basic">
  <%= error_messages_for :sweep -%>

  <%= form_for @sweep, :html => {:multipart => true} do |sweep_form| %>
    <%= sweep_form.hidden_field :workflow_id, :value => @workflow.id %>
    <%= hidden_field_tag :run_id, params[:run_id] %>
    <%# f.hidden_field :workflow_version, :value => @workflow_version.version %>

    <div>
      <% if !@run.blank? %>
        <div class="box_standout curved">
          <p>
            <%= label_tag 'Sweep based on run:' %> <%= link_to(@run.name, @run) %>
          </p>
        </div>
      <% end %>
      <p>
        <%= sweep_form.label :name, "Sweep name:" %>
        <%= sweep_form.text_field :name, :value => "#{workflow_title} sweep", :size => 80 %><br/>
      </p>

      <div>
        <%= label_tag "Data inputs to iterate over:" %>
        <ul class="sweep_input_selection">
{'fraction_non_alphanumeric': 0.19287917017101205, 'fraction_numerical': 0.00224278104850014, 'mean_word_length': 3.676277850589777, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 101, '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': '4124964', 'n_tokens_mistral': 1368, 'n_tokens_neox': 1273, 'n_words': 241}