policyengine-us 1.417.3__py3-none-any.whl → 1.418.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.

Potentially problematic release.


This version of policyengine-us might be problematic. Click here for more details.

@@ -0,0 +1,13 @@
1
+ description: Harris County RIDES provides transportation services to residents of this age or older.
2
+
3
+ values:
4
+ 2025-01-01: 65
5
+
6
+ metadata:
7
+ unit: year
8
+ period: year
9
+ label: Harris County RIDES age eligibility threshold
10
+ reference:
11
+ # No statutory or regulatory backing found.
12
+ - title: Harris County RIDES Registration Information
13
+ href: https://rides.harriscountytx.gov/Registration/Registration-Information
@@ -0,0 +1,12 @@
1
+ description: Harris County RIDES customers pay this percentage of the total trip cost.
2
+
3
+ values:
4
+ 2019-01-01: 0.4
5
+
6
+ metadata:
7
+ unit: /1
8
+ period: year
9
+ label: Harris County RIDES customer payment rate
10
+ reference:
11
+ - title: Harris County RIDES
12
+ href: https://rides.harriscountytx.gov/
@@ -0,0 +1,27 @@
1
+ - name: Household in Harris County
2
+ period: 2025
3
+ input:
4
+ county_str: HARRIS_COUNTY_TX
5
+ output:
6
+ in_harris_county_tx: true
7
+
8
+ - name: Household in Travis County
9
+ period: 2025
10
+ input:
11
+ county_str: TRAVIS_COUNTY_TX
12
+ output:
13
+ in_harris_county_tx: false
14
+
15
+ - name: Household in Dallas County
16
+ period: 2025
17
+ input:
18
+ county_str: DALLAS_COUNTY_TX
19
+ output:
20
+ in_harris_county_tx: false
21
+
22
+ - name: Household in Bexar County
23
+ period: 2025
24
+ input:
25
+ county_str: BEXAR_COUNTY_TX
26
+ output:
27
+ in_harris_county_tx: false
@@ -0,0 +1,35 @@
1
+ - name: Senior citizen in Harris County is eligible
2
+ period: 2024
3
+ input:
4
+ age: 67
5
+ is_disabled: false
6
+ county_str: HARRIS_COUNTY_TX
7
+ output:
8
+ tx_harris_rides_eligible: true
9
+
10
+ - name: Disabled person under 65 in Harris County is eligible
11
+ period: 2024
12
+ input:
13
+ age: 45
14
+ is_disabled: true
15
+ county_str: HARRIS_COUNTY_TX
16
+ output:
17
+ tx_harris_rides_eligible: true
18
+
19
+ - name: Non-disabled person under 65 in Harris County is not eligible
20
+ period: 2024
21
+ input:
22
+ age: 45
23
+ is_disabled: false
24
+ county_str: HARRIS_COUNTY_TX
25
+ output:
26
+ tx_harris_rides_eligible: false
27
+
28
+ - name: Senior citizen not in Harris County is not eligible
29
+ period: 2024
30
+ input:
31
+ age: 70
32
+ is_disabled: false
33
+ county_str: TRAVIS_COUNTY_TX
34
+ output:
35
+ tx_harris_rides_eligible: false
@@ -0,0 +1,32 @@
1
+ - name: Eligible person receives 60% subsidy on transportation costs
2
+ period: 2025
3
+ input:
4
+ age: 70
5
+ is_disabled: false
6
+ county_str: HARRIS_COUNTY_TX
7
+ pre_subsidy_transportation_expense: 1_000
8
+ output:
9
+ tx_harris_rides_eligible: true
10
+ tx_harris_rides_subsidy: 600
11
+
12
+ - name: Ineligible person receives no subsidy
13
+ period: 2025
14
+ input:
15
+ age: 40
16
+ is_disabled: false
17
+ county_str: HARRIS_COUNTY_TX
18
+ pre_subsidy_transportation_expense: 1_000
19
+ output:
20
+ tx_harris_rides_eligible: false
21
+ tx_harris_rides_subsidy: 0
22
+
23
+ - name: Disabled person receives subsidy based on 40% customer payment rate
24
+ period: 2025
25
+ input:
26
+ age: 35
27
+ is_disabled: true
28
+ county_str: HARRIS_COUNTY_TX
29
+ pre_subsidy_transportation_expense: 500
30
+ output:
31
+ tx_harris_rides_eligible: true
32
+ tx_harris_rides_subsidy: 300 # 60% of $500
@@ -0,0 +1,12 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class in_harris_county_tx(Variable):
5
+ value_type = bool
6
+ entity = Household
7
+ definition_period = YEAR
8
+ label = "Is in Harris County, Texas"
9
+
10
+ def formula(household, period, parameters):
11
+ county = household("county_str", period)
12
+ return county == "HARRIS_COUNTY_TX"
@@ -0,0 +1,22 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_harris_rides_eligible(Variable):
5
+ value_type = bool
6
+ entity = Person
7
+ definition_period = YEAR
8
+ label = "Harris County RIDES eligibility"
9
+ reference = "https://rides.harriscountytx.gov/Registration/Registration-Information"
10
+ defined_for = "in_harris_county_tx"
11
+
12
+ def formula(person, period, parameters):
13
+ p = parameters(period).gov.local.tx.harris.rides
14
+
15
+ # Age eligibility
16
+ age = person("age", period)
17
+ age_eligible = age >= p.age_threshold
18
+
19
+ # Disability eligibility
20
+ has_disability = person("is_disabled", period)
21
+
22
+ return age_eligible | has_disability
@@ -0,0 +1,26 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_harris_rides_subsidy(Variable):
5
+ value_type = float
6
+ entity = Person
7
+ definition_period = YEAR
8
+ label = "Harris County RIDES transportation subsidy"
9
+ reference = "https://rides.harriscountytx.gov/"
10
+ unit = USD
11
+ defined_for = "tx_harris_rides_eligible"
12
+
13
+ def formula(person, period, parameters):
14
+ p = parameters(period).gov.local.tx.harris.rides
15
+
16
+ # Get estimated transportation costs
17
+ # In a real implementation, this would be based on actual trip data
18
+ # For now, we'll use a simplified estimate
19
+ transportation_costs = person(
20
+ "pre_subsidy_transportation_expense", period
21
+ )
22
+
23
+ # RIDES subsidizes 60% of trip costs (customer pays 40%)
24
+ subsidy_rate = 1 - p.customer_payment_rate
25
+
26
+ return transportation_costs * subsidy_rate
@@ -0,0 +1,9 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class pre_subsidy_transportation_expense(Variable):
5
+ value_type = float
6
+ entity = Person
7
+ definition_period = YEAR
8
+ label = "Pre-subsidy transportation expense"
9
+ unit = USD
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.417.3
3
+ Version: 1.418.0
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -891,6 +891,8 @@ policyengine_us/parameters/gov/local/ny/nyc/tax/income/rates/separate.yaml,sha25
891
891
  policyengine_us/parameters/gov/local/ny/nyc/tax/income/rates/single.yaml,sha256=H9HCliDLwJTiPFNlWmAjfAPIUVVGiuJeakXvOtMs32w,1246
