ALL_YEARS = list(range(1994, 2020))
ALL_YEARS_REG = list(range(1998, 2020))

DATA_PATH = "../legal-networks-data"
US_DATA_PATH = f"{DATA_PATH}/us"
US_TEMP_DATA_PATH = "temp/us"

US_INPUT_PATH = f"{US_DATA_PATH}/1_input"
US_ORIGINAL_PATH = f"{US_TEMP_DATA_PATH}/11_htm"
US_XML_PATH = f"{US_TEMP_DATA_PATH}/12_xml"
US_REFERENCE_AREAS_PATH = f"{US_TEMP_DATA_PATH}/13_reference_areas"
US_REFERENCE_PARSED_PATH = f"{US_DATA_PATH}/2_xml"
US_HIERARCHY_GRAPH_PATH = f"{US_DATA_PATH}/3_hierarchy_graph"
US_CROSSREFERENCE_LOOKUP_PATH = f"{US_TEMP_DATA_PATH}/31_crossreference_lookup"
US_CROSSREFERENCE_EDGELIST_PATH = f"{US_TEMP_DATA_PATH}/32_crossreference_edgelist"
US_CROSSREFERENCE_GRAPH_PATH = f"{US_DATA_PATH}/4_crossreference_graph"
US_SNAPSHOT_MAPPING_INDEX_PATH = f"{US_TEMP_DATA_PATH}/41_snapshot_mapping_index"
US_SNAPSHOT_MAPPING_EDGELIST_PATH = f"{US_DATA_PATH}/5_snapshot_mapping_edgelist"

US_HELPERS_PATH = f"{US_TEMP_DATA_PATH}/helpers"
US_REFERENCE_AREAS_LOG_PATH = f"{US_HELPERS_PATH}/us_extract_reference_areas.log"
US_REFERENCE_PARSED_LOG_PATH = f"{US_HELPERS_PATH}/us_extract_reference_parsed.log"

US_REG_DATA_PATH = f"{DATA_PATH}/us_reg"
US_REG_TEMP_DATA_PATH = "temp/us_reg"

US_REG_INPUT_PATH = f"{US_REG_DATA_PATH}/1_input"
US_REG_INPUT_COPY_LOG_PATH = f"{US_REG_DATA_PATH}/1_input_copy_log.csv"
US_REG_ORIGINAL_PATH = f"{US_REG_TEMP_DATA_PATH}/11_htm"
US_REG_XML_PATH = f"{US_REG_TEMP_DATA_PATH}/12_xml"
US_REG_REFERENCE_AREAS_PATH = f"{US_REG_TEMP_DATA_PATH}/13_reference_areas"
US_REG_REFERENCE_PARSED_PATH = f"{US_REG_DATA_PATH}/2_xml"
US_REG_HIERARCHY_GRAPH_PATH = f"{US_REG_DATA_PATH}/3_hierarchy_graph"
US_REG_CROSSREFERENCE_LOOKUP_PATH = f"{US_REG_TEMP_DATA_PATH}/31_crossreference_lookup"
US_REG_CROSSREFERENCE_EDGELIST_PATH = (
    f"{US_REG_TEMP_DATA_PATH}/32_crossreference_edgelist"
)
US_REG_AUTHORITY_EDGELIST_PATH = f"{US_REG_TEMP_DATA_PATH}/33_authority_edgelist"
US_REG_CROSSREFERENCE_GRAPH_PATH = f"{US_REG_DATA_PATH}/4_crossreference_graph"
US_REG_SNAPSHOT_MAPPING_INDEX_PATH = (
    f"{US_REG_TEMP_DATA_PATH}/41_snapshot_mapping_index"
)
US_REG_SNAPSHOT_MAPPING_EDGELIST_PATH = (
    f"{US_REG_DATA_PATH}/5_snapshot_mapping_edgelist"
)

US_REG_HELPERS_PATH = f"{US_REG_TEMP_DATA_PATH}/helpers"
US_REG_REFERENCE_AREAS_LOG_PATH = (
    f"{US_REG_HELPERS_PATH}/us_extract_reference_areas.log"
)
US_REG_REFERENCE_PARSED_LOG_PATH = (
    f"{US_REG_HELPERS_PATH}/us_extract_reference_parsed.log"
)


