Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Tell me how you will write a unit test for determining the percentage of your utilities that is deductible on Schedule C.

Or a unit test that determines whether the discussion during a meal with a customer was "substantially about business matters".




You're conflating determination of factual and legal questions (out of scope) with modeling the decision tree (in scope and useful).

The function you ask about would be "getDeductiblePercentage()," and the unit tests would return various hard coded numbers. Actually determining that value for a real taxpayer is still hard.

Being able to show how information flows through the US tax code would be useful, even if it doesn't solve all the problems that arise from its intricacy.


What percentage of US citizens expense business meals? This is all about automating the simple cases.

Anything more complex is an input to the system, the system can still be tested.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: