Skip to content

Let farm and partnership plans take the self-employed plan deduction and correct its downstream uses - #10131

Draft
MaxGhenis wants to merge 62 commits into
mainfrom
se-plan-business-farm-partnership
Draft

MaxGhenis wants to merge 62 commits into
mainfrom
se-plan-business-farm-partnership

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

This branch merges main at 094934a029, which includes #10120 (da23c7882b) and #10121 (3906867678).

Problem

#10121's self_employed_pension_earned_income (Pub. 560 worksheet step 3) and #10120's Form 7206 line 9 both put the self-employed retirement plan under the person's Schedule C business. So:

  • A farmer or partner with no Schedule C income gets no Schedule 1 line 16 deduction, however much they contribute. For example, for a 2025 farm profit of $100,000 and $100,000 of desired contributions, the model gives $0 and the Pub. 560 worksheet $42,087.05.
  • For a plan that covers a Schedule C business and a farm, the model counts only the Schedule C earned income. For example, for 2025 profits of $60,000 from Schedule C and $40,000 from the farm, the model gives a $34,652.23 limit and the worksheet $42,087.05.
  • On line 9, the model subtracts all of line 16 from the Schedule C business's earned income, even when the retirement plan sits under another business.

Congress ties each plan's deduction to the business under which the person sets the plan up, and the IRS follows that rule in Pub. 560 and on Form 7206:

  • 26 U.S.C. 404(a)(8)(C): a self-employed person's contributions qualify only up to "the earned income of such individual … derived from the trade or business with respect to which such plan is established".
  • 26 U.S.C. 162(l)(2)(A): the SE health deduction may not exceed the taxpayer's earned income, within the meaning of section 401(c), "derived by the taxpayer from the trade or business with respect to which the plan providing the medical care coverage is established".
  • 26 U.S.C. 401(c)(4): a person who owns all of an unincorporated business "shall be treated as his own employer", and "A partnership shall be treated as the employer of each partner" who is an employee.
  • Pub. 560 (2025) Deduction Worksheet step 1, p. 39: enter your "net profit from Schedule C (Form 1040), line 31; Schedule F (Form 1040), line 34; or Schedule K-1 (Form 1065), box 14, code A."
  • Pub. 560 (2025) p. 7: if you have more than one business, "but only one has a retirement plan, only the earned income from that business is considered for that plan." The same page treats a sole proprietor "as its own employer for retirement plan purposes", while "the partnership is treated as the employer of each partner."
  • Form 7206 line 9: enter "the amount … from Schedule 1 (Form 1040), line 16, … attributable to the same trade or business in which the insurance plan is established."

The statute quotes come from govinfo's USCODE-2023 edition, and the regulation quotes from the eCFR as of 2026-10-01.

Which businesses have plans

A new Person input, self_employed_pension_plan_business, lets users name the business with the plan: SCHEDULE_C, SCHEDULE_F or PARTNERSHIP. With the default, ALL, the model puts a plan under every business with a net profit and adds up their earned income. The model leaves out a business with a net loss, so the loss can't reduce the plans' earned income. With a named business, the model counts that business's earned income alone, as the IRS directs in Pub. 560's one-plan sentence. Users can't name two of the three businesses.

Why the default covers every profitable business

  • It gives the largest limit when one dollar limit covers all the plans. The limit rises with step 3, so the default matches or exceeds each named business's limit. It never falls below Limit self-employed plan contributions to the Pub. 560 maximum deduction #10121's Schedule C-only limit, and a property test checks both.
  • It matches the law for a sole proprietor's own businesses. Congress makes an individual the employer for each business they wholly own (401(c)(4)), so a Schedule C business and a farm share one employer. Congress also treats "all defined contribution plans … of an employer" as one plan, with one dollar limit (415(f)(1)(B)).
  • It understates the limit when a partnership's plan keeps its own section 415 limits and the dollar limit binds. A partnership employs its partners (401(c)(4)), and its plan keeps its own 415(c) dollar limit unless the two businesses count as one employer under section 414. Each individual keeps one 402(g) deferral limit and one 414(v) catch-up amount across all of their plans. By default, the model applies one dollar limit to all of the plans, and until it binds, separate plans would reach the same total. The worksheet's other limits grow in step with earned income and deferral room. So plans that split the deferral room in proportion to their earned income reach the combined amount, and by concavity no split reaches more. The single dollar limit binds from $232,500 of combined earned income with full deferral room in 2025 ($350,000 with none). The populace data hold no ownership shares, and in the impact run the single dollar limit caps no record's deduction. For a partnership plan with its own section 415 limits, users can set self_employed_partnership_has_separate_pension_limits. For two 2026 businesses with $300,000 of profit each, the pooled limit is $72,000, and separate limits give $140,605.31.
  • The filer can set up some plans after the year's results come in. The worked limits assume timely plan adoption and deferral elections for each contribution type. The IRS lets a filer set up a SEP by the return's due date, including extensions, in Pub. 560 (2025) p. 10: "You can set up a SEP for any year as late as the due date (including extensions) of your income tax return for that year." Section 401(b)(2) allows qualifying first-year elective deferrals by the sole owner and only employee of an unincorporated business by the unextended filing deadline. So with a SEP, a filer can leave out loss businesses and cover every profitable one.

The model leaves out defined benefit plans, Schedule SE line 1b (CRP payments) and the optional methods.

Form 7206 line 9

On line 9, the model enters the part of line 16 attributable to the health plan's business:

  • When one named business has the retirement plan, the model attributes all of line 16 to that business and none to the others.
  • When every profitable business has a plan (ALL), the person sets each plan's contributions, and the IRS gives no rule for the split on Form 7206 or in its instructions. So the model enters the least part of line 16 that the plan under the health plan's business must carry while the other plans carry as much as they can. That share leaves the most earned income for the health insurance deduction. Treasury splits a section 404 deduction by gross income in Treas. Reg. 1.199A-3(b)(1)(vi), but "for purposes of section 199A only".

