diff --git a/hub-config/tasks.json b/hub-config/tasks.json index 8fb2e84d..7f84bf78 100644 --- a/hub-config/tasks.json +++ b/hub-config/tasks.json @@ -10,7 +10,6 @@ "origin_date": { "required": null, "optional": [ - "2023-10-15", "2023-10-22", "2023-10-29", "2023-11-05", "2023-11-12", "2023-11-19", "2023-11-26", "2023-12-03", "2023-12-10", "2023-12-17", "2023-12-24", "2023-12-31", "2024-01-07", "2024-01-14", "2024-01-21", "2024-01-28", @@ -89,7 +88,7 @@ }, "age_group":{ "required":["0-130"], - "optional":["0-0.99","1-4","5-64","65-130"] + "optional":["0-0.99","1-4","5-17","5-64","18-49","50-64","65-130"] } }, "output_type": { @@ -142,14 +141,360 @@ "time_unit": "week" } ] - - } - ], - "submissions_due": { - "relative_to": "origin_date", - "start": -6, - "end": 100 + }, + { + "task_ids": { + "origin_date": { + "required": null, + "optional": [ + "2023-11-12", "2023-11-19", "2023-11-26", "2023-12-03", + "2023-12-10", "2023-12-17", "2023-12-24", "2023-12-31", + "2024-01-07", "2024-01-14", "2024-01-21", "2024-01-28", + "2024-02-05", "2024-02-11", "2024-02-18", "2024-02-25", + "2024-03-03", "2024-03-10", "2024-03-17", "2024-03-24", + "2024-03-31", "2024-04-07", "2024-04-14", "2024-04-21", + "2024-04-28", "2024-05-05", "2024-05-12" + ] + }, + "target": { + "required": null, + "optional": ["inc hosp", "cum hosp"] + }, + "horizon": { + "required": [1, 2, 3, 4], + "optional": [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] + }, + "location": { + "required": null, + "optional": [ + "US", + "01", + "02", + "04", + "05", + "06", + "08", + "09", + "10", + "11", + "12", + "13", + "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", + "44", + "45", + "46", + "47", + "48", + "49", + "50", + "51", + "53", + "54", + "55", + "56", + "72", + "78" + ] + }, + "age_group":{ + "required":["0-130"], + "optional":["0-0.99","1-4","5-17","5-64","18-49","50-64","65-130"] + } + }, + "output_type": { + "sample":{ + "output_type_id":{ + "required": null, + "optional":[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] + }, + "value":{ + "type":"double", + "minimum":0 + } + } + }, + "target_metadata": [ + { + "target_id": "inc hosp", + "target_name": "Weekly incident RSV hospitalizations", + "target_units": "count", + "target_keys": { + "target": ["inc hosp"] + }, + "target_type": "discrete", + "is_step_ahead": true, + "time_unit": "week" + }, + { + "target_id": "cum hosp", + "target_name":"Weekly incident cumulative RSV hospitalizations", + "target_units":"count", + "target_keys":{ + "target":["cum hosp"] + }, + "target_type": "discrete", + "is_step_ahead": true, + "time_unit": "week" + } + ] + }, + { + "task_ids": { + "origin_date": { + "required": null, + "optional": [ + "2023-11-12", "2023-11-19", "2023-11-26", "2023-12-03", + "2023-12-10", "2023-12-17", "2023-12-24", "2023-12-31", + "2024-01-07", "2024-01-14", "2024-01-21", "2024-01-28", + "2024-02-05", "2024-02-11", "2024-02-18", "2024-02-25", + "2024-03-03", "2024-03-10", "2024-03-17", "2024-03-24", + "2024-03-31", "2024-04-07", "2024-04-14", "2024-04-21", + "2024-04-28", "2024-05-05", "2024-05-12" + ] + }, + "target": { + "required": null, + "optional": ["peak size hosp"] + }, + "horizon": { + "required": null, + "optional": null + }, + "location": { + "required": null, + "optional": [ + "US", + "01", + "02", + "04", + "05", + "06", + "08", + "09", + "10", + "11", + "12", + "13", + "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", + "44", + "45", + "46", + "47", + "48", + "49", + "50", + "51", + "53", + "54", + "55", + "56", + "72", + "78" + ] + }, + "age_group":{ + "required":["0-130"], + "optional":["0-0.99","1-4","5-17","5-64","18-49","50-64","65-130"] + } + }, + "output_type": { + "quantile":{ + "output_type_id":{ + "required":[0.01,0.025,0.05,0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5,0.55,0.6,0.65,0.7,0.75,0.8,0.85,0.9,0.95,0.975,0.99], + "optional":[0,1] + }, + "value":{ + "type":"double", + "minimum":0 + } + } + }, + "target_metadata": [ + { + "target_id": "peak size hosp", + "target_name": "Peak size of hospitalization", + "target_units": "count", + "target_keys": { + "target": ["peak size hosp"] + }, + "target_type": "discrete", + "is_step_ahead": false + } + ] + }, + { + "task_ids": { + "origin_date": { + "required": null, + "optional": [ + "2023-11-12", "2023-11-19", "2023-11-26", "2023-12-03", + "2023-12-10", "2023-12-17", "2023-12-24", "2023-12-31", + "2024-01-07", "2024-01-14", "2024-01-21", "2024-01-28", + "2024-02-05", "2024-02-11", "2024-02-18", "2024-02-25", + "2024-03-03", "2024-03-10", "2024-03-17", "2024-03-24", + "2024-03-31", "2024-04-07", "2024-04-14", "2024-04-21", + "2024-04-28", "2024-05-05", "2024-05-12" + ] + }, + "target": { + "required": null, + "optional": ["peak time hosp"] + }, + "horizon": { + "required": null, + "optional": null + }, + "location": { + "required": null, + "optional": [ + "US", + "01", + "02", + "04", + "05", + "06", + "08", + "09", + "10", + "11", + "12", + "13", + "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", + "44", + "45", + "46", + "47", + "48", + "49", + "50", + "51", + "53", + "54", + "55", + "56", + "72", + "78" + ] + }, + "age_group":{ + "required":["0-130"], + "optional":["0-0.99","1-4","5-17","5-64","18-49","50-64","65-130"] + } + }, + "output_type": { + "cdf":{ + "output_type_id":{ + "required":null, + "optional":null + }, + "value":{ + "type":"double", + "minimum":0, + "maximum":1 + } + } + }, + "target_metadata": [ + { + "target_id": "peak time hosp", + "target_name": "Peak timing of hospitalization", + "target_units": "population", + "target_keys": { + "target": ["peak time hosp"] + }, + "target_type": "discrete", + "is_step_ahead": false, + "time_unit": "week" + } + ] } + ], + "submissions_due": { + "relative_to": "origin_date", + "start": -6, + "end": 100 } + } ] } diff --git a/hub-config/tasks.json.old b/hub-config/tasks.json.old index eb41d979..8fb2e84d 100644 --- a/hub-config/tasks.json.old +++ b/hub-config/tasks.json.old @@ -5,27 +5,28 @@ "round_id_from_variable": true, "round_id": "origin_date", "model_tasks": [ - { + { "task_ids": { "origin_date": { "required": null, "optional": [ - "2023-11-12", "2023-11-19", "2023-11-26", "2023-12-03", - "2023-12-10", "2023-12-17", "2023-12-24", "2023-12-31", - "2024-01-07", "2024-01-14", "2024-01-21", "2024-01-28", - "2024-02-05", "2024-02-11", "2024-02-18", "2024-02-25", - "2024-03-03", "2024-03-10", "2024-03-17", "2024-03-24", - "2024-03-31", "2024-04-07", "2024-04-14", "2024-04-21", - "2024-04-28", "2024-05-05", "2024-05-12” - ] + "2023-10-15", "2023-10-22", "2023-10-29", "2023-11-05", + "2023-11-12", "2023-11-19", "2023-11-26", "2023-12-03", + "2023-12-10", "2023-12-17", "2023-12-24", "2023-12-31", + "2024-01-07", "2024-01-14", "2024-01-21", "2024-01-28", + "2024-02-05", "2024-02-11", "2024-02-18", "2024-02-25", + "2024-03-03", "2024-03-10", "2024-03-17", "2024-03-24", + "2024-03-31", "2024-04-07", "2024-04-14", "2024-04-21", + "2024-04-28", "2024-05-05", "2024-05-12" + ] }, "target": { - "required": ["wk inc rsv hosp"], + "required": ["inc hosp"], "optional": null }, "horizon": { "required": [1, 2, 3, 4], - "optional": [5, 6, 7, 8, 9, 10, 11, 12] + "optional": [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] }, "location": { "required": null, @@ -87,41 +88,68 @@ ] }, "age_group":{ - "required":["0-130"], - "optional":["0-0.99","1-4","5-17","5-64","18-49","50-64","65-130"] - } + "required":["0-130"], + "optional":["0-0.99","1-4","5-64","65-130"] + } }, "output_type": { - "sample":{ + "quantile":{ "output_type_id":{ - "required":[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], + "required": [ + 0.01, + 0.025, + 0.05, + 0.1, + 0.15, + 0.2, + 0.25, + 0.3, + 0.35, + 0.4, + 0.45, + 0.5, + 0.55, + 0.6, + 0.65, + 0.7, + 0.75, + 0.8, + 0.85, + 0.9, + 0.95, + 0.975, + 0.99 + ], "optional":null }, - "value":{ - "type":"double", - "minimum":0 - } + "value":{ + "type":"double", + "minimum":0 + + } } }, "target_metadata": [ { - "target_id": "wk inc rsv hosp", + "target_id": "inc hosp", "target_name": "Weekly incident RSV hospitalizations", "target_units": "count", "target_keys": { - "target": ["wk inc rsv hosp"] + "target": ["inc hosp"] }, - "target_type": "discrete", + "target_type": "continuous", "is_step_ahead": true, "time_unit": "week" } ] - }], - "submissions_due": { - "relative_to": "reference_date", - "start": -6, - "end": 2 - } + + } + ], + "submissions_due": { + "relative_to": "origin_date", + "start": -6, + "end": 100 + } } ] }