892
892
  policyengine_us/parameters/gov/local/ny/nyc/tax/income/rates/surviving_spouse.yaml,sha256=TvW6AOqAerFqgt-7LrretmLKEAdEGmebv3jH6ypWTGM,1569
893
893
  policyengine_us/parameters/gov/local/tax/income/flat_tax_rate.yaml,sha256=VboKHbN4R8vGAX9_g3YAmpUwaO-KDHp4x5DvCwTO17g,1278
894
+ policyengine_us/parameters/gov/local/tx/harris/rides/age_threshold.yaml,sha256=SOJybHGdrOgwsVYpOe5fUoziMxrKQG13iEzQ4nHVxMQ,422
895
+ policyengine_us/parameters/gov/local/tx/harris/rides/customer_payment_rate.yaml,sha256=Gr0bejQkUX697QSxJdVpRPDKxkszfQ_c5Tcduul6xvk,294
894
896
  policyengine_us/parameters/gov/simulation/branch_to_determine_itemization.yaml,sha256=YxgHlQcJGvKrhq4O0EAxioKXnpeg1IzQaLpD74vxHz8,232
895
897
  policyengine_us/parameters/gov/simulation/include_health_benefits_in_net_income.yaml,sha256=1T-bH29cEskXaEiNfX3VYNc1GrVk5MOAbxsGa4x_UVw,161