What the other plans can carry depends on who employs the person. For section 404, Congress takes the employer from 401(c)(4): "the employer of such individual is the person treated as his employer under section 401(c)(4)" (404(a)(8)(A)). Each employer can deduct its contributions up to 25 percent of compensation (404(a)(3)(A)(i)(I)). For a self-employed person, Congress counts as compensation "the earned income of such individual derived from the trade or business with respect to which the plan is established" (404(a)(8)(D), with 404(a)(12)). One employer's profit-sharing trusts "shall be considered a single trust" for that limit (404(a)(3)(A)(iv)), and Congress counts a SEP's deduction against it (404(h)(2)). So the person's own Schedule C and farm plans share one limit, 20% of their combined earned income at the 25% rate. The partnership's plan has its own, 20% of the person's earned income from the partnership.

Congress sets each employer's limit from the compensation of all of its plan's participants. Like the Pub. 560 worksheet, the model counts the person's earned income alone, since the data don't record the plans' other participants. In section 414(c), Congress makes businesses under common control one employer for sections 401, 408(k), 408(p), 410, 411, 415 and 416, and leaves out 404.

Under 404(n), elective deferrals "shall not be subject to any limitation contained in paragraph (3), (7), or (9) of subsection (a) or paragraph (1)(C) of subsection (h)". So the person can put them in any plan, within one 402(g) limit for all of their deferrals (402(g)(1)(A)) and their 414(v) catch-up amount. Congress limits each plan's deduction to the earned income from its own business (404(a)(8)(C)). The other plans can then carry their employer room plus the person's deferral room, up to their earned income, and

