Earlier quoted context omitted.
Doubt it. The Intuit and HR Block lobbying dollars make sure our tax system is complicated enough to keep their businesses booming.
Petitions are free, right? Unless it actually does exist, it makes sense to start one.
Compiler for the M language of the French DGFiP
21–30 of 68 posts
Re: Compiler for the M language of the French DGFiP
#22That's funny because the INRIA is 5 minutes away from the place I am studying sciences right now, I did not think I would ever see them top in HN :)
Re: Compiler for the M language of the French DGFiP
#23Very good news. Consider signing the petition to make all publicly funded code free: https://publiccode.eu .
is there an initiative like this in the US?
The "source code" to the calculations are the paper forms which specify the calculations, making them transparent.
Re: Compiler for the M language of the French DGFiP
#24Earlier quoted context omitted.
Doubt it. The Intuit and HR Block lobbying dollars make sure our tax system is complicated enough to keep their businesses booming.
Petitions are free, right? Unless it actually does exist, it makes sense to start one.
Re: Compiler for the M language of the French DGFiP
#25The author explains what were the challenging bits in this thread (in french): https://twitter.com/DMerigoux/status/1314531302079688709
"Four years after the first publication by DGFIP, I have the pleasure of announcing that the source code permitting the calculation of taxes on revenue is finally reusable (recompilable by others)!
To use this algorithm in your application, follow this link...
It took us 1.5 years (with my coauthor Raphael Monat) to identify that which was missing in the published code in order for it to be reusable, and to fix this situation.
More or less, thanks to our project Mlang, a person can simulate IR's calculations without needing to interface with DGFIP.
The difficulty came from a constraint from DGFIP, who did not want us to publish (for security reasons) a part of the code that corresponds to a mechanism that handles "multiple liquidations". Raphael and I recreated this unpublished part in a new DSL.
DGFIP equally didnt want to publish their internal test games (cases). We had proceeded therefore with the creation of a suite of random test cases, separate from the non published ones, to finally be able to reproduce the validation of Mlang outside of DGFIP."
Re: Compiler for the M language of the French DGFiP
#26This is fantastic! If interested, you may want to check out our program for Open Source users of GitLab: https://about.gitlab.com/handbook/marketing/community-relati....
Re: Compiler for the M language of the French DGFiP
#27ETA: Diving into my thoughts on this a little: really what I'm describing would require (1) a dumb numerical analysis algorithm or (2) some CAS computer algebra system features, my preference. I don't know all the keywords and concepts, but I think term rewriting and equation solving would get me towards the output I seek: a multivariate, piecewise equation with user-selected input variables and user-selected output variables: e.g., current year tax, n+1 year tax, etc. Seems too involved, but ai have hope.
Re: Compiler for the M language of the French DGFiP
#28Earlier quoted context omitted.
Petitions are free, right? Unless it actually does exist, it makes sense to start one.
This petition is made by Free Software Foundation Europe. I guess you should ask Free Software Foundation to start one in the US.
Re: Compiler for the M language of the French DGFiP
#29That's funny because the INRIA is 5 minutes away from the place I am studying sciences right now, I did not think I would ever see them top in HN :)
OCaml gets a lot of love here from time to time..
Re: Compiler for the M language of the French DGFiP
#30I have implemented parts of the tax code, following 1040 and the network of forms it references line-by-line, for my own financial planning. I've been selective about what I implement based on what applies to me. I don't share the code because I'm not sufficiently confident that it's correct, don't want liability, and don't want an obligation to keep it up to date. That said, it feels like the scope of the project wo…