896
898
  policyengine_us/parameters/gov/simulation/limit_itemized_deductions_to_taxable_income.yaml,sha256=Wm3-L_MN6IUT0rN9vx14fO6xWXUbK70agW3nUrmakAg,162
@@ -3669,6 +3671,9 @@ policyengine_us/tests/policy/baseline/gov/local/ny/nyc/tax/income/credits/school
3669
3671
  policyengine_us/tests/policy/baseline/gov/local/ny/nyc/tax/income/credits/school/nyc_school_tax_credit_rate_reduction_amount.yaml,sha256=vXN4blgqcgWuxoySFdO3umfUemKhQE-OsqBgj4QE7ys,3589
3670
3672
  policyengine_us/tests/policy/baseline/gov/local/ny/nyc/tax/income/credits/school/nyc_school_tax_credit_rate_reduction_amount_eligible.yaml,sha256=b8ROJhMiLImeKT0RAndn62hhl_V0vsV_s_w8ZWShtmk,1876
3671
3673
  policyengine_us/tests/policy/baseline/gov/local/ny/nyc/tax/income/taxable_income/nyc_income_tax_before_credits.yaml,sha256=V4gABskzNtgZ4evwJDYJQLiG3VDA8DwXaXwoIuJFMLQ,594
3674
+ policyengine_us/tests/policy/baseline/gov/local/tx/harris/in_harris_county_tx.yaml,sha256=v22LrkXLIYYpNu0CGWckghdiLpw1lb73QrrKxJtuVCk,532
3675
+ policyengine_us/tests/policy/baseline/gov/local/tx/harris/rides/tx_harris_rides_eligible.yaml,sha256=eOBTzdhMtzwr3QAUURqqpNKgAsk7z9HXl543qD8oqUo,796
3676
+ policyengine_us/tests/policy/baseline/gov/local/tx/harris/rides/tx_harris_rides_subsidy.yaml,sha256=m4V1kGW3ID_znp8EWOLZBX_PqyWhs371OJHZCY1VZq0,852
3672
3677
  policyengine_us/tests/policy/baseline/gov/simulation/labor_supply_response/employment_income_behavioral_response.yaml,sha256=UyVqLHduKDRHuIE-wJS0czNGyEDmTNq2gIiVoW-kEpA,1695
3673
3678
  policyengine_us/tests/policy/baseline/gov/simulation/labor_supply_response/income_elasticity.yaml,sha256=_NCgAPoomWP-Hp563Ih5mBtN7VTywrXmtx0BhFO5r0c,336
3674
3679
  policyengine_us/tests/policy/baseline/gov/simulation/labor_supply_response/labor_supply_behavioral_response.yaml,sha256=FqBkZcYs-EFj-pNtUAtW85ZyGn_riZ3_pH-8DP90ORU,1551
@@ -6033,6 +6038,9 @@ policyengine_us/variables/gov/local/tax/assessed_property_value.py,sha256=JAceoG
6033
6038
  policyengine_us/variables/gov/local/tax/salt_refund_last_year.py,sha256=0uv7JyJL4RwPA66kRk0bvEevPUXXUCry0DYHY6-ElgE,205
6034
6039
  policyengine_us/variables/gov/local/tax/income/local_income_tax.py,sha256=OGwyBWb2F_YQh7vqxU6dHUuCIH4GekpJHtB8JBiqxbY,226