line 9 = max(0, line 16 − min(the other plans' line 8, their employer room + the deferral room)).

In plan_deduction_attributable_to_business, the other plans' employer room for the Schedule C business comes to min(farm line 8, 20% × (Schedule C + farm line 8)) + 20% × partnership line 8. The farm's mirrors it, and the partnership's comes to 20% × (Schedule C + farm line 8).

For example, in Case 27 (2026) a person has $43,000 of profit from each of a Schedule C business and a partnership and wants to contribute $60,000. Each plan's employer contributions can reach 20% of its own line 8, 7,992.42935. The partnership's plan can carry that and all 24,500 of elective deferrals, so the Schedule C plan carries the other 7,992.42935 of the 40,484.8587 plan deduction. With a farm in place of the partnership (Case 32), the person sponsors both plans as one employer. The farm's plan can then take the whole shared employer limit and the deferrals, up to its earned income, and the Schedule C plan carries 522.71195.

By default, the model applies one set of section 415 limits to all of the plans. Congress treats "all defined contribution plans (whether or not terminated) of an employer" as one plan (415(f)(1)(B)). So the person's own plans share one dollar limit and one step 12 limit, half of earned income less deferrals. A partnership's plan joins them when the two businesses count as one employer under section 414 or share one plan:

  • Under common control (414(c)), a sole proprietorship and a partnership form a brother-sister group when the proprietor holds a "controlling interest" in each. For a partnership, Treasury defines that as "ownership of at least 80 percent of the profits interest or capital interest of such partnership" (Treas. Reg. 1.414(c)-2(b)(2)(i)(C)). Treasury counts that ownership "directly and with the application of § 1.414(c)-4" (1.414(c)-2(c)(1)). For section 415, Treasury substitutes section 415(h)'s "more than 50 percent" "except for purposes of determining whether two or more organizations are a brother-sister group" (1.415(a)-1(f)(1)), so the 80 percent test stands.
  • In an affiliated service group (414(m)), Congress counts the members as one employer for section 415, among other requirements (414(m)(1) and (4)(B)).

When both businesses maintain one plan, Treasury counts the contributions from both toward that plan's section 415 limits (1.415(a)-1(e)). Otherwise, the partnership's plan keeps its own 415 limits. At the 25% rate, its own step 12 then binds once its deferrals pass 60% of its earned income, and that can raise line 9. The data hold no ownership shares, so by default the model treats every partnership as one employer with the person's own businesses for section 415. When the retirement plan business is ALL, the Person input self_employed_partnership_has_separate_pension_limits (default false) gives the partnership's plan its own annual-additions and compensation limits. Both settings share the person's 402(g) deferral and 414(v) catch-up room.

With that input set, the plan limit and line 9 apply each employer's own bounds. Case 38 runs Case 27 that way. Line 16 stays 40,484.8587, but the partnership's plan keeps its full employer room only with up to 23,977.28805 of the deferrals. So the Schedule C plan carries 8,515.1413 rather than 7,992.42935, and the limit comes to 31,447.00545 rather than 31,969.7174. In the impact run, the one record that separate limits could reach deducts its full premiums either way.

Where the sources leave the choice open, the model applies the statute's employer limits, pools the section 415 limits unless the user marks the partnership as a separate employer, and within those limits takes the split that minimizes tax where a closed form exists.

What changes against #10120 + #10121:

  • Schedule C-only filers keep their plan deduction and line 9. Their saver's credit counts plan contributions only up to their remaining deferral and catch-up room, and QBI charges their plan deduction to Schedule C income alone.
  • Farm-only and partnership-only filers with a plan deduct line 16. When their health plan sits under the same business, the model enters all of line 16 on line 9, so their SE health limit falls by the same amount. For example, in Case 24 (2023, farm $20,000, $3,000 plan) the plan deduction rises from 0 to 3,000 and the SE health limit falls from 18,587.045 to 15,587.045.
  • For filers with several profitable businesses, line 9 stays 0 while the other plans can carry all of line 16 (Case 25). Past that point, it rises one for one with line 16 (Cases 22 and 26 to 36), under the default pooled limits.
  • With the default pooled limits, lines 16 + 17 never fall below the base's, where the retirement plan sits under the Schedule C business alone. A property test checks this for every drawn filer and health plan business. Line 9 rises at most one for one with line 16, so lines 16 + 17 also never fall as contributions rise.
  • In a two-business case (2024: Schedule C $10,000, partnership $10,000, a $3,000 plan, $20,000 of premiums), the filer keeps the base's SE health deduction of 9,293.52 (self_employed_health_insurance_ald.yaml Case 18). A split by earned income would give 7,793.52.
  • With self_employed_partnership_has_separate_pension_limits set, the partnership's plan has its own dollar limit, so the deduction can pass the pooled $72,000 dollar limit, and line 9 can rise (Case 38).

The model takes contributions as an input and places them among the plans, since choosing the contributions themselves would mean valuing the retirement saving. The model makes two choices for the filer: which businesses have plans, and how the contributions split.

Change

  • New self_employed_pension_plan_business (input, default ALL).
  • New self_employed_partnership_has_separate_pension_limits (input, default false). Under ALL, it gives the partnership's plan its own section 415 annual-additions and compensation limits. Both settings share the person's deferral and catch-up room.
  • New self_employed_pension_elective_deferrals counts plan contributions as elective deferrals up to the person's remaining deferral and catch-up room. The rest counts as employer contributions.
  • self_employed_pension_earned_income (steps 1–3) takes the plan businesses' net profit less their share of Schedule 1 line 15. It uses the shared Form 7206 line 7 helper to deduct that share, as the IRS does on Form 7206 lines 5–8. ALL takes the full deduction unless profits outside the selected businesses also enter the split, as under the owners' draw reform.
  • self_employed_pension_contribution_limit keeps main's Pub. 560 calculation for the default pooled limits. I extended its documentation and references to the employers (401(c)(4)) and their contribution limits (404(a)(3)(A)(iv), (a)(8), (a)(12), (h)(2) and (n)). I also added the section 415 aggregation (415(f)(1)(B); 414(c), with Treas. Reg. 1.414(c)-2's 80 percent test and 1.415(a)-1(f)(1)). The helper elective_deferral_room computes the 402(g) room, with catch-ups, left after deferrals to other employers' 401(k) and 403(b) plans, and the limit and Form 7206 share it. With separate limits, the limit splits step 3 between the person's own businesses and the partnership in proportion to their positive profits, applies each employer's annual-additions and compensation bounds, shares the regular deferral room between the plans, and adds one catch-up amount.
  • self_employed_health_insurance_earned_income_limit (Let farm, partnership and S corporation plans set the self-employed health insurance limit #10120) computes line 9 through plan_deduction_attributable_to_business, or separate_plan_deduction_attributable_to_business with separate limits, and form_7206_line_13 takes parameters for line 9 and uses the shared line 7 helper.
  • The owners' draw reform passes parameters through, and I updated its comment to name the plan businesses. Its test puts both plans, retirement and health, under the Schedule C business, as its oracles assume. Its stand-in parameters and inputs gain the plan rate, the deferral inputs that line 9 reads and the separate-limits input at its default. Its documentation describes step 2 as the selected plan businesses' share of line 15, with the draw profits in the denominator.

The pension variables never read the SE health variables: they read SE income, line 15, the new inputs and the deferral variables. The SE health limit reads the pension deduction, the new inputs, the plan rate and the deferral variables, and neither reads AGI or premiums.

Two consumers change:

  • qualified_business_income and sstb_qualified_business_income charge the plan deduction to the businesses whose earned income enters the plan limit, in proportion to their positive modeled profits. Treas. Reg. 1.199A-3(b)(1)(vi) uses gross income, and the model's profits stand in for it. Rental and other QBI outside those businesses bear none of the plan deduction. The deductible part of SE tax and the other deductions keep their existing split by positive QBI.
  • The saver's credit counts self-employed plan contributions through self_employed_pension_elective_deferrals, so only up to the person's remaining deferral and catch-up room. Section 25B(d) counts elective deferrals, not employer contributions.

The other consumers need no change:

Invariants

  • Pension (test_self_employed_pension_limit_properties.py). The test runs every drawn filer once per plan business, over 2022, 2025 and 2026.
    1. Line 15 equals half of the Schedule SE tax, and step 3 equals the plan businesses' profit less their share of line 15. The limit equals the best result of a literal Pub. 560 worksheet over grids of deferrals and catch-ups, with the amounts the IRS publishes.
    2. Deduction = min(desired, limit) ≤ earned income ≤ the plan businesses' profit, and limit ≤ dollar limit + catch-up.
    3. AGI ≥ 0 for any filer whose only income comes from self-employment profit with no losses, including farm and partnership profit.
    4. ALL's earned income equals the sum of the named businesses' earned income, and max(named limits) ≤ ALL's limit ≤ sum(named limits).
    5. At each grid point, the limit rises with Schedule C and farm profit and falls as a job's deferrals use up the deferral room. The grids skip a dip between $433 and $434 of profit, where self-employment tax starts.
  • Form 7206 (test_self_employed_health_insurance_properties.py). The test runs every drawn filer eleven times. Six runs keep the retirement plans at ALL: one with no health plan business named, four with each named in turn, and one with higher premiums. The other five put the retirement plan under the Schedule C business alone, with no health plan business named and with each of the four.
    1. Each limit equals a Form 7206 computation that takes Schedule SE and line 16 from the model and line 9 from an exact linear program. The program chooses the three plans' employer contributions and deferrals. It puts the person's own Schedule C and farm plans under one employer limit and the partnership's plan under its own, with one set of 415 limits over all three. The test solves it by enumerating vertices. The program's largest total equals the plan limit, so its constraints match the worksheet's.
    2. The unnamed limit equals the largest named limit.
    3. 0 ≤ deduction ≤ line 3, the limit ≥ the Schedule C limit, and each business's limit ≥ its line 8 less line 16.
    4. Raising premiums by d raises the deduction by between 0 and d and leaves the limit unchanged.
    5. AGI ≥ 0 for filers with no business losses.
    6. The model counts each premium once across the long-term care part and Schedule A.
    7. Under ALL, lines 16 + 17 never fall below those of the same filer with the retirement plan under the Schedule C business alone, for every health plan business.
    • One test needs no simulation. It checks plan_deduction_attributable_to_business against the program over drawn earned incomes, contributions and limits, including plan rates other than 25%. It also checks that separate employer limits leave the program's largest total unchanged.
  • Mutations of line 9 (at fe71df25d4): at least one test fails under each of the 16 mutants. The property tests fail for 14 and the two SE health YAML files for 15. The mutants include the pooled rule, other plans without deferrals or without employer room, no earned income cap, no floor at 0, an unreduced plan rate and main's rule. Only the property tests fail when the farm's other plans lose the partnership's room, and only the YAML when catch-ups or other employers' deferrals drop out of the deferral room.
  • Two more mutants remove two terms. When the model stops counting a job's designated Roth 403(b) deferrals against the deferral room, Case 36 fails. When a partnership's loss can reduce the plans' earned income, Case 37 fails.
  • Separate limits. The property tests use the default pooled limits. Case 38 and the two $300,000 businesses in the limit file test separate limits. The code bounds the separate total by the two employers' annual-additions caps plus one catch-up amount. Outside the test suite, a linear program matched both separate-limit calculations on 1,000 drawn cases.
  • Each new calculation has a case that fails without it. Pooled limits return $72,000 for the two independent $300,000 businesses. Pooled line 9 gives Case 38 a limit of 31,969.72. Splitting the plan deduction across all QBI fails the named-farm and rental QBI cases, and counting all plan contributions fails the capped-contribution and farm saver's credit cases.
  • Cost. Each property file ran three times warm, one process at a time, at the base (af8c86bb25) and at 14cf91ee74, on a Mac (not Linux CI) at load 11 to 15. In the medians, the Form 7206 file's wall time rises from 21.5 s to 22.4 s, and its peak memory from 1.26 GB to 1.31 GB. On pytest's clock, it falls from 4.4 s to 4.2 s. The pension file's wall time falls from 23.6 s to 22.2 s (5.9 s to 5.3 s on pytest's clock), and its peak memory from 1.31 GB to 1.30 GB. Both files run in CI's Rest job, remaining group.

Tests

  • I added 9 cases to self_employed_pension_contribution_limit.yaml: a farm alone, a partnership alone, Schedule C with a farm by default, a named farm and a named partnership. The other three put a farm loss outside the plan, give a named farm a loss, and apply one dollar limit across a Schedule C business and a farm. The ninth gives two 2026 businesses with $300,000 of profit each separate limits: each plan has 58,052.655 of employer room and half the 24,500 of deferrals, so line 16 comes to 140,605.31. I set two Limit self-employed plan contributions to the Pub. 560 maximum deduction #10121 cases to SCHEDULE_C to keep their meaning.

  • In self_employed_pension_contribution_ald.yaml, farm-only and partnership-only filers deduct $18,587.05 and end at AGI 0.

  • In self_employed_health_insurance_earned_income_limit.yaml, I set Case 17 to SCHEDULE_C and added 17 cases:

    • 22 (2023, Schedule C $20,000 + partnership $10,000, $15,000 plan): the partnership's plan can carry no more than its earned income, 9,293.5225. So Schedule C's line 9 comes to 5,706.4775 and the limit to 12,880.5675.
    • 23: with the retirement plan under the partnership, the Schedule C business keeps its whole earned income, 18,587.045.
    • 24: with the farm's own retirement plan, the farm's limit falls to 15,587.045.
    • 25: with the health plan under the farm, the model subtracts none of the $4,000 plan deduction, which the Schedule C plan can carry. So the farm's limit equals its line 8, 9,293.5225.
    • 26 (2026, Schedule C $50,000 + partnership $10,000, $40,000 desired): line 16 comes to 35,652.227, and the partnership's plan carries its whole earned income, 9,293.5225. The Schedule C limit comes to 20,108.908.
    • 27 (2026, Schedule C $43,000 + partnership $43,000, $60,000 desired): line 9 comes to 7,992.42935 for either business, so the limit comes to 31,969.7174.
    • 28 to 30 (2026, $60,000 of desired contributions): the health plan sits under the Schedule C business, the farm and the partnership in turn. Its business has $60,000 of profit and the other two $10,000 each. Line 16 comes to 39,369.636, and the two smaller businesses' plans carry 9,293.5225 each. The larger business's limit comes to 34,978.544.
    • 31 (2026, Schedule C $100,000 + partnership $20,000, health plan under the partnership): the Schedule C plan carries the person's employer limit, 18,587.045, and all 24,500 of deferrals. So the partnership's line 9 comes to 3,717.409 and its limit to 14,869.636.
    • 32: Case 27 with a farm in place of the partnership. The person's one employer limit lets the farm's plan carry up to its earned income, so the limit comes to 39,439.4348.
    • 33 (2026, a job's 401(k) takes all 24,500 of deferral room): each plan carries only its own employer contributions, so the Schedule C limit comes to 37,174.09.
    • 34 (2026, Schedule C and partnership $50,000 each, farm $6,000): the farm's plan carries its whole earned income, and the partnership's plan its employer limit and the deferrals. The Schedule C plan carries the other 4,832.6317, for a limit of 41,634.9808.
    • 35: Case 27 at age 55, where the 8,000 catch-up joins the deferrals the partnership's plan can carry, up to its earned income. The limit comes to 31,439.4348.
    • 36 (2026, Schedule C $50,000 + partnership $10,000): a job pays $60,000 and takes $20,000 of designated Roth 403(b) deferrals, which leaves 4,500 of deferral room. So the partnership's plan can carry 6,358.7045, and the Schedule C limit comes to 37,174.09.
    • 37 (2025, Schedule C $60,000 and a partnership loss of $20,000): the partnership has no earned income for a plan. So the Schedule C plan carries all 34,934.818 of line 16, and the limit comes to 22,239.272.
    • 38: Case 27 with self_employed_partnership_has_separate_pension_limits set. Line 16 stays 40,484.8587. The partnership's plan keeps its full employer room only with up to 23,977.28805 of the deferrals, so the Schedule C plan carries 8,515.1413 and the limit comes to 31,447.00545.
  • In self_employed_health_insurance_ald.yaml, Case 17's farmer with both plans ends at AGI 0. Case 18 (2024: Schedule C $10,000, partnership $10,000, a $3,000 plan, $20,000 of premiums) gives an SE health deduction of 9,293.5225 and AGI of 6,293.5225.

  • In qualified_business_income.yaml, two 2026 cases have $20,000 of farm profit, $20,000 of SSTB profit and a $3,000 plan. With the plan named under the farm, farm QBI comes to 15,587.045 and SSTB QBI to 18,587.045. With plans under every profitable business (ALL) and $20,000 of rental income, the farm and SSTB carry 1,500 each and the rental none, so QBI comes to 36,616.06 and SSTB QBI to 17,558.03.

  • In savers_credit_qualified_contributions.yaml, the capped 2026 contribution of 72,000 counts 24,500, since the other 47,500 is an employer contribution. A new case gives a farmer $3,000 of farm plan contributions after a job's 401(k) takes all 24,500 of deferral room, with 24,500 of distributions. The farm contribution has no elective part, and the credit is 0.

  • In owners_draw_self_employed_pension_earned_income.yaml, a 2027 case under the owners' draw has $40,000 of Schedule C profit, $10,000 of farm profit and S corporation income. Line 15 comes to 7,252.3875 and step 3 to 46,845.97.

  • The YAML comments give the hand computation for every expected value. Apart from the separate-limit cases, I recomputed every new and changed value in the four pension and SE health files in exact rational arithmetic and checked the line 9 values against the linear program, and all of them match.

  • On the base, 26 cases fail, all new or changed here, and the other 64 pass. I ran the sources at af8c86bb25, which merges Limit self-employed plan contributions to the Pub. 560 maximum deduction #10121's head into Let farm, partnership and S corporation plans set the self-employed health insurance limit #10120's, against this PR's four YAML files at 243ef9c5c6, in the CI setup.

    File Fail Pass Failing cases
    limit 8 22 farm only and partnership only (earned income 0 vs 92,935.23), Schedule C + farm by default (55,761.14 vs 92,935.23), and five cases that name a business
    pension ALD 2 3 Cases 4 and 5, 0 vs 18,587.045
    SEHI limit 15 22 Cases 17, 22 to 24 and 26 to 36; for example, Case 26's line 16 comes to 33,793.52 on the base, against 35,652.23
    SEHI ALD 1 17 Case 17, line 16 0 vs 3,000

    19 of the 26 differ in value, and the other 7 name a plan business, an input the base lacks. Three of those name the Schedule C business, so their values match the base's and guard the named path. Five new cases pass on the base and guard against regressions, and a split by earned income fails two of them (Case 25 and ALD Case 18). The other three test a partnership loss (Case 37), a farm loss that the default leaves out, and one dollar limit across Schedule C and a farm.

  • At b797bf9eab, before the latest merge of main, 61 targeted YAML files passed 1,009 cases. test_owners_draw.py, the two property files and the source, parameter-key and reference guards passed 453 tests. Ruff format and check passed on the eight Python files that b797bf9eab changes.

  • Required GitHub CI passes at the head. At a482316807, Rest Python shard 3 fails test_vectorized_reductions.py::test_numpy_any_all_outputs_specify_axis_or_stay_in_control_flow, which flags the np.any call outside control flow at line 276 of self_employed_health_insurance_earned_income_limit.py. The other test jobs pass.

Impact

The 2026 impact results below compare the base at af8c86bb25, which merges #10121's head into #10120's, and this PR at fe71df25d4 on populace-us-2024-spm-20260909. The table predates the separate-limits input, the QBI allocation and the saver's credit change, so it doesn't reflect them.

Variable Change Records changed (weighted)
Plan earned income (step 3) +$205.5 billion 1,873 up (5.61 million)
Plan limit +$89.1 billion 1,849 up (5.60 million)
Plan deduction (line 16) +$8.66 million 109 up (505,751), at most $906 each
SE health limit +$0.35 million 43 up (97,459), 109 down (505,751)
SE health deduction (line 17) −$57,776 11 down (52,041), at most $70.50 each
AGI −$8.83 million 99 down (453,709)
QBI deduction −$1.62 million 85 down (427,351)
Federal income tax −$0.86 million 97 down (446,673), at most $235.55 each
State income tax −$0.36 million 77 down (386,165)
Household net income +$1.22 million 99 up (459,175)

Each of the 11 records whose SE health deduction falls gains the same amount of line 16, so lines 16 + 17 fall for no record and rise for 99.

Few records use the higher limits. In the populace data, 1,654 records (5.47 million weighted, $1.38 billion) have desired contributions, all with Schedule C profit, and no farm-only or partnership-only filer has any. Of these, 191 (785,222 weighted) also have a profitable farm or partnership. Across all records, 186 (618,569 weighted) have a partnership beside another profitable business, and 21 of them (19,764 weighted) have limits that reach 2026's $72,000 dollar limit. None of the 21 wants to contribute more than its limit, and no record wants more than $72,000. Line 9 can change only for the 16 records (66,382 weighted) with premiums, more than one profitable business and a plan deduction. Of these, one (12,212 weighted) has a partnership beside another profitable business, and it deducts its full premiums, $4,288, beside a $453 plan deduction.

axiom: TheAxiomFoundation/rulespec-us#1676 queued, TheAxiomFoundation/rulespec-us#1682 queued, TheAxiomFoundation/rulespec-us#1680 queued

🤖 Generated with Claude Code

MaxGhenis and others added 19 commits October 11, 2026 13:07
…ncome

26 U.S.C. 162(l)(2)(A) caps the deduction at earned income within the
meaning of section 401(c), which section 401(c)(2)(A)(v) and (vi) reduce
by the section 404 plan deduction and the section 164(f) deduction for
half of self-employment tax. Form 7206 (and Pub. 535 Worksheet 6-A before
2023) subtracts the share of Schedule 1 line 15 attributable to the plan
business and the line 16 plan deduction from that business's net profit.
The model used net profit alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…orm 7206

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eduction

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd S corporation plans

Form 7206 allows the plan to be established under a Schedule F farm, a
partnership with K-1 box 14 code A earnings, or an S corporation in which
the person is a more-than-2% shareholder (162(l)(5), line 11), one form per
plan. Add self_employed_health_insurance_plan_business (default: the business
with the largest earned income) and s_corp_shareholder_medicare_wages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The limit used 100% of Schedule C net profit. Plan compensation for a
self-employed person is 401(c)(2) earned income, net of the deductible
part of self-employment tax and of the plan deduction itself, and
404(a)(8)(C) caps the deduction at that earned income before the plan
deduction (Pub. 560 Deduction Worksheet for Self-Employed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n plans

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lan limit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… limit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The farm and partnership plan business change builds on both the Pub. 560
plan limit (#10121) and the Form 7206 plan business choice (#10120).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
self_employed_pension_earned_income (Pub. 560 worksheet steps 1-3) now uses
the business or businesses under which the plan is established: by default
every profitable Schedule C, Schedule F and partnership business, or one
business named by the new self_employed_pension_plan_business input. 404(a)(8)(C)
limits the deduction to earned income from the plan's business; Pub. 560 step 1
allows Schedule F and K-1 box 14 code A profit.

Form 7206 lines 9-10 now subtract only the part of Schedule 1 line 16
attributable to each business, in proportion to its earned income.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rm 7206

Pension limit: farm only, partnership only, both businesses by default, a
named farm or partnership, a farm loss, and one dollar limit across
businesses. Two existing cases now name the Schedule C business to keep their
meaning. Form 7206: line 9 split by earned income, a retirement plan under
the partnership or the farm, and a farmer with AGI of zero.

Step 3 again subtracts the plan businesses' share of line 15, which is exact
in float32 for one business.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rship plans

Pension: every drawn filer runs under each plan business; the reference's step
1 is the plan businesses' net profit; the default's earned income is the sum
of the named businesses', its limit is between their largest and their sum,
and it never lowers the deduction from a Schedule C plan. AGI stays at or above
zero for any filer with only self-employment profit, and a farm grid checks the
limit rises with farm profit.

Form 7206: filers draw a retirement plan business; line 9 is each business's
share of line 16 by line 8, and the shares add up to line 16. Property 5
tightens to AGI >= 0 for filers with no business losses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the default's limits

- Limit YAML Cases 18 and 19 name PARTNERSHIP and S_CORPORATION.
- The plan business input says when a partner's or shareholder's own policy
  counts, and that all Schedule C income is one business.
- Cite PDF pages 1-2 of the Form 7206 instructions.
- Drop the sum-of-businesses bound, which the differential property implies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis

Copy link
Copy Markdown
Contributor Author

Note from the #10120 session: #10120 moved from 47bba5e893 to b03f96f65f. These are review fixes only, with no formula change. Merge it in here when convenient.

What changed in the files this PR also edits:

  • Limit variable (self_employed_health_insurance_earned_income_limit.py): one added line, # PDF pages 1-2, above the i7206 href in reference. This PR's hunks start below it, so it should merge clean.
  • Property test:
  • Limit YAML: two cases appended at the end, so they collide with this PR's Cases 18–21. Keep both sets and renumber this PR's to 20–23.
    • Case 18 names PARTNERSHIP: farm 40,000 and partnership 10,000 in 2025 give 9,293.5225.
    • Case 19 names S_CORPORATION: wages 10,000 beside Schedule C 50,000 in 2025 give 10,000.
    • Neither has a retirement plan deduction, so both should hold under this PR's line 9 rule. Please confirm when merging.
  • Plan business enum (self_employed_health_insurance_plan_business.py, not edited here): the documentation gains the reimbursement condition for partners and shareholders, and says all Schedule C income, SSTB and non-SSTB, is one business.

The rulespec-us#1676 comment for #10120 keeps tests H–L as drafted, so this PR's M–O follow on.

@curielmc

Copy link
Copy Markdown

Confirming this from the user side: on main (2.42.0), a general partner whose only self-employment earnings are on Schedule K-1 (Form 1065) box 14 code A gets self_employed_pension_contribution_limit = 0. So a plan contribution made through the partnership is disallowed entirely.

Synthetic case, 2025, single, TX: partnership_income $200,000, partnership_self_employment_net_earnings $200,000, self_employed_pension_contributions_desired $30,000.

Variable main 2.42.0 this PR (c140181)
self_employment_tax_ald 13,596.35 13,596.35
self_employed_pension_contribution_limit 0 60,780.73
self_employed_pension_contribution_ald 0 30,000

$60,780.73 is the Pub. 560 worksheet step 3 amount ($200,000 − $13,596.35 = $186,403.65) × 0.20, plus the 2025 402(g) limit of $23,500. That is the 401(k)-arrangement limit #10121 describes. With the same totals, the Schedule C-only case and a $100,000/$100,000 Schedule C/partnership split give the same limit.

Law: 26 U.S.C. 401(c)(1)–(2) and (c)(4), 404(a)(8)(C); Pub. 560 (2025), Deduction Worksheet for Self-Employed, step 1.

@MaxGhenis

Copy link
Copy Markdown
Contributor Author

Heads-up from #10109, which this PR is stacked on. #10109 is now at 7713afc88a: it merged current main (bf108e931a) and changed three files this PR also edits.

  • self_employed_health_insurance_earned_income_limit.py: the documentation now says that SSTB and non-SSTB Schedule C income are one plan business, so a loss in one reduces line 4, and that Schedule 1 line 15 is read per person. The formula is unchanged.
  • self_employed_health_insurance_earned_income_limit.yaml: comments now say "Schedule 1 line 15/16". New cases 9 (a plan deduction that floors the limit at 0) and 10 (an SSTB loss netted against non-SSTB profit).
  • tests/unit/test_self_employed_health_insurance_properties.py: Schedule 1 line 15 is now computed in the test from Schedule SE: 0.9235, the $400 floor, SSA wage bases {2022: 147,000, 2024: 168,600, 2026: 184,500}, 12.4% and 2.9%. The strategy draws sstb, the reference's Schedule C is schedule_c + sstb, and comparisons use rtol=1e-6 with atol=0.01. test_reviewer_example_and_boundaries now builds its filers with a filer(...) helper.

Expect conflicts in those three files when you merge #10109's branch or main after #10109 lands. #10109 also updates #10055's two derived Schedule A cases and its conservation tolerance, and the Michigan exclusions test. Expect those too if this PR touched them.

🤖 Generated with Claude Code

#10109 squash-merged with later commits this branch did not have. Keep this
branch's per-business limit and add #10109's documentation of the single
Schedule C business and the per-person line 15. In the limit YAML, keep
main's Cases 1-10 in place (Case 8 now names SCHEDULE_C, since an unnamed
business takes the largest) and append this branch's cases as 11-21. In the
ALD YAML, append this branch's four cases as 9-12. In the property test, take
main's independent Schedule SE reference for line 15 and its SSTB draws.
Delete #10109's changelog fragment, which main already released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main gained #10109's Form 7206 limit, which subtracts this branch's plan
deduction (Schedule 1 line 16), and its tests. No textual conflicts; the
SSTB pension case in self_employment_income.yaml keeps this branch's
expectation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main's Case 9 (2023, $20,000 of profit, $20,000 desired) expected the old
plan deduction of $20,000. The worksheet caps it at earned income,
20,000 - 1,412.955 = 18,587.045, so line 10 is still 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A mutant that added catch-up contributions outside the earned income cap
passed both YAML files and failed only the property test. The new case
(2025, age 55, $20,000 of profit) has step 3 of $18,587.05 and leaves no
room in step 16 for the $7,500 catch-up, so the limit is $18,587.05; the
mutant gives $26,087.05.

Also correct worksheet comments: case 1's 20% figure is step 5 (step 6
caps step 7 at $90,000), the header now says step 3 subtracts only the
Schedule C share of line 15, and the ALD comments use the exact
$1,412.955. The changelog no longer says the deduction can't reach 100%
of profit, which it can below the $400 threshold.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis and others added 9 commits November 5, 2026 08:34
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since #10265, the deduction is the smaller of Form 7206 line 3 (the
medical premiums plus eligible long-term care premiums) and line 13.
The property test still capped it at the medical premiums, and no test
put long-term care premiums under a farm, partnership or S corporation
plan.

- ALD YAML Cases 13 to 16 add long-term care premiums under an S
  corporation, a farm, a partnership and the default business. Each
  checks the long-term care part and Schedule A as well as the
  deduction.
- The property test draws long-term care premiums, checks the
  deduction against line 3 and adds property 6: the long-term care part
  and Schedule A.
- The plan business, S corporation wage and long-term care premium
  inputs say that long-term care premiums a partnership or S
  corporation pays or reimburses go in
  long_term_health_insurance_premiums, on the insured person.
- The reform case with S corporation profits but no box 5 wages now
  says so in its name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The S corporation wage input's documentation now says the model's payroll
tax wages start from employment_income, so they include the long-term care
premiums it routes there. Three test comments name the year of the $850
limit, the premiums property 6 counts, and both zero lines in the owners'
draw case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The plan business input now says a partner also enters premium
guaranteed payments in partnership_income, and in
partnership_self_employment_net_earnings when the partnership reports
them in K-1 box 14 code A, matching the S corporation input's
employment_income sentence. Both inputs cite Notice 2008-1 for when a
plan is established by the S corporation and for the box 1 vs box 5
treatment, and the plan business input cites the Form 1065
instructions' line 4c note that guaranteed payments are net earnings
from self-employment. Documentation and references only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolves the conflicts with #10120's shared form_7206_line_13 helper, which
the owners' draw reform also calls. Line 8 now uses #10120's per-business
share of line 15, and line 9 keeps this branch's split of line 16 across
the retirement plan's businesses. #10120's new SEHI cases (13 to 16 in the
deduction file, 17, 20 and 21 in the limit file) keep their numbers, and
this branch's cases follow them (deduction Case 17; limit Cases 22 to 25).
The property test takes #10120's version here; the next commit adds the
retirement plan business and its line 9 reference back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With retirement plans under several businesses, the person sets each
plan's contributions, so Form 7206 line 9 for the health plan's business
now takes the least part of the plan deduction that its plan must carry
while the other plans carry as much as their own Pub. 560 limits and the
shared dollar and elective deferral limits allow. A closed form replaces
the proportional split, and the property tests check it against an exact
linear program. The owners' draw test stub names the Schedule C business
as the retirement plan business, as its oracles assume.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Scalar inputs now give scalar enums, so the pension earned income
helper's division broadcasts as it does in core. Also describe the new
line 9 rule in the Form 7206 limit tests' header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Base automatically changed from sehi-plan-business-base to main November 8, 2026 01:38
MaxGhenis and others added 13 commits November 7, 2026 20:55
The other plans must take only the catch-up contributions they need, so
the health plan's business keeps the rest. Giving them all of the
catch-up room passed the earlier examples; this one catches it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…anch

Main's copies of the seven conflicting files match #10120's head
(eddc35a) exactly, so this branch's later versions stand. Every other
file takes main's side or a three-way merge on #10120's head, and
source_conflicts/candidates.yaml merged cleanly on that base. Main's
release compiled #10120's changelog fragment, so the merge removes it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With plans under every profitable business, line 9 applied Pub. 560's 20%
and step 12 limits to each plan separately, and the other plans then freed
deferral room for this one at 50 cents on the dollar. A sole proprietor is
the employer for all of their own businesses (26 U.S.C. 401(c)(4)), and one
employer's plans count as one plan for the 415(c) limits (415(f)(1)(B)) and
as one trust for the 404(a)(3) limit (404(a)(3)(A)(iv)). The plan limit
already treats every plan as one employer's, under one dollar limit. So the
worksheet limits apply to the plans together, the only limit on each plan
alone is its own business's earned income (404(a)(8)(C)), and line 9 is the
part of line 16 above the other plan businesses' earned income.

The pension limit keeps #10121's formula, so this branch changes only its
documentation, and Form 7206 line 13 no longer reads the plan parameters.
Cases 26 and 27 move to 20,108.908 and 39,439.4348. The property tests'
linear program applies the worksheet limits to the plans together, ties its
largest total to the model's plan limit, and checks that plans under every
business never deduct less in lines 16 and 17 than a plan under the
Schedule C business alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A SEP's deduction reduces the 404(a)(3)(A) limit for the same participants,
so a SEP and a profit-sharing plan of one employer share one limit, as two
profit-sharing trusts do under 404(a)(3)(A)(iv). Comments only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
YAML Cases 28 to 30 put the health plan under each business in turn, with
plans under a Schedule C business, a farm and a partnership. The other two
plans carry their whole earned income, 9,293.5225 each, and the health plan's
business carries the rest of the 39,369.636 plan deduction. The property
test's fixed filers gain the farm and partnership versions, which its Form
7206 reference checks for every health plan business. Before these, a
mutant that left the partnership out of the farm's other businesses passed
every test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
92,350 x 15.3% / 2 is 7,064.775, not 7,064.7775. The farm-only,
partnership-only, default Schedule C and farm, farm-alone and
partnership-alone cases now state the exact Pub. 560 worksheet amounts
(earned income 92,935.225, 37,174.09 and 46,467.6125; limits 42,087.045,
30,337.045 and 32,793.5225). The old values sat within the 0.01 margin,
so no case changes result.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 7206 line 9

A partnership is the employer of its partners (26 U.S.C. 401(c)(4),
404(a)(8)(A)), so its plan's employer contributions stay within the
reduced plan rate times the person's earned income from the
partnership, while the plans under the person's own Schedule C
business and farm share one limit (404(a)(3)(A)(iv)). Elective
deferrals, catch-ups included, can sit in any plan within one
section 402(g) limit (402(g)(1)(A), 404(n)). Line 9 for plans under
every business is now the plan deduction less what the other plans
can carry: their earned income or, if less, their employers' room
plus the deferral room.

Case 27 (two equal businesses, one a partnership) moves from
39,439.4348 to 31,969.7174. New Cases 31 to 35 cover a health plan
under the partnership, a farm in place of the partnership, a job's
401(k) that uses all the deferral room, three businesses, and
catch-up contributions. The property tests' linear program now has
three plans in two employer pools and checks that separate employer
limits leave the largest total unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Capping the deferrals the other plans carry at the plan deduction never
changes line 9, since line 9 is zero whenever their capacity passes the
plan deduction. Also cite 414(v) for the catch-up amount.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The model keeps one set of section 415 limits for all of the plans, as
for a partnership the person controls. Document that the law gives an
uncontrolled partnership's plan its own 415 limits, which can raise
Form 7206 line 9, and that catch-up contributions share the deferral
room.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The fragment still described the pooled reading, under which the other
plans could carry line 16 up to their whole earned income. Each employer's
plans now carry employer contributions within its own limit, plus the
person's elective deferral room.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mentation

The model applies the dollar limit and step 12 to all of the plans together,
as section 415 requires under more than 50 percent control; a partnership the
person doesn't control has its own section 415 limits. Form 7206 has no rule
for the split, and the string now wraps evenly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The docs said a partnership's plan shares the person's section 415 limits
when the person controls more than 50 percent of it (414(c), 415(h)).
Under Treas. Reg. 1.414(c)-2(c), a sole proprietorship and a partnership
form a brother-sister group only when the proprietor owns at least 80
percent of the partnership's profits or capital interest. In the
regulation's Example 4, a sole proprietor who owns half of a partnership
forms no group with it, and in 1.415(a)-1(f)(1) Treasury keeps that test
when it applies 415(h)'s more-than-50-percent rule. The code and the test
values don't change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deleting roth_403b_contributions from the deferral room, or the floor on a
partnership's loss in the plans' earned income, failed no YAML case (the
property tests caught only the floor). Case 36 gives a job's designated
Roth 403(b) deferrals, which 402A(a)(1) makes elective deferrals, and
Case 37 a partnership loss beside a Schedule C business under the default
plan businesses. Each fails under its mutant, and Case 36 fails on the
base.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis and others added 4 commits December 1, 2026 07:53
self_employed_pension_contribution_ald.yaml keeps the farm and partnership deduction cases.
ut_homeowner_renter_relief.yaml keeps the expanded Utah household income cases and expectations.
self_employed_pension_contribution_limit.yaml keeps the plan selectors, multi-business cases, Roth and excess deferral cases, loss cases, and historical limits.
test_owners_draw.py keeps the retirement selector stub and disables simulation explanations for the property tests.
test_self_employed_pension_limit_properties.py checks the worksheet, tax split, and bounds for every plan selector and retains both profit grids.
self_employed_health_insurance_earned_income_limit.py uses the shared Form 7206 line 7 helper and attributes line 9 by plan business.
self_employed_pension_contribution_limit.py keeps the multi-business references and shares the calculation of remaining elective deferral room.
self_employed_pension_earned_income.py uses the selected businesses' profit and the shared Form 7206 line 7 helper.
source_conflicts/candidates.yaml keeps the source captures and Head Start entry and describes the split for the selected plan businesses.
owners_draw.py keeps one pension earned-income override that reads the plan selector.
The release notes already include the contribution-limit fragment from #10121.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tions

Keep elective deferral room shared across plans and count only the elective portion for the saver's credit.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis MaxGhenis changed the title Let farm and partnership plans take the self-employed plan deduction Let farm and partnership plans take the self-employed plan deduction and correct its downstream uses Dec 1, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants