<commit_before>status :draft

multiple_choice :question_one? do
  option :foo
  option :bar

  next_node :done
end

outcome :done<commit_msg>First pass at a sample flow covering most functionality<commit_after>status :draft

value_question :what_is_your_name? do
  save_input_as :name
  next_node :foo
end

multiple_choice :what_is_your_quest? do
  option :to_find_the_holy_grail
  option :to_rescue_the_princess

  next_node do |response|
    if name == 'robin' and response == 'to_find_the_holy_grail'
      :what_is_the_capital_of_assyria?
    else
      :what_is_your_favorite_colour?
    end
  end
end

value_question :what_is_the_capital_of_assyria? do
  save_input_as :capital_of_assyria
  next_node :auuuuuuuugh
end

multiple_choice :what_is_your_favorite_colour? do
  option :blue => :where_is_the_grail?
  option :blue_no_yellow => :auuuuuuuugh
  option :red => :where_is_the_grail?
end

country_select :where_is_the_grail? do
  save_input_as :country
  next_node :when_will_you_find_it?
end

date_question :when_will_you_find_it? do
  next_node :what_is_it_worth?
end

money_question :what_is_it_worth? do
  next_node :what_do_you_earn?
end

salary_question :what_do_you_earn? do
  next_node :done
end

outcome :done
outcome :auuuuuuuugh
{'fraction_non_alphanumeric': 0.05929487179487179, 'fraction_numerical': 0.0, 'mean_word_length': 5.788043478260869, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 3, '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': '5987690', 'n_tokens_mistral': 492, 'n_tokens_neox': 481, 'n_words': 104}