6035
6040
  policyengine_us/variables/gov/local/tax/sales/local_sales_tax.py,sha256=o5SErIHgvX9pNFkv-2WBQtrRnGu248DuNfq6dOUXxIM,382
6041
+ policyengine_us/variables/gov/local/tx/harris/in_harris_county_tx.py,sha256=5FrwP3arR2kUgEQocQDfttbsuDttKEQNnSm6cBm65BA,336
6042
+ policyengine_us/variables/gov/local/tx/harris/rides/tx_harris_rides_eligible.py,sha256=rhjLu1BxOV731OX0favByr-SsXHo8n-Xqexji4zBiCQ,677
6043
+ policyengine_us/variables/gov/local/tx/harris/rides/tx_harris_rides_subsidy.py,sha256=fuMRW0_3Lh0q-9OJi3DyY0l5dJA_4ejj1fbIEl5xLWg,875
6036
6044
  policyengine_us/variables/gov/simulation/capital_gains_responses.py,sha256=Sjie6qu1LQIb5Ktk4iGXuEoHxQ0soSIenameuxHdyX0,5947
6037
6045
  policyengine_us/variables/gov/simulation/labor_supply_response/employment_income_behavioral_response.py,sha256=_gErh7LpoOhZ-_b67cg3qtNgexecofttE4fAw0-htMg,840
6038
6046
  policyengine_us/variables/gov/simulation/labor_supply_response/income_elasticity.py,sha256=QIi7EX2EmvW3S2nYP_6vJ37uU9YEsM249QGhudBoQ7Q,286
@@ -8401,6 +8409,7 @@ policyengine_us/variables/household/expense/person/k12_tuition_and_fees.py,sha25
8401
8409
  policyengine_us/variables/household/expense/person/mortgage_interest.py,sha256=It454ssjrClmN2_EvdDNgK_rQCTDxTHahio3RR227Hs,277
8402
8410
  policyengine_us/variables/household/expense/person/non_deductible_mortgage_interest.py,sha256=w76TDlc1wV7gw9RY-bCZNRq6Nv7dBBMPwnZJ51FJLS8,226
8403
8411
  policyengine_us/variables/household/expense/person/non_mortgage_interest.py,sha256=QYFeIqGHjtevlYkDZEnDX9hKHZekc55-QmyCKZZXtVQ,248
8412
+ policyengine_us/variables/household/expense/person/pre_subsidy_transportation_expense.py,sha256=XngxNTjyfzLltJ0kHRDS7tKOTl2jyzxXG04vdwNDzlQ,230
8404
8413
  policyengine_us/variables/household/expense/person/qualified_adoption_assistance_expense.py,sha256=d6dBhRlybqdl8t7jgrzw8aKV62mReDT6lpKOiyQbVkQ,626
8405
8414
  policyengine_us/variables/household/expense/person/qualified_tuition_expenses.py,sha256=aEExku8gMpt34WqphaO1b-ntI6Z2cH1BWdNUqTuOdq0,214
8406
8415
  policyengine_us/variables/household/expense/person/student_loan_interest.py,sha256=XnpDv5Yn3UOwJdGb5ZntXmlQsrMYlGBiCVKAo0ZLEw8,212
@@ -8615,8 +8624,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8615
8624
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
8616
8625
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8617
8626
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8618
- policyengine_us-1.417.3.dist-info/METADATA,sha256=BvzPivzbxMO-J7USStDjd71WhDyS-h3-dN-IQ1W4_hI,1649
8619
- policyengine_us-1.417.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8620
- policyengine_us-1.417.3.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8621
- policyengine_us-1.417.3.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8622
- policyengine_us-1.417.3.dist-info/RECORD,,
8627
+ policyengine_us-1.418.0.dist-info/METADATA,sha256=E6xSVGdin-Z2QTEBTJWh4z-mjk-wV2UIXxnlXva-ryU,1649
8628
+ policyengine_us-1.418.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8629
+ policyengine_us-1.418.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8630
+ policyengine_us-1.418.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8631
+ policyengine_us-1.418.0.dist-info/RECORD,,