<commit_before>%section
  .page-header
    .pull-right
      - unless @conference.in_the_past
        = action_button "primary", t("cfp.submit_new_event"), new_cfp_event_path
        - if @person.availabilities_in(@conference).count == 0
          = action_button "", t("cfp.edit_availability"), new_cfp_person_availability_path
        - else
          = action_button "", t("cfp.edit_availability"), edit_cfp_person_availability_path
      = action_button "", t("cfp.edit_profile"), edit_cfp_person_path
      = action_button "", t("cfp.edit_account"), edit_cfp_user_path
    %h1=t("cfp.welcome")
  .row<commit_msg>cfp: hide "submit new event" button if deadline is over<commit_after>%section
  .page-header
    .pull-right
      - unless @conference.in_the_past
        - unless cfp_hard_deadline_over?
          = action_button "primary", t("cfp.submit_new_event"), new_cfp_event_path
        - if @person.availabilities_in(@conference).count == 0
          = action_button "", t("cfp.edit_availability"), new_cfp_person_availability_path
        - else
          = action_button "", t("cfp.edit_availability"), edit_cfp_person_availability_path
      = action_button "", t("cfp.edit_profile"), edit_cfp_person_path
      = action_button "", t("cfp.edit_account"), edit_cfp_user_path
    %h1=t("cfp.welcome")
  .row
{'fraction_non_alphanumeric': 0.12357846853677028, 'fraction_numerical': 0.003032600454890068, 'mean_word_length': 3.647887323943662, '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': '5197905', 'n_tokens_mistral': 446, 'n_tokens_neox': 435, 'n_words': 64}