<commit_before>.header
  %h1= @challenge.name
  %h2 #{@challenge.genre} #{@challenge.point}

.content
  != markdown_render(@challenge.description)

  = form_for @answer, url: challenge_path(@challenge), html: {class: 'pure-form'} do |f|
    %fieldset
      = f.text_field :answer, placeholder: 'Flag'
      = f.submit 'Submit', class: 'pure-button pure-button-primary'
<commit_msg>Doesn't show flag submission form if the contest is closed.<commit_after>.header
  %h1= @challenge.name
  %h2 #{@challenge.genre} #{@challenge.point}

.content
  != markdown_render(@challenge.description)

  - if within_contest_period?
    = form_for @answer, url: challenge_path(@challenge), html: {class: 'pure-form'} do |f|
      %fieldset
        = f.text_field :answer, placeholder: 'Flag'
        = f.submit 'Submit', class: 'pure-button pure-button-primary'
  - else
    %p The contest is closed...

{'fraction_non_alphanumeric': 0.14994363021420518, 'fraction_numerical': 0.004509582863585118, 'mean_word_length': 3.933333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5267847', 'n_tokens_mistral': 317, 'n_tokens_neox': 289, 'n_words': 71}