Import('*')

TABLES_CODE = '#source/analysis/tables/appendix'
TABLES_OUTPUT = '#source/tables'
MODEL_DATA = '#datastore/derived/model'

target = [f'{TABLES_OUTPUT}/table_D1_dynamic_model_parameters.tex']
source = [f'{TABLES_CODE}/01_table_D1_dynamic_model_parameters.py',
          f'{MODEL_DATA}/dynamic_model/parameters/baseline_calibration.json']
env.Python(target, source)

target = [f'{TABLES_OUTPUT}/table_E2_other_countries_disaster_model.tex']
source = [f'{TABLES_CODE}/02_table_E2_other_countries_disaster_model.py',
          f'{MODEL_DATA}/disaster_model/table_E2_panel_a.json',
          f'{MODEL_DATA}/disaster_model/table_E2_panel_b.json',
          f'{MODEL_DATA}/disaster_model/table_E2_panel_c.json']
env.Python(target, source)

target = [f'{TABLES_OUTPUT}/table_E3_other_countries_inflationary_default_model.tex']
source = [f'{TABLES_CODE}/03_table_E3_other_countries_inflationary_default_model.py',
          f'{MODEL_DATA}/inflationary_default_model/table_E3_panel_a.json',
          f'{MODEL_DATA}/inflationary_default_model/table_E3_panel_b.json',
          f'{MODEL_DATA}/inflationary_default_model/table_E3_panel_c.json']
env.Python(target, source)