DE_DATA_PATH = f"{DATA_PATH}/de"
DE_TEMP_DATA_PATH = "temp/de"

JURIS_EXPORT_PATH = f"{DE_DATA_PATH}/1_juris_gii_xml"
JURIS_EXPORT_GESETZE_LIST_PATH = f"{DE_DATA_PATH}/1_juris_gii_xml_gesetze.txt"
JURIS_EXPORT_RVO_LIST_PATH = f"{DE_DATA_PATH}/1_juris_gii_xml_rvo.txt"

DE_ORIGINAL_PATH = f"{DE_TEMP_DATA_PATH}/11_gii_xml"
DE_XML_PATH = f"{DE_TEMP_DATA_PATH}/12_xml"
DE_LAW_NAMES_PATH = f"{DE_TEMP_DATA_PATH}/12_xml_law_names.csv"
DE_LAW_NAMES_COMPILED_PATH = f"{DE_TEMP_DATA_PATH}/12_xml_law_names_compiled.pickle"
DE_REFERENCE_AREAS_PATH = f"{DE_TEMP_DATA_PATH}/13_reference_areas"
DE_REFERENCE_PARSED_PATH = f"{DE_DATA_PATH}/2_xml"
DE_HIERARCHY_GRAPH_PATH = f"{DE_DATA_PATH}/3_hierarchy_graph"
DE_CROSSREFERENCE_LOOKUP_PATH = f"{DE_TEMP_DATA_PATH}/31_crossreference_lookup"
DE_CROSSREFERENCE_EDGELIST_PATH = f"{DE_TEMP_DATA_PATH}/32_crossreference_edgelist"
DE_CROSSREFERENCE_GRAPH_PATH = f"{DE_DATA_PATH}/4_crossreference_graph"
DE_SNAPSHOT_MAPPING_INDEX_PATH = f"{DE_TEMP_DATA_PATH}/41_snapshot_mapping_index"
DE_SNAPSHOT_MAPPING_EDGELIST_PATH = f"{DE_DATA_PATH}/5_snapshot_mapping_edgelist"

DE_HELPERS_PATH = f"{DE_TEMP_DATA_PATH}/helpers"
DE_REFERENCE_AREAS_LOG_PATH = f"{DE_HELPERS_PATH}/de_extract_reference_areas.log"
DE_REFERENCE_PARSED_LOG_PATH = f"{DE_HELPERS_PATH}/de_extract_reference_parsed.log"

DE_DECISIONS_DATA_PATH = f"{DATA_PATH}/de_decisions"
DE_DECISIONS_TEMP_DATA_PATH = "temp/de_decisions"

DE_DECISIONS_DOWNLOAD_TOC = f"{DE_DECISIONS_TEMP_DATA_PATH}/de_rii_toc.xml"
DE_DECISIONS_DOWNLOAD_ZIP = f"{DE_DECISIONS_DATA_PATH}/0_input"
DE_DECISIONS_DOWNLOAD_XML = f"{DE_DECISIONS_TEMP_DATA_PATH}/00_xml"
DE_DECISIONS_XML = f"{DE_DECISIONS_TEMP_DATA_PATH}/01_xml_cleaned"
DE_DECISIONS_HIERARCHY = f"{DE_DECISIONS_TEMP_DATA_PATH}/02_hierarchy"
DE_DECISIONS_REFERENCE_AREAS = f"{DE_DECISIONS_TEMP_DATA_PATH}/03_reference_areas"
DE_DECISIONS_REFERENCE_PARSED_XML = f"{DE_DECISIONS_DATA_PATH}/1_xml"
DE_DECISIONS_NETWORK = f"{DE_DECISIONS_DATA_PATH}/2_network.gpickle.gz"

DE_REG_DATA_PATH = f"{DATA_PATH}/de_reg"
DE_REG_TEMP_DATA_PATH = "temp/de_reg"

DE_REG_ORIGINAL_PATH = f"{DE_REG_TEMP_DATA_PATH}/11_gii_xml"

DE_REG_DATA_PATH = f"{DATA_PATH}/de_reg"
DE_REG_TEMP_DATA_PATH = "temp/de_reg"

