<commit_before>module SmartAnswer
  class InheritsSomeoneDiesWithoutWillFlow < Flow
    def define
      content_id "1f75de31-1f07-4c68-b1ab-8330b1ee8670"
      name 'inherits-someone-dies-without-will'
      status :published
      satisfies_need "100988"

      # The case & if blocks in this file are organised to be read in the same order
      # as the flow chart rather than to minimise repetition.

      # Q1
      multiple_choice :region? do
        option :"england-and-wales"
        option :"scotland"
        option :"northern-ireland"

        save_input_as :region

        calculate :next_steps do
          [:wills_link, :inheritance_link]
        end

        next_node :partner?
      end<commit_msg>Now insert `use_erb_templates_for_questions` at top of flow<commit_after>module SmartAnswer
  class InheritsSomeoneDiesWithoutWillFlow < Flow
    def define
      content_id "1f75de31-1f07-4c68-b1ab-8330b1ee8670"
      name 'inherits-someone-dies-without-will'
      status :published
      satisfies_need "100988"

      use_erb_templates_for_questions

      # The case & if blocks in this file are organised to be read in the same order
      # as the flow chart rather than to minimise repetition.

      # Q1
      multiple_choice :region? do
        option :"england-and-wales"
        option :"scotland"
        option :"northern-ireland"

        save_input_as :region

        calculate :next_steps do
          [:wills_link, :inheritance_link]
        end

        next_node :partner?
      end
{'fraction_non_alphanumeric': 0.06303348653972422, 'fraction_numerical': 0.036769533814839134, 'mean_word_length': 2.5359628770301623, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2012687', 'n_tokens_mistral': 515, 'n_tokens_neox': 469, 'n_words': 128}