Skip to content

[codex] Add Kansas Lifeline supplement#8586

Open
daphnehanse11 wants to merge 3 commits into
PolicyEngine:mainfrom
daphnehanse11:codex/8579-ks-lifeline-supplement
Open

[codex] Add Kansas Lifeline supplement#8586
daphnehanse11 wants to merge 3 commits into
PolicyEngine:mainfrom
daphnehanse11:codex/8579-ks-lifeline-supplement

Conversation

@daphnehanse11
Copy link
Copy Markdown
Collaborator

Summary

  • Adds the Kansas KCC Lifeline supplement parameter for the KUSF phone-service supplement.
  • Adds ks_lifeline_supplement, capped by household phone costs.
  • Integrates the supplement into the federal Lifeline calculation for KS households.

Closes #8579.

Validation

  • uv run --extra dev ruff check policyengine_us/variables/gov/states/ks/kcc/lifeline/ks_lifeline_supplement.py policyengine_us/variables/gov/fcc/lifeline/lifeline.py
  • uv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/gov/states/ks/kcc/lifeline/ks_lifeline_supplement.yaml -c policyengine_us
  • uv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/gov/fcc/lifeline/lifeline.yaml -c policyengine_us

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (fbb907a) to head (30ffbdf).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #8586   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         2    -1     
  Lines           68        40   -28     
  Branches         0         2    +2     
=========================================
- Hits            68        40   -28     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@daphnehanse11 daphnehanse11 force-pushed the codex/8579-ks-lifeline-supplement branch from 01580a8 to ac8db17 Compare June 4, 2026 20:50
@daphnehanse11 daphnehanse11 marked this pull request as ready for review June 5, 2026 14:37
Copy link
Copy Markdown
Collaborator

hua7450 commented Jun 5, 2026

One non-blocking note: the KCC Lifeline page (https://www.kcc.ks.gov/telecommunications/lifeline) says the Kansas portion is phone-only, and also notes that only $5.25 of the federal discount may be applied to voice-only phone plans. That would make the voice-only maximum $13.02/month, not $17.02/month.

Could you add a short code comment near the Kansas supplement logic noting that voice-only federal discount treatment is not modeled because service type is not represented separately?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Kansas Lifeline supplement from KUSF

2 participants