forked from IDEMSInternational/parenttext-crisis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
173 lines (171 loc) · 5.63 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
"meta": {
"version": "1.0.0",
"pipeline_version": "1.0.0"
},
"parents": {
"base": {
"location": "https://github.com/IDEMSInternational/parenttext-crisis-base/archive/tags/v1.0.2.zip"
}
},
"flows_outputbasename": "parenttext_all",
"output_split_number": 1,
"sheet_names" : {
"deployment_localised_sheets" : "1tLDsUe-NxOxpxOBuTJmopOnP9dOcmLVHjO2YQxGxe28",
"N_onboarding_data" : "1tC8BcP32nE7Bt5sRKAsfx0_69bfjsslOtvaAjSEaQ1A",
"C_ltp_activities" :"1IwBHNx8zh-xg7Jk5KdcO4VM-FospCj3H3OizYG-kkuw",
"C_modules_all_ages" : "1bQSvjyDCJ-WzvGn-ct9hwWWRlO1arkAJZTdsKO9z2_c",
"N_safeguarding_data" : "1lRez9sBgmhoDHareah7b9VaHXoQIF-6w14Sgub0cTc8",
"N_delivery_data_response" : "1Z396_UL_n-Bw1W5gNxmdE9pN35PI2yrezQS-yXE3muo",
"N_menu_data_response" : "10LlNXD7rQk0vDEBkMve59pVfqBM_KI39dEeIhZgFVVg",
"ab_testing_sheet_ID" : "1i_oqiJYkeoMsYdeFOcKlvvjnNCEdQnZlsm17fgNvK0s",
"eng_edits_sheet_ID" : "1Ab8H_s26EuOiS4nZ6HGADjD4CZw55586LL66fl8tEWI",
"transl_edits_sheet_ID" : "1mLhOShV8jTC6nITO0rPA1t4f6N4PfUUddJR7nRj7vy4"
},
"sources": {
"flow_definitions": {
"parent_sources": [
"base.flow_definitions"
],
"format": "sheets",
"subformat": "google_sheets",
"files_list": [
"N_onboarding_data",
"C_ltp_activities",
"C_modules_all_ages",
"N_safeguarding_data",
"N_delivery_data_response",
"N_menu_data_response",
"deployment_localised_sheets"
]
},
"edits_pretranslation": {
"parent_sources": [
"base.edits_pretranslation"
],
"format": "sheets",
"subformat": "google_sheets"
},
"edits_posttranslation": {
"parent_sources": [
"base.edits_posttranslation"
],
"format": "sheets",
"subformat": "google_sheets",
"files_list": [
"transl_edits_sheet_ID"
]
},
"translation": {
"format": "translation_repo",
"translation_repo": "https://github.com/IDEMSInternational/plh-digital-content",
"folder_within_repo": "translations/parent_text_crisis_global",
"commit_hash": "",
"commit_tag": "",
"languages": [
{"language": "fra", "code": "fr"}
]
},
"expiration_times": {
"format": "json",
"files_dict": {
"special_expiration_file": "./edits/specific_expiration.json"
}
},
"qr_treatment": {
"format": "json",
"files_dict": {
"select_phrases_file": "./edits/select_phrases.json",
"special_words_file": "./edits/special_words.json"
}
},
"safeguarding": {
"format": "safeguarding",
"sources" : [
{
"key": "fra",
"path": "excel_files/safeguarding crisis.xlsx"
}
]
},
"goals_api": {
"format": "sheets",
"subformat": "google_sheets",
"files_list": [
"1TJ1YVSu87ubc5GvGea2hfRh4v234OyJUccQnZ90VUP4"
]
}
},
"steps": [
{
"id": "create_flows",
"type": "create_flows",
"models_module": "models.parenttext_models",
"sources": ["flow_definitions"],
"tags": []
},
{
"id": "update_expiration_times",
"type": "update_expiration_times",
"sources": ["expiration_times"],
"default_expiration_time": 1440
},
{
"id": "edits_pretranslation",
"type": "edits",
"sources": ["edits_pretranslation"]
},
{
"id": "hasanyword_pretranslation",
"type": "has_any_word_check"
},
{
"id": "overall_integrity_check_pretranslation",
"type": "overall_integrity_check"
},
{
"id": "extract_texts_for_translators",
"type": "extract_texts_for_translators"
},
{
"id": "translation",
"type": "translation",
"sources": ["translation"],
"languages": [
{"language": "fra", "code": "fr"}
]
},
{
"id": "edits_posttranslation",
"type": "edits",
"sources": ["edits_posttranslation"]
},
{
"id": "hasanyword_posttranslation",
"type": "has_any_word_check"
},
{
"id": "fix_arg_qr_translation",
"type": "fix_arg_qr_translation"
},
{
"id": "overall_integrity_check_posttranslation",
"type": "overall_integrity_check"
},
{
"id": "qr_treatment",
"type": "qr_treatment",
"sources": ["qr_treatment"],
"qr_treatment": "reformat",
"count_threshold": "13",
"length_threshold": "18",
"add_selectors": "yes"
},
{
"id": "safeguarding",
"type": "safeguarding",
"sources": ["safeguarding"],
"redirect_flow_names": "[\"safeguarding_redirect_to_topic_all\", \"safeguarding_redirect_to_topic_start\", \"safeguarding_redirect_to_topic_trigger\"]"
}
]
}