<commit_before>.article-related-positioning-container
  header.page-header.group
    div
      h1
        ' Your eligibility results

.article-container
  article.group role="article"
    .inner
      - if any_eligibilities_passed?
        p You are eligible to apply for awards in:
        ul
          - [@trade_eligibility, @innovation_eligibility, @development_eligibility].select(&:passed?).each do |eligibility|
            li = eligibility.class.const_get(:AWARD_NAME)
        br
      - if !all_eligibilities_passed?
        p You are unable to apply for:
        ul
          - [@trade_eligibility, @innovation_eligibility, @development_eligibility].reject(&:passed?).each do |eligibility|
            li = eligibility.class.const_get(:AWARD_NAME)
        br

      - if any_eligibilities_passed?
        .get-started
          = link_to "Continue to your account", correspondent_details_account_path, class: "button"

      .eligibility-finish-previous-answers<commit_msg>eligibility success is h2<commit_after>.article-related-positioning-container
  header.page-header.group
    div
      h1
        ' Your eligibility results

.article-container
  article.group role="article"
    .inner
      - if any_eligibilities_passed?
        h2 You are eligible to apply for awards in:
        ul
          - [@trade_eligibility, @innovation_eligibility, @development_eligibility].select(&:passed?).each do |eligibility|
            li = eligibility.class.const_get(:AWARD_NAME)
        br
      - if !all_eligibilities_passed?
        h2 You are unable to apply for:
        ul
          - [@trade_eligibility, @innovation_eligibility, @development_eligibility].reject(&:passed?).each do |eligibility|
            li = eligibility.class.const_get(:AWARD_NAME)
        br

      - if any_eligibilities_passed?
        .get-started
          = link_to "Continue to your account", correspondent_details_account_path, class: "button"

      .eligibility-finish-previous-answers
{'fraction_non_alphanumeric': 0.08796764408493428, 'fraction_numerical': 0.0025278058645096056, 'mean_word_length': 2.7481060606060606, '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': '3512144', 'n_tokens_mistral': 627, 'n_tokens_neox': 543, 'n_words': 124}