File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def education(
8181 ged_or_hs_index = persons ["edu" ].isin ([16 , 17 ])
8282 persons .local .loc [stayed_index & ged_or_hs_index , "edu" ] = 18
8383
84- ### Students in grade 12 move to either 15 or 16 based on weights
84+ ### Students in grade 12 move to either 16 or 17 based on weights
8585 ### Proportion of no diploma to GED students is roughly maintained
8686 twelveth_grade_index = persons ["edu" ] == 15
8787 twelveth_grade_transition = np .random .choice (
@@ -108,7 +108,7 @@ def education(
108108 log_execution_time (start_time , orca .get_injectable ("year" ), "education" )
109109
110110
111- @orca .injectable (name = "edu_highschool_proportion" )
111+ @orca .injectable (name = "edu_highschool_proportion" , cache_scope = "forever" , cache = True )
112112def edu_highschool_proportion (data = "persons.edu" ):
113113 """
114114 Calculate the proportion of students in 11th and 12th grade.
You can’t perform that action at this time.
0 commit comments