{"id": "life-table-age-structure-d1-e0000", "env": "life-table", "isced_f": "0314", "family": "age-structure", "difficulty": 1, "seed": 10000, "title": "Age structure, 1 area(s)", "instruction": "# Age structure: one municipality\n\n`population.csv` gives the population of Aldermark at the end of 2015 in five-year age groups. `methods.md` gives the definitions to use.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `total_population`: an integer.\n- `share_0_14_percent`, `share_15_64_percent`, `share_65_plus_percent`: each broad age group as a percentage of the total population, 2 decimals.\n- `young_dependency_ratio`, `old_dependency_ratio`, `total_dependency_ratio`: per 100 people of working age, 2 decimals.\n- `ageing_index`: 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 8, "path": "tasks/life-table/life-table-age-structure-d1-e0000", "languages": ["en"], "task_meta": {"areas": 1}} {"id": "life-table-fertility-d1-e0001", "env": "life-table", "isced_f": "0314", "family": "fertility", "difficulty": 1, "seed": 10001, "title": "Fertility measures, 1 area(s)", "instruction": "# Fertility measures\n\n`women.csv` gives the mid-year number of women by age group in Dunholt in 2011 and `births.csv` the live births by age of mother. `registry.json` gives the share of births that were girls.\n\n`methods.md` gives the definitions to use.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `total_births`: all live births, an integer.\n- `asfr_per_1000`: object keyed by age group (`15-19`, `20-24`, ..., `45-49`): the age-specific fertility rate per 1000 women, 2 decimals.\n- `peak_age_group`: the age group with the highest rate.\n- `tfr`: the total fertility rate in children per woman, 3 decimals.\n- `grr`: the gross reproduction rate, 3 decimals.\n- `mean_age_at_childbearing`: in years, 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 12, "path": "tasks/life-table/life-table-fertility-d1-e0001", "languages": ["en"], "task_meta": {"areas": 1}} {"id": "life-table-life-table-d1-e0002", "env": "life-table", "isced_f": "0314", "family": "life-table", "difficulty": 1, "seed": 10002, "title": "Abridged life table, 8 age groups", "instruction": "# Life table: one population\n\n`population_deaths.csv` gives the mid-year population and the deaths in 2022 by age group. Build the abridged period life table as described in `methods.md`.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `table`: object keyed by the starting age of each interval as a string (`\"0\"`, `\"1\"`, `\"5\"`, ...), one entry per age group. Each value has\n - `mx_per_1000`: the death rate per 1000 population, 3 decimals.\n - `qx`: the probability of dying in the interval, 6 decimals.\n - `lx`: survivors at the start of the interval out of 100000, to the nearest whole number.\n- `e0`: life expectancy at birth in years, 2 decimals.\n- `e60`: life expectancy at exact age 60, 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 26, "path": "tasks/life-table/life-table-life-table-d1-e0002", "languages": ["en"], "task_meta": {"groups": 8}} {"id": "life-table-standardisation-d1-e0003", "env": "life-table", "isced_f": "0314", "family": "standardisation", "difficulty": 1, "seed": 10003, "title": "Standardised death rates, 3 regions", "instruction": "# Age-standardised death rates\n\n`regions.csv` gives the mid-year population and the deaths in 2008 by region and age group, in no particular order. `standard_population.csv` gives the standard population and `methods.md` the definitions. The reference region is Aldermark (also in `study.json`).\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `regions`: object keyed by region. Each value has\n - `population`: the region's whole population, an integer.\n - `deaths`: the deaths counted in the study, an integer.\n - `crude_rate`: crude death rate per 100000, 1 decimal.\n - `standardised_rate`: directly age-standardised death rate per 100000, 1 decimal.\n - `srr`: standardised rate ratio against the reference region, 3 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 15, "path": "tasks/life-table/life-table-standardisation-d1-e0003", "languages": ["en"], "task_meta": {"regions": 3}} {"id": "life-table-age-structure-d2-e0004", "env": "life-table", "isced_f": "0314", "family": "age-structure", "difficulty": 2, "seed": 10004, "title": "Age structure, 1 area(s)", "instruction": "# Age structure: one municipality by sex\n\n`population.csv` gives the population of Brinmoor at the end of 2020 by five-year age group and sex, in no particular order. `methods.md` gives the definitions to use.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `total_population`: both sexes, an integer.\n- `young_dependency_ratio`, `old_dependency_ratio`, `total_dependency_ratio`: both sexes together, per 100 people of working age, 2 decimals.\n- `ageing_index`: both sexes together, 2 decimals.\n- `sex_ratio`: males per 100 females in the whole population, 2 decimals.\n- `sex_ratio_65_plus`: males per 100 females among people aged 65 and over, 2 decimals.\n- `median_age`: median age of the whole population in years, 2 decimals.\n- `median_age_female`, `median_age_male`: median age of each sex, 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 10, "path": "tasks/life-table/life-table-age-structure-d2-e0004", "languages": ["en"], "task_meta": {"areas": 1}} {"id": "life-table-fertility-d2-e0005", "env": "life-table", "isced_f": "0314", "family": "fertility", "difficulty": 2, "seed": 10005, "title": "Fertility measures, 4 area(s)", "instruction": "# Fertility measures\n\n`women.csv` gives the mid-year number of women by municipality and age group in 2004 and `births.csv` the live births by municipality and age of mother, both in no particular order. `registry.json` gives the sex ratio at birth. A combination with no row in `births.csv` had no births. Compute the measures for the county as a whole (all 4 municipalities together).\n\n`methods.md` gives the definitions to use.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `total_births`: all live births, an integer.\n- `asfr_per_1000`: object keyed by age group (`15-19`, `20-24`, ..., `45-49`): the age-specific fertility rate per 1000 women, 2 decimals.\n- `peak_age_group`: the age group with the highest rate.\n- `tfr`: the total fertility rate in children per woman, 3 decimals.\n- `grr`: the gross reproduction rate, 3 decimals.\n- `mean_age_at_childbearing`: in years, 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 12, "path": "tasks/life-table/life-table-fertility-d2-e0005", "languages": ["en"], "task_meta": {"areas": 4}} {"id": "life-table-life-table-d2-e0006", "env": "life-table", "isced_f": "0314", "family": "life-table", "difficulty": 2, "seed": 10006, "title": "Abridged life table, 19 age groups", "instruction": "# Life table: both sexes combined\n\n`population_deaths.csv` gives the mid-year population and the deaths in 2012 by age group and sex, in no particular order. Build one abridged period life table for **both sexes combined** (add the two sexes' populations and deaths in each age group first), as described in `methods.md`.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `table`: object keyed by the starting age of each interval as a string (`\"0\"`, `\"1\"`, `\"5\"`, ..., `\"85\"`), one entry per age group. Each value has\n - `qx`: the probability of dying in the interval, 6 decimals.\n - `lx`: survivors at the start of the interval out of 100000, to the nearest whole number.\n- `e0`: life expectancy at birth in years, 2 decimals.\n- `e65`: life expectancy at exact age 65, 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 40, "path": "tasks/life-table/life-table-life-table-d2-e0006", "languages": ["en"], "task_meta": {"groups": 19}} {"id": "life-table-standardisation-d2-e0007", "env": "life-table", "isced_f": "0314", "family": "standardisation", "difficulty": 2, "seed": 10007, "title": "Standardised death rates, 4 regions", "instruction": "# Age-standardised death rates\n\n`population.csv` gives the mid-year population in 2018 by region, age group and sex, and `deaths.csv` the deaths by region, age group, sex and cause of death, both in no particular order. The study is about deaths from the cause `cancer` only, for both sexes together: ignore the other causes and add the two sexes. A combination with no row in `deaths.csv` had no deaths. `standard_population.csv` gives the standard population and `methods.md` the definitions. The reference region is Hollinside (also in `study.json`).\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `regions`: object keyed by region. Each value has\n - `population`: the region's whole population, an integer.\n - `deaths`: the deaths counted in the study, an integer.\n - `crude_rate`: crude death rate per 100000, 1 decimal.\n - `standardised_rate`: directly age-standardised death rate per 100000, 1 decimal.\n - `srr`: standardised rate ratio against the reference region, 3 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 20, "path": "tasks/life-table/life-table-standardisation-d2-e0007", "languages": ["en"], "task_meta": {"regions": 4}} {"id": "life-table-age-structure-d3-e0008", "env": "life-table", "isced_f": "0314", "family": "age-structure", "difficulty": 3, "seed": 10008, "title": "Age structure, 5 area(s)", "instruction": "# Age structure: a county and its municipalities\n\n`population.csv` gives the population of the 5 municipalities of a county at the end of 2016 by five-year age group and sex, in no particular order. `methods.md` gives the definitions to use. All indicators are for both sexes together.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `areas`: object keyed by municipality. Each value has\n - `population`: an integer.\n - `young_dependency_ratio` and `old_dependency_ratio`: per 100 people of working age, 2 decimals.\n - `ageing_index`: 2 decimals.\n - `median_age`: in years, 2 decimals.\n- `county`: the same five keys for the county as a whole (all municipalities together).\n- `oldest_area`: the municipality with the highest median age.\n- `above_county_old_dependency`: list of the municipalities whose old-age dependency ratio is higher than the county's (any order).\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 32, "path": "tasks/life-table/life-table-age-structure-d3-e0008", "languages": ["en"], "task_meta": {"areas": 5}} {"id": "life-table-fertility-d3-e0009", "env": "life-table", "isced_f": "0314", "family": "fertility", "difficulty": 3, "seed": 10009, "title": "Fertility measures, 5 area(s)", "instruction": "# Fertility measures\n\n`women.csv` gives the mid-year number of women by municipality and age group in 2011 and `births.csv` the live births by municipality, age of mother and sex of the child, both in no particular order. `female_life_table.csv` gives the person-years column of the female life table (radix 100000). A combination with no row in `births.csv` had no births. Compute the measures for the county as a whole (all 5 municipalities together).\n\n`methods.md` gives the definitions to use.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `total_births`: all live births, an integer.\n- `asfr_per_1000`: object keyed by age group (`15-19`, `20-24`, ..., `45-49`): the age-specific fertility rate per 1000 women, 2 decimals.\n- `peak_age_group`: the age group with the highest rate.\n- `tfr`: the total fertility rate in children per woman, 3 decimals.\n- `grr`: the gross reproduction rate, 3 decimals.\n- `mean_age_at_childbearing`: in years, 2 decimals.\n- `nrr`: the net reproduction rate, 3 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 13, "path": "tasks/life-table/life-table-fertility-d3-e0009", "languages": ["en"], "task_meta": {"areas": 5}} {"id": "life-table-life-table-d3-e0010", "env": "life-table", "isced_f": "0314", "family": "life-table", "difficulty": 3, "seed": 10010, "title": "Abridged life table, 19 age groups", "instruction": "# Life table: women and men\n\n`population.csv` gives the mid-2016 population by age group and sex. `deaths.csv` gives the deaths in 2015, 2016 and 2017 by age group and sex. Both are in no particular order. Build a separate abridged period life table for each sex as described in `methods.md`.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `female` and `male`: for each sex an object with\n - `q0`: the probability of dying before exact age 1, 6 decimals.\n - `l15`, `l60`, `l65`: survivors at exact ages 15, 60 and 65 out of 100000, to the nearest whole number.\n - `q15_60`: the probability that a person alive at exact age 15 dies before exact age 60, that is 1 - l60 / l15, 5 decimals.\n - `e0`, `e15`, `e65`: life expectancy at exact ages 0, 15 and 65 in years, 2 decimals.\n- `e0_gap`: female life expectancy at birth minus male life expectancy at birth, in years, 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 17, "path": "tasks/life-table/life-table-life-table-d3-e0010", "languages": ["en"], "task_meta": {"groups": 19}} {"id": "life-table-standardisation-d3-e0011", "env": "life-table", "isced_f": "0314", "family": "standardisation", "difficulty": 3, "seed": 10011, "title": "Standardised death rates, 5 regions", "instruction": "# Age-standardised death rates\n\n`population.csv` gives the mid-year population in 2015 by region, age group and sex, and `deaths.csv` the deaths by region, age group, sex and cause of death, both in no particular order. The study is about deaths from the cause `circulatory` only, for both sexes together: ignore the other causes and add the two sexes. A combination with no row in `deaths.csv` had no deaths. `standard_population.csv` gives the standard population and `methods.md` the definitions. The reference region is Aldermark (also in `study.json`).\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `regions`: object keyed by region. Each value has\n - `population`: the region's whole population, an integer.\n - `deaths`: the deaths counted in the study, an integer.\n - `crude_rate`: crude death rate per 100000, 1 decimal.\n - `standardised_rate`: directly age-standardised death rate per 100000, 1 decimal.\n - `srr`: standardised rate ratio against the reference region, 3 decimals.\n- `ranking`: list of all regions from the highest standardised rate to the lowest.\n- `reversed`: list of the regions that compare differently with the reference region before and after standardisation: the crude rate is higher than the reference region's while the standardised rate is lower, or the other way round (any order; an empty list if none).\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 27, "path": "tasks/life-table/life-table-standardisation-d3-e0011", "languages": ["en"], "task_meta": {"regions": 5}} {"id": "life-table-age-structure-d1-e0012", "env": "life-table", "isced_f": "0314", "family": "age-structure", "difficulty": 1, "seed": 10012, "title": "Age structure, 1 area(s)", "instruction": "# Age structure: one municipality\n\n`population.csv` gives the population of Aldermark at the end of 2013 in five-year age groups. `methods.md` gives the definitions to use.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `total_population`: an integer.\n- `share_0_14_percent`, `share_15_64_percent`, `share_65_plus_percent`: each broad age group as a percentage of the total population, 2 decimals.\n- `young_dependency_ratio`, `old_dependency_ratio`, `total_dependency_ratio`: per 100 people of working age, 2 decimals.\n- `ageing_index`: 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 8, "path": "tasks/life-table/life-table-age-structure-d1-e0012", "languages": ["en"], "task_meta": {"areas": 1}} {"id": "life-table-fertility-d1-e0013", "env": "life-table", "isced_f": "0314", "family": "fertility", "difficulty": 1, "seed": 10013, "title": "Fertility measures, 1 area(s)", "instruction": "# Fertility measures\n\n`women.csv` gives the mid-year number of women by age group in Calderfell in 2005 and `births.csv` the live births by age of mother. `registry.json` gives the share of births that were girls.\n\n`methods.md` gives the definitions to use.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `total_births`: all live births, an integer.\n- `asfr_per_1000`: object keyed by age group (`15-19`, `20-24`, ..., `45-49`): the age-specific fertility rate per 1000 women, 2 decimals.\n- `peak_age_group`: the age group with the highest rate.\n- `tfr`: the total fertility rate in children per woman, 3 decimals.\n- `grr`: the gross reproduction rate, 3 decimals.\n- `mean_age_at_childbearing`: in years, 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 12, "path": "tasks/life-table/life-table-fertility-d1-e0013", "languages": ["en"], "task_meta": {"areas": 1}} {"id": "life-table-life-table-d1-e0014", "env": "life-table", "isced_f": "0314", "family": "life-table", "difficulty": 1, "seed": 10014, "title": "Abridged life table, 8 age groups", "instruction": "# Life table: one population\n\n`population_deaths.csv` gives the mid-year population and the deaths in 2020 by age group. Build the abridged period life table as described in `methods.md`.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `table`: object keyed by the starting age of each interval as a string (`\"0\"`, `\"1\"`, `\"5\"`, ...), one entry per age group. Each value has\n - `mx_per_1000`: the death rate per 1000 population, 3 decimals.\n - `qx`: the probability of dying in the interval, 6 decimals.\n - `lx`: survivors at the start of the interval out of 100000, to the nearest whole number.\n- `e0`: life expectancy at birth in years, 2 decimals.\n- `e60`: life expectancy at exact age 60, 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 26, "path": "tasks/life-table/life-table-life-table-d1-e0014", "languages": ["en"], "task_meta": {"groups": 8}} {"id": "life-table-standardisation-d1-e0015", "env": "life-table", "isced_f": "0314", "family": "standardisation", "difficulty": 1, "seed": 10015, "title": "Standardised death rates, 3 regions", "instruction": "# Age-standardised death rates\n\n`regions.csv` gives the mid-year population and the deaths in 2015 by region and age group, in no particular order. `standard_population.csv` gives the standard population and `methods.md` the definitions. The reference region is Farrowby (also in `study.json`).\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `regions`: object keyed by region. Each value has\n - `population`: the region's whole population, an integer.\n - `deaths`: the deaths counted in the study, an integer.\n - `crude_rate`: crude death rate per 100000, 1 decimal.\n - `standardised_rate`: directly age-standardised death rate per 100000, 1 decimal.\n - `srr`: standardised rate ratio against the reference region, 3 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 15, "path": "tasks/life-table/life-table-standardisation-d1-e0015", "languages": ["en"], "task_meta": {"regions": 3}} {"id": "life-table-age-structure-d2-e0016", "env": "life-table", "isced_f": "0314", "family": "age-structure", "difficulty": 2, "seed": 10016, "title": "Age structure, 1 area(s)", "instruction": "# Age structure: one municipality by sex\n\n`population.csv` gives the population of Glenrath at the end of 2011 by five-year age group and sex, in no particular order. `methods.md` gives the definitions to use.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `total_population`: both sexes, an integer.\n- `young_dependency_ratio`, `old_dependency_ratio`, `total_dependency_ratio`: both sexes together, per 100 people of working age, 2 decimals.\n- `ageing_index`: both sexes together, 2 decimals.\n- `sex_ratio`: males per 100 females in the whole population, 2 decimals.\n- `sex_ratio_65_plus`: males per 100 females among people aged 65 and over, 2 decimals.\n- `median_age`: median age of the whole population in years, 2 decimals.\n- `median_age_female`, `median_age_male`: median age of each sex, 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 10, "path": "tasks/life-table/life-table-age-structure-d2-e0016", "languages": ["en"], "task_meta": {"areas": 1}} {"id": "life-table-fertility-d2-e0017", "env": "life-table", "isced_f": "0314", "family": "fertility", "difficulty": 2, "seed": 10017, "title": "Fertility measures, 4 area(s)", "instruction": "# Fertility measures\n\n`women.csv` gives the mid-year number of women by municipality and age group in 2007 and `births.csv` the live births by municipality and age of mother, both in no particular order. `registry.json` gives the sex ratio at birth. A combination with no row in `births.csv` had no births. Compute the measures for the county as a whole (all 4 municipalities together).\n\n`methods.md` gives the definitions to use.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `total_births`: all live births, an integer.\n- `asfr_per_1000`: object keyed by age group (`15-19`, `20-24`, ..., `45-49`): the age-specific fertility rate per 1000 women, 2 decimals.\n- `peak_age_group`: the age group with the highest rate.\n- `tfr`: the total fertility rate in children per woman, 3 decimals.\n- `grr`: the gross reproduction rate, 3 decimals.\n- `mean_age_at_childbearing`: in years, 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 12, "path": "tasks/life-table/life-table-fertility-d2-e0017", "languages": ["en"], "task_meta": {"areas": 4}} {"id": "life-table-life-table-d2-e0018", "env": "life-table", "isced_f": "0314", "family": "life-table", "difficulty": 2, "seed": 10018, "title": "Abridged life table, 19 age groups", "instruction": "# Life table: both sexes combined\n\n`population_deaths.csv` gives the mid-year population and the deaths in 2014 by age group and sex, in no particular order. Build one abridged period life table for **both sexes combined** (add the two sexes' populations and deaths in each age group first), as described in `methods.md`.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `table`: object keyed by the starting age of each interval as a string (`\"0\"`, `\"1\"`, `\"5\"`, ..., `\"85\"`), one entry per age group. Each value has\n - `qx`: the probability of dying in the interval, 6 decimals.\n - `lx`: survivors at the start of the interval out of 100000, to the nearest whole number.\n- `e0`: life expectancy at birth in years, 2 decimals.\n- `e65`: life expectancy at exact age 65, 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 40, "path": "tasks/life-table/life-table-life-table-d2-e0018", "languages": ["en"], "task_meta": {"groups": 19}} {"id": "life-table-standardisation-d2-e0019", "env": "life-table", "isced_f": "0314", "family": "standardisation", "difficulty": 2, "seed": 10019, "title": "Standardised death rates, 4 regions", "instruction": "# Age-standardised death rates\n\n`population.csv` gives the mid-year population in 2016 by region, age group and sex, and `deaths.csv` the deaths by region, age group, sex and cause of death, both in no particular order. The study is about deaths from the cause `respiratory` only, for both sexes together: ignore the other causes and add the two sexes. A combination with no row in `deaths.csv` had no deaths. `standard_population.csv` gives the standard population and `methods.md` the definitions. The reference region is Eskwater (also in `study.json`).\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `regions`: object keyed by region. Each value has\n - `population`: the region's whole population, an integer.\n - `deaths`: the deaths counted in the study, an integer.\n - `crude_rate`: crude death rate per 100000, 1 decimal.\n - `standardised_rate`: directly age-standardised death rate per 100000, 1 decimal.\n - `srr`: standardised rate ratio against the reference region, 3 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 20, "path": "tasks/life-table/life-table-standardisation-d2-e0019", "languages": ["en"], "task_meta": {"regions": 4}} {"id": "life-table-age-structure-d3-e0020", "env": "life-table", "isced_f": "0314", "family": "age-structure", "difficulty": 3, "seed": 10020, "title": "Age structure, 5 area(s)", "instruction": "# Age structure: a county and its municipalities\n\n`population.csv` gives the population of the 5 municipalities of a county at the end of 2012 by five-year age group and sex, in no particular order. `methods.md` gives the definitions to use. All indicators are for both sexes together.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `areas`: object keyed by municipality. Each value has\n - `population`: an integer.\n - `young_dependency_ratio` and `old_dependency_ratio`: per 100 people of working age, 2 decimals.\n - `ageing_index`: 2 decimals.\n - `median_age`: in years, 2 decimals.\n- `county`: the same five keys for the county as a whole (all municipalities together).\n- `oldest_area`: the municipality with the highest median age.\n- `above_county_old_dependency`: list of the municipalities whose old-age dependency ratio is higher than the county's (any order).\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 32, "path": "tasks/life-table/life-table-age-structure-d3-e0020", "languages": ["en"], "task_meta": {"areas": 5}} {"id": "life-table-fertility-d3-e0021", "env": "life-table", "isced_f": "0314", "family": "fertility", "difficulty": 3, "seed": 10021, "title": "Fertility measures, 5 area(s)", "instruction": "# Fertility measures\n\n`women.csv` gives the mid-year number of women by municipality and age group in 2012 and `births.csv` the live births by municipality, age of mother and sex of the child, both in no particular order. `female_life_table.csv` gives the person-years column of the female life table (radix 100000). A combination with no row in `births.csv` had no births. Compute the measures for the county as a whole (all 5 municipalities together).\n\n`methods.md` gives the definitions to use.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `total_births`: all live births, an integer.\n- `asfr_per_1000`: object keyed by age group (`15-19`, `20-24`, ..., `45-49`): the age-specific fertility rate per 1000 women, 2 decimals.\n- `peak_age_group`: the age group with the highest rate.\n- `tfr`: the total fertility rate in children per woman, 3 decimals.\n- `grr`: the gross reproduction rate, 3 decimals.\n- `mean_age_at_childbearing`: in years, 2 decimals.\n- `nrr`: the net reproduction rate, 3 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 13, "path": "tasks/life-table/life-table-fertility-d3-e0021", "languages": ["en"], "task_meta": {"areas": 5}} {"id": "life-table-life-table-d3-e0022", "env": "life-table", "isced_f": "0314", "family": "life-table", "difficulty": 3, "seed": 10022, "title": "Abridged life table, 19 age groups", "instruction": "# Life table: women and men\n\n`population.csv` gives the mid-2019 population by age group and sex. `deaths.csv` gives the deaths in 2018, 2019 and 2020 by age group and sex. Both are in no particular order. Build a separate abridged period life table for each sex as described in `methods.md`.\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `female` and `male`: for each sex an object with\n - `q0`: the probability of dying before exact age 1, 6 decimals.\n - `l15`, `l60`, `l65`: survivors at exact ages 15, 60 and 65 out of 100000, to the nearest whole number.\n - `q15_60`: the probability that a person alive at exact age 15 dies before exact age 60, that is 1 - l60 / l15, 5 decimals.\n - `e0`, `e15`, `e65`: life expectancy at exact ages 0, 15 and 65 in years, 2 decimals.\n- `e0_gap`: female life expectancy at birth minus male life expectancy at birth, in years, 2 decimals.\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 17, "path": "tasks/life-table/life-table-life-table-d3-e0022", "languages": ["en"], "task_meta": {"groups": 19}} {"id": "life-table-standardisation-d3-e0023", "env": "life-table", "isced_f": "0314", "family": "standardisation", "difficulty": 3, "seed": 10023, "title": "Standardised death rates, 5 regions", "instruction": "# Age-standardised death rates\n\n`population.csv` gives the mid-year population in 2016 by region, age group and sex, and `deaths.csv` the deaths by region, age group, sex and cause of death, both in no particular order. The study is about deaths from the cause `circulatory` only, for both sexes together: ignore the other causes and add the two sexes. A combination with no row in `deaths.csv` had no deaths. `standard_population.csv` gives the standard population and `methods.md` the definitions. The reference region is Glenrath (also in `study.json`).\n\nWrite `answer.json` in this folder, a JSON object with:\n\n- `regions`: object keyed by region. Each value has\n - `population`: the region's whole population, an integer.\n - `deaths`: the deaths counted in the study, an integer.\n - `crude_rate`: crude death rate per 100000, 1 decimal.\n - `standardised_rate`: directly age-standardised death rate per 100000, 1 decimal.\n - `srr`: standardised rate ratio against the reference region, 3 decimals.\n- `ranking`: list of all regions from the highest standardised rate to the lowest.\n- `reversed`: list of the regions that compare differently with the reference region before and after standardisation: the crude rate is higher than the reference region's while the standardised rate is lower, or the other way round (any order; an empty list if none).\n\nDo not round intermediate values. Numbers are accepted within one unit of the last decimal place asked for.", "checks": 27, "path": "tasks/life-table/life-table-standardisation-d3-e0023", "languages": ["en"], "task_meta": {"regions": 5}}