feat(data): default Gini source moves to World Bank WDI - #19
Merged
Merged
Conversation
- WIID (CC BY-NC-SA) becomes opt-in; WDI SI.POV.GINI (CC BY 4.0) is the default, latest observation in 2015-2023 per country - analysis-country membership no longer depends on Gini availability: set grows 167 -> 176, missing Gini gets the analysis mean (gini_missing_policy: fallback-mean | strict), flagged gini_imputed - eight duplicated coverage/Gini implementations routed through one helper; API path previously wrote country_gini_stationary.csv without the ROW row the notebook path had - fix capability snapshots: the Gini adjustment now applies on the pre-window capability_reference_year branch too, budgets and pathways alike (was silently unadjusted, and documented as such) - re-pin WDI GDP hashes to the regenerated 2026-07-13 upstream export - analysis/gini_source_comparison.py quantifies the swap: 150 vs 194 countries, value drift is the consumption-vs-income welfare gap (largest: India +55 Gt on gini-adjusted budgets) - fix notebook 100: passed the removed project_root= argument, RCB pipeline could not run
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Lint & Test Results
Test Plan
uv run python -m pytest tests/ -q