Repository navigation
Conversation
Maryland's Family and Medical Leave Insurance contributions begin January 1, 2027. Maryland Labor set the total rate at 0.9% of wages up to the Social Security wage base for 2027. Employees pay half (Lab. & Empl. s. 8.3-601(e)), and employers of 15 or more employees pay the other half. The contributions enter employee_state_payroll_tax and the employer-side state payroll tax totals, so the employee side lowers household net income through employee_payroll_tax, as the other state paid-leave programs do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Maryland's wage definition can be read to exclude a deferral paid to a qualified trust, while COMAR 09.32.01.14A(2)(a) leaves out only deferred compensation not deducted from salary, and Maryland Labor's employer guide calls elective 401(k) deferrals taxable. The model follows the regulation and the guide. The reading goes into source_conflicts/candidates.yaml with short excerpts and YAML cases that pin it. The new invariant tests check what holds for every input: the wage base, the employee and employer split, bounds, monotonicity, geography, the flow into payroll tax and net income, and agreement between the worker-level and employer-level paths. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 6, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Include the employee premium in SALT and employer pickup in federal wages. Keep TAXSIM employee FICA federal, floor Maryland aggregate wages, and exclude payments to qualified 401(k) trusts. Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10674 +/- ##
===========================================
- Coverage 100.00% 99.02% -0.98%
===========================================
Files 1 2 +1
Lines 24 205 +181
Branches 0 1 +1
===========================================
+ Hits 24 203 +179
- Misses 0 1 +1
- Partials 0 1 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
4 tasks done
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Add Maryland Family and Medical Leave Insurance (FAMLI) payroll contributions from January 2027. Include employer elections, employee withholding in household payroll tax, and the federal wage and itemized deduction treatment.
What the sources say
An audit on 2026-11-05 gave three leads: a January 1, 2027 start, withholding of up to half, and a 0.9% rate. Each value below comes from the statute, the regulations and Maryland Labor's current guidance. The start and the rate hold. "Up to half" matches the regulation, but the statute sets the default more firmly: the employer shall deduct the employee's 50% unless it elects to pay some or all of it.
Worked example for 2027: on $50,000 at a 15-worker employer, default withholding gives $225 per side. Half withholding gives $112.50 employee and $337.50 employer. At the $192,300 cap, default withholding gives $865.35 per side and full employer payment gives $0 employee and $1,730.70 employer. Every parameter cites its sources in its metadata.
How it reaches net income
md_employee_famli_contribution→md_employee_state_payroll_tax→employee_state_payroll_tax→employee_payroll_tax→household_tax_before_refundable_credits→household_net_income, and alsospm_unit_payroll_tax.md_employer_famli_contribution→md_employer_additional_state_payroll_tax→employer_additional_state_payroll_tax→employer_state_payroll_tax→employer_payroll_tax.employer_total_additional_state_payroll_taxgets the same branch for employer-level inputs.md_famli_employer_pickupalso enters federal income and payroll wages.taxsim_tfica, sums federal components.Invariants
policyengine_us/tests/core/test_md_famli_invariants.pychecks these over drawn inputs:Source-conflict candidate
us-md:famli-wages-401k-deferralsfollows § 8-101(aa)(3)(iv)1. The statute explicitly excludes payments to qualified trusts made on an employee's behalf. The model reads that exclusion to cover qualifying salary reductions sent to that trust. COMAR 09.32.01.14A(2)(a) leaves out only deferred compensation not deducted from salary, and Maryland Labor's employer guide calls elective 401(k) deferrals taxable. On $60,000 with a $4,000 deferral, the statutory reading gives $252 and the agency-guide reading gives $270.The candidate remains at step 1 of the process: the candidate item, short captures under
source_conflicts/sources/us-md/, and YAML cases that pin the reading. Case 14 ofmd_famli_taxable_wages.yamland case 11 ofmd_employee_famli_contribution.yamlrecord the choice. This PR adds no marker, because the rulespec-us entry and the marker follow the merge.Employer elections
Maryland uses the deduction-share input shipped in #10285,
state_payroll_premium_deduction_share. The employer pays the part it leaves undeducted at any employer size, because § 8.3-601(e)(2)(ii) lets an employer deduct less and COMAR 09.42.02.07 treats a missed deduction as an election to pay. The employer's own share applies at 15 or more workers.Limitations
employer_headcountproxies the quarterly or prior-year average size determination. Maryland counts employees quarterly until an employer has four quarters of reports, then uses the prior year's average, and it counts employees outside Maryland too.employer_total_md_famli_taxable_wageswhen the Maryland base differs from the Social Security proxy. Use a Maryland covered-wage-weighted deduction share when it varies across workers.Test plan
policyengine_us/tests/policy/baseline/gov/states/md/tax/payroll/famli/. All 108 affected YAML files and all 1,505 cases pass on Linux, on the branch and on a merge with main.policyengine_us/tests/core/test_md_famli_invariants.py(4 tests) pass on Linux in 38 wall seconds.test_source_conflicts.pypasses.ruff formatandruff checkon the changed Python.changelog.d/.Why Python: YAML pins values at chosen points, but a YAML case can't compare one person's output with another's. These tests compare twins that differ in one fact, and the worker-level path with the employer-level path. The expected values come from the statute and the 0.9% rate, not from the parameters.
Cost: on Linux the four invariant tests pass in 38 wall seconds. The file joins CI's existing
coregroup, which the Makefile records at 13.3 GB and 11:51 in CI run 38141803955. This PR adds no jobs or matrix entries. CI's own timing for the group will show the effect there; no extra runs went to measuring it.axiom: TheAxiomFoundation/rulespec-us#2050 queued
🤖 Generated with Claude Code