<commit_before><%! from django.utils.translation import ugettext as _ %>

<%namespace name='static' file='static_content.html'/>
<h2 class="problem-header">
  ${ problem['name'] }
</h2>

<div class="problem-progress"></div>

<div class="problem" aria-live="polite" aria-relevant="all">
  ${ problem['html'] }

  <div class="action">
    <input type="hidden" name="problem_id" value="${ problem['name'] }" />

    % if check_button:
    <button class="check ${ check_button }" data-checking="${ check_button_checking }" data-value="${ check_button }"><span class="check-label">${ check_button }</span><span class="sr"> ${_("your answer")}</span></button>
    % endif
    % if reset_button:
    <button class="reset" data-value="${_('Reset')}">${_('Reset')}<span class="sr"> ${_("your answer")}</span></button>
    % endif
    % if save_button:
    <button class="save" data-value="${_('Save')}">${_('Save')}<span class="sr"> ${_("your answer")}</span></button>
    % endif
    % if answer_available:
    <button class="show"><span class="show-label">${_('Show Answer')}</span> </button>
    % endif
    % if attempts_allowed :
    <div class="submission_feedback">
      ${_("You have used {num_used} of {num_total} submissions").format(num_used=attempts_used, num_total=attempts_allowed)}
    </div>
    % endif
  </div>
</div><commit_msg>Remove submission buttons from aria-live region<commit_after><%! from django.utils.translation import ugettext as _ %>

<%namespace name='static' file='static_content.html'/>
<h2 class="problem-header">
  ${ problem['name'] }
</h2>

<div class="problem-progress"></div>

<div class="problem">
    <div aria-live="polite">
        ${ problem['html'] }
    </div>
  <div class="action">
    <input type="hidden" name="problem_id" value="${ problem['name'] }" />

    % if check_button:
    <button class="check ${ check_button }" data-checking="${ check_button_checking }" data-value="${ check_button }"><span class="check-label">${ check_button }</span><span class="sr"> ${_("your answer")}</span></button>
    % endif
    % if reset_button:
    <button class="reset" data-value="${_('Reset')}">${_('Reset')}<span class="sr"> ${_("your answer")}</span></button>
    % endif
    % if save_button:
    <button class="save" data-value="${_('Save')}">${_('Save')}<span class="sr"> ${_("your answer")}</span></button>
    % endif
    % if answer_available:
    <button class="show"><span class="show-label">${_('Show Answer')}</span> </button>
    % endif
    % if attempts_allowed :
    <div class="submission_feedback" aria-live="polite">
      ${_("You have used {num_used} of {num_total} submissions").format(num_used=attempts_used, num_total=attempts_allowed)}
    </div>
    % endif
  </div>
</div>
{'fraction_non_alphanumeric': 0.21702594081110704, 'fraction_numerical': 0.0014614541468761417, 'mean_word_length': 4.813163481953291, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, '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': '7527071', 'n_tokens_mistral': 923, 'n_tokens_neox': 886, 'n_words': 178}