How it works

What goes in

The supplier's own facts (ownership, parts, costs, places and dates), typed into one fact file on its own computer. The tool runs on that computer. This version reads only fact files marked as synthetic, while it is being tested.

What the tool does

It applies each rule's own published test to those facts, on the date the supplier states. Where a rule's words leave a point open, it follows one reading, marked as not settled.

For the advanced manufacturing production credit under section 45X, one test is the "material assistance cost ratio". For an "eligible component", section 7701(a)(52)(D)(ii) of the Internal Revenue Code (Public Law 119-21, section 70512(c), 139 Stat. 262) says that the term "means the amount (expressed as a percentage) equal to the quotient of":

The tool compares the result with the "threshold percentage" that the statute sets for the calendar year in which the component is sold.

Every figure can be recomputed by hand from the fact file: the template gives each with its formula, inputs and rules. In the sample, $1,000.00 minus the $380.00 marked as made by a "prohibited foreign entity", divided by $1,000.00, is 62.00 percent.

What comes out

From one fact file, the tool writes eight unsigned drafts for the supplier's lawyers and accountants, each a JSON record with a reading copy:

Every signature, declaration and "penalties of perjury" field is left empty. The tool decides nothing, signs nothing and files nothing.

Where the rules come from

The tool's legal rules are quoted from saved copies of four published texts: Public Law 119-21, IRS Notice 2026-15, the regulation at 26 CFR 1.45X-4 and 26 U.S.C. 45X. The Rule ledger lists the dated rule changes this site tracks. The rule packs that quote those texts carry each file's SHA-256 fingerprint, and each draft repeats it beside every such quotation, so a reader can see which saved text a draft rests on. Each draft also carries each rule pack's own SHA-256 and version, so a reader can see which version of the rules produced it.

Your data

The tool makes no network connection. A test in its code fails if any part of it imports a network library, opens a connection, looks up an address, opens a web address or starts another program. The fact file and the drafts stay wherever the supplier saves them, and the supplier decides who receives them.

Formats

The tool writes JSON records (.json), a Markdown reading copy of each (.md) and one HTML page with all eight (.html). All three are plain text and open in any text editor.

Corrections

No corrections yet. If a rule pack or a page is found to be wrong, the correction will be listed here with its date, what changed and which drafts it affects.