<commit_before><div>
  <h3>New Survey</h3>
  <form action="/surveys" method="POST">
    Title: <input type="text" name="survey[title]"><br>
    Description: <input type="text" name="survey[description]"><br>
    <input type="hidden" name="survey[creator_id]" value="<%= session[:user_id] %>"/>

    <input type="submit" value="Make questions">
  </form>

  <% if @errors %>
    <ul>
      <% @errors.each do |error| %>
        <li><%= error %></li>
      <% end %>
    </ul>
  <% end %>
</div>
<commit_msg>Update survey new view with autofocus<commit_after><div>
  <h3>New Survey</h3>
  <form action="/surveys" method="POST">
    Title: <input type="text" name="survey[title]" autofocus="autofocus"><br>
    Description: <input type="text" name="survey[description]"><br>
    <input type="hidden" name="survey[creator_id]" value="<%= session[:user_id] %>"/>

    <input type="submit" value="Make questions">
  </form>

  <% if @errors %>
    <ul>
      <% @errors.each do |error| %>
        <li><%= error %></li>
      <% end %>
    </ul>
  <% end %>
</div>

{'fraction_non_alphanumeric': 0.22400756143667297, 'fraction_numerical': 0.003780718336483932, 'mean_word_length': 3.6651982378854626, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '6057043', 'n_tokens_mistral': 402, 'n_tokens_neox': 372, 'n_words': 80}