DE_REG_ORIGINAL_PATH = f"{DE_REG_TEMP_DATA_PATH}/11_gii_xml"
DE_REG_XML_PATH = f"{DE_REG_TEMP_DATA_PATH}/12_xml"
DE_REG_LAW_NAMES_COMPILED_PATH = (
    f"{DE_REG_TEMP_DATA_PATH}/12_xml_law_names_compiled.pickle"
)
DE_REG_LAW_NAMES_PATH = f"{DE_REG_TEMP_DATA_PATH}/12_xml_law_names.csv"
DE_REG_REFERENCE_AREAS_PATH = f"{DE_REG_TEMP_DATA_PATH}/13_reference_areas"
DE_REG_REFERENCE_PARSED_PATH = f"{DE_REG_DATA_PATH}/2_xml"
DE_REG_HIERARCHY_GRAPH_PATH = f"{DE_REG_DATA_PATH}/3_hierarchy_graph"
DE_REG_CROSSREFERENCE_LOOKUP_PATH = f"{DE_REG_TEMP_DATA_PATH}/31_crossreference_lookup"
DE_REG_CROSSREFERENCE_EDGELIST_PATH = (
    f"{DE_REG_TEMP_DATA_PATH}/32_crossreference_edgelist"
)
DE_REG_AUTHORITY_EDGELIST_PATH = f"{DE_REG_TEMP_DATA_PATH}/33_authority_edgelist"
DE_REG_CROSSREFERENCE_GRAPH_PATH = f"{DE_REG_DATA_PATH}/4_crossreference_graph"
DE_REG_SNAPSHOT_MAPPING_INDEX_PATH = (
    f"{DE_REG_TEMP_DATA_PATH}/41_snapshot_mapping_index"
)
DE_REG_SNAPSHOT_MAPPING_EDGELIST_PATH = (
    f"{DE_REG_DATA_PATH}/5_snapshot_mapping_edgelist"
)

DE_REG_HELPERS_PATH = f"{DE_REG_TEMP_DATA_PATH}/helpers"
DE_REG_REFERENCE_AREAS_LOG_PATH = (
    f"{DE_REG_HELPERS_PATH}/de_extract_reference_areas.log"
)
DE_REG_REFERENCE_PARSED_LOG_PATH = (
    f"{DE_REG_HELPERS_PATH}/de_extract_reference_parsed.log"
)

ALL_YEARS = list(range(1994, 2020))
ALL_YEARS_REG = list(range(1998, 2020))

DATA_PATH = "../legal-networks-data"
US_DATA_PATH = f"{DATA_PATH}/us"
US_TEMP_DATA_PATH = "temp/us"

US_INPUT_PATH = f"{US_DATA_PATH}/1_input"
US_ORIGINAL_PATH = f"{US_TEMP_DATA_PATH}/11_htm"
US_XML_PATH = f"{US_TEMP_DATA_PATH}/12_xml"
US_REFERENCE_AREAS_PATH = f"{US_TEMP_DATA_PATH}/13_reference_areas"
US_REFERENCE_PARSED_PATH = f"{US_DATA_PATH}/2_xml"
US_HIERARCHY_GRAPH_PATH = f"{US_DATA_PATH}/3_hierarchy_graph"
US_CROSSREFERENCE_LOOKUP_PATH = f"{US_TEMP_DATA_PATH}/31_crossreference_lookup"
US_CROSSREFERENCE_EDGELIST_PATH = f"{US_TEMP_DATA_PATH}/32_crossreference_edgelist"
US_CROSSREFERENCE_GRAPH_PATH = f"{US_DATA_PATH}/4_crossreference_graph"
US_SNAPSHOT_MAPPING_INDEX_PATH = f"{US_TEMP_DATA_PATH}/41_snapshot_mapping_index"
US_SNAPSHOT_MAPPING_EDGELIST_PATH = f"{US_DATA_PATH}/5_snapshot_mapping_edgelist"

US_HELPERS_PATH = f"{US_TEMP_DATA_PATH}/helpers"
US_REFERENCE_AREAS_LOG_PATH = f"{US_HELPERS_PATH}/us_extract_reference_areas.log"
US_REFERENCE_PARSED_LOG_PATH = f"{US_HELPERS_PATH}/us_extract_reference_parsed.log"

US_REG_DATA_PATH = f"{DATA_PATH}/us_reg"
US_REG_TEMP_DATA_PATH = "temp/us_reg"

