I don't always run the code in my head exactly - i do something more important, which is consider the set of possible situations the code can be in, and look for problems.
Which is why best practice is now to start with CI in production - it needs limited access to dev, and the access from development environments into it can be literally just enough to collect the latest artifact.
we ask almost everyone the same thing, which can be resolved to one of the unimaginative but straightforward things above, but is not necessarily obvious at first glance. We fail the people who evidently can't code, not the people who fail to resolve it to the magic answer.
hmmm, about this not having to pay rent - prisoners with partners and children currently can't pay their chunk of the rent, but I bet many would, if they could.