<commit_before><%= form_for([:admin, @contest]) do |f| %>
  <% if contest.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(contest.errors.count, "error") %> prohibited this contest from being saved:</h2>

      <ul>
      <% contest.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name_ja %>
    <%= f.text_field :name_ja %>
  </div>

  <div class="field">
    <%= f.label :name_en %>
    <%= f.text_field :name_en %>
  </div>

  <div class="field">
    <%= f.label :description_ja %>
    <%= f.text_area :description_ja %>
  </div>

  <div class="field">
    <%= f.label :description_en %>
    <%= f.text_area :description_en %>
  </div>

  <div class="field">
    <%= f.label :score_baseline %>
    <%= f.text_field :score_baseline %>
  </div>

  <div class="field">
    <%= f.label :start_at %>
    <%= f.datetime_select :start_at %>
  </div>

  <div class="field">
    <%= f.label :end_at %>
    <%= f.datetime_select :end_at %>
  </div>

  <div class="field">
    <%= f.label :status %>
    <%= f.check_box :status, checked_value: 1, unchecked_value: 0 %>
  </div>

  <div class="field">
    <%= f.label :password %>
    <%= f.text_field :password %>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
<commit_msg>フォームの修正<commit_after><%= form_for([:admin, @contest]) do |f| %>
  <% if contest.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(contest.errors.count, "error") %> prohibited this contest from being saved:</h2>

      <ul>
      <% contest.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name_ja %>
    <%= f.text_field :name_ja %>
  </div>

  <div class="field">
    <%= f.label :name_en %>
    <%= f.text_field :name_en %>
  </div>

  <div class="field">
    <%= f.label :description_ja %>
    <%= f.text_area :description_ja %>
  </div>

  <div class="field">
    <%= f.label :description_en %>
    <%= f.text_area :description_en %>
  </div>

  <div class="field">
    <%= f.label :score_baseline %>
    <%= f.text_field :score_baseline %>
  </div>

  <div class="field">
    <%= f.label :start_at %>
    <%= f.datetime_select :start_at %>
  </div>

  <div class="field">
    <%= f.label :end_at %>
    <%= f.datetime_select :end_at %>
  </div>

  <div class="field">
    <%= f.label :status %>
    <%= f.select :status, Contest.statuses.keys %>
  </div>

  <div class="field">
    <%= f.label :password %>
    <%= f.text_field :password %>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

{'fraction_non_alphanumeric': 0.2202337472607743, 'fraction_numerical': 0.002191380569758948, 'mean_word_length': 2.7214673913043477, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, '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': '5614609', 'n_tokens_mistral': 1164, 'n_tokens_neox': 1025, 'n_words': 199}