US_REG_INPUT_PATH = f"{US_REG_DATA_PATH}/1_input"
US_REG_INPUT_COPY_LOG_PATH = f"{US_REG_DATA_PATH}/1_input_copy_log.csv"
US_REG_ORIGINAL_PATH = f"{US_REG_TEMP_DATA_PATH}/11_htm"
US_REG_XML_PATH = f"{US_REG_TEMP_DATA_PATH}/12_xml"
US_REG_REFERENCE_AREAS_PATH = f"{US_REG_TEMP_DATA_PATH}/13_reference_areas"
US_REG_REFERENCE_PARSED_PATH = f"{US_REG_DATA_PATH}/2_xml"
US_REG_HIERARCHY_GRAPH_PATH = f"{US_REG_DATA_PATH}/3_hierarchy_graph"
US_REG_CROSSREFERENCE_LOOKUP_PATH = f"{US_REG_TEMP_DATA_PATH}/31_crossreference_lookup"
US_REG_CROSSREFERENCE_EDGELIST_PATH = (
    f"{US_REG_TEMP_DATA_PATH}/32_crossreference_edgelist"
)
US_REG_AUTHORITY_EDGELIST_PATH = f"{US_REG_TEMP_DATA_PATH}/33_authority_edgelist"
US_REG_CROSSREFERENCE_GRAPH_PATH = f"{US_REG_DATA_PATH}/4_crossreference_graph"
US_REG_SNAPSHOT_MAPPING_INDEX_PATH = (
    f"{US_REG_TEMP_DATA_PATH}/41_snapshot_mapping_index"
)
US_REG_SNAPSHOT_MAPPING_EDGELIST_PATH = (
    f"{US_REG_DATA_PATH}/5_snapshot_mapping_edgelist"
)

US_REG_HELPERS_PATH = f"{US_REG_TEMP_DATA_PATH}/helpers"
US_REG_REFERENCE_AREAS_LOG_PATH = (
    f"{US_REG_HELPERS_PATH}/us_extract_reference_areas.log"
)
US_REG_REFERENCE_PARSED_LOG_PATH = (
    f"{US_REG_HELPERS_PATH}/us_extract_reference_parsed.log"
)


DE_DATA_PATH = f"{DATA_PATH}/de"
DE_TEMP_DATA_PATH = "temp/de"

JURIS_EXPORT_PATH = f"{DE_DATA_PATH}/1_juris_gii_xml"
JURIS_EXPORT_GESETZE_LIST_PATH = f"{DE_DATA_PATH}/1_juris_gii_xml_gesetze.txt"
JURIS_EXPORT_RVO_LIST_PATH = f"{DE_DATA_PATH}/1_juris_gii_xml_rvo.txt"

DE_ORIGINAL_PATH = f"{DE_TEMP_DATA_PATH}/11_gii_xml"
DE_XML_PATH = f"{DE_TEMP_DATA_PATH}/12_xml"
DE_LAW_NAMES_PATH = f"{DE_TEMP_DATA_PATH}/12_xml_law_names.csv"
DE_LAW_NAMES_COMPILED_PATH = f"{DE_TEMP_DATA_PATH}/12_xml_law_names_compiled.pickle"
DE_REFERENCE_AREAS_PATH = f"{DE_TEMP_DATA_PATH}/13_reference_areas"
DE_REFERENCE_PARSED_PATH = f"{DE_DATA_PATH}/2_xml"
DE_HIERARCHY_GRAPH_PATH = f"{DE_DATA_PATH}/3_hierarchy_graph"
DE_CROSSREFERENCE_LOOKUP_PATH = f"{DE_TEMP_DATA_PATH}/31_crossreference_lookup"
DE_CROSSREFERENCE_EDGELIST_PATH = f"{DE_TEMP_DATA_PATH}/32_crossreference_edgelist"
DE_CROSSREFERENCE_GRAPH_PATH = f"{DE_DATA_PATH}/4_crossreference_graph"
DE_SNAPSHOT_MAPPING_INDEX_PATH = f"{DE_TEMP_DATA_PATH}/41_snapshot_mapping_index"
DE_SNAPSHOT_MAPPING_EDGELIST_PATH = f"{DE_DATA_PATH}/5_snapshot_mapping_edgelist"

