Colorado CCAP SMI eligibility should include income equal to 85% SMI

Open Beginner friendly
#8,688 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
python
Domain
backend

Research direction

Start in policyengine_us/variables/gov/states/co/ccap/entry/co_ccap_smi_eligible.py and inspect the existing income comparison and rounding convention. Update the boundary behavior so income equal to 85% of state median income is eligible, then verify the result against the Colorado CCAP rule and Axiom RuleSpec oracle output.

Written by the indexing model from the issue text.

Description

Axiom RuleSpec oracle coverage found a boundary mismatch for Colorado CCAP.

RuleSpec output:
us-co:regulations/8-ccr-1403-1/3.111/h-low-income-eligibility-guidelines#gross_income_within_state_median_income_ceiling

Nearby PolicyEngine target:
co_ccap_smi_eligible

Current PE implementation on main returns monthly_gross_income < income_limit in policyengine_us/variables/gov/states/co/ccap/entry/co_ccap_smi_eligible.py.

The encoded Colorado rule tracks 8 CCR 1403-1 3.111(H)(1), which says gross income must not exceed 85 percent of state median income. That makes equality at the 85% SMI ceiling eligible, so PE should use <= after applying the same rounding convention.

This currently prevents Axiom from wiring the RuleSpec output as a direct PolicyEngine oracle comparison.

Dominant language
Python
Stars
163
Forks
213
Avg merge
2d 16h
Merged PRs (30d)
99

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PolicyEngine/policyengine-us

All issues in PolicyEngine/policyengine-us

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.