Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
"geo"
"country/AUT"
"country/BEL"
"country/BGR"
"country/CYP"
"country/CZE"
"country/DEU"
"country/DNK"
"country/ESP"
"country/EST"
"country/FIN"
"country/FRA"
"country/GBR"
"country/GRC"
"country/HRV"
"country/HUN"
"country/IRL"
"country/ISL"
"country/ITA"
"country/LTU"
"country/LUX"
"country/LVA"
"country/MLT"
"country/NLD"
"country/NOR"
"country/POL"
"country/PRT"
"country/ROU"
"country/SRB"
"country/SVK"
"country/SVN"
"country/SWE"
"country/TUR"

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion scripts/eurostat/health_determinants/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@
"memory": 64,
"disk": 100
},
"cron_schedule": "0 3 2 * *"
"cron_schedule": "0 3 2 * *",
"validation_config_file": "validation_config.json"
}
]
}
30 changes: 30 additions & 0 deletions scripts/eurostat/health_determinants/validation_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"schema_version": "1.0",
"rules": [
{
"rule_id": "check_deleted_records_percent",
"description": "Checks that the percentage of deleted points is within the threshold.",
"validator": "DELETED_RECORDS_PERCENT",
Comment thread
niveditasing marked this conversation as resolved.
"params": {
"threshold": 0.1
}
},
{
"rule_id": "check_goldens_summary_report",
"validator": "GOLDENS_CHECK",
"params": {
"golden_files": "../../../../golden_data/golden_summary_report.csv"
}
},
{
"rule_id": "Check_goldens_output_csv_state",
"description": "Verifies the generated output CSV data matches established critical golden records",
"validator": "GOLDENS_CHECK",
"params": {
"golden_files": "../../../../golden_data/golden_observations.csv",
"input_files": "../../../../tobacco_consumption/output/eurostat_population_tobaccoconsumption.csv"
}
}
]
}

Loading
Loading