<commit_before>class MaternityAnswer
  def initialize
    @flow = SmartAnswer::Flow.new do
      display_name "fsaasd"

      multiple_choice :what_is_your_employment_status? do
        answer :employed => :employed_when_is_your_baby_due?
        answer :self_employed => :self_employed_when_is_your_baby_due?
        answer :unemployed => :nothing_maybe_benefits
      end

      date_question :employed_when_is_your_baby_due? do
        save_input_as :due_date
        display_name "When is your baby due?"
        next_node :did_you_start_your_job_on_or_before_start_of_test_period?
      end

      multiple_choice :did_you_start_your_job_on_or_before_start_of_test_period? do
        display_name "Did you start your job on or before %{start_of_test_period}?"
        calculate :start_of_test_period do
          due_date - 66.weeks
        end
        answer :no => :when_did_you_start_your_job?
        answer :yes => :will_you_be_employed_for_26_weeks_including_qualifying_week?
      end

      date_question :when_did_you_start_your_job? do
        from { start_of_test_period }
        to { due_date }
        next_node do
        end
      end

      date_question :self_employed_when_is_your_baby_due? do
        display_name "When is your baby due?"
        answer :first_jan_2012 => :undefined_will_appear_as_ellipse
        answer :no => :you_should_register_as_a_non_established_taxable_person
      end

      outcome :nothing_maybe_benefits
      outcome :you_qualify_for_statutory_maternity_pay
      outcome :you_qualify_for_maternity_allowance
    end
  end
end<commit_msg>Multiple-choice questions have their responses defined using option, not answer.<commit_after>class MaternityAnswer
  def initialize
    @flow = SmartAnswer::Flow.new do
      display_name "Maternity benefits entitlement"

      multiple_choice :what_is_your_employment_status? do
        option :employed => :employed_when_is_your_baby_due?
        option :self_employed => :self_employed_when_is_your_baby_due?
        option :unemployed => :nothing_maybe_benefits
      end

      date_question :employed_when_is_your_baby_due? do
        save_input_as :due_date
        display_name "When is your baby due?"
        next_node :did_you_start_your_job_on_or_before_start_of_test_period?
      end

      multiple_choice :did_you_start_your_job_on_or_before_start_of_test_period? do
        display_name "Did you start your job on or before %{start_of_test_period}?"
        calculate :start_of_test_period do
          due_date - 66.weeks
        end
        option :no => :when_did_you_start_your_job?
        option :yes => :will_you_be_employed_for_26_weeks_including_qualifying_week?
      end

      date_question :when_did_you_start_your_job? do
        from { start_of_test_period }
        to { due_date }
        next_node do
        end
      end

      date_question :self_employed_when_is_your_baby_due? do
        display_name "When is your baby due?"
        option :first_jan_2012 => :undefined_will_appear_as_ellipse
        option :no => :you_should_register_as_a_non_established_taxable_person
      end

      outcome :nothing_maybe_benefits
      outcome :you_qualify_for_statutory_maternity_pay
      outcome :you_qualify_for_maternity_allowance
    end
  end
end
{'fraction_non_alphanumeric': 0.047851264858274914, 'fraction_numerical': 0.0048765620237732395, 'mean_word_length': 3.3643617021276597, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '479050', 'n_tokens_mistral': 1108, 'n_tokens_neox': 1040, 'n_words': 206}