<commit_before><% number = nil %>
<div class="question">
  <h2>
    <% if number %>
      <span class="question-number"><%=number%> </span>
    <% end %>
    <%= question.title %>
  </h2>
  <div class="question-body">
    <%= question.body %>

    <% if question.hint.present? %>
      <p class="hint"><%= question.hint %></p>
    <% end %>

    <div class="<%= question.error && 'error' %>">
      <% if question.error %>
        <p class="error-message" id="current-error" role="alert">
          <%= question.error %>
        </p>
      <% end %>

      <%= render partial: question.partial_template_name, locals: { question: question, number: number } %>

      <%= question.post_body %>
    </div>
  </div>
</div>
<commit_msg>Inline value of number in current_question partial template<commit_after><div class="question">
  <h2>
    <%= question.title %>
  </h2>
  <div class="question-body">
    <%= question.body %>

    <% if question.hint.present? %>
      <p class="hint"><%= question.hint %></p>
    <% end %>

    <div class="<%= question.error && 'error' %>">
      <% if question.error %>
        <p class="error-message" id="current-error" role="alert">
          <%= question.error %>
        </p>
      <% end %>

      <%= render partial: question.partial_template_name, locals: { question: question, number: nil } %>

      <%= question.post_body %>
    </div>
  </div>
</div>

{'fraction_non_alphanumeric': 0.20702005730659026, 'fraction_numerical': 0.0028653295128939827, 'mean_word_length': 2.6285714285714286, 'pattern_counts': {'":': 0, '<': 55, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '409099', 'n_tokens_mistral': 497, 'n_tokens_neox': 441, 'n_words': 96}