File tree Expand file tree Collapse file tree
policyengine_us_data/datasets/cps Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767 POLICYENGINE_US_DATA_GITHUB_TOKEN : ${{ secrets.POLICYENGINE_US_DATA_GITHUB_TOKEN }}
6868 - name : Build datasets
6969 run : make data
70+ env :
71+ LITE_MODE : true
7072 - name : Run tests
7173 run : pytest
7274 - name : Test documentation builds
7375 run : make documentation
74- - name : Upload ECPS 2024
75- uses : actions/upload-artifact@v4
76- with :
77- name : enhanced_cps_2024.h5
78- path : policyengine_us_data/storage/enhanced_cps_2024.h5
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ copyright: "2024"
44logo : logo.png
55
66execute :
7- execute_notebooks : force
7+ execute_notebooks : off
88
99repository :
1010 url : https://github.com/policyengine/policyengine-us-data
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -85,6 +85,10 @@ def generate(self):
8585 cps_sim = Microsimulation (dataset = self .cps )
8686 puf_sim = Microsimulation (dataset = self .puf )
8787
88+ if os .environ .get ("LITE_MODE" ):
89+ puf_sim .subsample (10_000 )
90+ cps_sim .subsample (10_000 )
91+
8892 INPUTS = [
8993 "age" ,
9094 "is_male" ,
You can’t perform that action at this time.
0 commit comments