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.
-
- Trisotech – published by Bruce Silver, developed by Simon Ringuette
- ChatGPT – produced by https://chat.openai.com/chat on Mar 26, 2023 (as is)
- ChatGPT and Java – submitted by Jacob Feldman on Apr 2, 2023
- OpenRules – submitted by Alex Mirtsyn
- Scala – submitted by Alex Goldin
- Oracle – submitted by Charlotte Bouvy and Martijn.Tromm
- DT5GL – submitted by Jack Jansonius
- …
You must be logged in to post a comment.