3 ms·
Related : the french administration has built a custom language for another big set of tax rules, those that dictate our social security system (which collects
by maelito 6y ago
Related : the french administration has built a custom language for another big set of tax rules, those that dictate our social security system (which collects 500 billons of € / year)
It's presented on https://publi.codes https://publi.codes but unfortunately we've not translated it yet. The language keywords themselves are in french, by design, to bridge the law and its official implementation. It's not yet used to compute taxes, just to simulate them on the official mon-entreprise.fr website.
The "code" expressed in YAML is parsed to build the computation model (in TypeScript), to document this model on the Web (each variable has a Web page) and to generate typeform-like forms.
It's in the https://github.com/betagouv/mon-entreprise https://github.com/betagouv/mon-entreprise monorepo, but it's also used to implement a model of our personnal climate impact, here : https://github.com/betagouv/ecolab-data/tree/master/data https://github.com/betagouv/ecolab-data/tree/master/data
Et bravo Denis :)
Edit : in case you didn't know, the french adminstration's code must by law be made public. This is just the beginning, expect lots of similar projects ! You can browse some repos here https://code.etalab.gouv.fr https://code.etalab.gouv.fr
- littlestymaar 6y ago> the french adminstration's code must by law be made public And this time, the code isn't printed on paper and send by post mails, which is a neat progress ;). See, https://www.nouvelobs.com/rue89/rue89-nos-vies-connectees/20161019.RUE4070/admission-post-bac-le-code-est-quasiment-inexploitable.html https://www.nouvelobs.com/rue89/rue89-nos-vies-connectees/20... (in French) on how “making code public” was just a few years ago.