It seems you've found the algorithm right there. Not only is this algorithm the good old mega-nested-if-test-of-hard-coded-answers for a few of the questions asked. It basically checks if you think you are at risk, then puts you "atRisk" if you are older than 56/about to retire/an immigrant/pregnant.
Sadly; that is probably enough to report relatively correct values.
There is another way to look at it; a student was able to visualize what they wanted with minimal investment in learning secondary tools to their actual field.
Similar issue is often misattributed in other places like game engines aswell. For example Unity is often labeled as lower quality because of the correlation with bad code quality in many of the games made with it, while forgetting that this is precisely because it's so easy to get started with, more new developers choose it
I don't know that it's so sad. If it replaced humans putting their fingers in the air and then pulling an answer out of their ass, it's probably a strong improvement.
It seems you've found the algorithm right there. Not only is this algorithm the good old mega-nested-if-test-of-hard-coded-answers for a few of the questions asked. It basically checks if you think you are at risk, then puts you "atRisk" if you are older than 56/about to retire/an immigrant/pregnant.
Sadly; that is probably enough to report relatively correct values.