Hacker News new | ask | show | jobs
by ufo 8 days ago
A technicality: what is being open sourced here are the formulas used to compute value-added tax and other forms of business tax that were affected by the recent tax reform.

Although the Brazilian tax authority does develop software to file personal income tax, and provides it free of charge, that software is currently not open source.

2 comments

If the formulas and laws are not accessible to the public directly is the law even valid.
The laws are accessible, I am pretty sure all the regulations are available on the IRS site. Just if you ever tried to research anything on that site, you'd quickly learn how much distance there is from information being there somewhere to it being in a form that is practically useful for you. Those documents are not user-friendly at all, and there are so many branches and special cases that doing it from the raw documents would be enormously exhausting and you'd never be sure that you didn't miss something. This is why having a software package that does it would be huge help.

The problem is, those laws and regulations change literally all the time - e.g. just the last week IRS updated on FSA limits for the next year. Prior to that, the information just didn't exist. So somebody needs to maintain all those things and keep them in shape and consistent and up to date. This is not trivial. There exists software like https://opentaxsolver.sourceforge.net/ but I am not sure how much does it cover.

I imagine that the law is public, and thus some specification of the formula (as prose). But indeed in the 21st century a law that defines a mathematical formula ought to have a computer-usable component.
Exactly.
Related controversy: Making it the law that people need to follow rules that are locked behind private copyright.

https://www.techdirt.com/2024/07/23/congress-wants-to-let-pr...

interesting thought! source code is generally more precise than human language, but the human language law holds in court. feels like this is a point at which you choose whether humans need to be in the loop...
In pre-LLM times, you'd develop some software to calculate taxes and offer paying customers a guarantee that the output is correct based on the inputs. I wonder if the government is offering a guarentee that this repo is correct. An MIT ensures no warranty so what's the point of using this if there's no guarantee? Might as well write your own, or at least spend the tokens to have an AI verify it
I doubt it's just in plain language in the tax law, it's likely all formulas and tables (like the US IRS does in its form instructions) but that's not quite machine-readable
We are getting to a points with LLM now that the tax formulas and etc are the important part now rather than the software itself.
This is software though. The repository is written in Java.
Advanced enough LLM can itself create formulas from laws
Doesnt matter if it isnt the same formula applied by tax authorities. Their interpretation of the law is what matters.
But there's no difficulty with the formulas. When people complain about the burden of filing taxes, none of that burden comes from knowing how much tax you owe in each category!

All of the burden is in knowing how to assign your potentially taxable things into tax categories. There are no formulas for that. It's not a mathematical process.

Is the neighbor kid who mows your lawn considered an employee? And so on ... there are hundreds of judgment calls like this in US tax code. Open source doesn't help with this. The tax tables themselves are simple and easily available. https://www.irs.gov/filing/federal-income-tax-rates-and-brac...
Deterministically?

Depends on how the law is written.