Hacker News new | ask | show | jobs
by smackfu 4701 days ago
The funny thing is that a lot of law is structured like definitions, the actual law, then consequences. Any of those three can change independently, and change the meaning of the law. So diffs are often not as useful as you wish.
1 comments

We need to parse the law into some simulation code, and then have unit tests (does scenario B cause citizen A's rights to be violated), and then check if changes break the tests.
Do it. Unit test the code. You might even be able to get law students to do it for free as a study aid.