Challenge March-2023

Permit Eligibility                                                                                            Solutions

As part of a regulatory process, a government agency wants to determine if an applicant is eligible for a resident permit using a simple rule: an applicant is eligible for a resident permit if the applicant has lived at an address while married and in that time period, they have shared the same address at least 7 of the last 10 years. This problem was proposed by Trisotech.

Here is an example of input data:

A list of periods living at an address for applicant (From, To, Address):
2010-01-01,2015-12-31,”123 Main St, Anytown, USA”
2016-01-01,2020-12-31,”456 Oak St, Anytown, USA”
2021-01-01,2023-03-04,”789 Elm St, Anytown, USA”

A list of periods living at an address for spouse (From, To, Address):
2010-01-01,2015-12-31,”123 Main St, Anytown, USA”
2016-01-01,2020-12-31,”120 Maple St, Anytown, USA”
2021-01-01,2023-03-04,”789 Elm St, Anytown, USA”

A list of applicant and spouse marriage periods (From, To):
2010-01-01,2015-12-31
2021-01-01,2023-03-04

Please submit your solutions using your favorite decision modeling tool.

Solutions