DE_HELPERS_PATH = f"{DE_TEMP_DATA_PATH}/helpers"
DE_REFERENCE_AREAS_LOG_PATH = f"{DE_HELPERS_PATH}/de_extract_reference_areas.log"
DE_REFERENCE_PARSED_LOG_PATH = f"{DE_HELPERS_PATH}/de_extract_reference_parsed.log"

DE_DECISIONS_DATA_PATH = f"{DATA_PATH}/de_decisions"
DE_DECISIONS_TEMP_DATA_PATH = "temp/de_decisions"

DE_DECISIONS_DOWNLOAD_TOC = f"{DE_DECISIONS_TEMP_DATA_PATH}/de_rii_toc.xml"
DE_DECISIONS_DOWNLOAD_ZIP = f"{DE_DECISIONS_DATA_PATH}/0_input"
DE_DECISIONS_DOWNLOAD_XML = f"{DE_DECISIONS_TEMP_DATA_PATH}/00_xml"
DE_DECISIONS_XML = f"{DE_DECISIONS_TEMP_DATA_PATH}/01_xml_cleaned"
DE_DECISIONS_HIERARCHY = f"{DE_DECISIONS_TEMP_DATA_PATH}/02_hierarchy"
DE_DECISIONS_REFERENCE_AREAS = f"{DE_DECISIONS_TEMP_DATA_PATH}/03_reference_areas"
DE_DECISIONS_REFERENCE_PARSED_XML = f"{DE_DECISIONS_DATA_PATH}/1_xml"
DE_DECISIONS_NETWORK = f"{DE_DECISIONS_DATA_PATH}/2_network.gpickle.gz"

DE_REG_DATA_PATH = f"{DATA_PATH}/de_reg"
DE_REG_TEMP_DATA_PATH = "temp/de_reg"

DE_REG_ORIGINAL_PATH = f"{DE_REG_TEMP_DATA_PATH}/11_gii_xml"

DE_REG_DATA_PATH = f"{DATA_PATH}/de_reg"
DE_REG_TEMP_DATA_PATH = "temp/de_reg"

DE_REG_ORIGINAL_PATH = f"{DE_REG_TEMP_DATA_PATH}/11_gii_xml"
DE_REG_XML_PATH = f"{DE_REG_TEMP_DATA_PATH}/12_xml"
DE_REG_LAW_NAMES_COMPILED_PATH = (
    f"{DE_REG_TEMP_DATA_PATH}/12_xml_law_names_compiled.pickle"
)
DE_REG_LAW_NAMES_PATH = f"{DE_REG_TEMP_DATA_PATH}/12_xml_law_names.csv"
DE_REG_REFERENCE_AREAS_PATH = f"{DE_REG_TEMP_DATA_PATH}/13_reference_areas"
DE_REG_REFERENCE_PARSED_PATH = f"{DE_REG_DATA_PATH}/2_xml"
DE_REG_HIERARCHY_GRAPH_PATH = f"{DE_REG_DATA_PATH}/3_hierarchy_graph"
DE_REG_CROSSREFERENCE_LOOKUP_PATH = f"{DE_REG_TEMP_DATA_PATH}/31_crossreference_lookup"
DE_REG_CROSSREFERENCE_EDGELIST_PATH = (
    f"{DE_REG_TEMP_DATA_PATH}/32_crossreference_edgelist"
)
DE_REG_AUTHORITY_EDGELIST_PATH = f"{DE_REG_TEMP_DATA_PATH}/33_authority_edgelist"
DE_REG_CROSSREFERENCE_GRAPH_PATH = f"{DE_REG_DATA_PATH}/4_crossreference_graph"
DE_REG_SNAPSHOT_MAPPING_INDEX_PATH = (
    f"{DE_REG_TEMP_DATA_PATH}/41_snapshot_mapping_index"
)
DE_REG_SNAPSHOT_MAPPING_EDGELIST_PATH = (
    f"{DE_REG_DATA_PATH}/5_snapshot_mapping_edgelist"
)

DE_REG_HELPERS_PATH = f"{DE_REG_TEMP_DATA_PATH}/helpers"
DE_REG_REFERENCE_AREAS_LOG_PATH = (
    f"{DE_REG_HELPERS_PATH}/de_extract_reference_areas.log"
)
DE_REG_REFERENCE_PARSED_LOG_PATH = (
    f"{DE_REG_HELPERS_PATH}/de_extract_reference_parsed.log"
)
