Should compliance logic live in the software or in staff training?
Compliance logic belongs in both. Software should run repeatable rules like math, limits, deadlines, and required fields; training should teach staff to check the math and handle judgment calls.
The full answer
Both, because they do different jobs. Software should handle the repeatable rules, like the math and limits, deadlines, and required fields, so they run the same way every time. Training should make sure staff understand how the math works, so they can check the software and fill its gaps, and cover what software can't do at all: judgment calls, unusual households, and conversations with residents.
How the math works includes using gross amounts for most income, converting pay frequency to an annual figure, and collecting the number of pay stubs your program requires.
Keep them in sync: update rules when guidance changes, train on why and not just where to click, review flagged exceptions, and spot-check calculations by hand.
Learn more: What to automate and what to keep human; Training your team on a new system