<commit_before># Employment principal adopter

# Did the primary adopter start their current or most recent job before %{minimum_start_date(match_date)}?

[choice: job_before_x_1]
* yes: Yes
* no: No

# Was the primary adopter still working in that job on %{minimum_end_date(match_date)}?

[choice: job_after_y_1]
* yes: Yes
* no: No

# How much does the primary adopter earn?

This is your total take-home pay before any deductions, eg tax.

[salary: salary_1]

# Does the primary adopter earn more than the Lower Earnings Limit?

[choice: ler_1]
* yes: Yes
* no: No

* job_before_x_1 is 'yes' AND job_after_y_1 is 'yes' AND ler_1 is 'yes'
  * two_carers is 'no'
    * employment_status_1 is 'employee'
      * match_date >= '2015-4-5' => outcome_adopt-leave_adopt-pay-pre-5-april
      * match_date < '2015-4-5' => outcome_adopt-leave_adopt-pay
    * employment_status_1 is 'worker' => outcome_adopt-pay-pre-5-april
  * two_carers is 'yes'
    * employment_status_2 in {employee worker} => employment_2_adoption
    * employment_status_2 in {self-employed unemployed}
      * match_date >= '2015-4-5' => employment_2_more_adoption
      * otherwise
        * employment_status_1 is 'employee' => outcome_adopt-leave_adopt-pay-pre-5-april
        * employment_status_1 is 'worker' => outcome_adopt-pay-pre-5-april
* otherwise
  * two_carers is 'no'
    * match_date >= '2015-4-5'
      * job_after_y_1 is 'yes' AND employment_status_1 is 'employee' => outcome_adopt-leave
      * otherwise => outcome_adopt-nothing
    * otherwise => outcome_adopt-nothing
  * two_carers is 'yes'
    * employment_status_2 in {employee worker} => employment_2_adoption
    * employment_status_2 in {self-employed unemployed}
      * match_date >= '2015-4-5'<commit_msg>Fix flow for single adopter case<commit_after># Employment principal adopter

# Did the primary adopter start their current or most recent job before %{minimum_start_date(match_date)}?

[choice: job_before_x_1]
* yes: Yes
* no: No

# Was the primary adopter still working in that job on %{minimum_end_date(match_date)}?

[choice: job_after_y_1]
* yes: Yes
* no: No

# How much does the primary adopter earn?

This is your total take-home pay before any deductions, eg tax.

[salary: salary_1]

# Does the primary adopter earn more than the Lower Earnings Limit?

[choice: ler_1]
* yes: Yes
* no: No

* job_before_x_1 is 'yes' AND job_after_y_1 is 'yes' AND ler_1 is 'yes'
  * two_carers is 'no'
    * employment_status_1 is 'employee'
      * match_date >= '2015-4-5' => outcome_adopt-leave_adopt-pay
      * match_date < '2015-4-5' => outcome_adopt-leave_adopt-pay-pre-5-april
    * employment_status_1 is 'worker' => outcome_adopt-pay-pre-5-april
  * two_carers is 'yes'
    * employment_status_2 in {employee worker} => employment_2_adoption
    * employment_status_2 in {self-employed unemployed}
      * match_date >= '2015-4-5' => employment_2_more_adoption
      * otherwise
        * employment_status_1 is 'employee' => outcome_adopt-leave_adopt-pay-pre-5-april
        * employment_status_1 is 'worker' => outcome_adopt-pay-pre-5-april
* otherwise
  * two_carers is 'no'
    * match_date >= '2015-4-5'
      * job_after_y_1 is 'yes' AND employment_status_1 is 'employee' => outcome_adopt-leave
      * otherwise => outcome_adopt-nothing
    * otherwise => outcome_adopt-nothing
  * two_carers is 'yes'
    * employment_status_2 in {employee worker} => employment_2_adoption
    * employment_status_2 in {self-employed unemployed}
      * match_date >= '2015-4-5'
{'fraction_non_alphanumeric': 0.10326241134751774, 'fraction_numerical': 0.030638297872340424, 'mean_word_length': 3.952247191011236, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 33, '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': '6275383', 'n_tokens_mistral': 1283, 'n_tokens_neox': 1212, 'n_words': 324}