<commit_before><!-- <div class="upload-form mt-3 mx-auto">
    <form action="/display" method="GET" class="mx-auto">
        <div class="form-group">
            <label>Upload data here:</label>
            <input type="file" class="form-control" placeholder="Choosefile" required>
        </div>
        <button type="submit" class="btn btn-primary mx-auto">Upload</button>
    </form>
</div> -->
<% if flash[:notice] %>
  <script type="text/javascript">
    alert("<%=flash[:notice]%>")
  </script>
  <% end %>
<div>

<h4>Import that data!</h4>
  <%=form_tag import_uploads_path, multipart: true do %>
  <%= file_field_tag :file%>
  <%= submit_tag "Import CSV",{:class => 'btn btn-primary'} %>

  <% end %><commit_msg>some change<commit_after><!-- <div class="upload-form mt-3 mx-auto">
    <form action="/display" method="GET" class="mx-auto">
        <div class="form-group">
            <label>Upload data here:</label>
            <input type="file" class="form-control" placeholder="Choosefile" required>
        </div>
        <button type="submit" class="btn btn-primary mx-auto">Upload</button>
    </form>
</div> -->
<% if flash[:notice] %>
  <script type="text/javascript">
    alert("<%=flash[:notice]%>")
  </script>
  <% end %>
<div>
  
<h4>Import that data!</h4>
  <%=form_tag import_uploads_path, multipart: true do %>
  <%= file_field_tag :file%>
  <%= submit_tag "Import CSV",{:class => 'btn btn-primary'} %>

  <% end %>
{'fraction_non_alphanumeric': 0.20833333333333334, 'fraction_numerical': 0.004166666666666667, 'mean_word_length': 3.447530864197531, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 53, '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': '4111211', 'n_tokens_mistral': 506, 'n_tokens_neox': 480, 'n_words': 103}