Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- bump: patch
changes:
changed:
- Updated state CTCs list to include Georgia CTC, Maine Dependent Exemption Credit, and corrected Massachusetts credit reference.
- Updated state EITCs list to separate Maryland and Virginia into refundable and non-refundable components.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ values:
- co_family_affordability_credit # Colorado Family Affordability Credit
- ct_child_tax_rebate # Connecticut Child Tax Rebate
- dc_ctc # District of Columbia Child Tax Credit
- ga_ctc # Georgia Child Tax Credit
- id_ctc # Idaho Child Tax Credit
- il_ctc # Illinois Child Tax Credit
# Formerly the Massachusetts Dependent Credit, now the Child and Family Tax Credit
- ma_child_and_family_credit
- ma_child_and_family_credit_or_dependent_care_credit # Massachusetts Child and Family Tax Credit
- md_ctc # Maryland Child Tax Credit
- me_dependent_exemption_credit # Maine Dependent Exemption Credit
- mn_child_and_working_families_credits # Minnesota Child and Working Family Credits
- ne_refundable_ctc # Nebraska Refundable Child Tax Credit
- nj_ctc # New Jersey Child Tax Credit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ values:
- ks_total_eitc # Kansas - combined nonrefundable and refundable components
- la_eitc # Louisiana
- ma_eitc # Massachusetts
- md_eitc # Maryland
- md_non_refundable_eitc # Maryland non-refundable EITC
- md_refundable_eitc # Maryland refundable EITC
- me_eitc # Maine
- mi_eitc # Michigan
- mn_wfc # Minnesota (called "Working Family Credit") repealed in 2023
- mn_child_and_working_families_credits
- mo_wftc # Missouri (called "Working Families Tax Credit")
- mt_eitc # Montana
- ne_eitc # Nebraska
Expand All @@ -27,10 +27,13 @@ values:
- oh_eitc # Ohio
- ok_eitc # Oklahoma
- or_eitc # Oregon
- pa_eitc # Pennsylvania
- ri_eitc # Rhode Island
- sc_eitc # South Carolina
- ut_eitc # Utah
- vt_eitc # Vermont
- va_eitc # Virginia
- va_non_refundable_eitc # Virginia non-refundable EITC
- va_refundable_eitc # Virginia refundable EITC
- wa_working_families_tax_credit # Washington
- wi_earned_income_credit # Wisconsin

Expand Down
11 changes: 11 additions & 0 deletions policyengine_us/tests/run_selective_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ def __init__(self, base_branch: str = "master"):
self.repo_root = Path.cwd()

# Define regex patterns for matching files to tests
# Paths that contain only aggregation lists and should not
# trigger any tests (the Full Suite already covers them).
self.skip_patterns = [
r"policyengine_us/parameters/gov/states/household/",
]

self.test_patterns = [
# Rule 1: Match gov folders (excluding states and contrib) to their test directories
{
Expand Down Expand Up @@ -296,6 +302,11 @@ def map_files_to_tests(self, changed_files: Set[str]) -> Set[str]:
):
continue

# Skip files that are aggregation-only and need no
# selective tests (the Full Suite already covers them).
if any(re.search(sp, file) for sp in self.skip_patterns):
continue

# Check against regex patterns
for pattern in self.test_patterns:
match = re.search(pattern["file_pattern"], file)
Expand Down