From the website:
The Canada School of Public Service, Employment and Social Development Canada, the Community of Federal Regulators, drafters from the Department of Justice, and the Labour Program applied the Rules as Code process to the existing motor vehicles operators hours of work regulation regarding overtime.
In a 3-weeks sprint the team completed concept models, decision trees, source code for the regulation in Openfisca and has published it publicly as an API on Github for all to connect to. That referenced API is used here under the hood to power this Policy Difference Engine to test possible changes to this regulation through microsimulations.
The code, written in OpenFisca, is available on GitHub.
The app allows you to set out a driver’s weekly time sheet, then change 6 parameters in the legislation, and see how those changes affect what constitutes overtime for the driver.
It was built as part of a real-world process for reviewing the regulation in question.
The prototype is currently publicly accessible at https://policy-diff-main.dev.dts-stn.com/.