policyengine-us 1.441.3__py3-none-any.whl → 1.442.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,10 +29,12 @@ class ca_amt_exemption(Variable):
29
29
  reduced_amti_rate = reduced_amti * p_irs.phase_out.rate
30
30
  # Line 6
31
31
  adult_exemption = max_(exemption_max_amount - reduced_amti_rate, 0)
32
- # Eligible children receive an increased exemption amount
32
+ # Eligible children receive an increased exemption amount.
33
+ # This applies when the HEAD of the tax unit is a child dependent.
33
34
  person = tax_unit.members
34
35
  eligible_child = person("is_child_dependent", period)
35
- head_is_eligible_child = tax_unit.any(eligible_child)
36
+ is_head = person("is_tax_unit_head", period)
37
+ head_is_eligible_child = tax_unit.any(eligible_child & is_head)
36
38
  # Line 7
37
39
  exemption_amount_child = p_irs.child.amount
38
40
  # Line 8
@@ -12,6 +12,7 @@ class ca_income_tax(Variable):
12
12
 
13
13
  adds = [
14
14
  "ca_income_tax_before_refundable_credits",
15
+ "ca_amt",
15
16
  "ca_mental_health_services_tax",
16
17
  "ca_use_tax",
17
18
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.441.3
3
+ Version: 1.442.0
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -6469,7 +6469,7 @@ policyengine_us/variables/gov/states/ca/edd/ca_state_disability_insurance.py,sha
6469
6469
  policyengine_us/variables/gov/states/ca/tax/income/ca_additions.py,sha256=M8Jnh0cyHLerQL4GABNZFAAMilGrcaZ6AAyaDhVE2mE,302
6470
6470
  policyengine_us/variables/gov/states/ca/tax/income/ca_agi.py,sha256=49RW-U0tw_3adgPuyEC7DoTMnEyc2zckioSk7XxjLgY,437
6471
6471
  policyengine_us/variables/gov/states/ca/tax/income/ca_agi_subtractions.py,sha256=MPGy9uA1CSA3_nJ7cgw6ALCQgbctKWWBfPYNIuXZxmU,704
6472
- policyengine_us/variables/gov/states/ca/tax/income/ca_income_tax.py,sha256=B1uSmrKKNEFexbhQNbF16ZZryKcY8CnyoWRk_FPPib8,468
6472
+ policyengine_us/variables/gov/states/ca/tax/income/ca_income_tax.py,sha256=PkW2QE1bOc_nYN4o_2aPE8kxYgiTbCbwXiZUihUS2NU,486
6473
6473
  policyengine_us/variables/gov/states/ca/tax/income/ca_income_tax_before_credits.py,sha256=Gwy4_WyT1WgDiddSkSOVdYH1UR2i6fm2mWPUKE0ZuDs,1224
6474
6474
  policyengine_us/variables/gov/states/ca/tax/income/ca_income_tax_before_refundable_credits.py,sha256=4kMqAPD6Cuxg6nEsnrTsD5ATv8XRuDMVCR8TQdUewkU,587
6475
6475
  policyengine_us/variables/gov/states/ca/tax/income/ca_mental_health_services_tax.py,sha256=L84KLGVHfmd0VPkuO0DULK7Dp2KXPot95srQWLKSOoo,580
@@ -6480,7 +6480,7 @@ policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/ca_am
6480
6480
  policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/amti/ca_amti.py,sha256=20JgrVCrmzuytg3sijbGhGT2c_ebgM0h5FCMgYppUlY,1355
6481
6481
  policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/amti/ca_amti_adjustments.py,sha256=dc78cz71b8GgoIm-ozjMNwHlIgOADd8zr5oQM-8MZv4,1010
6482
6482
  policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/amti/ca_pre_exemption_amti.py,sha256=IOsGi4ZEPhH4v-dIy57Nrpy0pSUkfwYHt0kVYTtJWpo,484
6483
- policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py,sha256=4rO6eIDAKQhxxGWGcDXcqyoqZnRwfbVVv042ftEUXOk,1777
6483
+ policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py,sha256=M7b655qiwN2Zi1dTYPoHg7cGMCN6NQC0teuWw3bbQFI,1916
6484
6484
  policyengine_us/variables/gov/states/ca/tax/income/credits/ca_cdcc.py,sha256=X63cMm_Oiiumj_-Fc6hFOxwzQamn3ugI9N5bhYWRBj0,684
6485
6485
  policyengine_us/variables/gov/states/ca/tax/income/credits/ca_cdcc_rate.py,sha256=kY068sQYzeBHVUCITxNJYY9Xl10egovfBHs7Bpno2BA,1425
6486
6486
  policyengine_us/variables/gov/states/ca/tax/income/credits/ca_cdcc_relevant_expenses.py,sha256=c8ak6YIzDGza-slmkvDAqNpCp9ruLZ5leHeJktrgTAk,1238
@@ -8884,8 +8884,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8884
8884
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
8885
8885
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8886
8886
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8887
- policyengine_us-1.441.3.dist-info/METADATA,sha256=aUpkV9FvLQ78qJtmHdSNC4r8EFVFbatpLViXpNvUriw,1649
8888
- policyengine_us-1.441.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8889
- policyengine_us-1.441.3.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8890
- policyengine_us-1.441.3.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8891
- policyengine_us-1.441.3.dist-info/RECORD,,
8887
+ policyengine_us-1.442.0.dist-info/METADATA,sha256=lGbNU3cPagH0RtCmzdV7nN1lOZApDIkHoSw_5QeNy-c,1649
8888
+ policyengine_us-1.442.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8889
+ policyengine_us-1.442.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8890
+ policyengine_us-1.442.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8891
+ policyengine_us-1.442.0.dist-info/RECORD,,