diff --git a/changelog.d/add-pre2018-ptc.added.md b/changelog.d/add-pre2018-ptc.added.md new file mode 100644 index 00000000000..f1f39c5f0e8 --- /dev/null +++ b/changelog.d/add-pre2018-ptc.added.md @@ -0,0 +1 @@ +Added premium tax credit calculations for 2014–2017 with annual applicable percentages and estimated historical benchmark premiums. diff --git a/policyengine_us/parameters/gov/aca/age_curves/al.yaml b/policyengine_us/parameters/gov/aca/age_curves/al.yaml index 93d3dba2399..ba49a6aeee7 100644 --- a/policyengine_us/parameters/gov/aca/age_curves/al.yaml +++ b/policyengine_us/parameters/gov/aca/age_curves/al.yaml @@ -6,174 +6,176 @@ metadata: threshold_unit: int label: ACA premium age curve factors - AL reference: + - title: CMS State Specific Age Curve Variations - August 9, 2013 (Default column) + href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/2017-state-specific-age-curve-variations-8-9-2013.pdf#page=1 - title: CMS Market Rating Reforms State Specific Age Curve Variations href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/statespecagecrv053117.pdf brackets: - threshold: - 2018-01-01: 0 + 2014-01-01: 0 amount: - 2018-01-01: 1.0 + 2014-01-01: 1.0 - threshold: - 2018-01-01: 21 + 2014-01-01: 21 amount: - 2018-01-01: 1.5748 + 2014-01-01: 1.5748 - threshold: - 2018-01-01: 25 + 2014-01-01: 25 amount: - 2018-01-01: 1.5811 + 2014-01-01: 1.5811 - threshold: - 2018-01-01: 26 + 2014-01-01: 26 amount: - 2018-01-01: 1.6126 + 2014-01-01: 1.6126 - threshold: - 2018-01-01: 27 + 2014-01-01: 27 amount: - 2018-01-01: 1.6504 + 2014-01-01: 1.6504 - threshold: - 2018-01-01: 28 + 2014-01-01: 28 amount: - 2018-01-01: 1.7118 + 2014-01-01: 1.7118 - threshold: - 2018-01-01: 29 + 2014-01-01: 29 amount: - 2018-01-01: 1.7622 + 2014-01-01: 1.7622 - threshold: - 2018-01-01: 30 + 2014-01-01: 30 amount: - 2018-01-01: 1.7874 + 2014-01-01: 1.7874 - threshold: - 2018-01-01: 31 + 2014-01-01: 31 amount: - 2018-01-01: 1.8252 + 2014-01-01: 1.8252 - threshold: - 2018-01-01: 32 + 2014-01-01: 32 amount: - 2018-01-01: 1.863 + 2014-01-01: 1.863 - threshold: - 2018-01-01: 33 + 2014-01-01: 33 amount: - 2018-01-01: 1.8866 + 2014-01-01: 1.8866 - threshold: - 2018-01-01: 34 + 2014-01-01: 34 amount: - 2018-01-01: 1.9118 + 2014-01-01: 1.9118 - threshold: - 2018-01-01: 35 + 2014-01-01: 35 amount: - 2018-01-01: 1.9244 + 2014-01-01: 1.9244 - threshold: - 2018-01-01: 36 + 2014-01-01: 36 amount: - 2018-01-01: 1.937 + 2014-01-01: 1.937 - threshold: - 2018-01-01: 37 + 2014-01-01: 37 amount: - 2018-01-01: 1.9496 + 2014-01-01: 1.9496 - threshold: - 2018-01-01: 38 + 2014-01-01: 38 amount: - 2018-01-01: 1.9622 + 2014-01-01: 1.9622 - threshold: - 2018-01-01: 39 + 2014-01-01: 39 amount: - 2018-01-01: 1.9874 + 2014-01-01: 1.9874 - threshold: - 2018-01-01: 40 + 2014-01-01: 40 amount: - 2018-01-01: 2.0126 + 2014-01-01: 2.0126 - threshold: - 2018-01-01: 41 + 2014-01-01: 41 amount: - 2018-01-01: 2.0504 + 2014-01-01: 2.0504 - threshold: - 2018-01-01: 42 + 2014-01-01: 42 amount: - 2018-01-01: 2.0866 + 2014-01-01: 2.0866 - threshold: - 2018-01-01: 43 + 2014-01-01: 43 amount: - 2018-01-01: 2.137 + 2014-01-01: 2.137 - threshold: - 2018-01-01: 44 + 2014-01-01: 44 amount: - 2018-01-01: 2.2 + 2014-01-01: 2.2 - threshold: - 2018-01-01: 45 + 2014-01-01: 45 amount: - 2018-01-01: 2.274 + 2014-01-01: 2.274 - threshold: - 2018-01-01: 46 + 2014-01-01: 46 amount: - 2018-01-01: 2.3622 + 2014-01-01: 2.3622 - threshold: - 2018-01-01: 47 + 2014-01-01: 47 amount: - 2018-01-01: 2.4614 + 2014-01-01: 2.4614 - threshold: - 2018-01-01: 48 + 2014-01-01: 48 amount: - 2018-01-01: 2.5748 + 2014-01-01: 2.5748 - threshold: - 2018-01-01: 49 + 2014-01-01: 49 amount: - 2018-01-01: 2.6866 + 2014-01-01: 2.6866 - threshold: - 2018-01-01: 50 + 2014-01-01: 50 amount: - 2018-01-01: 2.8126 + 2014-01-01: 2.8126 - threshold: - 2018-01-01: 51 + 2014-01-01: 51 amount: - 2018-01-01: 2.937 + 2014-01-01: 2.937 - threshold: - 2018-01-01: 52 + 2014-01-01: 52 amount: - 2018-01-01: 3.074 + 2014-01-01: 3.074 - threshold: - 2018-01-01: 53 + 2014-01-01: 53 amount: - 2018-01-01: 3.2126 + 2014-01-01: 3.2126 - threshold: - 2018-01-01: 54 + 2014-01-01: 54 amount: - 2018-01-01: 3.3622 + 2014-01-01: 3.3622 - threshold: - 2018-01-01: 55 + 2014-01-01: 55 amount: - 2018-01-01: 3.5118 + 2014-01-01: 3.5118 - threshold: - 2018-01-01: 56 + 2014-01-01: 56 amount: - 2018-01-01: 3.674 + 2014-01-01: 3.674 - threshold: - 2018-01-01: 57 + 2014-01-01: 57 amount: - 2018-01-01: 3.8378 + 2014-01-01: 3.8378 - threshold: - 2018-01-01: 58 + 2014-01-01: 58 amount: - 2018-01-01: 4.0126 + 2014-01-01: 4.0126 - threshold: - 2018-01-01: 59 + 2014-01-01: 59 amount: - 2018-01-01: 4.0992 + 2014-01-01: 4.0992 - threshold: - 2018-01-01: 60 + 2014-01-01: 60 amount: - 2018-01-01: 4.274 + 2014-01-01: 4.274 - threshold: - 2018-01-01: 61 + 2014-01-01: 61 amount: - 2018-01-01: 4.4252 + 2014-01-01: 4.4252 - threshold: - 2018-01-01: 62 + 2014-01-01: 62 amount: - 2018-01-01: 4.5244 + 2014-01-01: 4.5244 - threshold: - 2018-01-01: 63 + 2014-01-01: 63 amount: - 2018-01-01: 4.6488 + 2014-01-01: 4.6488 - threshold: - 2018-01-01: 64 + 2014-01-01: 64 amount: - 2018-01-01: 4.7244 + 2014-01-01: 4.7244 diff --git a/policyengine_us/parameters/gov/aca/age_curves/dc.yaml b/policyengine_us/parameters/gov/aca/age_curves/dc.yaml index e42bea16eb3..c68e9d8b6c9 100644 --- a/policyengine_us/parameters/gov/aca/age_curves/dc.yaml +++ b/policyengine_us/parameters/gov/aca/age_curves/dc.yaml @@ -6,150 +6,152 @@ metadata: threshold_unit: int label: ACA premium age curve factors - DC reference: + - title: CMS State Specific Age Curve Variations - August 9, 2013 + href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/2017-state-specific-age-curve-variations-8-9-2013.pdf#page=1 - title: CMS Market Rating Reforms State Specific Age Curve Variations href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/statespecagecrv053117.pdf brackets: - threshold: - 2018-01-01: 0 + 2014-01-01: 0 amount: - 2018-01-01: 1.0 + 2014-01-01: 1.0 - threshold: - 2018-01-01: 21 + 2014-01-01: 21 amount: - 2018-01-01: 1.1116 + 2014-01-01: 1.1116 - threshold: - 2018-01-01: 28 + 2014-01-01: 28 amount: - 2018-01-01: 1.1376 + 2014-01-01: 1.1376 - threshold: - 2018-01-01: 29 + 2014-01-01: 29 amount: - 2018-01-01: 1.1621 + 2014-01-01: 1.1621 - threshold: - 2018-01-01: 30 + 2014-01-01: 30 amount: - 2018-01-01: 1.1911 + 2014-01-01: 1.1911 - threshold: - 2018-01-01: 31 + 2014-01-01: 31 amount: - 2018-01-01: 1.2217 + 2014-01-01: 1.2217 - threshold: - 2018-01-01: 32 + 2014-01-01: 32 amount: - 2018-01-01: 1.2492 + 2014-01-01: 1.2492 - threshold: - 2018-01-01: 33 + 2014-01-01: 33 amount: - 2018-01-01: 1.2783 + 2014-01-01: 1.2783 - threshold: - 2018-01-01: 34 + 2014-01-01: 34 amount: - 2018-01-01: 1.3089 + 2014-01-01: 1.3089 - threshold: - 2018-01-01: 35 + 2014-01-01: 35 amount: - 2018-01-01: 1.3394 + 2014-01-01: 1.3394 - threshold: - 2018-01-01: 36 + 2014-01-01: 36 amount: - 2018-01-01: 1.37 + 2014-01-01: 1.37 - threshold: - 2018-01-01: 37 + 2014-01-01: 37 amount: - 2018-01-01: 1.4006 + 2014-01-01: 1.4006 - threshold: - 2018-01-01: 38 + 2014-01-01: 38 amount: - 2018-01-01: 1.4174 + 2014-01-01: 1.4174 - threshold: - 2018-01-01: 39 + 2014-01-01: 39 amount: - 2018-01-01: 1.4343 + 2014-01-01: 1.4343 - threshold: - 2018-01-01: 40 + 2014-01-01: 40 amount: - 2018-01-01: 1.4908 + 2014-01-01: 1.4908 - threshold: - 2018-01-01: 41 + 2014-01-01: 41 amount: - 2018-01-01: 1.5489 + 2014-01-01: 1.5489 - threshold: - 2018-01-01: 42 + 2014-01-01: 42 amount: - 2018-01-01: 1.6101 + 2014-01-01: 1.6101 - threshold: - 2018-01-01: 43 + 2014-01-01: 43 amount: - 2018-01-01: 1.6728 + 2014-01-01: 1.6728 - threshold: - 2018-01-01: 44 + 2014-01-01: 44 amount: - 2018-01-01: 1.7385 + 2014-01-01: 1.7385 - threshold: - 2018-01-01: 45 + 2014-01-01: 45 amount: - 2018-01-01: 1.8058 + 2014-01-01: 1.8058 - threshold: - 2018-01-01: 46 + 2014-01-01: 46 amount: - 2018-01-01: 1.8761 + 2014-01-01: 1.8761 - threshold: - 2018-01-01: 47 + 2014-01-01: 47 amount: - 2018-01-01: 1.9495 + 2014-01-01: 1.9495 - threshold: - 2018-01-01: 48 + 2014-01-01: 48 amount: - 2018-01-01: 2.026 + 2014-01-01: 2.026 - threshold: - 2018-01-01: 49 + 2014-01-01: 49 amount: - 2018-01-01: 2.1055 + 2014-01-01: 2.1055 - threshold: - 2018-01-01: 50 + 2014-01-01: 50 amount: - 2018-01-01: 2.1881 + 2014-01-01: 2.1881 - threshold: - 2018-01-01: 51 + 2014-01-01: 51 amount: - 2018-01-01: 2.2737 + 2014-01-01: 2.2737 - threshold: - 2018-01-01: 52 + 2014-01-01: 52 amount: - 2018-01-01: 2.3624 + 2014-01-01: 2.3624 - threshold: - 2018-01-01: 53 + 2014-01-01: 53 amount: - 2018-01-01: 2.4541 + 2014-01-01: 2.4541 - threshold: - 2018-01-01: 54 + 2014-01-01: 54 amount: - 2018-01-01: 2.5505 + 2014-01-01: 2.5505 - threshold: - 2018-01-01: 55 + 2014-01-01: 55 amount: - 2018-01-01: 2.6498 + 2014-01-01: 2.6498 - threshold: - 2018-01-01: 56 + 2014-01-01: 56 amount: - 2018-01-01: 2.7538 + 2014-01-01: 2.7538 - threshold: - 2018-01-01: 57 + 2014-01-01: 57 amount: - 2018-01-01: 2.8609 + 2014-01-01: 2.8609 - threshold: - 2018-01-01: 58 + 2014-01-01: 58 amount: - 2018-01-01: 2.9725 + 2014-01-01: 2.9725 - threshold: - 2018-01-01: 59 + 2014-01-01: 59 amount: - 2018-01-01: 3.0887 + 2014-01-01: 3.0887 - threshold: - 2018-01-01: 60 + 2014-01-01: 60 amount: - 2018-01-01: 3.2095 + 2014-01-01: 3.2095 - threshold: - 2018-01-01: 61 + 2014-01-01: 61 amount: - 2018-01-01: 3.3349 + 2014-01-01: 3.3349 diff --git a/policyengine_us/parameters/gov/aca/age_curves/default.yaml b/policyengine_us/parameters/gov/aca/age_curves/default.yaml index 818f7fd29fb..d377e6f0c78 100644 --- a/policyengine_us/parameters/gov/aca/age_curves/default.yaml +++ b/policyengine_us/parameters/gov/aca/age_curves/default.yaml @@ -1,4 +1,4 @@ -description: CMS multiplies base marketplace plan premiums by these age-specific factors to determine age-specific premiums. +description: CMS varies marketplace premiums by age using these factors, normalized to the 2018 age-zero premium. metadata: type: single_amount period: year @@ -6,198 +6,207 @@ metadata: threshold_unit: int label: ACA premium age curve factors - Default reference: + - title: CMS State Specific Age Curve Variations - August 9, 2013 + href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/2017-state-specific-age-curve-variations-8-9-2013.pdf#page=1 - title: CMS Market Rating Reforms State Specific Age Curve Variations href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/statespecagecrv053117.pdf brackets: - threshold: - 2018-01-01: 0 + 2014-01-01: 0 amount: + 2014-01-01: 0.8300653594771242 2018-01-01: 1.0 - threshold: - 2018-01-01: 15 + 2014-01-01: 15 amount: + 2014-01-01: 0.8300653594771242 2018-01-01: 1.0889 - threshold: - 2018-01-01: 16 + 2014-01-01: 16 amount: + 2014-01-01: 0.8300653594771242 2018-01-01: 1.1229 - threshold: - 2018-01-01: 17 + 2014-01-01: 17 amount: + 2014-01-01: 0.8300653594771242 2018-01-01: 1.1569 - threshold: - 2018-01-01: 18 + 2014-01-01: 18 amount: + 2014-01-01: 0.8300653594771242 2018-01-01: 1.1935 - threshold: - 2018-01-01: 19 + 2014-01-01: 19 amount: + 2014-01-01: 0.8300653594771242 2018-01-01: 1.2301 - threshold: - 2018-01-01: 20 + 2014-01-01: 20 amount: + 2014-01-01: 0.8300653594771242 2018-01-01: 1.268 - threshold: - 2018-01-01: 21 + 2014-01-01: 21 amount: - 2018-01-01: 1.3072 + 2014-01-01: 1.3072 - threshold: - 2018-01-01: 25 + 2014-01-01: 25 amount: - 2018-01-01: 1.3124 + 2014-01-01: 1.3124 - threshold: - 2018-01-01: 26 + 2014-01-01: 26 amount: - 2018-01-01: 1.3386 + 2014-01-01: 1.3386 - threshold: - 2018-01-01: 27 + 2014-01-01: 27 amount: - 2018-01-01: 1.3699 + 2014-01-01: 1.3699 - threshold: - 2018-01-01: 28 + 2014-01-01: 28 amount: - 2018-01-01: 1.4209 + 2014-01-01: 1.4209 - threshold: - 2018-01-01: 29 + 2014-01-01: 29 amount: - 2018-01-01: 1.4627 + 2014-01-01: 1.4627 - threshold: - 2018-01-01: 30 + 2014-01-01: 30 amount: - 2018-01-01: 1.4837 + 2014-01-01: 1.4837 - threshold: - 2018-01-01: 31 + 2014-01-01: 31 amount: - 2018-01-01: 1.515 + 2014-01-01: 1.515 - threshold: - 2018-01-01: 32 + 2014-01-01: 32 amount: - 2018-01-01: 1.5464 + 2014-01-01: 1.5464 - threshold: - 2018-01-01: 33 + 2014-01-01: 33 amount: - 2018-01-01: 1.566 + 2014-01-01: 1.566 - threshold: - 2018-01-01: 34 + 2014-01-01: 34 amount: - 2018-01-01: 1.5869 + 2014-01-01: 1.5869 - threshold: - 2018-01-01: 35 + 2014-01-01: 35 amount: - 2018-01-01: 1.5974 + 2014-01-01: 1.5974 - threshold: - 2018-01-01: 36 + 2014-01-01: 36 amount: - 2018-01-01: 1.6078 + 2014-01-01: 1.6078 - threshold: - 2018-01-01: 37 + 2014-01-01: 37 amount: - 2018-01-01: 1.6183 + 2014-01-01: 1.6183 - threshold: - 2018-01-01: 38 + 2014-01-01: 38 amount: - 2018-01-01: 1.6288 + 2014-01-01: 1.6288 - threshold: - 2018-01-01: 39 + 2014-01-01: 39 amount: - 2018-01-01: 1.6497 + 2014-01-01: 1.6497 - threshold: - 2018-01-01: 40 + 2014-01-01: 40 amount: - 2018-01-01: 1.6706 + 2014-01-01: 1.6706 - threshold: - 2018-01-01: 41 + 2014-01-01: 41 amount: - 2018-01-01: 1.702 + 2014-01-01: 1.702 - threshold: - 2018-01-01: 42 + 2014-01-01: 42 amount: - 2018-01-01: 1.732 + 2014-01-01: 1.732 - threshold: - 2018-01-01: 43 + 2014-01-01: 43 amount: - 2018-01-01: 1.7739 + 2014-01-01: 1.7739 - threshold: - 2018-01-01: 44 + 2014-01-01: 44 amount: - 2018-01-01: 1.8261 + 2014-01-01: 1.8261 - threshold: - 2018-01-01: 45 + 2014-01-01: 45 amount: - 2018-01-01: 1.8876 + 2014-01-01: 1.8876 - threshold: - 2018-01-01: 46 + 2014-01-01: 46 amount: - 2018-01-01: 1.9608 + 2014-01-01: 1.9608 - threshold: - 2018-01-01: 47 + 2014-01-01: 47 amount: - 2018-01-01: 2.0431 + 2014-01-01: 2.0431 - threshold: - 2018-01-01: 48 + 2014-01-01: 48 amount: - 2018-01-01: 2.1373 + 2014-01-01: 2.1373 - threshold: - 2018-01-01: 49 + 2014-01-01: 49 amount: - 2018-01-01: 2.2301 + 2014-01-01: 2.2301 - threshold: - 2018-01-01: 50 + 2014-01-01: 50 amount: - 2018-01-01: 2.3346 + 2014-01-01: 2.3346 - threshold: - 2018-01-01: 51 + 2014-01-01: 51 amount: - 2018-01-01: 2.4379 + 2014-01-01: 2.4379 - threshold: - 2018-01-01: 52 + 2014-01-01: 52 amount: - 2018-01-01: 2.5516 + 2014-01-01: 2.5516 - threshold: - 2018-01-01: 53 + 2014-01-01: 53 amount: - 2018-01-01: 2.6667 + 2014-01-01: 2.6667 - threshold: - 2018-01-01: 54 + 2014-01-01: 54 amount: - 2018-01-01: 2.7908 + 2014-01-01: 2.7908 - threshold: - 2018-01-01: 55 + 2014-01-01: 55 amount: - 2018-01-01: 2.915 + 2014-01-01: 2.915 - threshold: - 2018-01-01: 56 + 2014-01-01: 56 amount: - 2018-01-01: 3.0497 + 2014-01-01: 3.0497 - threshold: - 2018-01-01: 57 + 2014-01-01: 57 amount: - 2018-01-01: 3.1856 + 2014-01-01: 3.1856 - threshold: - 2018-01-01: 58 + 2014-01-01: 58 amount: - 2018-01-01: 3.3307 + 2014-01-01: 3.3307 - threshold: - 2018-01-01: 59 + 2014-01-01: 59 amount: - 2018-01-01: 3.4026 + 2014-01-01: 3.4026 - threshold: - 2018-01-01: 60 + 2014-01-01: 60 amount: - 2018-01-01: 3.5477 + 2014-01-01: 3.5477 - threshold: - 2018-01-01: 61 + 2014-01-01: 61 amount: - 2018-01-01: 3.6732 + 2014-01-01: 3.6732 - threshold: - 2018-01-01: 62 + 2014-01-01: 62 amount: - 2018-01-01: 3.7556 + 2014-01-01: 3.7556 - threshold: - 2018-01-01: 63 + 2014-01-01: 63 amount: - 2018-01-01: 3.8588 + 2014-01-01: 3.8588 - threshold: - 2018-01-01: 64 + 2014-01-01: 64 amount: - 2018-01-01: 3.9216 + 2014-01-01: 3.9216 diff --git a/policyengine_us/parameters/gov/aca/age_curves/ma.yaml b/policyengine_us/parameters/gov/aca/age_curves/ma.yaml index c085a840c2c..0d8e14cf266 100644 --- a/policyengine_us/parameters/gov/aca/age_curves/ma.yaml +++ b/policyengine_us/parameters/gov/aca/age_curves/ma.yaml @@ -6,150 +6,152 @@ metadata: threshold_unit: int label: ACA premium age curve factors - MA reference: + - title: CMS State Specific Age Curve Variations - August 9, 2013 + href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/2017-state-specific-age-curve-variations-8-9-2013.pdf#page=1 - title: CMS Market Rating Reforms State Specific Age Curve Variations href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/statespecagecrv053117.pdf brackets: - threshold: - 2018-01-01: 0 + 2014-01-01: 0 amount: - 2018-01-01: 1.0 + 2014-01-01: 1.0 - threshold: - 2018-01-01: 21 + 2014-01-01: 21 amount: - 2018-01-01: 1.5752 + 2014-01-01: 1.5752 - threshold: - 2018-01-01: 27 + 2014-01-01: 27 amount: - 2018-01-01: 1.6245 + 2014-01-01: 1.6245 - threshold: - 2018-01-01: 28 + 2014-01-01: 28 amount: - 2018-01-01: 1.6644 + 2014-01-01: 1.6644 - threshold: - 2018-01-01: 29 + 2014-01-01: 29 amount: - 2018-01-01: 1.6977 + 2014-01-01: 1.6977 - threshold: - 2018-01-01: 30 + 2014-01-01: 30 amount: - 2018-01-01: 1.7137 + 2014-01-01: 1.7137 - threshold: - 2018-01-01: 31 + 2014-01-01: 31 amount: - 2018-01-01: 1.7377 + 2014-01-01: 1.7377 - threshold: - 2018-01-01: 32 + 2014-01-01: 32 amount: - 2018-01-01: 1.7617 + 2014-01-01: 1.7617 - threshold: - 2018-01-01: 33 + 2014-01-01: 33 amount: - 2018-01-01: 1.7763 + 2014-01-01: 1.7763 - threshold: - 2018-01-01: 34 + 2014-01-01: 34 amount: - 2018-01-01: 1.7923 + 2014-01-01: 1.7923 - threshold: - 2018-01-01: 35 + 2014-01-01: 35 amount: - 2018-01-01: 1.8003 + 2014-01-01: 1.8003 - threshold: - 2018-01-01: 36 + 2014-01-01: 36 amount: - 2018-01-01: 1.8083 + 2014-01-01: 1.8083 - threshold: - 2018-01-01: 37 + 2014-01-01: 37 amount: - 2018-01-01: 1.8149 + 2014-01-01: 1.8149 - threshold: - 2018-01-01: 38 + 2014-01-01: 38 amount: - 2018-01-01: 1.8229 + 2014-01-01: 1.8229 - threshold: - 2018-01-01: 39 + 2014-01-01: 39 amount: - 2018-01-01: 1.8389 + 2014-01-01: 1.8389 - threshold: - 2018-01-01: 40 + 2014-01-01: 40 amount: - 2018-01-01: 1.8549 + 2014-01-01: 1.8549 - threshold: - 2018-01-01: 41 + 2014-01-01: 41 amount: - 2018-01-01: 1.8775 + 2014-01-01: 1.8775 - threshold: - 2018-01-01: 42 + 2014-01-01: 42 amount: - 2018-01-01: 1.9001 + 2014-01-01: 1.9001 - threshold: - 2018-01-01: 43 + 2014-01-01: 43 amount: - 2018-01-01: 1.9308 + 2014-01-01: 1.9308 - threshold: - 2018-01-01: 44 + 2014-01-01: 44 amount: - 2018-01-01: 1.968 + 2014-01-01: 1.968 - threshold: - 2018-01-01: 45 + 2014-01-01: 45 amount: - 2018-01-01: 2.012 + 2014-01-01: 2.012 - threshold: - 2018-01-01: 46 + 2014-01-01: 46 amount: - 2018-01-01: 2.0639 + 2014-01-01: 2.0639 - threshold: - 2018-01-01: 47 + 2014-01-01: 47 amount: - 2018-01-01: 2.1212 + 2014-01-01: 2.1212 - threshold: - 2018-01-01: 48 + 2014-01-01: 48 amount: - 2018-01-01: 2.1851 + 2014-01-01: 2.1851 - threshold: - 2018-01-01: 49 + 2014-01-01: 49 amount: - 2018-01-01: 2.2477 + 2014-01-01: 2.2477 - threshold: - 2018-01-01: 50 + 2014-01-01: 50 amount: - 2018-01-01: 2.3182 + 2014-01-01: 2.3182 - threshold: - 2018-01-01: 51 + 2014-01-01: 51 amount: - 2018-01-01: 2.3862 + 2014-01-01: 2.3862 - threshold: - 2018-01-01: 52 + 2014-01-01: 52 amount: - 2018-01-01: 2.4594 + 2014-01-01: 2.4594 - threshold: - 2018-01-01: 53 + 2014-01-01: 53 amount: - 2018-01-01: 2.5326 + 2014-01-01: 2.5326 - threshold: - 2018-01-01: 54 + 2014-01-01: 54 amount: - 2018-01-01: 2.6112 + 2014-01-01: 2.6112 - threshold: - 2018-01-01: 55 + 2014-01-01: 55 amount: - 2018-01-01: 2.6884 + 2014-01-01: 2.6884 - threshold: - 2018-01-01: 56 + 2014-01-01: 56 amount: - 2018-01-01: 2.7696 + 2014-01-01: 2.7696 - threshold: - 2018-01-01: 57 + 2014-01-01: 57 amount: - 2018-01-01: 2.8522 + 2014-01-01: 2.8522 - threshold: - 2018-01-01: 58 + 2014-01-01: 58 amount: - 2018-01-01: 2.9374 + 2014-01-01: 2.9374 - threshold: - 2018-01-01: 59 + 2014-01-01: 59 amount: - 2018-01-01: 3.036 + 2014-01-01: 3.036 - threshold: - 2018-01-01: 60 + 2014-01-01: 60 amount: - 2018-01-01: 3.1491 + 2014-01-01: 3.1491 diff --git a/policyengine_us/parameters/gov/aca/age_curves/mn.yaml b/policyengine_us/parameters/gov/aca/age_curves/mn.yaml index 630185b2253..6aad5bc1772 100644 --- a/policyengine_us/parameters/gov/aca/age_curves/mn.yaml +++ b/policyengine_us/parameters/gov/aca/age_curves/mn.yaml @@ -6,174 +6,176 @@ metadata: threshold_unit: int label: ACA premium age curve factors - MN reference: + - title: CMS State Specific Age Curve Variations - August 9, 2013 + href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/2017-state-specific-age-curve-variations-8-9-2013.pdf#page=1 - title: CMS Market Rating Reforms State Specific Age Curve Variations href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/statespecagecrv053117.pdf brackets: - threshold: - 2018-01-01: 0 + 2014-01-01: 0 amount: - 2018-01-01: 1.0 + 2014-01-01: 1.0 - threshold: - 2018-01-01: 21 + 2014-01-01: 21 amount: - 2018-01-01: 1.1236 + 2014-01-01: 1.1236 - threshold: - 2018-01-01: 25 + 2014-01-01: 25 amount: - 2018-01-01: 1.1281 + 2014-01-01: 1.1281 - threshold: - 2018-01-01: 26 + 2014-01-01: 26 amount: - 2018-01-01: 1.1506 + 2014-01-01: 1.1506 - threshold: - 2018-01-01: 27 + 2014-01-01: 27 amount: - 2018-01-01: 1.1775 + 2014-01-01: 1.1775 - threshold: - 2018-01-01: 28 + 2014-01-01: 28 amount: - 2018-01-01: 1.2213 + 2014-01-01: 1.2213 - threshold: - 2018-01-01: 29 + 2014-01-01: 29 amount: - 2018-01-01: 1.2573 + 2014-01-01: 1.2573 - threshold: - 2018-01-01: 30 + 2014-01-01: 30 amount: - 2018-01-01: 1.2753 + 2014-01-01: 1.2753 - threshold: - 2018-01-01: 31 + 2014-01-01: 31 amount: - 2018-01-01: 1.3022 + 2014-01-01: 1.3022 - threshold: - 2018-01-01: 32 + 2014-01-01: 32 amount: - 2018-01-01: 1.3292 + 2014-01-01: 1.3292 - threshold: - 2018-01-01: 33 + 2014-01-01: 33 amount: - 2018-01-01: 1.3461 + 2014-01-01: 1.3461 - threshold: - 2018-01-01: 34 + 2014-01-01: 34 amount: - 2018-01-01: 1.364 + 2014-01-01: 1.364 - threshold: - 2018-01-01: 35 + 2014-01-01: 35 amount: - 2018-01-01: 1.373 + 2014-01-01: 1.373 - threshold: - 2018-01-01: 36 + 2014-01-01: 36 amount: - 2018-01-01: 1.382 + 2014-01-01: 1.382 - threshold: - 2018-01-01: 37 + 2014-01-01: 37 amount: - 2018-01-01: 1.391 + 2014-01-01: 1.391 - threshold: - 2018-01-01: 38 + 2014-01-01: 38 amount: - 2018-01-01: 1.4 + 2014-01-01: 1.4 - threshold: - 2018-01-01: 39 + 2014-01-01: 39 amount: - 2018-01-01: 1.418 + 2014-01-01: 1.418 - threshold: - 2018-01-01: 40 + 2014-01-01: 40 amount: - 2018-01-01: 1.436 + 2014-01-01: 1.436 - threshold: - 2018-01-01: 41 + 2014-01-01: 41 amount: - 2018-01-01: 1.4629 + 2014-01-01: 1.4629 - threshold: - 2018-01-01: 42 + 2014-01-01: 42 amount: - 2018-01-01: 1.4888 + 2014-01-01: 1.4888 - threshold: - 2018-01-01: 43 + 2014-01-01: 43 amount: - 2018-01-01: 1.5247 + 2014-01-01: 1.5247 - threshold: - 2018-01-01: 44 + 2014-01-01: 44 amount: - 2018-01-01: 1.5697 + 2014-01-01: 1.5697 - threshold: - 2018-01-01: 45 + 2014-01-01: 45 amount: - 2018-01-01: 1.6225 + 2014-01-01: 1.6225 - threshold: - 2018-01-01: 46 + 2014-01-01: 46 amount: - 2018-01-01: 1.6854 + 2014-01-01: 1.6854 - threshold: - 2018-01-01: 47 + 2014-01-01: 47 amount: - 2018-01-01: 1.7562 + 2014-01-01: 1.7562 - threshold: - 2018-01-01: 48 + 2014-01-01: 48 amount: - 2018-01-01: 1.8371 + 2014-01-01: 1.8371 - threshold: - 2018-01-01: 49 + 2014-01-01: 49 amount: - 2018-01-01: 1.9169 + 2014-01-01: 1.9169 - threshold: - 2018-01-01: 50 + 2014-01-01: 50 amount: - 2018-01-01: 2.0067 + 2014-01-01: 2.0067 - threshold: - 2018-01-01: 51 + 2014-01-01: 51 amount: - 2018-01-01: 2.0955 + 2014-01-01: 2.0955 - threshold: - 2018-01-01: 52 + 2014-01-01: 52 amount: - 2018-01-01: 2.1933 + 2014-01-01: 2.1933 - threshold: - 2018-01-01: 53 + 2014-01-01: 53 amount: - 2018-01-01: 2.2921 + 2014-01-01: 2.2921 - threshold: - 2018-01-01: 54 + 2014-01-01: 54 amount: - 2018-01-01: 2.3989 + 2014-01-01: 2.3989 - threshold: - 2018-01-01: 55 + 2014-01-01: 55 amount: - 2018-01-01: 2.5056 + 2014-01-01: 2.5056 - threshold: - 2018-01-01: 56 + 2014-01-01: 56 amount: - 2018-01-01: 2.6213 + 2014-01-01: 2.6213 - threshold: - 2018-01-01: 57 + 2014-01-01: 57 amount: - 2018-01-01: 2.7382 + 2014-01-01: 2.7382 - threshold: - 2018-01-01: 58 + 2014-01-01: 58 amount: - 2018-01-01: 2.8629 + 2014-01-01: 2.8629 - threshold: - 2018-01-01: 59 + 2014-01-01: 59 amount: - 2018-01-01: 2.9247 + 2014-01-01: 2.9247 - threshold: - 2018-01-01: 60 + 2014-01-01: 60 amount: - 2018-01-01: 3.0494 + 2014-01-01: 3.0494 - threshold: - 2018-01-01: 61 + 2014-01-01: 61 amount: - 2018-01-01: 3.1573 + 2014-01-01: 3.1573 - threshold: - 2018-01-01: 62 + 2014-01-01: 62 amount: - 2018-01-01: 3.2281 + 2014-01-01: 3.2281 - threshold: - 2018-01-01: 63 + 2014-01-01: 63 amount: - 2018-01-01: 3.3169 + 2014-01-01: 3.3169 - threshold: - 2018-01-01: 64 + 2014-01-01: 64 amount: - 2018-01-01: 3.3708 + 2014-01-01: 3.3708 diff --git a/policyengine_us/parameters/gov/aca/age_curves/ms.yaml b/policyengine_us/parameters/gov/aca/age_curves/ms.yaml index 1009e29fcc6..6d7fc912017 100644 --- a/policyengine_us/parameters/gov/aca/age_curves/ms.yaml +++ b/policyengine_us/parameters/gov/aca/age_curves/ms.yaml @@ -5,174 +5,176 @@ metadata: threshold_unit: int label: ACA premium age curve factors - MS reference: + - title: CMS State Specific Age Curve Variations - August 9, 2013 (Default column) + href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/2017-state-specific-age-curve-variations-8-9-2013.pdf#page=1 - title: CMS Market Rating Reforms State Specific Age Curve Variations href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/statespecagecrv053117.pdf brackets: - threshold: - 2018-01-01: 0 + 2014-01-01: 0 amount: - 2018-01-01: 1.0 + 2014-01-01: 1.0 - threshold: - 2018-01-01: 21 + 2014-01-01: 21 amount: - 2018-01-01: 1.5748 + 2014-01-01: 1.5748 - threshold: - 2018-01-01: 25 + 2014-01-01: 25 amount: - 2018-01-01: 1.5811 + 2014-01-01: 1.5811 - threshold: - 2018-01-01: 26 + 2014-01-01: 26 amount: - 2018-01-01: 1.6126 + 2014-01-01: 1.6126 - threshold: - 2018-01-01: 27 + 2014-01-01: 27 amount: - 2018-01-01: 1.6504 + 2014-01-01: 1.6504 - threshold: - 2018-01-01: 28 + 2014-01-01: 28 amount: - 2018-01-01: 1.7118 + 2014-01-01: 1.7118 - threshold: - 2018-01-01: 29 + 2014-01-01: 29 amount: - 2018-01-01: 1.7622 + 2014-01-01: 1.7622 - threshold: - 2018-01-01: 30 + 2014-01-01: 30 amount: - 2018-01-01: 1.7874 + 2014-01-01: 1.7874 - threshold: - 2018-01-01: 31 + 2014-01-01: 31 amount: - 2018-01-01: 1.8252 + 2014-01-01: 1.8252 - threshold: - 2018-01-01: 32 + 2014-01-01: 32 amount: - 2018-01-01: 1.863 + 2014-01-01: 1.863 - threshold: - 2018-01-01: 33 + 2014-01-01: 33 amount: - 2018-01-01: 1.8866 + 2014-01-01: 1.8866 - threshold: - 2018-01-01: 34 + 2014-01-01: 34 amount: - 2018-01-01: 1.9118 + 2014-01-01: 1.9118 - threshold: - 2018-01-01: 35 + 2014-01-01: 35 amount: - 2018-01-01: 1.9244 + 2014-01-01: 1.9244 - threshold: - 2018-01-01: 36 + 2014-01-01: 36 amount: - 2018-01-01: 1.937 + 2014-01-01: 1.937 - threshold: - 2018-01-01: 37 + 2014-01-01: 37 amount: - 2018-01-01: 1.9496 + 2014-01-01: 1.9496 - threshold: - 2018-01-01: 38 + 2014-01-01: 38 amount: - 2018-01-01: 1.9622 + 2014-01-01: 1.9622 - threshold: - 2018-01-01: 39 + 2014-01-01: 39 amount: - 2018-01-01: 1.9874 + 2014-01-01: 1.9874 - threshold: - 2018-01-01: 40 + 2014-01-01: 40 amount: - 2018-01-01: 2.0126 + 2014-01-01: 2.0126 - threshold: - 2018-01-01: 41 + 2014-01-01: 41 amount: - 2018-01-01: 2.0504 + 2014-01-01: 2.0504 - threshold: - 2018-01-01: 42 + 2014-01-01: 42 amount: - 2018-01-01: 2.0866 + 2014-01-01: 2.0866 - threshold: - 2018-01-01: 43 + 2014-01-01: 43 amount: - 2018-01-01: 2.137 + 2014-01-01: 2.137 - threshold: - 2018-01-01: 44 + 2014-01-01: 44 amount: - 2018-01-01: 2.2 + 2014-01-01: 2.2 - threshold: - 2018-01-01: 45 + 2014-01-01: 45 amount: - 2018-01-01: 2.274 + 2014-01-01: 2.274 - threshold: - 2018-01-01: 46 + 2014-01-01: 46 amount: - 2018-01-01: 2.3622 + 2014-01-01: 2.3622 - threshold: - 2018-01-01: 47 + 2014-01-01: 47 amount: - 2018-01-01: 2.4614 + 2014-01-01: 2.4614 - threshold: - 2018-01-01: 48 + 2014-01-01: 48 amount: - 2018-01-01: 2.5748 + 2014-01-01: 2.5748 - threshold: - 2018-01-01: 49 + 2014-01-01: 49 amount: - 2018-01-01: 2.6866 + 2014-01-01: 2.6866 - threshold: - 2018-01-01: 50 + 2014-01-01: 50 amount: - 2018-01-01: 2.8126 + 2014-01-01: 2.8126 - threshold: - 2018-01-01: 51 + 2014-01-01: 51 amount: - 2018-01-01: 2.937 + 2014-01-01: 2.937 - threshold: - 2018-01-01: 52 + 2014-01-01: 52 amount: - 2018-01-01: 3.074 + 2014-01-01: 3.074 - threshold: - 2018-01-01: 53 + 2014-01-01: 53 amount: - 2018-01-01: 3.2126 + 2014-01-01: 3.2126 - threshold: - 2018-01-01: 54 + 2014-01-01: 54 amount: - 2018-01-01: 3.3622 + 2014-01-01: 3.3622 - threshold: - 2018-01-01: 55 + 2014-01-01: 55 amount: - 2018-01-01: 3.5118 + 2014-01-01: 3.5118 - threshold: - 2018-01-01: 56 + 2014-01-01: 56 amount: - 2018-01-01: 3.674 + 2014-01-01: 3.674 - threshold: - 2018-01-01: 57 + 2014-01-01: 57 amount: - 2018-01-01: 3.8378 + 2014-01-01: 3.8378 - threshold: - 2018-01-01: 58 + 2014-01-01: 58 amount: - 2018-01-01: 4.0126 + 2014-01-01: 4.0126 - threshold: - 2018-01-01: 59 + 2014-01-01: 59 amount: - 2018-01-01: 4.0992 + 2014-01-01: 4.0992 - threshold: - 2018-01-01: 60 + 2014-01-01: 60 amount: - 2018-01-01: 4.274 + 2014-01-01: 4.274 - threshold: - 2018-01-01: 61 + 2014-01-01: 61 amount: - 2018-01-01: 4.4252 + 2014-01-01: 4.4252 - threshold: - 2018-01-01: 62 + 2014-01-01: 62 amount: - 2018-01-01: 4.5244 + 2014-01-01: 4.5244 - threshold: - 2018-01-01: 63 + 2014-01-01: 63 amount: - 2018-01-01: 4.6488 + 2014-01-01: 4.6488 - threshold: - 2018-01-01: 64 + 2014-01-01: 64 amount: - 2018-01-01: 4.7244 + 2014-01-01: 4.7244 diff --git a/policyengine_us/parameters/gov/aca/age_curves/ny.yaml b/policyengine_us/parameters/gov/aca/age_curves/ny.yaml index f6541366424..d9bea571094 100644 --- a/policyengine_us/parameters/gov/aca/age_curves/ny.yaml +++ b/policyengine_us/parameters/gov/aca/age_curves/ny.yaml @@ -6,14 +6,16 @@ metadata: threshold_unit: year label: ACA premium age curve factors - NY reference: + - title: New York DFS 2017 individual rate filing - Exhibit 25 Rating Tiers + href: https://myportal.dfs.ny.gov/documents/538523/10367891/Aetna%2BLife_IND_OFFX_AETN-130549431_Application.pdf/cb70f6f0-e73e-4d0a-a946-f5259ec21b55#page=77 - title: CMS Market Rating Reforms State Specific Age Curve Variations href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/state-rating brackets: - threshold: - 2018-01-01: 0 + 2014-01-01: 0 amount: - 2018-01-01: 0.412 + 2014-01-01: 0.412 - threshold: - 2018-01-01: 21 + 2014-01-01: 21 amount: - 2018-01-01: 1.0 + 2014-01-01: 1.0 diff --git a/policyengine_us/parameters/gov/aca/age_curves/or.yaml b/policyengine_us/parameters/gov/aca/age_curves/or.yaml index 9da4dffca76..87c7848d5c9 100644 --- a/policyengine_us/parameters/gov/aca/age_curves/or.yaml +++ b/policyengine_us/parameters/gov/aca/age_curves/or.yaml @@ -6,174 +6,176 @@ metadata: threshold_unit: int label: ACA premium age curve factors - OR reference: + - title: CMS State Specific Age Curve Variations - August 9, 2013 (Default column) + href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/2017-state-specific-age-curve-variations-8-9-2013.pdf#page=1 - title: CMS Market Rating Reforms State Specific Age Curve Variations href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/statespecagecrv053117.pdf brackets: - threshold: - 2018-01-01: 0 + 2014-01-01: 0 amount: - 2018-01-01: 1.0 + 2014-01-01: 1.0 - threshold: - 2018-01-01: 21 + 2014-01-01: 21 amount: - 2018-01-01: 1.5748 + 2014-01-01: 1.5748 - threshold: - 2018-01-01: 25 + 2014-01-01: 25 amount: - 2018-01-01: 1.5811 + 2014-01-01: 1.5811 - threshold: - 2018-01-01: 26 + 2014-01-01: 26 amount: - 2018-01-01: 1.6126 + 2014-01-01: 1.6126 - threshold: - 2018-01-01: 27 + 2014-01-01: 27 amount: - 2018-01-01: 1.6504 + 2014-01-01: 1.6504 - threshold: - 2018-01-01: 28 + 2014-01-01: 28 amount: - 2018-01-01: 1.7118 + 2014-01-01: 1.7118 - threshold: - 2018-01-01: 29 + 2014-01-01: 29 amount: - 2018-01-01: 1.7622 + 2014-01-01: 1.7622 - threshold: - 2018-01-01: 30 + 2014-01-01: 30 amount: - 2018-01-01: 1.7874 + 2014-01-01: 1.7874 - threshold: - 2018-01-01: 31 + 2014-01-01: 31 amount: - 2018-01-01: 1.8252 + 2014-01-01: 1.8252 - threshold: - 2018-01-01: 32 + 2014-01-01: 32 amount: - 2018-01-01: 1.863 + 2014-01-01: 1.863 - threshold: - 2018-01-01: 33 + 2014-01-01: 33 amount: - 2018-01-01: 1.8866 + 2014-01-01: 1.8866 - threshold: - 2018-01-01: 34 + 2014-01-01: 34 amount: - 2018-01-01: 1.9118 + 2014-01-01: 1.9118 - threshold: - 2018-01-01: 35 + 2014-01-01: 35 amount: - 2018-01-01: 1.9244 + 2014-01-01: 1.9244 - threshold: - 2018-01-01: 36 + 2014-01-01: 36 amount: - 2018-01-01: 1.937 + 2014-01-01: 1.937 - threshold: - 2018-01-01: 37 + 2014-01-01: 37 amount: - 2018-01-01: 1.9496 + 2014-01-01: 1.9496 - threshold: - 2018-01-01: 38 + 2014-01-01: 38 amount: - 2018-01-01: 1.9622 + 2014-01-01: 1.9622 - threshold: - 2018-01-01: 39 + 2014-01-01: 39 amount: - 2018-01-01: 1.9874 + 2014-01-01: 1.9874 - threshold: - 2018-01-01: 40 + 2014-01-01: 40 amount: - 2018-01-01: 2.0126 + 2014-01-01: 2.0126 - threshold: - 2018-01-01: 41 + 2014-01-01: 41 amount: - 2018-01-01: 2.0504 + 2014-01-01: 2.0504 - threshold: - 2018-01-01: 42 + 2014-01-01: 42 amount: - 2018-01-01: 2.0866 + 2014-01-01: 2.0866 - threshold: - 2018-01-01: 43 + 2014-01-01: 43 amount: - 2018-01-01: 2.137 + 2014-01-01: 2.137 - threshold: - 2018-01-01: 44 + 2014-01-01: 44 amount: - 2018-01-01: 2.2 + 2014-01-01: 2.2 - threshold: - 2018-01-01: 45 + 2014-01-01: 45 amount: - 2018-01-01: 2.274 + 2014-01-01: 2.274 - threshold: - 2018-01-01: 46 + 2014-01-01: 46 amount: - 2018-01-01: 2.3622 + 2014-01-01: 2.3622 - threshold: - 2018-01-01: 47 + 2014-01-01: 47 amount: - 2018-01-01: 2.4614 + 2014-01-01: 2.4614 - threshold: - 2018-01-01: 48 + 2014-01-01: 48 amount: - 2018-01-01: 2.5748 + 2014-01-01: 2.5748 - threshold: - 2018-01-01: 49 + 2014-01-01: 49 amount: - 2018-01-01: 2.6866 + 2014-01-01: 2.6866 - threshold: - 2018-01-01: 50 + 2014-01-01: 50 amount: - 2018-01-01: 2.8126 + 2014-01-01: 2.8126 - threshold: - 2018-01-01: 51 + 2014-01-01: 51 amount: - 2018-01-01: 2.937 + 2014-01-01: 2.937 - threshold: - 2018-01-01: 52 + 2014-01-01: 52 amount: - 2018-01-01: 3.074 + 2014-01-01: 3.074 - threshold: - 2018-01-01: 53 + 2014-01-01: 53 amount: - 2018-01-01: 3.2126 + 2014-01-01: 3.2126 - threshold: - 2018-01-01: 54 + 2014-01-01: 54 amount: - 2018-01-01: 3.3622 + 2014-01-01: 3.3622 - threshold: - 2018-01-01: 55 + 2014-01-01: 55 amount: - 2018-01-01: 3.5118 + 2014-01-01: 3.5118 - threshold: - 2018-01-01: 56 + 2014-01-01: 56 amount: - 2018-01-01: 3.674 + 2014-01-01: 3.674 - threshold: - 2018-01-01: 57 + 2014-01-01: 57 amount: - 2018-01-01: 3.8378 + 2014-01-01: 3.8378 - threshold: - 2018-01-01: 58 + 2014-01-01: 58 amount: - 2018-01-01: 4.0126 + 2014-01-01: 4.0126 - threshold: - 2018-01-01: 59 + 2014-01-01: 59 amount: - 2018-01-01: 4.0992 + 2014-01-01: 4.0992 - threshold: - 2018-01-01: 60 + 2014-01-01: 60 amount: - 2018-01-01: 4.274 + 2014-01-01: 4.274 - threshold: - 2018-01-01: 61 + 2014-01-01: 61 amount: - 2018-01-01: 4.4252 + 2014-01-01: 4.4252 - threshold: - 2018-01-01: 62 + 2014-01-01: 62 amount: - 2018-01-01: 4.5244 + 2014-01-01: 4.5244 - threshold: - 2018-01-01: 63 + 2014-01-01: 63 amount: - 2018-01-01: 4.6488 + 2014-01-01: 4.6488 - threshold: - 2018-01-01: 64 + 2014-01-01: 64 amount: - 2018-01-01: 4.7244 + 2014-01-01: 4.7244 diff --git a/policyengine_us/parameters/gov/aca/age_curves/ut.yaml b/policyengine_us/parameters/gov/aca/age_curves/ut.yaml index 1d5c5ee48a2..8c501028f67 100644 --- a/policyengine_us/parameters/gov/aca/age_curves/ut.yaml +++ b/policyengine_us/parameters/gov/aca/age_curves/ut.yaml @@ -6,130 +6,132 @@ metadata: threshold_unit: int label: ACA premium age curve factors - UT reference: + - title: CMS State Specific Age Curve Variations - August 9, 2013 + href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/2017-state-specific-age-curve-variations-8-9-2013.pdf#page=1 - title: CMS Market Rating Reforms State Specific Age Curve Variations href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/statespecagecrv053117.pdf brackets: - threshold: - 2018-01-01: 0 + 2014-01-01: 0 amount: - 2018-01-01: 1.0 + 2014-01-01: 1.0 - threshold: - 2018-01-01: 21 + 2014-01-01: 21 amount: - 2018-01-01: 1.261 + 2014-01-01: 1.261 - threshold: - 2018-01-01: 22 + 2014-01-01: 22 amount: - 2018-01-01: 1.3241 + 2014-01-01: 1.3241 - threshold: - 2018-01-01: 23 + 2014-01-01: 23 amount: - 2018-01-01: 1.4035 + 2014-01-01: 1.4035 - threshold: - 2018-01-01: 24 + 2014-01-01: 24 amount: - 2018-01-01: 1.5019 + 2014-01-01: 1.5019 - threshold: - 2018-01-01: 25 + 2014-01-01: 25 amount: - 2018-01-01: 1.6368 + 2014-01-01: 1.6368 - threshold: - 2018-01-01: 26 + 2014-01-01: 26 amount: - 2018-01-01: 1.7188 + 2014-01-01: 1.7188 - threshold: - 2018-01-01: 27 + 2014-01-01: 27 amount: - 2018-01-01: 1.7528 + 2014-01-01: 1.7528 - threshold: - 2018-01-01: 37 + 2014-01-01: 37 amount: - 2018-01-01: 1.7705 + 2014-01-01: 1.7705 - threshold: - 2018-01-01: 38 + 2014-01-01: 38 amount: - 2018-01-01: 1.797 + 2014-01-01: 1.797 - threshold: - 2018-01-01: 39 + 2014-01-01: 39 amount: - 2018-01-01: 1.8285 + 2014-01-01: 1.8285 - threshold: - 2018-01-01: 40 + 2014-01-01: 40 amount: - 2018-01-01: 1.8651 + 2014-01-01: 1.8651 - threshold: - 2018-01-01: 41 + 2014-01-01: 41 amount: - 2018-01-01: 1.9117 + 2014-01-01: 1.9117 - threshold: - 2018-01-01: 42 + 2014-01-01: 42 amount: - 2018-01-01: 1.9697 + 2014-01-01: 1.9697 - threshold: - 2018-01-01: 43 + 2014-01-01: 43 amount: - 2018-01-01: 2.0378 + 2014-01-01: 2.0378 - threshold: - 2018-01-01: 44 + 2014-01-01: 44 amount: - 2018-01-01: 2.1198 + 2014-01-01: 2.1198 - threshold: - 2018-01-01: 45 + 2014-01-01: 45 amount: - 2018-01-01: 2.2043 + 2014-01-01: 2.2043 - threshold: - 2018-01-01: 46 + 2014-01-01: 46 amount: - 2018-01-01: 2.2926 + 2014-01-01: 2.2926 - threshold: - 2018-01-01: 47 + 2014-01-01: 47 amount: - 2018-01-01: 2.3846 + 2014-01-01: 2.3846 - threshold: - 2018-01-01: 48 + 2014-01-01: 48 amount: - 2018-01-01: 2.4792 + 2014-01-01: 2.4792 - threshold: - 2018-01-01: 49 + 2014-01-01: 49 amount: - 2018-01-01: 2.5788 + 2014-01-01: 2.5788 - threshold: - 2018-01-01: 50 + 2014-01-01: 50 amount: - 2018-01-01: 2.6822 + 2014-01-01: 2.6822 - threshold: - 2018-01-01: 51 + 2014-01-01: 51 amount: - 2018-01-01: 2.7894 + 2014-01-01: 2.7894 - threshold: - 2018-01-01: 52 + 2014-01-01: 52 amount: - 2018-01-01: 2.9004 + 2014-01-01: 2.9004 - threshold: - 2018-01-01: 53 + 2014-01-01: 53 amount: - 2018-01-01: 3.0164 + 2014-01-01: 3.0164 - threshold: - 2018-01-01: 54 + 2014-01-01: 54 amount: - 2018-01-01: 3.1375 + 2014-01-01: 3.1375 - threshold: - 2018-01-01: 55 + 2014-01-01: 55 amount: - 2018-01-01: 3.2636 + 2014-01-01: 3.2636 - threshold: - 2018-01-01: 56 + 2014-01-01: 56 amount: - 2018-01-01: 3.3934 + 2014-01-01: 3.3934 - threshold: - 2018-01-01: 57 + 2014-01-01: 57 amount: - 2018-01-01: 3.5296 + 2014-01-01: 3.5296 - threshold: - 2018-01-01: 58 + 2014-01-01: 58 amount: - 2018-01-01: 3.6709 + 2014-01-01: 3.6709 - threshold: - 2018-01-01: 59 + 2014-01-01: 59 amount: - 2018-01-01: 3.7831 + 2014-01-01: 3.7831 diff --git a/policyengine_us/parameters/gov/aca/age_curves/vt.yaml b/policyengine_us/parameters/gov/aca/age_curves/vt.yaml index ba9ab99b2fc..a8fa77a1327 100644 --- a/policyengine_us/parameters/gov/aca/age_curves/vt.yaml +++ b/policyengine_us/parameters/gov/aca/age_curves/vt.yaml @@ -5,7 +5,9 @@ metadata: period: year label: ACA premium age curve factors - VT reference: + - title: Vermont DFR Order Docket 13-002-I - 2014 tier structure + href: https://dfr.vermont.gov/sites/finreg/files/regbul/dfr-order-docket-13-002-i-vermont-health-benefits-exchange.pdf#page=2 - title: CMS Market Rating Reforms State Specific Age Curve Variations href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/state-rating#age values: - 2018-01-01: 1.0 + 2014-01-01: 1.0 diff --git a/policyengine_us/parameters/gov/aca/family_tier_ratings/ny.yaml b/policyengine_us/parameters/gov/aca/family_tier_ratings/ny.yaml index ca6f054db42..49f70966fcf 100644 --- a/policyengine_us/parameters/gov/aca/family_tier_ratings/ny.yaml +++ b/policyengine_us/parameters/gov/aca/family_tier_ratings/ny.yaml @@ -7,16 +7,18 @@ metadata: - slcsp_family_tier_category label: ACA premium family tier multipliers - NY reference: + - title: New York DFS 2017 individual rate filing - Exhibit 25 Rating Tiers + href: https://myportal.dfs.ny.gov/documents/538523/10367891/Aetna%2BLife_IND_OFFX_AETN-130549431_Application.pdf/cb70f6f0-e73e-4d0a-a946-f5259ec21b55#page=77 - title: CMS Market Rating Reforms State Specific Age Curve Variations href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/state-rating ONE_ADULT: - 2018-01-01: 1.00 + 2014-01-01: 1.00 TWO_ADULTS: - 2018-01-01: 2.00 + 2014-01-01: 2.00 ONE_ADULT_AND_ONE_OR_MORE_CHILDREN: - 2018-01-01: 1.70 + 2014-01-01: 1.70 TWO_ADULTS_AND_ONE_OR_MORE_CHILDREN: - 2018-01-01: 2.85 + 2014-01-01: 2.85 CHILD_ONLY: - 2018-01-01: 0.412 + 2014-01-01: 0.412 diff --git a/policyengine_us/parameters/gov/aca/family_tier_ratings/vt.yaml b/policyengine_us/parameters/gov/aca/family_tier_ratings/vt.yaml index 03e89f5aec7..1238b1cf1e8 100644 --- a/policyengine_us/parameters/gov/aca/family_tier_ratings/vt.yaml +++ b/policyengine_us/parameters/gov/aca/family_tier_ratings/vt.yaml @@ -7,14 +7,16 @@ metadata: - slcsp_family_tier_category label: ACA premium family tier multipliers - VT reference: + - title: Vermont DFR Order Docket 13-002-I - 2014 tier structure + href: https://dfr.vermont.gov/sites/finreg/files/regbul/dfr-order-docket-13-002-i-vermont-health-benefits-exchange.pdf#page=2 - title: CMS Market Rating Reforms State Specific Age Curve Variations href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/state-rating ONE_ADULT: - 2018-01-01: 1.00 + 2014-01-01: 1.00 TWO_ADULTS: - 2018-01-01: 2.00 + 2014-01-01: 2.00 ONE_ADULT_AND_ONE_OR_MORE_CHILDREN: - 2018-01-01: 1.93 + 2014-01-01: 1.93 TWO_ADULTS_AND_ONE_OR_MORE_CHILDREN: - 2018-01-01: 2.81 + 2014-01-01: 2.81 diff --git a/policyengine_us/parameters/gov/aca/family_tier_states.yaml b/policyengine_us/parameters/gov/aca/family_tier_states.yaml index d0a70b48e51..194a32971bb 100644 --- a/policyengine_us/parameters/gov/aca/family_tier_states.yaml +++ b/policyengine_us/parameters/gov/aca/family_tier_states.yaml @@ -7,108 +7,112 @@ metadata: label: Family tier rating states unit: bool reference: + - title: Vermont DFR Order Docket 13-002-I - 2014 tier structure + href: https://dfr.vermont.gov/sites/finreg/files/regbul/dfr-order-docket-13-002-i-vermont-health-benefits-exchange.pdf#page=2 + - title: New York DFS 2017 individual rate filing - Exhibit 25 Rating Tiers + href: https://myportal.dfs.ny.gov/documents/538523/10367891/Aetna%2BLife_IND_OFFX_AETN-130549431_Application.pdf/cb70f6f0-e73e-4d0a-a946-f5259ec21b55#page=77 - title: CMS Market Rating Reforms State Specific Age Curve Variations href: https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/state-rating AL: - 2018-01-01: false + 2014-01-01: false AK: - 2018-01-01: false + 2014-01-01: false AZ: - 2018-01-01: false + 2014-01-01: false AR: - 2018-01-01: false + 2014-01-01: false CA: - 2018-01-01: false + 2014-01-01: false CO: - 2018-01-01: false + 2014-01-01: false CT: - 2018-01-01: false + 2014-01-01: false DE: - 2018-01-01: false + 2014-01-01: false DC: - 2018-01-01: false + 2014-01-01: false FL: - 2018-01-01: false + 2014-01-01: false GA: - 2018-01-01: false + 2014-01-01: false HI: - 2018-01-01: false + 2014-01-01: false ID: - 2018-01-01: false + 2014-01-01: false IL: - 2018-01-01: false + 2014-01-01: false IN: - 2018-01-01: false + 2014-01-01: false IA: - 2018-01-01: false + 2014-01-01: false KS: - 2018-01-01: false + 2014-01-01: false KY: - 2018-01-01: false + 2014-01-01: false LA: - 2018-01-01: false + 2014-01-01: false ME: - 2018-01-01: false + 2014-01-01: false MD: - 2018-01-01: false + 2014-01-01: false MA: - 2018-01-01: false + 2014-01-01: false MI: - 2018-01-01: false + 2014-01-01: false MN: - 2018-01-01: false + 2014-01-01: false MS: - 2018-01-01: false + 2014-01-01: false MO: - 2018-01-01: false + 2014-01-01: false MT: - 2018-01-01: false + 2014-01-01: false NE: - 2018-01-01: false + 2014-01-01: false NV: - 2018-01-01: false + 2014-01-01: false NH: - 2018-01-01: false + 2014-01-01: false NJ: - 2018-01-01: false + 2014-01-01: false NM: - 2018-01-01: false + 2014-01-01: false NY: - 2018-01-01: true + 2014-01-01: true NC: - 2018-01-01: false + 2014-01-01: false ND: - 2018-01-01: false + 2014-01-01: false OH: - 2018-01-01: false + 2014-01-01: false OK: - 2018-01-01: false + 2014-01-01: false OR: - 2018-01-01: false + 2014-01-01: false PA: - 2018-01-01: false + 2014-01-01: false RI: - 2018-01-01: false + 2014-01-01: false SC: - 2018-01-01: false + 2014-01-01: false SD: - 2018-01-01: false + 2014-01-01: false TN: - 2018-01-01: false + 2014-01-01: false TX: - 2018-01-01: false + 2014-01-01: false UT: - 2018-01-01: false + 2014-01-01: false VT: - 2018-01-01: true + 2014-01-01: true VA: - 2018-01-01: false + 2014-01-01: false WA: - 2018-01-01: false + 2014-01-01: false WV: - 2018-01-01: false + 2014-01-01: false WI: - 2018-01-01: false + 2014-01-01: false WY: - 2018-01-01: false + 2014-01-01: false diff --git a/policyengine_us/parameters/gov/aca/required_contribution_percentage/final.yaml b/policyengine_us/parameters/gov/aca/required_contribution_percentage/final.yaml index 59f07007aa8..cab7adfe601 100644 --- a/policyengine_us/parameters/gov/aca/required_contribution_percentage/final.yaml +++ b/policyengine_us/parameters/gov/aca/required_contribution_percentage/final.yaml @@ -4,6 +4,14 @@ metadata: period: year label: ACA contribution percentage - final rate per bracket reference: + - title: 26 U.S.C. 36B(b)(3)(A) - Original 2014 applicable percentages + href: https://www.govinfo.gov/content/pkg/USCODE-2014-title26/pdf/USCODE-2014-title26-subtitleA-chap1-subchapA-partIV-subpartC-sec36B.pdf#page=1 + - title: IRS Revenue Procedure 2014-37 section 5.01 - Applicable percentages for 2015 + href: https://www.irs.gov/pub/irs-irbs/irb14-33.pdf#page=38 + - title: IRS Revenue Procedure 2014-62 section 2.01 - Applicable percentages for 2016 + href: https://www.irs.gov/pub/irs-drop/rp-14-62.pdf#page=2 + - title: IRS Revenue Procedure 2016-24 section 2.01 - Applicable percentages for 2017 + href: https://www.irs.gov/pub/irs-drop/rp-16-24.pdf#page=2 - title: 26 U.S. Code § 36B(b)(3)(A) - Refundable credit for coverage under a qualified health plan href: https://www.law.cornell.edu/uscode/text/26/36B#b_3_A - title: IRS Revenue Procedure 2017-36 - Applicable percentage table for 2018 @@ -17,14 +25,34 @@ metadata: - title: IRS Revenue Procedure 2026-26 - Applicable percentage table for 2027 href: https://www.irs.gov/pub/irs-drop/rp-26-26.pdf#page=3 values: - # Original ACA: 6 brackets + 2014-01-01: + - 0.02 + - 0.04 + - 0.063 + - 0.0805 + - 0.095 + - 0.095 2015-01-01: - - 0.02 # 0-133%: flat 2% - - 0.04 # 133-150% - - 0.063 # 150-200% - - 0.0805 # 200-250% - - 0.095 # 250-300% - - 0.095 # 300-400%: flat 9.5% + - 0.0201 + - 0.0402 + - 0.0634 + - 0.081 + - 0.0956 + - 0.0956 + 2016-01-01: + - 0.0203 + - 0.0407 + - 0.0641 + - 0.0818 + - 0.0966 + - 0.0966 + 2017-01-01: + - 0.0204 + - 0.0408 + - 0.0643 + - 0.0821 + - 0.0969 + - 0.0969 2018-01-01: - 0.0201 - 0.0403 diff --git a/policyengine_us/parameters/gov/aca/required_contribution_percentage/initial.yaml b/policyengine_us/parameters/gov/aca/required_contribution_percentage/initial.yaml index ce3460458f4..64358314792 100644 --- a/policyengine_us/parameters/gov/aca/required_contribution_percentage/initial.yaml +++ b/policyengine_us/parameters/gov/aca/required_contribution_percentage/initial.yaml @@ -4,6 +4,14 @@ metadata: period: year label: ACA contribution percentage - initial rate per bracket reference: + - title: 26 U.S.C. 36B(b)(3)(A) - Original 2014 applicable percentages + href: https://www.govinfo.gov/content/pkg/USCODE-2014-title26/pdf/USCODE-2014-title26-subtitleA-chap1-subchapA-partIV-subpartC-sec36B.pdf#page=1 + - title: IRS Revenue Procedure 2014-37 section 5.01 - Applicable percentages for 2015 + href: https://www.irs.gov/pub/irs-irbs/irb14-33.pdf#page=38 + - title: IRS Revenue Procedure 2014-62 section 2.01 - Applicable percentages for 2016 + href: https://www.irs.gov/pub/irs-drop/rp-14-62.pdf#page=2 + - title: IRS Revenue Procedure 2016-24 section 2.01 - Applicable percentages for 2017 + href: https://www.irs.gov/pub/irs-drop/rp-16-24.pdf#page=2 - title: 26 U.S. Code § 36B(b)(3)(A) - Refundable credit for coverage under a qualified health plan href: https://www.law.cornell.edu/uscode/text/26/36B#b_3_A - title: IRS Revenue Procedure 2017-36 - Applicable percentage table for 2018 @@ -17,14 +25,34 @@ metadata: - title: IRS Revenue Procedure 2026-26 - Applicable percentage table for 2027 href: https://www.irs.gov/pub/irs-drop/rp-26-26.pdf#page=3 values: - # Original ACA: 6 brackets + 2014-01-01: + - 0.02 + - 0.03 + - 0.04 + - 0.063 + - 0.0805 + - 0.095 2015-01-01: - - 0.02 # 0-133%: flat 2% - - 0.03 # 133-150% - - 0.04 # 150-200% - - 0.063 # 200-250% - - 0.0805 # 250-300% - - 0.095 # 300-400%: flat 9.5% + - 0.0201 + - 0.0302 + - 0.0402 + - 0.0634 + - 0.081 + - 0.0956 + 2016-01-01: + - 0.0203 + - 0.0305 + - 0.0407 + - 0.0641 + - 0.0818 + - 0.0966 + 2017-01-01: + - 0.0204 + - 0.0306 + - 0.0408 + - 0.0643 + - 0.0821 + - 0.0969 2018-01-01: - 0.0201 - 0.0302 diff --git a/policyengine_us/parameters/gov/aca/required_contribution_percentage/threshold.yaml b/policyengine_us/parameters/gov/aca/required_contribution_percentage/threshold.yaml index 0aa76208635..92da0c51525 100644 --- a/policyengine_us/parameters/gov/aca/required_contribution_percentage/threshold.yaml +++ b/policyengine_us/parameters/gov/aca/required_contribution_percentage/threshold.yaml @@ -10,7 +10,7 @@ metadata: - title: IRS Revenue Procedure 2026-26 - Applicable percentage table for 2027 href: https://www.irs.gov/pub/irs-drop/rp-26-26.pdf#page=3 values: - 2015-01-01: + 2014-01-01: - 0 - 1.33 - 1.50 diff --git a/policyengine_us/parameters/gov/hhs/fpg.yaml b/policyengine_us/parameters/gov/hhs/fpg.yaml index a7b4e68ea75..6b9e0a35f68 100644 --- a/policyengine_us/parameters/gov/hhs/fpg.yaml +++ b/policyengine_us/parameters/gov/hhs/fpg.yaml @@ -3,6 +3,8 @@ first_person: CONTIGUOUS_US: 1992-01-01: 6_810 2011-01-01: 10_890 + 2013-01-01: 11_490 + 2014-01-01: 11_670 2015-01-01: 11_770 2016-01-01: 11_880 2017-01-01: 12_060 @@ -18,6 +20,8 @@ first_person: AK: 1992-01-01: 8_500 2011-01-01: 13_600 + 2013-01-01: 14_350 + 2014-01-01: 14_580 2015-01-01: 14_720 2016-01-01: 14_840 2017-01-01: 15_060 @@ -33,6 +37,8 @@ first_person: HI: 1992-01-01: 7_830 2011-01-01: 12_540 + 2013-01-01: 13_230 + 2014-01-01: 13_420 2015-01-01: 13_550 2016-01-01: 13_670 2017-01-01: 13_860 @@ -62,6 +68,8 @@ additional_person: CONTIGUOUS_US: 1992-01-01: 2_380 2011-01-01: 3_820 + 2013-01-01: 4_020 + 2014-01-01: 4_060 2015-01-01: 4_160 2016-01-01: 4_160 2017-01-01: 4_180 @@ -77,6 +85,8 @@ additional_person: AK: 1992-01-01: 2_980 2011-01-01: 4_780 + 2013-01-01: 5_030 + 2014-01-01: 5_080 2015-01-01: 5_200 2016-01-01: 5_200 2017-01-01: 5_230 @@ -92,6 +102,8 @@ additional_person: HI: 1992-01-01: 2_740 2011-01-01: 4_390 + 2013-01-01: 4_620 + 2014-01-01: 4_670 2015-01-01: 4_780 2016-01-01: 4_780 2017-01-01: 4_810 @@ -115,6 +127,10 @@ additional_person: metadata: unit: currency-USD reference: + - title: HHS 2013 Annual Update of the Poverty Guidelines + href: https://www.govinfo.gov/content/pkg/FR-2013-01-24/pdf/2013-01422.pdf#page=2 + - title: "HHS 2014 Annual Update of the Poverty Guidelines #page 1-2" + href: https://www.govinfo.gov/content/pkg/FR-2014-01-22/pdf/2014-01303.pdf#page=1 - title: 2026 Poverty Guidelines href: https://aspe.hhs.gov/topics/poverty-economic-mobility/poverty-guidelines - title: 2015 Poverty Guidelines diff --git a/policyengine_us/programs.yaml b/policyengine_us/programs.yaml index da7852c528b..25efe1073b5 100644 --- a/policyengine_us/programs.yaml +++ b/policyengine_us/programs.yaml @@ -434,6 +434,7 @@ programs: variable: aca_ptc parameter_prefix: gov.aca verified_start_year: 2024 + notes: 2014 PTC calculations use supplied MAGI and coverage eligibility; 2014-2017 benchmark premiums use estimates from 2018 rating-area premiums. - id: tanf name: TANF diff --git a/policyengine_us/reforms/aca/aca_ptc_minimum_premium.py b/policyengine_us/reforms/aca/aca_ptc_minimum_premium.py index e6a74a81085..0680b90de6e 100644 --- a/policyengine_us/reforms/aca/aca_ptc_minimum_premium.py +++ b/policyengine_us/reforms/aca/aca_ptc_minimum_premium.py @@ -29,7 +29,10 @@ class aca_ptc_before_filing_gate(Variable): label = "ACA premium tax credit before the filing condition" unit = USD definition_period = YEAR - reference = "https://www.law.cornell.edu/uscode/text/26/36B#b" + reference = ( + "https://www.law.cornell.edu/uscode/text/26/36B#b", + "https://www.govinfo.gov/content/pkg/CFR-2014-title26-vol1/pdf/CFR-2014-title26-vol1-sec1-36B-3.pdf#page=2", + ) documentation = ( "The coverage family's benchmark premium (aca_ptc_slcsp) less the " "required contribution, but no more than the enrolled premium less " @@ -45,6 +48,25 @@ class aca_ptc_before_filing_gate(Variable): def formula(tax_unit, period, parameters): return 0 + def formula_2014(tax_unit, period, parameters): + # Price the coverage family separately (26 CFR 1.36B-3(f)). + plan_cost = tax_unit("aca_ptc_slcsp", period) + income = max_(0, tax_unit("aca_magi", period)) + applicable_figure = tax_unit("aca_required_contribution_percentage", period) + return max_(0, plan_cost - income * applicable_figure) + + def formula_2015(tax_unit, period, parameters): + plan_cost = tax_unit("aca_ptc_slcsp", period) + income = max_(0, tax_unit("aca_magi", period)) + applicable_figure = tax_unit("aca_required_contribution_percentage", period) + credit = max_(0, plan_cost - income * applicable_figure) + enrolled_premium = max_( + plan_cost, + tax_unit("aca_ptc_coverage_family_premium", period), + ) + minimum = tax_unit("aca_ptc_minimum_premium", period) + return min_(credit, max_(0, enrolled_premium - minimum)) + def formula_2018(tax_unit, period, parameters): # The benchmark and premiums of the coverage family (26 CFR # 1.36B-3(d)(1) and (f)), which leave out an enrollee who can be diff --git a/policyengine_us/tests/core/test_aca_required_contribution_percentage_properties.py b/policyengine_us/tests/core/test_aca_required_contribution_percentage_properties.py index df356d4cd2a..5d3ac121dab 100644 --- a/policyengine_us/tests/core/test_aca_required_contribution_percentage_properties.py +++ b/policyengine_us/tests/core/test_aca_required_contribution_percentage_properties.py @@ -6,7 +6,7 @@ final percentage (26 CFR 1.36B-3(g)(1)). The IRS indexes the table each year; Rev. Proc. 2026-26 sets it for 2027. Hypothesis draws incomes as fractions of the poverty line from 0 to 400 percent. Each drawn example is one simulation, -calculated for every year from 2018 through 2027 against that year's table. +calculated for every year from 2014 through 2027 against that year's table. For every year: 1. At each tier's lower edge the percentage equals the tier's initial @@ -23,26 +23,34 @@ edges; rounding adds steps of 0.01 percentage point. 4. The required contribution (household income times the percentage) never decreases as income rises, so for a fixed benchmark premium the credit never - rises with income up to 400 percent (checked for 2026 and 2027, from income - in dollars through the poverty-line fraction). + rises with income up to 400 percent (checked for 2014–2017, 2026 and 2027, from + income in dollars through the poverty-line fraction). +5. In 2014–2017 the credit stays between zero and the benchmark premium, + including supplied negative MAGI. Later years retain that bound for + nonnegative MAGI and preserve their existing negative-input arithmetic. +6. From 2018 through 2027, percentages and credits match the tables and + calculation used before historical coverage. -Why Python: the YAML cases pin the 2027 table at chosen points; this checks +Why Python: the YAML cases pin annual tables at chosen points; this checks every year's table at its edges and at drawn incomes, so a mistyped edge, an interpolation that runs past a tier's final percentage, or a new table row -entered in the wrong order fails wherever it falls. Cost, measured -locally (macOS, shared host): about 6 s of test calls, 12 s in pytest and 36 s -wall time including the model import, peak memory footprint 1.7 GB. It runs in -the `core` group of the rest Python tests. +entered in the wrong order fails wherever it falls. The compatibility check +compares against a frozen copy of the existing tables and detects historical +entries leaking into later years. +These tests run in the `core` group of the rest Python tests. """ +import gc + import numpy as np +import pytest from hypothesis import HealthCheck, given, settings from hypothesis import strategies as st from policyengine_us import Simulation -YEARS = tuple(range(2018, 2028)) -CONTRIBUTION_YEARS = (2026, 2027) +YEARS = tuple(range(2014, 2028)) +CONTRIBUTION_YEARS = (2014, 2015, 2016, 2017, 2026, 2027) # The model holds incomes and percentages in float32 (about seven significant # digits), so edges are approached from 1e-5 away and percentages compared to # within 1e-6. @@ -72,7 +80,28 @@ ) +def clear_parameter_caches(system): + root = system.parameters + system._parameters_at_instant_cache.clear() + for node in (root, *root.get_descendants()): + cache = getattr(node, "_at_instant_cache", None) + if cache is not None: + cache.clear() + + +@pytest.fixture(autouse=True) +def clear_shared_parameter_caches(): + # Monthly benchmark reads cache snapshots of the entire parameter tree. + system = Simulation.default_tax_benefit_system_instance + clear_parameter_caches(system) + yield + clear_parameter_caches(system) + gc.collect() + + def build(tax_unit_inputs, years): + # Collect simulation reference cycles between generated cases. + gc.collect() people, tax_units, households = {}, {}, {} groups = {"marital_units": {}, "spm_units": {}, "families": {}} for index, inputs in enumerate(tax_unit_inputs): @@ -81,8 +110,12 @@ def build(tax_unit_inputs, years): "age": {year: 40 for year in years}, "is_aca_ptc_eligible": {year: True for year in years}, } + if 2014 in years: + # The model cannot derive Marketplace enrollment before 2015. + people[person]["is_aca_marketplace_enrollee"] = {2014: True} tax_units[f"tax_unit_{index}"] = { "members": members, + "filing_status": {year: "SINGLE" for year in years}, **{name: {year: value for year in years} for name, value in inputs.items()}, } households[f"household_{index}"] = { @@ -117,39 +150,43 @@ def table(simulation, year): @given(fractions.map(lambda drawn: sorted(KNOTS + drawn))) def test_applicable_percentage_table(points): simulation = build([{"aca_magi_fraction": x} for x in points], YEARS) - x = np.array(points) - # The fractions the model sees, after float32 storage. - seen = x.astype(np.float32).astype(float) - for year in YEARS: - thresholds, initial, final = table(simulation, year) - # Every edge is probed; a new or mistyped edge must be added to EDGES. - assert set(thresholds) <= set(EDGES), (year, thresholds) - rate = np.asarray( - simulation.calculate("aca_required_contribution_percentage", year) - ) - # Property 1. - for tier, edge in enumerate(thresholds[:-1]): + try: + x = np.array(points) + # The fractions the model sees, after float32 storage. + seen = x.astype(np.float32).astype(float) + for year in YEARS: + thresholds, initial, final = table(simulation, year) + # Every edge is probed; a new or mistyped edge must be added to EDGES. + assert set(thresholds) <= set(EDGES), (year, thresholds) + rate = np.asarray( + simulation.calculate("aca_required_contribution_percentage", year) + ) + # Property 1. + for tier, edge in enumerate(thresholds[:-1]): + np.testing.assert_allclose( + rate[x == edge], initial[tier], atol=TOLERANCE, err_msg=str(year) + ) np.testing.assert_allclose( - rate[x == edge], initial[tier], atol=TOLERANCE, err_msg=str(year) + rate[x == thresholds[-1]], final[-1], atol=TOLERANCE, err_msg=str(year) + ) + # Property 2. + tier = np.clip( + np.searchsorted(thresholds, seen, side="right") - 1, 0, len(initial) - 1 ) - np.testing.assert_allclose( - rate[x == thresholds[-1]], final[-1], atol=TOLERANCE, err_msg=str(year) - ) - # Property 2. - tier = np.clip( - np.searchsorted(thresholds, seen, side="right") - 1, 0, len(initial) - 1 - ) - slope = (final - initial) / np.diff(thresholds) - assert (rate >= initial[tier] - TOLERANCE).all(), year - assert (rate <= final[tier] + TOLERANCE).all(), year - for upper, top, rise in zip(thresholds[1:], final, slope): - below = rate[x == upper - EPSILON] - assert (top - below >= -TOLERANCE).all(), year - assert (top - below <= rise * EPSILON + TOLERANCE).all(), year - line = initial[tier] + slope[tier] * (seen - thresholds[tier]) - assert (np.abs(rate - line) <= ROUNDING / 2 + TOLERANCE).all(), year - # Property 3. - assert (np.diff(rate) >= -TOLERANCE).all(), year + slope = (final - initial) / np.diff(thresholds) + assert (rate >= initial[tier] - TOLERANCE).all(), year + assert (rate <= final[tier] + TOLERANCE).all(), year + for upper, top, rise in zip(thresholds[1:], final, slope): + below = rate[x == upper - EPSILON] + assert (top - below >= -TOLERANCE).all(), year + assert (top - below <= rise * EPSILON + TOLERANCE).all(), year + line = initial[tier] + slope[tier] * (seen - thresholds[tier]) + assert (np.abs(rate - line) <= ROUNDING / 2 + TOLERANCE).all(), year + # Property 3. + assert (np.diff(rate) >= -TOLERANCE).all(), year + finally: + del simulation + gc.collect() @settings( @@ -160,8 +197,8 @@ def test_applicable_percentage_table(points): ) @given( # Fixed incomes in four tiers, so every example compares distinct incomes. - st.lists(st.integers(0, 70_000), max_size=60).map( - lambda drawn: sorted([10_000, 25_000, 40_000, 60_000, *drawn]) + st.lists(st.integers(-20_000, 70_000), max_size=60).map( + lambda drawn: sorted([-1_000, 0, 10_000, 25_000, 40_000, 60_000, *drawn]) ), st.integers(1_000, 20_000), ) @@ -173,15 +210,124 @@ def test_required_contribution_rises_with_income(incomes, slcsp): ], CONTRIBUTION_YEARS, ) - income = np.array(incomes, dtype=float) - for year in CONTRIBUTION_YEARS: - fraction = np.asarray(simulation.calculate("aca_magi_fraction", year)) - rate = np.asarray( - simulation.calculate("aca_required_contribution_percentage", year) - ) - credit = np.asarray(simulation.calculate("aca_ptc_before_filing_gate", year)) - within = fraction <= 4 - contribution = (income * rate)[within] - # Property 4. - assert (np.diff(contribution) >= -1e-6).all(), year - assert (np.diff(credit[within]) <= 1e-6).all(), year + try: + income = np.array(incomes, dtype=float) + for year in CONTRIBUTION_YEARS: + fraction = np.asarray(simulation.calculate("aca_magi_fraction", year)) + rate = np.asarray( + simulation.calculate("aca_required_contribution_percentage", year) + ) + credit = np.asarray( + simulation.calculate("aca_ptc_before_filing_gate", year) + ) + benchmark = np.asarray(simulation.calculate("slcsp", year)) + # Property 5 also covers the zero floor outside the income range. + assert (credit >= 0).all(), year + bounded = np.ones(len(income), dtype=bool) if year < 2018 else income >= 0 + assert (credit[bounded] <= benchmark[bounded] + 1e-6).all(), year + within = fraction <= 4 + contribution_income = np.maximum(income, 0) if year < 2018 else income + contribution = (contribution_income * rate)[within] + # Property 4. + assert (np.diff(contribution) >= -1e-6).all(), year + assert (np.diff(credit[within]) <= 1e-6).all(), year + clear_parameter_caches(simulation.tax_benefit_system) + finally: + del simulation + gc.collect() + + +# Freeze the tables used before extending historical coverage. Repeated knots +# let numpy.interp retain the jump at 133 percent without sharing the model's +# bracket-selection implementation. +POST_2017_TABLES = { + 2018: ( + [0.0201, 0.0302, 0.0403, 0.0634, 0.081, 0.0956], + [0.0201, 0.0403, 0.0634, 0.081, 0.0956, 0.0956], + ), + 2019: ( + [0.0208, 0.0311, 0.0415, 0.0654, 0.0836, 0.0986], + [0.0208, 0.0415, 0.0654, 0.0836, 0.0986, 0.0986], + ), + 2020: ( + [0.0206, 0.0309, 0.0412, 0.0649, 0.0829, 0.0978], + [0.0206, 0.0412, 0.0649, 0.0829, 0.0978, 0.0978], + ), + **{ + year: ([0, 0, 0.02, 0.04, 0.06], [0, 0.02, 0.04, 0.06, 0.085]) + for year in range(2021, 2026) + }, + 2026: ( + [0.021, 0.0314, 0.0419, 0.066, 0.0844, 0.0996], + [0.021, 0.0419, 0.066, 0.0844, 0.0996, 0.0996], + ), + 2027: ( + [0.0215, 0.0323, 0.043, 0.0678, 0.0866, 0.1022], + [0.0215, 0.043, 0.0678, 0.0866, 0.1022, 0.1022], + ), +} + + +@settings( + max_examples=4, + deadline=None, + derandomize=True, + suppress_health_check=[HealthCheck.too_slow, HealthCheck.data_too_large], +) +@given( + st.lists( + st.tuples( + st.floats(0, 6, allow_nan=False, allow_infinity=False), + st.integers(-20_000, 120_000), + st.integers(0, 30_000), + ), + min_size=1, + max_size=24, + ) +) +def test_post_2017_credit_matches_existing_rules(drawn): + rows = [(edge, 30_000, 12_000) for edge in [*KNOTS, 4.01, 5.0]] + rows += [(0, -1_000, 12_000), *drawn] + simulation = build( + [ + { + "aca_magi_fraction": fraction, + "aca_magi": income, + "slcsp": premium, + "tax_unit_is_filer": True, + } + for fraction, income, premium in rows + ], + tuple(POST_2017_TABLES), + ) + try: + fractions, incomes, premiums = np.array(rows, dtype=np.float32).T + for year, (initial, final) in POST_2017_TABLES.items(): + thresholds = [0, 1.5, 2, 2.5, 3, 4] + if not 2021 <= year <= 2025: + thresholds.insert(1, 1.33) + knots = np.repeat(thresholds, 2)[1:-1] + expected_rate = np.interp( + fractions, knots, np.column_stack((initial, final)).ravel() + ) + if not 2021 <= year <= 2025: + expected_rate = np.where(fractions > 4, 0, expected_rate) + rate = simulation.calculate("aca_required_contribution_percentage", year) + np.testing.assert_allclose( + rate, expected_rate, atol=TOLERANCE, err_msg=str(year) + ) + expected_credit = np.maximum(0, premiums - incomes * expected_rate) + for variable in ("aca_ptc_before_filing_gate", "aca_ptc"): + credit = simulation.calculate(variable, year) + np.testing.assert_allclose( + credit, + expected_credit, + rtol=1e-6, + atol=0.02, + err_msg=f"{year}: {variable}", + ) + clear_parameter_caches(simulation.tax_benefit_system) + gc.collect() + finally: + del simulation + gc.collect() diff --git a/policyengine_us/tests/policy/baseline/gov/aca/eligibility/aca_fpg.yaml b/policyengine_us/tests/policy/baseline/gov/aca/eligibility/aca_fpg.yaml index ea84ca29d74..333ad1d5e8a 100644 --- a/policyengine_us/tests/policy/baseline/gov/aca/eligibility/aca_fpg.yaml +++ b/policyengine_us/tests/policy/baseline/gov/aca/eligibility/aca_fpg.yaml @@ -278,3 +278,139 @@ # have used the supplied 2024 size of 2 (20,440). aca_tax_family_size: 3 aca_fpg: 25_820 + +- name: A 2015 Alaska joint return uses the prior guideline with coverage-year household inputs + period: 2015 + absolute_error_margin: 0.001 + input: + people: + head: + age: 40 + takes_up_ak_permanent_fund_dividend_if_eligible: false + employment_income: 49_150 + is_tax_unit_head: true + is_tax_unit_spouse: false + spouse: + age: 40 + takes_up_ak_permanent_fund_dividend_if_eligible: false + is_tax_unit_head: false + is_tax_unit_spouse: true + tax_units: + unit: + members: [head, spouse] + filing_status: JOINT + households: + household: + members: [head, spouse] + state_code: AK + output: + # IRS 2015 Form 8962 line 4, Table 1-2: 14,580 + 5,080 = 19,660. + # Line 5: floor(49,150 / 19,660 * 100) / 100 = 2.50. + # https://www.irs.gov/pub/irs-prior/i8962--2015.pdf#page=7 + aca_fpg: 19_660 + aca_magi: 49_150 + aca_tax_family_size: 2 + aca_magi_fraction: 2.5 + +- name: A 2014 Alaska return uses the 2013 guideline for its tax family + period: 2014 + input: + aca_tax_family_size: 2 + state_code: AK + output: + # IRS 2014 Form 8962 line 4, Table 1-2: 14,350 + 5,030 = 19,380. + # https://www.irs.gov/pub/irs-prior/i8962--2014.pdf#page=6 + aca_fpg: 19_380 + +- name: Coverage in 2015 uses current residence with the 2014 guideline + period: 2015 + input: + aca_tax_family_size: 2 + state_code: + 2014: TX + 2015: AK + output: + # IRS 2015 Form 8962 line 4 uses 2015 residence and the 2014 table: + # Alaska, two people = 14,580 + 5,080 = 19,660. + # https://www.irs.gov/pub/irs-prior/i8962--2015.pdf#page=7 + aca_fpg: 19_660 + +- name: Coverage in 2016 uses coverage-year residence when the household supplies no earlier state + period: 2016 + input: + aca_tax_family_size: 2 + state_code: AK + output: + # IRS 2016 Form 8962 line 4 uses 2016 residence and the 2015 table: + # Alaska, two people = 14,720 + 5,200 = 19,920. + # https://www.irs.gov/pub/irs-prior/i8962--2016.pdf#page=6 + aca_fpg: 19_920 + +- name: Coverage in 2017 uses current residence with the 2016 guideline + period: 2017 + input: + aca_tax_family_size: 2 + state_code: + 2016: TX + 2017: AK + output: + # IRS 2017 Form 8962 line 4 uses 2017 residence and the 2016 table: + # Alaska, two people = 20,020 (Table 1-2). HHS listed 20,020 for two + # people in 2016, 20 below 14,840 + 5,200. + # https://www.irs.gov/pub/irs-prior/i8962--2017.pdf#page=7 + aca_fpg: 20_020 + +- name: A 2015 Guam return has a poverty line of zero + period: 2015 + input: + aca_tax_family_size: 1 + state_code: GU + output: + # HHS left its 2014 guidelines "not defined for Puerto Rico or other + # outlying jurisdictions" (79 FR 3594), and gov.hhs.fpg holds no Guam + # value at the 2014 date. aca_fpg looks Guam up under the 48 states' + # 2014 guideline, 11,670 + 4,060 * (1 - 1) = 11,670, and returns 0. + # https://www.govinfo.gov/content/pkg/FR-2014-01-22/pdf/2014-01303.pdf#page=2 + aca_fpg: 0 + +- name: A 2014 Puerto Rico return has a poverty line of zero + period: 2014 + input: + aca_tax_family_size: 2 + state_code: PR + output: + # HHS left its 2013 guidelines "not defined for Puerto Rico or other + # outlying jurisdictions" (78 FR 5183), and gov.hhs.fpg holds no Puerto + # Rico value at the 2013 date. aca_fpg looks Puerto Rico up under the 48 + # states' 2013 guideline, 11,490 + 4,020 * (2 - 1) = 15,510, and + # returns 0. + # https://www.govinfo.gov/content/pkg/FR-2013-01-24/pdf/2013-01422.pdf#page=2 + aca_fpg: 0 + +- name: A 2015 Virgin Islands return has a poverty line of zero + period: 2015 + input: + aca_tax_family_size: 3 + state_code: VI + output: + # HHS published 2014 guidelines for the 48 states and the District of + # Columbia, Alaska and Hawaii, and left them "not defined for Puerto Rico + # or other outlying jurisdictions" (79 FR 3594). aca_fpg looks the Virgin + # Islands up under the 48 states' 2014 guideline, + # 11,670 + 4,060 * (3 - 1) = 19,790, and returns 0. + # https://www.govinfo.gov/content/pkg/FR-2014-01-22/pdf/2014-01303.pdf#page=2 + aca_fpg: 0 + +- name: A 2017 Puerto Rico return has a poverty line of zero + period: 2017 + input: + aca_tax_family_size: 2 + state_code: PR + output: + # HHS left its 2016 guidelines "not defined for Puerto Rico or other + # outlying jurisdictions" (81 FR 4037). aca_fpg looks Puerto Rico up + # under the 48 states' 2016 table, 16,020 for two people, and returns 0. + # The Puerto Rico placeholders in gov.hhs.fpg, which the model backdates + # to 2015, give the same result: 0 + 0 * (2 - 1) = 0. + # https://www.govinfo.gov/content/pkg/FR-2016-01-25/pdf/2016-01450.pdf#page=2 + aca_fpg: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/aca/eligibility/aca_magi_fraction.yaml b/policyengine_us/tests/policy/baseline/gov/aca/eligibility/aca_magi_fraction.yaml index 2db7ec2fb7a..f878b9e44ab 100644 --- a/policyengine_us/tests/policy/baseline/gov/aca/eligibility/aca_magi_fraction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/aca/eligibility/aca_magi_fraction.yaml @@ -1,6 +1,6 @@ # ACA MAGI as a fraction of the poverty guideline, floored to two decimals. # 26 U.S.C. 36B(d)(3)(B) measures income against the guideline for the year -# before the coverage year. The model's guidelines start in 2015. +# before the coverage year. Explicit guidelines support coverage from 2014. - name: Coverage in 2016 uses the 2015 guideline. # 30,000 / 11,770 = 2.5488, floored to 2.54. The 2016 guideline (11,880) @@ -21,10 +21,10 @@ output: aca_magi_fraction: 2.54 -- name: Coverage in 2015, the first modeled year, uses the coverage year's guideline. - # The year before is not modeled, so the 2015 guideline stands in for the - # 2014 guideline the statute calls for: 30,000 / 11,770 = 2.5488, floored - # to 2.54. +- name: Coverage in 2015 uses the 2014 guideline. + # IRS 2015 Form 8962 line 4 uses 11,670 for one person in the contiguous + # states: floor(30,000 / 11,670 * 100) / 100 = 2.57. + # https://www.irs.gov/pub/irs-prior/i8962--2015.pdf#page=7 period: 2015 input: people: @@ -39,7 +39,7 @@ members: [person1] state_code: TX output: - aca_magi_fraction: 2.54 + aca_magi_fraction: 2.57 - name: Coverage in 2026 in Alaska uses Alaska's 2025 guideline. # 30,000 / 19,550 = 1.5345, floored to 1.53. The contiguous states' diff --git a/policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc.yaml b/policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc.yaml index a58bf0d86ba..71b5b53d89c 100644 --- a/policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc.yaml +++ b/policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc.yaml @@ -10,18 +10,6 @@ output: aca_ptc: 200 # 1200 - 0.04 * 25000 = 200 -- name: ACA PTC remains zero before available rating-area premium data - absolute_error_margin: 0.01 - period: 2017 - input: - is_aca_ptc_eligible: true - slcsp: 1_200 - aca_magi: 25_000 - aca_required_contribution_percentage: 0.04 - tax_unit_is_filer: true - output: - aca_ptc: 0 - - name: ACA PTC calculated for 2025 absolute_error_margin: 0.01 period: 2025 @@ -203,9 +191,9 @@ is_aca_ptc_eligible: [true] aca_ptc: 200 -- name: ACA PTC remains zero in 2017 before available rating-area premium data +- name: ACA PTC remains zero in 2013 before coverage began absolute_error_margin: 0.01 - period: 2017 + period: 2013 input: is_aca_ptc_eligible: true slcsp: 1_200 @@ -422,6 +410,409 @@ aca_required_contribution_percentage: 0.0866 aca_ptc: 10_314.94 # 15_000 - 0.0866 * 54_100 = 15_000 - 4_685.06 +- name: ACA PTC uses the 2014 applicable percentage at 250 percent FPL. + absolute_error_margin: 0.01 + period: 2014 + input: + filing_status: SINGLE + is_aca_marketplace_enrollee: true + is_aca_ptc_eligible: true + slcsp: 12_000 + aca_magi: 30_000 + aca_magi_fraction: 2.50 + tax_unit_is_filer: true + output: + aca_required_contribution_percentage: 0.0805 + aca_ptc_before_filing_gate: 9585.0000 # 12,000 - 30,000 * 0.0805 = 9585.0000. + aca_ptc: 9585.0000 + +- name: ACA PTC uses the 2015 applicable percentage at 250 percent FPL. + absolute_error_margin: 0.01 + period: 2015 + input: + is_aca_ptc_eligible: true + slcsp: 12_000 + aca_magi: 30_000 + aca_magi_fraction: 2.50 + tax_unit_is_filer: true + output: + aca_required_contribution_percentage: 0.081 + aca_ptc_before_filing_gate: 9570.000 # 12,000 - 30,000 * 0.081 = 9570.000. + aca_ptc: 9570.000 + +- name: ACA PTC uses the 2016 applicable percentage at 250 percent FPL. + absolute_error_margin: 0.01 + period: 2016 + input: + is_aca_ptc_eligible: true + slcsp: 12_000 + aca_magi: 30_000 + aca_magi_fraction: 2.50 + tax_unit_is_filer: true + output: + aca_required_contribution_percentage: 0.0818 + aca_ptc_before_filing_gate: 9546.0000 # 12,000 - 30,000 * 0.0818 = 9546.0000. + aca_ptc: 9546.0000 + +- name: ACA PTC uses the 2017 applicable percentage at 250 percent FPL. + absolute_error_margin: 0.01 + period: 2017 + input: + is_aca_ptc_eligible: true + slcsp: 12_000 + aca_magi: 30_000 + aca_magi_fraction: 2.50 + tax_unit_is_filer: true + output: + aca_required_contribution_percentage: 0.0821 + aca_ptc_before_filing_gate: 9537.0000 # 12,000 - 30,000 * 0.0821 = 9537.0000. + aca_ptc: 9537.0000 + +- name: ACA PTC interpolates the 2017 percentage at 140 percent FPL. + # 0.0306 + (1.40 - 1.33) / (1.50 - 1.33) * (0.0408 - 0.0306) = 0.0348. + absolute_error_margin: 0.01 + period: 2017 + input: + is_aca_ptc_eligible: true + slcsp: 12_000 + aca_magi: 16_800 + aca_magi_fraction: 1.40 + tax_unit_is_filer: true + output: + aca_required_contribution_percentage: 0.0348 + aca_ptc_before_filing_gate: 11_415.36 # 12,000 - 16,800 * 0.0348. + aca_ptc: 11_415.36 + +- name: ACA PTC requires filing in 2017. + absolute_error_margin: 0.01 + period: 2017 + input: + is_aca_ptc_eligible: true + slcsp: 12_000 + aca_magi: 30_000 + aca_magi_fraction: 2.50 + tax_unit_is_filer: false + takes_up_aca_if_eligible: false + output: + aca_ptc_before_filing_gate: 9_537 # 12,000 - 30,000 * 0.0821. + aca_ptc: 0 + +- name: ACA PTC floors at zero when the 2016 contribution exceeds the premium. + absolute_error_margin: 0.01 + period: 2016 + input: + is_aca_ptc_eligible: true + slcsp: 2_000 + aca_magi: 30_000 + aca_magi_fraction: 2.50 + tax_unit_is_filer: true + output: + aca_ptc_before_filing_gate: 0 # 2,000 - 30,000 * 0.0818 = -454. + aca_ptc: 0 + +- name: An Alaska adult receives the 2014 credit using the prior guideline and estimated benchmark. + period: 2014 + absolute_error_margin: 0.02 + input: + people: + adult: + age: 40 + pays_aca_premium: true + is_aca_marketplace_enrollee: true + tax_units: + unit: + members: [adult] + aca_magi: 35875.0 + aca_ptc_below_fpl_immigration_exception: false + filing_status: SINGLE + tax_unit_is_filer: true + households: + household: + members: [adult] + state_code: + 2013: AK + 2014: AK + slcsp_rating_area: 1 + output: + # MAGI = 2.5 * 14350; benchmark = 424 * 273 / 481 * 1.6706 * 12. + # Credit = 4824.331589 - 35875.0 * 0.0805 = 1936.394089. + aca_magi_fraction: 2.5 + slcsp: 4824.331589 + is_aca_ptc_eligible: true + aca_ptc: 1936.394089 + +- name: An Alaska adult receives the 2015 credit using the prior guideline and estimated benchmark. + period: 2015 + absolute_error_margin: 0.02 + input: + people: + adult: + age: 40 + pays_aca_premium: true + tax_units: + unit: + members: [adult] + aca_magi: 36450.0 + aca_ptc_below_fpl_immigration_exception: false + filing_status: SINGLE + tax_unit_is_filer: true + households: + household: + members: [adult] + state_code: + 2014: AK + 2015: AK + slcsp_rating_area: 1 + output: + # MAGI = 2.5 * 14580; benchmark = 424 * 276 / 481 * 1.6706 * 12. + # Credit = 4877.346222 - 36450.0 * 0.081 = 1924.896222. + aca_magi_fraction: 2.5 + slcsp: 4877.346222 + is_aca_ptc_eligible: true + aca_ptc: 1924.896222 + +- name: An Alaska adult receives the 2016 credit using the prior guideline and estimated benchmark. + period: 2016 + absolute_error_margin: 0.02 + input: + people: + adult: + age: 40 + pays_aca_premium: true + tax_units: + unit: + members: [adult] + aca_magi: 36800.0 + aca_ptc_below_fpl_immigration_exception: false + filing_status: SINGLE + tax_unit_is_filer: true + households: + household: + members: [adult] + state_code: + 2015: AK + 2016: AK + slcsp_rating_area: 1 + output: + # MAGI = 2.5 * 14720; benchmark = 424 * 299 / 481 * 1.6706 * 12. + # Credit = 5283.791741 - 36800.0 * 0.0818 = 2273.551741. + aca_magi_fraction: 2.5 + slcsp: 5283.791741 + is_aca_ptc_eligible: true + aca_ptc: 2273.551741 + +- name: An Alaska adult receives the 2017 credit using the prior guideline and estimated benchmark. + period: 2017 + absolute_error_margin: 0.02 + input: + people: + adult: + age: 40 + pays_aca_premium: true + tax_units: + unit: + members: [adult] + aca_magi: 37100.0 + aca_ptc_below_fpl_immigration_exception: false + filing_status: SINGLE + tax_unit_is_filer: true + households: + household: + members: [adult] + state_code: + 2016: AK + 2017: AK + slcsp_rating_area: 1 + output: + # MAGI = 2.5 * 14840; benchmark = 424 * 359 / 481 * 1.6706 * 12. + # Credit = 6344.084398 - 37100.0 * 0.0821 = 3298.174398. + aca_magi_fraction: 2.5 + slcsp: 6344.084398 + is_aca_ptc_eligible: true + aca_ptc: 3298.174398 + +- name: An Alaska adult who supplies only 2016 residence receives the 2016 credit on Alaska's poverty line. + period: 2016 + absolute_error_margin: 0.02 + input: + people: + adult: + age: 40 + pays_aca_premium: true + tax_units: + unit: + members: [adult] + aca_magi: 36800.0 + aca_ptc_below_fpl_immigration_exception: false + filing_status: SINGLE + tax_unit_is_filer: true + households: + household: + members: [adult] + state_code: AK + slcsp_rating_area: 1 + output: + # IRS 2016 Form 8962 line 4 uses 2016 residence and the 2015 table: + # Alaska, one person = 14,720 (Table 1-2). + # https://www.irs.gov/pub/irs-prior/i8962--2016.pdf#page=6 + # Line 5: floor(36,800 / 14,720 * 100) / 100 = 2.50, so the rate is 8.18%. + # Benchmark = 424 * 299 / 481 * 1.6706 * 12 = 5,283.791741. + # Credit = 5,283.791741 - 36,800 * 0.0818 = 5,283.791741 - 3,010.24 + # = 2,273.551741. + aca_fpg: 14_720 + aca_magi_fraction: 2.5 + slcsp: 5283.791741 + is_aca_ptc_eligible: true + aca_ptc: 2273.551741 + +- name: An Alaska adult who supplies only 2017 residence receives the 2017 credit on Alaska's poverty line. + period: 2017 + absolute_error_margin: 0.02 + input: + people: + adult: + age: 40 + pays_aca_premium: true + tax_units: + unit: + members: [adult] + aca_magi: 37100.0 + aca_ptc_below_fpl_immigration_exception: false + filing_status: SINGLE + tax_unit_is_filer: true + households: + household: + members: [adult] + state_code: AK + slcsp_rating_area: 1 + output: + # IRS 2017 Form 8962 line 4 uses 2017 residence and the 2016 table: + # Alaska, one person = 14,840 (Table 1-2). + # https://www.irs.gov/pub/irs-prior/i8962--2017.pdf#page=7 + # Line 5: floor(37,100 / 14,840 * 100) / 100 = 2.50, so the rate is 8.21%. + # Benchmark = 424 * 359 / 481 * 1.6706 * 12 = 6,344.084398. + # Credit = 6,344.084398 - 37,100 * 0.0821 = 6,344.084398 - 3,045.91 + # = 3,298.174398. + aca_fpg: 14_840 + aca_magi_fraction: 2.5 + slcsp: 6344.084398 + is_aca_ptc_eligible: true + aca_ptc: 3298.174398 + +- name: Income above 400 percent receives no credit in 2014. + period: 2014 + input: + is_aca_marketplace_enrollee: true + pays_aca_premium: true + aca_magi_fraction: 4.01 + aca_magi: 60_000 + aca_ptc_below_fpl_immigration_exception: false + filing_status: SINGLE + tax_unit_is_filer: true + slcsp: 12_000 + output: + is_aca_ptc_eligible: false + aca_ptc: 0 + +- name: Income above 400 percent receives no credit in 2015. + period: 2015 + input: + pays_aca_premium: true + aca_magi_fraction: 4.01 + aca_magi: 60_000 + aca_ptc_below_fpl_immigration_exception: false + filing_status: SINGLE + tax_unit_is_filer: true + slcsp: 12_000 + output: + is_aca_ptc_eligible: false + aca_ptc: 0 + +- name: Income above 400 percent receives no credit in 2016. + period: 2016 + input: + pays_aca_premium: true + aca_magi_fraction: 4.01 + aca_magi: 60_000 + aca_ptc_below_fpl_immigration_exception: false + filing_status: SINGLE + tax_unit_is_filer: true + slcsp: 12_000 + output: + is_aca_ptc_eligible: false + aca_ptc: 0 + +- name: Income above 400 percent receives no credit in 2017. + period: 2017 + input: + pays_aca_premium: true + aca_magi_fraction: 4.01 + aca_magi: 60_000 + aca_ptc_below_fpl_immigration_exception: false + filing_status: SINGLE + tax_unit_is_filer: true + slcsp: 12_000 + output: + is_aca_ptc_eligible: false + aca_ptc: 0 + +- name: The 2014 credit cannot exceed the benchmark when supplied MAGI is negative + period: 2014 + absolute_error_margin: 0.01 + input: + filing_status: SINGLE + is_aca_marketplace_enrollee: true + is_aca_ptc_eligible: true + slcsp: 12_000 + aca_magi: -1_000 + aca_magi_fraction: 0 + tax_unit_is_filer: true + output: + # Form 8962 line 3 uses zero when the combined MAGI is negative. + aca_ptc_before_filing_gate: 12_000 + aca_ptc: 12_000 + +- name: The 2015 credit cannot exceed the benchmark when supplied MAGI is negative + period: 2015 + absolute_error_margin: 0.01 + input: + is_aca_ptc_eligible: true + slcsp: 12_000 + aca_magi: -1_000 + aca_magi_fraction: 0 + tax_unit_is_filer: true + output: + # Form 8962 line 3 uses zero when the combined MAGI is negative. + aca_ptc_before_filing_gate: 12_000 + aca_ptc: 12_000 + +- name: The 2016 credit cannot exceed the benchmark when supplied MAGI is negative + period: 2016 + absolute_error_margin: 0.01 + input: + is_aca_ptc_eligible: true + slcsp: 12_000 + aca_magi: -1_000 + aca_magi_fraction: 0 + tax_unit_is_filer: true + output: + # Form 8962 line 3 uses zero when the combined MAGI is negative. + aca_ptc_before_filing_gate: 12_000 + aca_ptc: 12_000 + +- name: The 2017 credit cannot exceed the benchmark when supplied MAGI is negative + period: 2017 + absolute_error_margin: 0.01 + input: + is_aca_ptc_eligible: true + slcsp: 12_000 + aca_magi: -1_000 + aca_magi_fraction: 0 + tax_unit_is_filer: true + output: + # Form 8962 line 3 uses zero when the combined MAGI is negative. + aca_ptc_before_filing_gate: 12_000 + aca_ptc: 12_000 - name: "2025 joint return with one claimable spouse: credit for the other spouse's benchmark (the claimable spouse is the head)" period: 2025 absolute_error_margin: 0.01 @@ -1400,3 +1791,79 @@ is_aca_tax_family_member: [true, false] aca_ptc: 6000 is_aca_filer: [true, true] + +- name: "2017 joint return with one claimable spouse: credit for the other spouse's benchmark (the claimable spouse is the head)" + period: 2017 + absolute_error_margin: 0.01 + input: + people: + person_a: + age: 30 + is_medicaid_eligible: false + is_chip_eligible: false + is_aca_eshi_eligible: false + is_medicare_eligible: false + claimable_as_dependent_on_another_return: true + slcsp_age_curve_multiplier: 1 + is_tax_unit_head: true + is_tax_unit_spouse: false + person_b: + age: 30 + is_medicaid_eligible: false + is_chip_eligible: false + is_aca_eshi_eligible: false + is_medicare_eligible: false + slcsp_age_curve_multiplier: 1 + is_tax_unit_head: false + is_tax_unit_spouse: true + tax_units: + tax_unit: + members: [person_a, person_b] + filing_status: JOINT + aca_magi: 17_820 + tax_unit_is_filer: true + households: + household: + members: [person_a, person_b] + state_code: TX + # Annual base: adults cost 6,000 and children cost 3,000. + slcsp_age_0: 6000 + output: + # 150% FPL for one: 17,820 / 11,880 = 1.50. + # Credit = 6,000 - 17,820 * 0.0408 = 5,272.944. + aca_tax_family_size: 1 + aca_ptc_slcsp: 6000 + aca_ptc: 5272.944 + + +- name: ACA PTC calculates the historical 2017 credit before the filing condition + period: 2017 + absolute_error_margin: 0.01 + input: + is_aca_ptc_eligible: true + slcsp: 1_200 + aca_magi: 25_000 + aca_required_contribution_percentage: 0.04 + tax_unit_is_filer: true + output: + # 1,200 - 25,000 * 0.04 = 200 for both credit variables. + aca_ptc_before_filing_gate: 200 + aca_ptc: 200 + +- name: A supplied 2014 benchmark needs no enrollment calculation when everyone is in the tax family + period: 2014 + absolute_error_margin: 0.01 + input: + is_aca_tax_family_member: true + is_aca_ptc_eligible: true + slcsp: 12_000 + aca_magi: 30_000 + aca_magi_fraction: 2.5 + filing_status: SINGLE + tax_unit_is_filer: true + output: + # All possible enrollees belong to the coverage family, so its benchmark + # is the supplied 12,000 (26 CFR 1.36B-3(f)). At 250% FPL in 2014: + # 12,000 - 30,000 * 0.0805 = 9,585. + aca_ptc_slcsp: 12_000 + aca_ptc: 9_585 diff --git a/policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_required_contribution_percentage.yaml b/policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_required_contribution_percentage.yaml index 0516ccdc7c5..d1eede111fe 100644 --- a/policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_required_contribution_percentage.yaml +++ b/policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_required_contribution_percentage.yaml @@ -327,3 +327,99 @@ aca_magi_fraction: 4.01 output: aca_required_contribution_percentage: 0 + +# Each row approaches a table boundary from one whole percentage point below +# and above. Within each tier: initial + (fraction - lower) / (upper - lower) +# * (final - initial). Above 400 percent, the applicable percentage is zero. + +- name: ACA contribution percentages follow the 2014 table on both sides of every boundary. + # 26 U.S.C. 36B(b)(3)(A)(i). + period: 2014 + absolute_error_margin: 0.000001 + input: + aca_magi_fraction: [ + 1.32, 1.33, 1.34, # 133 percent FPL. + 1.49, 1.50, 1.51, # 150 percent FPL. + 1.99, 2.00, 2.01, # 200 percent FPL. + 2.49, 2.50, 2.51, # 250 percent FPL. + 2.99, 3.00, 3.01, # 300 percent FPL. + 3.99, 4.00, 4.01, # 400 percent FPL. + ] + output: + aca_required_contribution_percentage: [ + 0.02, 0.03, 0.0305882353, + 0.0394117647, 0.04, 0.04046, + 0.06254, 0.063, 0.06335, + 0.08015, 0.0805, 0.08079, + 0.09471, 0.095, 0.095, + 0.095, 0.095, 0, + ] + +- name: ACA contribution percentages follow the 2015 table on both sides of every boundary. + # Rev. Proc. 2014-37 section 5.01. + period: 2015 + absolute_error_margin: 0.000001 + input: + aca_magi_fraction: [ + 1.32, 1.33, 1.34, # 133 percent FPL. + 1.49, 1.50, 1.51, # 150 percent FPL. + 1.99, 2.00, 2.01, # 200 percent FPL. + 2.49, 2.50, 2.51, # 250 percent FPL. + 2.99, 3.00, 3.01, # 300 percent FPL. + 3.99, 4.00, 4.01, # 400 percent FPL. + ] + output: + aca_required_contribution_percentage: [ + 0.0201, 0.0302, 0.0307882353, + 0.0396117647, 0.0402, 0.040664, + 0.062936, 0.0634, 0.063752, + 0.080648, 0.081, 0.081292, + 0.095308, 0.0956, 0.0956, + 0.0956, 0.0956, 0, + ] + +- name: ACA contribution percentages follow the 2016 table on both sides of every boundary. + # Rev. Proc. 2014-62 section 2.01. + period: 2016 + absolute_error_margin: 0.000001 + input: + aca_magi_fraction: [ + 1.32, 1.33, 1.34, # 133 percent FPL. + 1.49, 1.50, 1.51, # 150 percent FPL. + 1.99, 2.00, 2.01, # 200 percent FPL. + 2.49, 2.50, 2.51, # 250 percent FPL. + 2.99, 3.00, 3.01, # 300 percent FPL. + 3.99, 4.00, 4.01, # 400 percent FPL. + ] + output: + aca_required_contribution_percentage: [ + 0.0203, 0.0305, 0.0311, + 0.0401, 0.0407, 0.041168, + 0.063632, 0.0641, 0.064454, + 0.081446, 0.0818, 0.082096, + 0.096304, 0.0966, 0.0966, + 0.0966, 0.0966, 0, + ] + +- name: ACA contribution percentages follow the 2017 table on both sides of every boundary. + # Rev. Proc. 2016-24 section 2.01. + period: 2017 + absolute_error_margin: 0.000001 + input: + aca_magi_fraction: [ + 1.32, 1.33, 1.34, # 133 percent FPL. + 1.49, 1.50, 1.51, # 150 percent FPL. + 1.99, 2.00, 2.01, # 200 percent FPL. + 2.49, 2.50, 2.51, # 250 percent FPL. + 2.99, 3.00, 3.01, # 300 percent FPL. + 3.99, 4.00, 4.01, # 400 percent FPL. + ] + output: + aca_required_contribution_percentage: [ + 0.0204, 0.0306, 0.0312, + 0.0402, 0.0408, 0.04127, + 0.06383, 0.0643, 0.064656, + 0.081744, 0.0821, 0.082396, + 0.096604, 0.0969, 0.0969, + 0.0969, 0.0969, 0, + ] diff --git a/policyengine_us/tests/policy/baseline/gov/aca/slcsp/family_tier_applies.yaml b/policyengine_us/tests/policy/baseline/gov/aca/slcsp/family_tier_applies.yaml index 18669857d47..90611127ae3 100644 --- a/policyengine_us/tests/policy/baseline/gov/aca/slcsp/family_tier_applies.yaml +++ b/policyengine_us/tests/policy/baseline/gov/aca/slcsp/family_tier_applies.yaml @@ -13,3 +13,17 @@ state_fips: 6 output: slcsp_family_tier_applies: FALSE + +- name: Marketplace premiums distinguish family tiers from age curves in 2014. + period: 2014-01 + input: + state_code: [TX, NJ, NY, VT] + output: + slcsp_family_tier_applies: [false, false, true, true] + +- name: Marketplace premiums retain their family tier states in 2018. + period: 2018-01 + input: + state_code: [TX, NJ, NY, VT] + output: + slcsp_family_tier_applies: [false, false, true, true] diff --git a/policyengine_us/tests/policy/baseline/gov/aca/slcsp/family_tier_multiplier.yaml b/policyengine_us/tests/policy/baseline/gov/aca/slcsp/family_tier_multiplier.yaml index 48fbb5383cc..26c6d5133cd 100644 --- a/policyengine_us/tests/policy/baseline/gov/aca/slcsp/family_tier_multiplier.yaml +++ b/policyengine_us/tests/policy/baseline/gov/aca/slcsp/family_tier_multiplier.yaml @@ -185,6 +185,107 @@ output: slcsp_family_tier_multiplier: 2.81 +- name: New York prices a parent and child in the first marketplace year. + period: 2014-01 + input: + people: + parent: + monthly_age: 40 + pays_aca_premium: true + child: + monthly_age: 10 + pays_aca_premium: true + tax_units: + tax_unit: + members: [parent, child] + slcsp_family_tier_category: ONE_ADULT_AND_ONE_OR_MORE_CHILDREN + slcsp_family_tier_applies: true + households: + household: + members: [parent, child] + state_code: NY + output: + # NY's 2014 tier factor equals 1.7 for one adult and children. + slcsp_family_tier_multiplier: 1.7 + +- name: Vermont prices parents and a child in the first marketplace year. + period: 2014-01 + input: + people: + parent: + monthly_age: 40 + pays_aca_premium: true + spouse: + monthly_age: 40 + pays_aca_premium: true + child: + monthly_age: 10 + pays_aca_premium: true + tax_units: + tax_unit: + members: [parent, spouse, child] + slcsp_family_tier_category: TWO_ADULTS_AND_ONE_OR_MORE_CHILDREN + slcsp_family_tier_applies: true + households: + household: + members: [parent, spouse, child] + state_code: VT + output: + # Vermont's March 2013 order sets the 2014 family factor at 2.81. + slcsp_family_tier_multiplier: 2.81 + +- name: New York retains its existing Age 29 adjustment from 2015. + period: 2015-01 + input: + people: + parent: + monthly_age: 50 + pays_aca_premium: true + is_aca_family_tier_dependent_child: false + is_aca_ny_age_29_dependent_child: false + child: + monthly_age: 26 + pays_aca_premium: true + is_aca_family_tier_dependent_child: true + is_aca_ny_age_29_dependent_child: true + tax_units: + tax_unit: + members: [parent, child] + slcsp_family_tier_category: ONE_ADULT_AND_ONE_OR_MORE_CHILDREN + slcsp_family_tier_applies: true + households: + household: + members: [parent, child] + state_code: NY + output: + # Preserve the existing calculation: 1.7 * 1.05 = 1.785. + slcsp_family_tier_multiplier: 1.785 + +- name: New York estimates the 2014 premium for an extended dependent with the ordinary child tier. + period: 2014-01 + input: + people: + parent: + monthly_age: 50 + pays_aca_premium: true + is_tax_unit_dependent: false + child: + monthly_age: 26 + pays_aca_premium: true + is_tax_unit_dependent: true + tax_units: + tax_unit: + members: [parent, child] + slcsp_family_tier_applies: true + households: + household: + members: [parent, child] + state_code: NY + output: + # Approximate the 2014 benchmark with the ordinary parent-and-child factor. + is_aca_family_tier_dependent_child: [false, true] + slcsp_family_tier_category: ONE_ADULT_AND_ONE_OR_MORE_CHILDREN + slcsp_family_tier_multiplier: 1.7 - name: A supplied false NY age-29 predicate preserves two-adult pricing with no claimable filer period: 2025 diff --git a/policyengine_us/tests/policy/baseline/gov/aca/slcsp/slcsp_age_0.yaml b/policyengine_us/tests/policy/baseline/gov/aca/slcsp/slcsp_age_0.yaml index 16e2fcfd4c8..63f544a4117 100644 --- a/policyengine_us/tests/policy/baseline/gov/aca/slcsp/slcsp_age_0.yaml +++ b/policyengine_us/tests/policy/baseline/gov/aca/slcsp/slcsp_age_0.yaml @@ -216,3 +216,47 @@ slcsp_rating_area: 19 output: slcsp_age_0: 245 + +- name: Alaska rating area 1 scales the 2018 benchmark back to 2014. + period: 2014-01 + absolute_error_margin: 0.0001 + input: + state_code: AK + slcsp_rating_area: 1 + output: + slcsp_age_0: 240.64864865 # 424 * 273 / 481. + +- name: Alaska rating area 1 scales the 2018 benchmark back to 2015. + period: 2015-01 + absolute_error_margin: 0.0001 + input: + state_code: AK + slcsp_rating_area: 1 + output: + slcsp_age_0: 243.29313929 # 424 * 276 / 481. + +- name: Alaska rating area 1 scales the 2018 benchmark back to 2016. + period: 2016-01 + absolute_error_margin: 0.0001 + input: + state_code: AK + slcsp_rating_area: 1 + output: + slcsp_age_0: 263.56756757 # 424 * 299 / 481. + +- name: Alaska rating area 1 scales the 2018 benchmark back to 2017. + period: 2017-01 + absolute_error_margin: 0.0001 + input: + state_code: AK + slcsp_rating_area: 1 + output: + slcsp_age_0: 316.45738046 # 424 * 359 / 481. + +- name: An unknown rating area yields no benchmark in 2014. + period: 2014-01 + input: + state_code: AK + slcsp_rating_area: 0 + output: + slcsp_age_0: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/aca/slcsp/slcsp_age_curve_multiplier.yaml b/policyengine_us/tests/policy/baseline/gov/aca/slcsp/slcsp_age_curve_multiplier.yaml index 71b067b4491..828f2efe28f 100644 --- a/policyengine_us/tests/policy/baseline/gov/aca/slcsp/slcsp_age_curve_multiplier.yaml +++ b/policyengine_us/tests/policy/baseline/gov/aca/slcsp/slcsp_age_curve_multiplier.yaml @@ -36,3 +36,72 @@ state_code: NY output: slcsp_age_curve_multiplier: 1 + +- name: Children share the federal age curve before 2018. + period: 2017-12 + absolute_error_margin: 0.000001 + input: + monthly_age: [0, 14, 15, 20, 21, 40, 64] + state_code: + 2017: [TX, TX, TX, TX, TX, TX, TX] + output: + # CMS 2013 child ratio / the 2018 base ratio = 0.635 / 0.765. + # Adult multipliers retain the model's 2018 normalization. + slcsp_age_curve_multiplier: [0.8300653595, 0.8300653595, 0.8300653595, 0.8300653595, 1.3072, 1.6706, 3.9216] + +- name: Federal age curves support the first marketplace year. + period: 2014-01 + absolute_error_margin: 0.000001 + input: + monthly_age: [20, 21, 40] + state_code: [TX, TX, TX] + output: + # 0.635 / 0.765 = 0.8300653595 for every child under 21. + slcsp_age_curve_multiplier: [0.8300653595, 1.3072, 1.6706] + +- name: Children move to the revised federal age curve in 2018. + period: 2018-01 + input: + monthly_age: [0, 14, 15, 20, 21, 40, 64] + state_code: [TX, TX, TX, TX, TX, TX, TX] + output: + slcsp_age_curve_multiplier: [1, 1, 1.0889, 1.268, 1.3072, 1.6706, 3.9216] + +- name: New Jersey individual premiums use the federal curve before 2018. + period: 2017-12 + absolute_error_margin: 0.000001 + input: + monthly_age: [0, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65] + state_code: + 2017: [NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ, NJ] + output: + # CMS 2013 Default column: child factor = 0.635 / 0.765. + # Adults retain federal factors / 0.765, rounded to four decimals. + # CMS labels its separate NJ column Small Group in the 2017 table. + slcsp_age_curve_multiplier: [0.8300653595, 0.8300653595, 1.3072, 1.3072, 1.3072, 1.3072, 1.3124, 1.3386, 1.3699, 1.4209, 1.4627, 1.4837, 1.515, 1.5464, 1.566, 1.5869, 1.5974, 1.6078, 1.6183, 1.6288, 1.6497, 1.6706, 1.702, 1.732, 1.7739, 1.8261, 1.8876, 1.9608, 2.0431, 2.1373, 2.2301, 2.3346, 2.4379, 2.5516, 2.6667, 2.7908, 2.915, 3.0497, 3.1856, 3.3307, 3.4026, 3.5477, 3.6732, 3.7556, 3.8588, 3.9216, 3.9216] + +- name: New Jersey individual premiums use the federal curve in 2014. + period: 2014-01 + absolute_error_margin: 0.000001 + input: + monthly_age: [20, 21, 40] + state_code: [NJ, NJ, NJ] + output: + # Default child = 0.635 / 0.765; ages 21 and 40 retain 1.3072 and 1.6706. + slcsp_age_curve_multiplier: [0.8300653595, 1.3072, 1.6706] + +- name: New Jersey individual premiums retain the federal age curve in 2018. + period: 2018-01 + input: + monthly_age: [0, 20, 21, 40, 64] + state_code: [NJ, NJ, NJ, NJ, NJ] + output: + slcsp_age_curve_multiplier: [1, 1.268, 1.3072, 1.6706, 3.9216] + +- name: State age curves retain their historical adult factors. + period: 2014-01 + input: + monthly_age: [40, 40, 40, 40, 40, 40, 40, 40, 40] + state_code: [AL, DC, MA, MN, MS, NY, OR, UT, VT] + output: + slcsp_age_curve_multiplier: [2.0126, 1.4908, 1.8549, 1.436, 2.0126, 1, 2.0126, 1.8651, 1] diff --git a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_ineligible_due_to_work_requirement.yaml b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_ineligible_due_to_work_requirement.yaml index f8f5e23d796..dc7eca0a97b 100644 --- a/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_ineligible_due_to_work_requirement.yaml +++ b/policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_ineligible_due_to_work_requirement.yaml @@ -64,3 +64,12 @@ output: ar_medicaid_work_requirement_eligible: true is_medicaid_ineligible_due_to_work_requirement: false + +- name: Inactive work requirements need no Medicaid category in 2014 + period: 2014 + input: + age: 40 + state_code: TX + output: + # Both applicability flags are false: False OR False = False. + is_medicaid_ineligible_due_to_work_requirement: false diff --git a/policyengine_us/tests/policy/baseline/gov/hhs/tax_unit_fpg.yaml b/policyengine_us/tests/policy/baseline/gov/hhs/tax_unit_fpg.yaml new file mode 100644 index 00000000000..7ec378f6565 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/hhs/tax_unit_fpg.yaml @@ -0,0 +1,107 @@ +- name: HHS 2013 guideline for 1 people in CONTIGUOUS_US + period: 2013 + input: + tax_unit_size: 1 + state_group_str: CONTIGUOUS_US + output: + # 11490 + 4020 * (1 - 1). + tax_unit_fpg: 11490 + +- name: HHS 2013 guideline for 2 people in CONTIGUOUS_US + period: 2013 + input: + tax_unit_size: 2 + state_group_str: CONTIGUOUS_US + output: + # 11490 + 4020 * (2 - 1). + tax_unit_fpg: 15510 + +- name: HHS 2013 guideline for 1 people in AK + period: 2013 + input: + tax_unit_size: 1 + state_group_str: AK + output: + # 14350 + 5030 * (1 - 1). + tax_unit_fpg: 14350 + +- name: HHS 2013 guideline for 2 people in AK + period: 2013 + input: + tax_unit_size: 2 + state_group_str: AK + output: + # 14350 + 5030 * (2 - 1). + tax_unit_fpg: 19380 + +- name: HHS 2013 guideline for 1 people in HI + period: 2013 + input: + tax_unit_size: 1 + state_group_str: HI + output: + # 13230 + 4620 * (1 - 1). + tax_unit_fpg: 13230 + +- name: HHS 2013 guideline for 2 people in HI + period: 2013 + input: + tax_unit_size: 2 + state_group_str: HI + output: + # 13230 + 4620 * (2 - 1). + tax_unit_fpg: 17850 + +- name: HHS 2014 guideline for 1 people in CONTIGUOUS_US + period: 2014 + input: + tax_unit_size: 1 + state_group_str: CONTIGUOUS_US + output: + # 11670 + 4060 * (1 - 1). + tax_unit_fpg: 11670 + +- name: HHS 2014 guideline for 2 people in CONTIGUOUS_US + period: 2014 + input: + tax_unit_size: 2 + state_group_str: CONTIGUOUS_US + output: + # 11670 + 4060 * (2 - 1). + tax_unit_fpg: 15730 + +- name: HHS 2014 guideline for 1 people in AK + period: 2014 + input: + tax_unit_size: 1 + state_group_str: AK + output: + # 14580 + 5080 * (1 - 1). + tax_unit_fpg: 14580 + +- name: HHS 2014 guideline for 2 people in AK + period: 2014 + input: + tax_unit_size: 2 + state_group_str: AK + output: + # 14580 + 5080 * (2 - 1). + tax_unit_fpg: 19660 + +- name: HHS 2014 guideline for 1 people in HI + period: 2014 + input: + tax_unit_size: 1 + state_group_str: HI + output: + # 13420 + 4670 * (1 - 1). + tax_unit_fpg: 13420 + +- name: HHS 2014 guideline for 2 people in HI + period: 2014 + input: + tax_unit_size: 2 + state_group_str: HI + output: + # 13420 + 4670 * (2 - 1). + tax_unit_fpg: 18090 diff --git a/policyengine_us/tests/policy/contrib/aca/ptc_minimum_premium.yaml b/policyengine_us/tests/policy/contrib/aca/ptc_minimum_premium.yaml index 7f5c7980c72..0d9240c3aca 100644 --- a/policyengine_us/tests/policy/contrib/aca/ptc_minimum_premium.yaml +++ b/policyengine_us/tests/policy/contrib/aca/ptc_minimum_premium.yaml @@ -199,6 +199,69 @@ used_aca_ptc: 2_940 # min(5,940, 3,000 - 60) marketplace_net_premium: 60 # 3,000 - 2,940 +- name: An inactive minimum premium preserves the historical credit in 2014 + period: 2014 + absolute_error_margin: 0.01 + reforms: policyengine_us.reforms.aca.aca_ptc_minimum_premium.aca_ptc_minimum_premium + input: + filing_status: SINGLE + is_aca_marketplace_enrollee: true + is_aca_ptc_eligible: true + slcsp: 12_000 + selected_marketplace_plan_premium_proxy: 12_000 + aca_magi: 30_000 + aca_magi_fraction: 2.50 + tax_unit_is_filer: true + output: + aca_ptc_minimum_premium: 0 + aca_ptc: 9585.0 # 12,000 - 30,000 * 0.0805. + +- name: An inactive minimum premium preserves the historical credit in 2017 + period: 2017 + absolute_error_margin: 0.01 + reforms: policyengine_us.reforms.aca.aca_ptc_minimum_premium.aca_ptc_minimum_premium + input: + is_aca_ptc_eligible: true + slcsp: 12_000 + selected_marketplace_plan_premium_proxy: 12_000 + aca_magi: 30_000 + aca_magi_fraction: 2.50 + tax_unit_is_filer: true + output: + aca_ptc_minimum_premium: 0 + aca_ptc: 9537.0 # 12,000 - 30,000 * 0.0821. + +- name: The historical minimum-premium path floors supplied negative MAGI in 2014 + period: 2014 + absolute_error_margin: 0.01 + reforms: policyengine_us.reforms.aca.aca_ptc_minimum_premium.aca_ptc_minimum_premium + input: + filing_status: SINGLE + is_aca_marketplace_enrollee: true + is_aca_ptc_eligible: true + slcsp: 12_000 + selected_marketplace_plan_premium_proxy: 12_000 + aca_magi: -1_000 + aca_magi_fraction: 0 + tax_unit_is_filer: true + output: + aca_ptc_minimum_premium: 0 + aca_ptc: 12_000 + +- name: The historical minimum-premium path floors supplied negative MAGI in 2017 + period: 2017 + absolute_error_margin: 0.01 + reforms: policyengine_us.reforms.aca.aca_ptc_minimum_premium.aca_ptc_minimum_premium + input: + is_aca_ptc_eligible: true + slcsp: 12_000 + selected_marketplace_plan_premium_proxy: 13_000 + aca_magi: -1_000 + aca_magi_fraction: 0 + tax_unit_is_filer: true + output: + aca_ptc_minimum_premium: 0 + aca_ptc: 12_000 - name: A claimable spouse's benchmark and premium stay out of the credit # 26 U.S.C. 36B(c)(1)(D): the spouse who can be claimed on another return is # outside the tax family, so the credit uses the other spouse's benchmark. @@ -349,3 +412,148 @@ aca_ptc_coverage_family_premium: 4_000 aca_ptc: 5_940 used_aca_ptc: 3_940 + +- name: A claimable spouse stays outside the historical 2015 benchmark and premium + # 26 U.S.C. 36B(c)(1)(D): the spouse who can be claimed on another return is + # outside the tax family, so the credit uses the other spouse's benchmark. + # 150% of the 2014 poverty guideline for one, 4.02% contribution: + # 6,000 - 0.0402 * 17,505 = 5,296.299, below the enrolled premium less the + # minimum (6,000 - 60), so the minimum does not bind. + period: 2015 + absolute_error_margin: 0.01 + reforms: policyengine_us.reforms.aca.aca_ptc_minimum_premium.aca_ptc_minimum_premium + input: + gov.contrib.aca.minimum_premium.in_effect: true + people: + person_a: + age: 30 + is_medicaid_eligible: false + is_chip_eligible: false + is_aca_eshi_eligible: false + is_medicare_eligible: false + claimable_as_dependent_on_another_return: true + slcsp_age_curve_multiplier: 1 + is_tax_unit_head: true + is_tax_unit_spouse: false + person_b: + age: 30 + is_medicaid_eligible: false + is_chip_eligible: false + is_aca_eshi_eligible: false + is_medicare_eligible: false + slcsp_age_curve_multiplier: 1 + is_tax_unit_head: false + is_tax_unit_spouse: true + tax_units: + tax_unit: + members: [person_a, person_b] + filing_status: JOINT + aca_magi: 17_505 + tax_unit_is_filer: true + households: + household: + members: [person_a, person_b] + state_code: TX + # Annual base: adults cost 6,000. + slcsp_age_0: 6000 + output: + aca_tax_family_size: 1 + aca_ptc_slcsp: 6_000 + aca_ptc_minimum_premium: 60 + aca_ptc: 5_296.299 + # The whole policy costs 12,000; the coverage family's share is + # 6,000 / (6,000 + 6,000), so 6,000, and the credit fits under 6,000 - 60. + aca_ptc_coverage_family_premium: 6_000 + used_aca_ptc: 5_296.299 + +- name: A claimable spouse stays outside the historical 2017 minimum-premium cap + # The household above with no required contribution. The credit is capped + # at the coverage family's enrolled premium less the minimum: + # 6,000 - 60 = 5,940. The whole policy's premium (12,000) would give 6,000. + period: 2017 + absolute_error_margin: 0.01 + reforms: policyengine_us.reforms.aca.aca_ptc_minimum_premium.aca_ptc_minimum_premium + input: + gov.contrib.aca.minimum_premium.in_effect: true + people: + person_a: + age: 30 + is_medicaid_eligible: false + is_chip_eligible: false + is_aca_eshi_eligible: false + is_medicare_eligible: false + claimable_as_dependent_on_another_return: true + slcsp_age_curve_multiplier: 1 + is_tax_unit_head: true + is_tax_unit_spouse: false + person_b: + age: 30 + is_medicaid_eligible: false + is_chip_eligible: false + is_aca_eshi_eligible: false + is_medicare_eligible: false + slcsp_age_curve_multiplier: 1 + is_tax_unit_head: false + is_tax_unit_spouse: true + tax_units: + tax_unit: + members: [person_a, person_b] + filing_status: JOINT + aca_magi: 23_475 + aca_required_contribution_percentage: 0 + tax_unit_is_filer: true + households: + household: + members: [person_a, person_b] + state_code: TX + slcsp_age_0: 6000 + output: + aca_tax_family_size: 1 + aca_ptc_slcsp: 6_000 + aca_ptc_coverage_family_premium: 6_000 + aca_ptc: 5_940 + used_aca_ptc: 5_940 + +- name: A claimable spouse stays outside the historical 2014 benchmark + period: 2014 + absolute_error_margin: 0.01 + reforms: policyengine_us.reforms.aca.aca_ptc_minimum_premium.aca_ptc_minimum_premium + input: + people: + person_a: + age: 30 + is_aca_marketplace_enrollee: true + is_aca_ptc_eligible: false + is_aca_tax_family_member: false + claimable_as_dependent_on_another_return: true + slcsp_age_curve_multiplier: 1 + is_tax_unit_head: true + is_tax_unit_spouse: false + person_b: + age: 30 + is_aca_marketplace_enrollee: true + is_aca_ptc_eligible: true + is_aca_tax_family_member: true + slcsp_age_curve_multiplier: 1 + is_tax_unit_head: false + is_tax_unit_spouse: true + tax_units: + tax_unit: + members: [person_a, person_b] + filing_status: JOINT + aca_magi: 17_235 + aca_magi_fraction: 1.5 + tax_unit_is_filer: true + households: + household: + members: [person_a, person_b] + state_code: TX + slcsp_age_0: 6_000 + output: + # 26 CFR 1.36B-3(f): price the one-person coverage family separately. + # 2014 statutory rate at 150% FPL = 4%; 17,235 * 0.04 = 689.4. + # Credit = 6,000 - 689.4 = 5,310.6; the minimum remains inactive. + # https://www.govinfo.gov/content/pkg/CFR-2014-title26-vol1/pdf/CFR-2014-title26-vol1-sec1-36B-3.pdf#page=2 + aca_ptc_slcsp: 6_000 + aca_ptc_minimum_premium: 0 + aca_ptc: 5_310.6 diff --git a/policyengine_us/tests/test_programs_registry.py b/policyengine_us/tests/test_programs_registry.py index 593b481391f..499184d6195 100644 --- a/policyengine_us/tests/test_programs_registry.py +++ b/policyengine_us/tests/test_programs_registry.py @@ -146,3 +146,9 @@ def test_known_unresolved_references_are_still_unresolved(system): "These KNOWN_UNRESOLVED keys now resolve or no longer exist; " f"delete them: {stale}" ) + + +def test_aca_historical_estimates_do_not_extend_verified_coverage(): + # Historical premium estimates and supplied 2014 inputs do not verify + # ordinary household calculations for those years. + assert ENTRIES_BY_LABEL["aca_subsidies"]["verified_start_year"] == 2024 diff --git a/policyengine_us/variables/gov/aca/eligibility/aca_fpg.py b/policyengine_us/variables/gov/aca/eligibility/aca_fpg.py index dbb1b89095c..a08c56d3ead 100644 --- a/policyengine_us/variables/gov/aca/eligibility/aca_fpg.py +++ b/policyengine_us/variables/gov/aca/eligibility/aca_fpg.py @@ -1,7 +1,12 @@ from policyengine_us.model_api import * -from policyengine_us.tools.parameters import FIRST_MODELED_YEAR from policyengine_us.variables.gov.hhs.tax_unit_fpg import fpg +FIRST_PTC_GUIDELINE_YEAR = 2013 +# The names state_group_str gives Guam, Puerto Rico and the Virgin Islands, +# and the 48 contiguous states with the District of Columbia. +STATE_GROUPS_WITHOUT_GUIDELINE = ["GU", "PR", "VI"] +CONTIGUOUS_STATE_GROUP = "CONTIGUOUS_US" + class aca_fpg(Variable): value_type = float @@ -11,42 +16,62 @@ class aca_fpg(Variable): definition_period = YEAR reference = ( "https://www.law.cornell.edu/uscode/text/26/36B#d_3", + "https://www.govinfo.gov/content/pkg/USCODE-2014-title26/pdf/USCODE-2014-title26-subtitleA-chap1-subchapA-partIV-subpartC-sec36B.pdf#page=4", + "https://www.irs.gov/pub/irs-prior/i8962--2014.pdf#page=6", + "https://www.irs.gov/pub/irs-prior/i8962--2015.pdf#page=7", + "https://www.irs.gov/pub/irs-prior/i8962--2016.pdf#page=6", + "https://www.irs.gov/pub/irs-prior/i8962--2017.pdf#page=6", # Line 1 (tax family size) and line 4 (poverty line for the state of # residence). "https://www.irs.gov/pub/irs-prior/i8962--2025.pdf#page=8", "https://www.law.cornell.edu/cfr/text/26/1.36B-1#h", + # HHS defines no guideline for Puerto Rico or other outlying + # jurisdictions (78 FR 5183, 79 FR 3594). + "https://www.govinfo.gov/content/pkg/FR-2013-01-24/pdf/2013-01422.pdf#page=2", + "https://www.govinfo.gov/content/pkg/FR-2014-01-22/pdf/2014-01303.pdf#page=2", ) documentation = ( "Form 8962 line 4: the prior year's poverty guideline for the tax " "year's tax family size on line 1 (aca_tax_family_size) and the tax " - "year's state of residence. The former lookup, tax_unit_fpg for the " - "prior year, also took the household size and state from the prior " - "year; both now come from the tax year, as lines 1 and 4 require. " - "A return on which every head and spouse can be claimed " + "year's state of residence. The 2013 guidelines support coverage " + "from 2014. A return on which every head and spouse can be claimed " "elsewhere has no tax family and no applicable taxpayer; as a " "numerical convention, not a legal rule, it keeps the guideline for " - "the whole tax unit, so readers that are not about the credit see " - "the same value as before. For the first modeled year, the year " - "before precedes the model, so the tax year's guideline stands in." + "the whole tax unit. The credit starts in 2014; for an earlier tax " + "year the formula applies no lag and reads the guideline parameter " + "at the tax year's own date. HHS defines no guideline for Guam, " + "Puerto Rico or the Virgin Islands, so the formula returns zero for " + "a household there in every year." ) def formula(tax_unit, period, parameters): family_size = tax_unit("aca_tax_family_size", period) size = where(family_size > 0, family_size, tax_unit("tax_unit_size", period)) - # The guideline year lags the tax year (26 U.S.C. 36B(d)(3)(B)). For - # the first modeled year, the year before precedes the model, so the - # tax year's guideline stands in and nothing is computed for an - # unmodeled year. For that one year the line uses a later guideline - # than 36B(d)(3)(B) calls for. + # The guideline year lags the tax year (26 U.S.C. 36B(d)(3)(B)). The + # lagged lookup reads a parameter date only, so it reaches the 2013 + # and 2014 guidelines without lowering the wider model's floor. The + # credit starts in 2014, and an earlier tax year takes no lag. guideline_period = period.last_year - if guideline_period.start.year < FIRST_MODELED_YEAR: + if guideline_period.start.year < FIRST_PTC_GUIDELINE_YEAR: guideline_period = period # Only the guideline lags. The state is the tax year's: line 4 uses # the guideline for "your state of residence" in the tax year, so - # Alaska and Hawaii households use their own guidelines. 26 CFR + # Alaska and Hawaii households use their own guidelines. A household + # need not supply geography for the year before. 26 CFR # 1.36B-1(h) applies the higher guideline when the residence moves # into or out of Alaska or Hawaii during the year, or spouses live in # different states; the model has one household state a year and # uses the first member's household. state_group = tax_unit.household("state_group_str", period) - return fpg(size, state_group, guideline_period, parameters) + # HHS defines no guideline for Guam, Puerto Rico or the Virgin + # Islands, so this formula returns zero for them in every year. + # gov.hhs.fpg holds zero placeholders for them, which the model + # backdates only to 2015, so a lookup on their own geography raises + # an error at the 2013 and 2014 dates that 2014 and 2015 coverage + # reads. Selecting zero after that lookup would still raise it. Look + # those households up under the contiguous geography, which has a + # value at every guideline date, then return zero for them. + has_no_guideline = np.isin(state_group, STATE_GROUPS_WITHOUT_GUIDELINE) + lookup_group = where(has_no_guideline, CONTIGUOUS_STATE_GROUP, state_group) + guideline = fpg(size, lookup_group, guideline_period, parameters) + return where(has_no_guideline, 0, guideline) diff --git a/policyengine_us/variables/gov/aca/ptc/aca_ptc.py b/policyengine_us/variables/gov/aca/ptc/aca_ptc.py index 5e044bca7b4..44197101a18 100644 --- a/policyengine_us/variables/gov/aca/ptc/aca_ptc.py +++ b/policyengine_us/variables/gov/aca/ptc/aca_ptc.py @@ -9,16 +9,16 @@ class aca_ptc(Variable): definition_period = YEAR reference = "https://www.law.cornell.edu/uscode/text/26/36B" documentation = ( - "IRC section 36B applies before 2018, but PolicyEngine applies the " - "ACA PTC formula from 2018 onward because rating-area SLCSP premium " - "data currently begins in 2018." + "The premium tax credit from 2014 onward, subject to filing a return. " + "For 2014 through 2017, benchmark premiums use 2018 rating-area " + "premiums scaled by the national benchmark premium index." ) defined_for = "is_aca_ptc_eligible" def formula(tax_unit, period, parameters): return 0 - def formula_2018(tax_unit, period, parameters): + def formula_2014(tax_unit, period, parameters): # IRC § 36B(a) conditions the PTC on filing a return (Form 8962), so # a tax unit that neither files nor takes up the credit receives $0. # Taking up the credit means filing to claim or reconcile it. diff --git a/policyengine_us/variables/gov/aca/ptc/aca_ptc_before_filing_gate.py b/policyengine_us/variables/gov/aca/ptc/aca_ptc_before_filing_gate.py index a7753172f2e..ccc447aa99a 100644 --- a/policyengine_us/variables/gov/aca/ptc/aca_ptc_before_filing_gate.py +++ b/policyengine_us/variables/gov/aca/ptc/aca_ptc_before_filing_gate.py @@ -7,17 +7,33 @@ class aca_ptc_before_filing_gate(Variable): label = "ACA premium tax credit before the filing condition" unit = USD definition_period = YEAR - reference = "https://www.law.cornell.edu/uscode/text/26/36B#b" + reference = ( + "https://www.law.cornell.edu/uscode/text/26/36B#b", + "https://www.irs.gov/pub/irs-prior/i8962--2014.pdf#page=5", + "https://www.irs.gov/pub/irs-prior/i8962--2015.pdf#page=7", + "https://www.irs.gov/pub/irs-prior/i8962--2016.pdf#page=6", + "https://www.irs.gov/pub/irs-prior/i8962--2017.pdf#page=6", + "https://www.irs.gov/pub/irs-prior/i8962--2018.pdf#page=6", + ) documentation = ( "The premium tax credit the tax unit could claim on a return: the " "benchmark premium less the required contribution. aca_ptc is this " - "amount for a tax unit that files a return claiming it." + "amount for a tax unit that files a return claiming it. The IRS instructs " + "filers to enter zero when combined MAGI is negative, including after " + "2017. This variable applies that floor in 2014–2017; correcting the " + "2018+ negative-input calculation needs a separate change." ) defined_for = "is_aca_ptc_eligible" def formula(tax_unit, period, parameters): return 0 + def formula_2014(tax_unit, period, parameters): + plan_cost = tax_unit("aca_ptc_slcsp", period) + income = max_(0, tax_unit("aca_magi", period)) + applicable_figure = tax_unit("aca_required_contribution_percentage", period) + return max_(0, plan_cost - income * applicable_figure) + def formula_2018(tax_unit, period, parameters): # The benchmark for the coverage family (26 CFR 1.36B-3(f)), which # leaves out an enrollee who can be claimed on another return. diff --git a/policyengine_us/variables/gov/aca/slspc/aca_ptc_slcsp.py b/policyengine_us/variables/gov/aca/slspc/aca_ptc_slcsp.py index 94e999c8ab7..81d6184e7c0 100644 --- a/policyengine_us/variables/gov/aca/slspc/aca_ptc_slcsp.py +++ b/policyengine_us/variables/gov/aca/slspc/aca_ptc_slcsp.py @@ -62,9 +62,15 @@ class aca_ptc_slcsp(Variable): def formula(tax_unit, period, parameters): person = tax_unit.members - enrolled = person("is_aca_marketplace_enrollee", period.this_year) member = person("is_aca_tax_family_member", period.this_year) + # Every possible enrollee belongs to the coverage family, so a + # supplied benchmark carries through without deriving enrollment. + if member.all(): + return tax_unit("slcsp", period) + enrolled = person("is_aca_marketplace_enrollee", period.this_year) every_enrollee_covered = ~tax_unit.any(enrolled & ~member) + if every_enrollee_covered.all(): + return tax_unit("slcsp", period) coverage_family_benchmark = benchmark_premium( tax_unit, period, parameters, member, enrolled ) diff --git a/policyengine_us/variables/gov/aca/slspc/slcsp_age_0.py b/policyengine_us/variables/gov/aca/slspc/slcsp_age_0.py index 256dc17df24..2c7e651e507 100644 --- a/policyengine_us/variables/gov/aca/slspc/slcsp_age_0.py +++ b/policyengine_us/variables/gov/aca/slspc/slcsp_age_0.py @@ -7,8 +7,28 @@ class slcsp_age_0(Variable): label = "Second-lowest ACA silver-plan for a person aged 0" unit = USD definition_period = MONTH + documentation = ( + "The benchmark premium in the model's 2018 age-zero normalization. " + "For 2014 through 2017, estimate each rating area's premium from its " + "2018 value times the national benchmark index ratio. Historical " + "age-curve multipliers retain this normalization." + ) + reference = ( + "https://www.kff.org/affordable-care-act/state-indicator/marketplace-average-benchmark-premiums/", + "https://www.kff.org/interactive/subsidy-calculator/", + ) - def formula(household, period, parameters): + def formula_2014(household, period, parameters): + state_code = household("state_code", period) + rating_area = household("slcsp_rating_area", period) + known = rating_area > 0 + safe_rating_area = where(known, rating_area, 1) + base = parameters("2018-01-01").gov.aca + cost = base.state_rating_area_cost[state_code][safe_rating_area] + index = parameters(period).gov.aca.benchmark_premium_uprating + return where(known, cost * index / base.benchmark_premium_uprating, 0) + + def formula_2018(household, period, parameters): # Get state code and rating area state_code = household("state_code", period) rating_area = household("slcsp_rating_area", period) diff --git a/policyengine_us/variables/gov/aca/slspc/slcsp_age_curve_multiplier.py b/policyengine_us/variables/gov/aca/slspc/slcsp_age_curve_multiplier.py index a69d969b28d..3697fe531de 100644 --- a/policyengine_us/variables/gov/aca/slspc/slcsp_age_curve_multiplier.py +++ b/policyengine_us/variables/gov/aca/slspc/slcsp_age_curve_multiplier.py @@ -7,6 +7,13 @@ class slcsp_age_curve_multiplier(Variable): label = "ACA SLCSP age curve multiplier" unit = "/1" definition_period = MONTH + reference = ( + "https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/2017-state-specific-age-curve-variations-8-9-2013.pdf#page=1", + "https://www.cms.gov/cciio/programs-and-initiatives/health-insurance-market-reforms/downloads/statespecagecrv053117.pdf#page=1", + ) + documentation = ( + "Historical federal child factors retain the 2018 premium normalization." + ) def formula(person, period, parameters): state_code = person.household("state_code_str", period) diff --git a/policyengine_us/variables/gov/aca/slspc/slcsp_family_tier_multiplier.py b/policyengine_us/variables/gov/aca/slspc/slcsp_family_tier_multiplier.py index 28a4b8c7645..37287037f62 100644 --- a/policyengine_us/variables/gov/aca/slspc/slcsp_family_tier_multiplier.py +++ b/policyengine_us/variables/gov/aca/slspc/slcsp_family_tier_multiplier.py @@ -54,12 +54,16 @@ def family_tier_multiplier(tax_unit, period, parameters, family_category, enroll ) adult_count = tax_unit.sum(enrolled & ~dependent_child) extra_adults = max_(adult_count - 2, 0) - age_29_child = enrolled & person("is_aca_ny_age_29_dependent_child", period) - age_29_multiplier = where( - tax_unit.any(age_29_child), - parameters(period).gov.aca.ny_age_29_dependent_child_tier_multiplier, - 1, - ) + age_29_multiplier = 1 + # New York's Age 29 factor is first dated 2023, and the model backdates + # it to 2015. No value exists for 2014. + if period.start.year >= 2015: + age_29_child = enrolled & person("is_aca_ny_age_29_dependent_child", period) + age_29_multiplier = where( + tax_unit.any(age_29_child), + parameters(period).gov.aca.ny_age_29_dependent_child_tier_multiplier, + 1, + ) return base_multiplier * age_29_multiplier + extra_adults * one_adult @@ -70,8 +74,15 @@ class slcsp_family_tier_multiplier(Variable): unit = "/1" definition_period = MONTH defined_for = "slcsp_family_tier_applies" + documentation = ( + "For 2014 benchmark estimates, New York extended dependents use the " + "ordinary child tier without an additional premium factor. As a " + "methodology choice, calculations for 2015 through 2022 apply the " + "New York Age 29 factor first dated 2023, which the model backdates " + "to 2015." + ) - def formula(tax_unit, period, parameters): + def formula_2014(tax_unit, period, parameters): family_category = tax_unit("slcsp_family_tier_category", period) enrolled = tax_unit.members("pays_aca_premium", period) return family_tier_multiplier( diff --git a/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_ineligible_due_to_work_requirement.py b/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_ineligible_due_to_work_requirement.py index efdf2d4a24c..47737c51509 100644 --- a/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_ineligible_due_to_work_requirement.py +++ b/policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_ineligible_due_to_work_requirement.py @@ -9,13 +9,17 @@ class is_medicaid_ineligible_due_to_work_requirement(Variable): reference = "https://www.congress.gov/bill/119th-congress/house-bill/1/text" def formula(person, period, parameters): + p = parameters(period).gov.hhs.medicaid.eligibility.work_requirements + ar_p = parameters(period).gov.states.ar.dhs.medicaid.work_requirements + if not p.applies and not ar_p.applies: + return False + category = person("medicaid_category", period) federal_medicaid_eligible = ( category != category.possible_values.NONE ) & person("is_medicaid_immigration_status_eligible", period) federal_barred = False - p = parameters(period).gov.hhs.medicaid.eligibility.work_requirements if p.applies: applicable_adult = person( "is_medicaid_work_requirement_applicable_adult", period @@ -30,7 +34,6 @@ def formula(person, period, parameters): ) ar_barred = False - ar_p = parameters(period).gov.states.ar.dhs.medicaid.work_requirements if ar_p.applies: in_ar = person.household("state_code_str", period) == "AR" ar_barred = (