A Modern Compiler for the French Tax Code
11–20 of 136 posts
Re: A Modern Compiler for the French Tax Code
#12> In France, income tax is computed from taxpayers' individual returns, using an algorithm that is authored, designed and maintained by the French Public Finances Directorate (DGFiP). This algorithm relies on a legacy custom language and compiler originally designed in 1990, which unlike French wine, did not age well with time. This interesting. When it comes to legacy code we think of COBOL and FORTRAN most of the t…
Re: A Modern Compiler for the French Tax Code
#13Translating legal texts to mathematical form is very interesting. It could decimate most legal jobs if a lawsuit can be converted to mathematical form and then 'executed' against the laws that are also in mathematical form. You get your judgement and the explanation as to how that conclusion was reached, all automatically. It could even cause headaches if contradictions in legal judgements are detected. It all relies…
I agree. Very interesting. Realistically, paperwork & bureaucracy is an ideal target for automation. That said, every input that you feed an algorithm is legally debateable... Structuring your inputs to be both legal and optimal is more storytelling than mathematics. There's enough play in these "subjective" parts that results could be anything.
Still, having a major algorithmic in the mix changes the game.
The fact is, that while PCs have been (a) on every desk and (b) paperwork efficiency machines for the last 30 years... the total number of legal/accounting/hr/admin jobs has increased in this period.
The effects of technology/efficiency on "clerical" work is not predictable in the way it is on factories.
Re: A Modern Compiler for the French Tax Code
#14Translating legal texts to mathematical form is very interesting. It could decimate most legal jobs if a lawsuit can be converted to mathematical form and then 'executed' against the laws that are also in mathematical form. You get your judgement and the explanation as to how that conclusion was reached, all automatically. It could even cause headaches if contradictions in legal judgements are detected. It all relies…
IMO this is such an 'obvious' idea once you think about it that it will eventually happen. The law will go from written natural language to executable computer programs (formal languages). However a change of this mangnitude cannot happen quickly, (and might even be impossible to do peacefully). Abusing the "software is eating the world" analogy, we ain't seen nothing yet. Software is just barely opening its mouth.
Re: A Modern Compiler for the French Tax Code
#15Translating legal texts to mathematical form is very interesting. It could decimate most legal jobs if a lawsuit can be converted to mathematical form and then 'executed' against the laws that are also in mathematical form. You get your judgement and the explanation as to how that conclusion was reached, all automatically. It could even cause headaches if contradictions in legal judgements are detected. It all relies…
I imagine it would be much easier to build a system to roughly estimate the odds of a lawsuit being successful, inputting salient features of the case and running the numbers, without deep reasoning about the particulars. I don't know if work is already being done on this but I wouldn't be surprised. A lot of money must ride on knowing which corporate law battles can be won.
Re: A Modern Compiler for the French Tax Code
#16Re: A Modern Compiler for the French Tax Code
#17Earlier quoted context omitted.
IMO this is such an 'obvious' idea once you think about it that it will eventually happen. The law will go from written natural language to executable computer programs (formal languages). However a change of this mangnitude cannot happen quickly, (and might even be impossible to do peacefully). Abusing the "software is eating the world" analogy, we ain't seen nothing yet. Software is just barely opening its mouth.
There is no floating point representation for 'gross', 'egregious', or 'blatant'. At least not one that will be suitable in all cases.
Re: A Modern Compiler for the French Tax Code
#18Earlier quoted context omitted.
IMO this is such an 'obvious' idea once you think about it that it will eventually happen. The law will go from written natural language to executable computer programs (formal languages). However a change of this mangnitude cannot happen quickly, (and might even be impossible to do peacefully). Abusing the "software is eating the world" analogy, we ain't seen nothing yet. Software is just barely opening its mouth.
There is no floating point representation for 'gross', 'egregious', or 'blatant'. At least not one that will be suitable in all cases.
Even ignoring the subtleties of the real world that the ̶l̶a̶w̶ edit legal system must cope with, nuts-and-bolts legal concepts like mens rea can't be mapped to algebraic expressions.
[0] https://arstechnica.com/tech-policy/2020/06/indiana-supreme-...
Re: A Modern Compiler for the French Tax Code
#19> In France, income tax is computed from taxpayers' individual returns, using an algorithm that is authored, designed and maintained by the French Public Finances Directorate (DGFiP). This algorithm relies on a legacy custom language and compiler originally designed in 1990, which unlike French wine, did not age well with time. This interesting. When it comes to legacy code we think of COBOL and FORTRAN most of the t…
My entire industry (subset of healthcare) mostly uses a single application for 95% of our core business functions. That application is written in Visual FoxPro and is, predictably, pretty terrible. Obviously it isn't going to get better, either, but it'll be a decade or more before there's a serious competitor.
Re: A Modern Compiler for the French Tax Code
#20Here's the source code of the implementation of the tax code: https://github.com/etalab/calculette-impots-m-source-code