- 5519 unit tests covering all modules (aco, bcda, bls, cms, pfs, rex, bib) - ruff lint + format enforcement across entire codebase (377 files reformatted) - pre-commit hook: ruff check, ruff format, pytest - Woodpecker CI split into ci.yml (quality gate) and deploy.yml (package + images) - ci.yml: lint → test → validate-compose, runs on every push/PR - deploy.yml: build + publish Python package to Gitea PyPI registry, then container image builds, Trivy scans, and registry push (main branch only) - Gitea branch protection on main: requires CI status checks to pass - .gitignore updated for .coverage, dist/, *.egg-info/ - grafana config moved to dev/grafana/ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
65 lines
1.6 KiB
Python
65 lines
1.6 KiB
Python
"""
|
|
Variable: BENE_STATE_CD
|
|
|
|
Label: Beneficiary Residence (SSA) State Code
|
|
|
|
Description
|
|
-----------
|
|
The social security administration (SSA) standard 2-digit state code of a beneficiary's residence.
|
|
|
|
Metadata
|
|
--------
|
|
Short SAS Name: STATE_CD
|
|
Long SAS Name: BENE_STATE_CD
|
|
Type: CHAR
|
|
Length: 2
|
|
Source: SSA/EDB
|
|
|
|
Values
|
|
------
|
|
01 = Alabama 34 = North Carolina
|
|
02 = Alaska 35 = North Dakota
|
|
03 = Arizona 36 = Ohio
|
|
04 = Arkansas 37 = Oklahoma
|
|
05 = California 38 = Oregon
|
|
06 = Colorado 39 = Pennsylvania
|
|
07 = Connecticut 40 = Puerto Rico
|
|
08 = Delaware 41 = Rhode Island
|
|
09 = District of Columbia 42 = South Carolina
|
|
10 = Florida 43 = South Dakota
|
|
11 = Georgia 44 = Tennessee
|
|
12 = Hawaii 45 = Texas
|
|
13 = Idaho 46 = Utah
|
|
14 = Illinois 47 = Vermont
|
|
15 = Indiana 48 = Virgin Islands
|
|
16 = Iowa 49 = Virginia
|
|
17 = Kansas 50 = Washington
|
|
18 = Kentucky 51 = West Virginia
|
|
19 = Louisiana 52 = Wisconsin
|
|
20 = Maine 53 = Wyoming
|
|
21 = Maryland 54 = Africa
|
|
22 = Massachusetts 55 = Asia
|
|
23 = Michigan 56 = Canada and Islands
|
|
24 = Minnesota 57 = Central America and West Indies
|
|
25 = Mississippi 58 = Europe
|
|
26 = Missouri 59 = Mexico
|
|
27 = Montana 60 = Oceania
|
|
28 = Nebraska 61 = Philippines
|
|
29 = Nevada 62 = South America
|
|
30 = New Hampshire 63 = U.S. Possessions
|
|
31 = New Jersey 64 = American Samoa
|
|
32 = New Mexico 65 = Guam
|
|
33 = New York 97 = Northern Marianas
|
|
98 = Guam 99 = Unknown or if county code = 000 then this is
|
|
American Samoa
|
|
|
|
"""
|
|
|
|
name = "BENE_STATE_CD"
|
|
label = "Beneficiary Residence (SSA) State Code"
|
|
short_name = "STATE_CD"
|
|
long_name = "BENE_STATE_CD"
|
|
type = "CHAR"
|
|
length = "2"
|
|
source = "SSA/EDB"
|