-
Notifications
You must be signed in to change notification settings - Fork 152
Added goldens for UNenergy, EurostatHealth_Tobacco_Consumption, WorldBank_Commodity_Market, US_Federal_Rates & FBIHateCrime #2104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
niveditasing
wants to merge
19
commits into
datacommonsorg:master
Choose a base branch
from
niveditasing:Golden_all
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
0f3b3f2
added goldens
niveditasing 543cf7c
added goldens
niveditasing 553226f
Merge branch 'master' into Golden_all
niveditasing f741806
testing
niveditasing 953dbf4
testing
niveditasing 82bcc39
testing
niveditasing 436640b
added goldens
niveditasing 018529a
testing
niveditasing a8a98c8
added fbi goldens
niveditasing 62edf14
added fbi goldens
niveditasing 80f2ef8
Revert changes to table13 and table14 preprocess scripts
niveditasing f98574a
fixed the mistake
niveditasing 845bf85
Add output_counters flag support to UN Energy import pipeline
niveditasing 57ab236
testing
niveditasing f51d72d
testing
niveditasing 0519766
Fix syntax and golden file name in FBI Hate Crime validation_config.json
niveditasing 5ac429a
added counters
niveditasing fa44f42
fixed code
niveditasing 44a8854
fix code
niveditasing File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
scripts/eurostat/health_determinants/golden_data/golden_observations.csv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
634 changes: 634 additions & 0 deletions
634
scripts/eurostat/health_determinants/golden_data/golden_summary_report.csv
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
scripts/eurostat/health_determinants/validation_config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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", | ||
| "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" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.