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

@@ -20,9 +20,9 @@ class SelectiveTestRunner:
20
20
 
21
21
  # Define regex patterns for matching files to tests
22
22
  self.test_patterns = [
23
- # Rule 1: Match gov folders (excluding states) to their test directories
23
+ # Rule 1: Match gov folders (excluding states and contrib) to their test directories
24
24
  {
25
- "file_pattern": r"policyengine_us/(parameters|variables)/gov/(?!states/)([^/]+)",
25
+ "file_pattern": r"policyengine_us/(parameters|variables)/gov/(?!states/|contrib/)([^/]+)",
26
26
  "test_pattern": r"policyengine_us/tests/policy/baseline/gov/\2",
27
27
  },
28
28
  # Rule 2: Match state-specific changes to state tests
@@ -35,7 +35,12 @@ class SelectiveTestRunner:
35
35
  "file_pattern": r"policyengine_us/(parameters|variables)/gov/local/([^/]+)",
36
36
  "test_pattern": r"policyengine_us/tests/policy/baseline/gov/local/\2",
37
37
  },
38
- # Match reforms to reform tests
38
+ # Match reforms in specific organization folders to their contrib test folders
39
+ {
40
+ "file_pattern": r"policyengine_us/reforms/([^/]+)/",
41
+ "test_pattern": r"policyengine_us/tests/policy/contrib/\1",
42
+ },
43
+ # Match general reforms to reform tests
39
44
  {
40
45
  "file_pattern": r"policyengine_us/reforms/",
41
46
  "test_pattern": r"policyengine_us/tests/policy/reform",
@@ -45,6 +50,11 @@ class SelectiveTestRunner:
45
50
  "file_pattern": r"policyengine_us/parameters/contrib/",
46
51
  "test_pattern": r"policyengine_us/tests/policy/contrib",
47
52
  },
53
+ # Match gov/contrib parameters to their specific contrib subfolder tests
54
+ {
55
+ "file_pattern": r"policyengine_us/parameters/gov/contrib/([^/]+)/",
56
+ "test_pattern": r"policyengine_us/tests/policy/contrib/\1",
57
+ },
48
58
  # Match household variables to household tests
49
59
  {
50
60
  "file_pattern": r"policyengine_us/variables/household/",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.393.0
3
+ Version: 1.394.0
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -3194,7 +3194,7 @@ policyengine_us/reforms/tax_exempt/__init__.py,sha256=v3EbtUk6a2jsi9MrOlyb8ckzPy
3194
3194
  policyengine_us/reforms/tax_exempt/tax_exempt_reform.py,sha256=bkW91XMJ-jd23nhq4-PfWJv0YW2whVn98cQikbq6-Z8,2427
3195
3195
  policyengine_us/reforms/treasury/__init__.py,sha256=406jIbu32B57tUKhVLflWxlXf3S4SWjclVqlEtMeMwg,92
3196
3196
  policyengine_us/reforms/treasury/repeal_dependent_exemptions.py,sha256=-xyMCtUK_dIBn2aAmhPW8pJEZjxcgOZzWKEUSI3w5e8,1354
3197
- policyengine_us/tests/run_selective_tests.py,sha256=kVuz9-CEXL2db8MuFi1J3cHj_Mqx28retvAPX8N3LCY,22571
3197
+ policyengine_us/tests/run_selective_tests.py,sha256=xQiFaJH3z7PCh9IHXyUU9zC2dTT9K75XlFyjCeP_OBo,23139
3198
3198
  policyengine_us/tests/test_batched.py,sha256=K1LN3IIbWIioXWpFXZ6Hlch-BeglV3QPc1zxAbUeP-M,11491
3199
3199
  policyengine_us/tests/code_health/parameters.py,sha256=e9VKC8dmmB_dTafOO90WJuVu-PAogoLAaa5QZd2rY-s,1126
3200
3200
  policyengine_us/tests/code_health/variable_names.py,sha256=hY4ucqPwBD7v_fvnBpzexJDf0yCGpF4Sueff4z4rQ24,554
@@ -8389,8 +8389,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8389
8389
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
8390
8390
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8391
8391
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8392
- policyengine_us-1.393.0.dist-info/METADATA,sha256=eFUdYfJkkDyQm1hVQrg7LwFtjpVaI2cEbuMSLCz42Bg,1649
8393
- policyengine_us-1.393.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8394
- policyengine_us-1.393.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8395
- policyengine_us-1.393.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8396
- policyengine_us-1.393.0.dist-info/RECORD,,
8392
+ policyengine_us-1.394.0.dist-info/METADATA,sha256=EVZPdln7Ib03hUUyGkR58sMTx_HICIMORMTlkvFK9Hk,1649
8393
+ policyengine_us-1.394.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8394
+ policyengine_us-1.394.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8395
+ policyengine_us-1.394.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8396
+ policyengine_us-1.394.0.dist-info/RECORD,,