1,230 karma · joined Apr 15, 2017 (9y ago) · 135 submissions
comment 2w ago · link · parent
I'm working on the interview portion of my federal income tax formalization project. I've hit my coverage target (80% of filers), so I'm doing some refactoring to optimize future development. https://github.com/emmilco/us-tax-model
Privately I've been running a "game" for the past couple months with claude where it asks me questions about movies I've seen, tries to predict my answers, I grade the answers, and then it builds a theory of my movie taste. It's gotten really good and has reached the point where it can reliably recommend movies and shows I actually enjoy.
comment 3w ago · link · parent
The fun part is extending it to internal development at corporations. Company A thinks they’re doing interesting competitive work, but are actually being quietly shepherded to build exactly the same things in more or less the same ways as their competitors.
The weirdness of human individuals (even setting aside amorphous concepts like “taste”) is an asset because it provides occasion for actual differentiation, and that noise may turn out to be necessary for the emergence of value in the long run.
comment 3w ago · link · parent
It's also something that can be made more achievable by pruning coverage to the most common tax situations. E.g. my target coverage for this project is 80% of federal filers, individuals only. This is a lot more achievable than achieving coverage for all individuals plus businesses, etc.
comment 3w ago · link · parent
https://github.com/emmilco/us-tax-model/blob/main/spec/spec....
comment 3w ago · link · parent
- It's oriented toward the IRS's internal XML API in a way that's not really useful for this project, since no consumer of my code is going to digitally submit to the IRS.
- The semantics of FactGraph are largely undefined, and the maintainers themselves seem to acknowledge that its development trajectory went off in a bad direction and it needs major divisions.
- It's super verbose.
- It's the year of Lean, so I wanted to find an excuse to use Lean.
Other work has been done in this domain, though. The biggest example is Catala[0], though Prof. Sarah Lawsky at Northwestern seems to have made some strides toward formalizing the Internal Revenue Code.
comment 3w ago · link · parent
comment 3w ago · link · parent
In more detail:
- every line of every form gets a YAML representation which includes the source text, a data type, and an expression built from a small set of lean atoms, plus a citation pointing to the exact location of the rule in the original official document.
- underneath the yaml layer there's a lean formalization of the atoms showing that they behave as specified, that all comuptations use only the allowed atoms and operations, etc. There's also a typescript evaluator that's used to cross check the lean for agreement, so we have the arithmetic represented two ways.
The critical failure point for an LLM-produced formalization like this is the interpretation of the form text. Since I'm not a tax lawyer and don't intend to become one, this is an explicitly owned weakness and one I've structured the project around. Publicly available tax calculators (PolicyEngine, UsTaxes, OpenTaxSolver, etc.) are used to cross check derived numbers from this system. Mutation testing ensures the test suite is robust against bugs and arithmetic errors. Interpretations are cross checked by different model families (Claude, GPT, Deepseek). Etc.
The idea is to derive confidence from the formal properties of the system itself, and to allow theoretical future users of such a system to derive confidence in the interpretation of specific forms by making it easy to cross check line-level formalizations against the source documents.
There's a lot more detail in the (alas, Claude-authored) README. When I have time I'm going to write my own version of the README expressing my vision of the project, but I'm not there yet.
comment 3w ago · link · parent
And to be clear: my vision here isn't "have an agent do your taxes", it's to have agents build a hardened and thoroughly verified deterministic tool that can help you navigate the (somewhat bewildering) forms and instructions decision tree when filing your own taxes.
19.
Show HN: A proof-of-concept formalization of the IRS federal tax forms(github.com ↗)
84 points · by RGS1811 · 3w ago · 13 comments
comment 3w ago · link · parent
comment 1mo ago · link · parent
Much less ambitious than what 3anddone is trying to do. But If you’re interested, check it out. It’s called “Grask”.
comment 1mo ago · link · parent
comment 1mo ago · link · parent
And as I think Dennett himself would say, qualia are just Sellars's Given rearing its ugly head again.
comment 1mo ago · link · parent
And yeah, consciousness based arguments are bunk IMO. It's clear that LLMs are in a basic sense "aware", and even to some extent "sapient" (in Brandom's usage), i.e. they can justify claims and object to things at least locally. I follow Rorty on the question of consciousness, which is to say that consciousness has no deeper meaning in practice beyond "are you awake", and in philosophical discussion it's largely a proxy for "are you one of us" in some amorphous sense.
comment 1mo ago · link · parent
[1] https://sites.pitt.edu/~rbrandom/Courses/2022%20Phil%20of%20...
Edit: One of my ways of benchmarking new AI models is actually to type a version of this prompt in and see how sophisticated the response is: "Talk to me about the concept of deontic scorekeeping in the context of llms". You'll get good mileage out of that.