Skip to content

added validation_config.json#1996

Open
niveditasing wants to merge 7 commits into
datacommonsorg:masterfrom
niveditasing:implemented_golden_checks
Open

added validation_config.json#1996
niveditasing wants to merge 7 commits into
datacommonsorg:masterfrom
niveditasing:implemented_golden_checks

Conversation

@niveditasing
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new validation configuration file, validation_config.json, for the World Bank WDI dataset. It defines rules for checking deleted record counts and performing golden file comparisons. The review feedback highlights path inconsistencies for golden files and a missing directory prefix for input files, which could prevent the validation tool from locating the necessary data.

"rule_id": "check_goldens_output_csv",
"validator": "GOLDENS_CHECK",
"params": {
"golden_files": "golden_WorldBank.csv",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The path for golden_files is inconsistent with the rule on line 24, which uses the golden_data/ directory. For consistency and to ensure the file is correctly located by the validation tool, consider moving golden_WorldBank.csv to golden_data/golden_WorldBank.csv.

Suggested change
"golden_files": "golden_WorldBank.csv",
"golden_files": "golden_data/golden_WorldBank.csv",

Comment thread scripts/world_bank/wdi/validation_config.json Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant