You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
China does not have data, so Asia does not have data
World does have data, even though Asia does not have data
Expected behaviour
If Asia does not have data, then World should not have data.
Technical notes
This issue may be tricky to fix. At least, we could raise a warning.
We should write a unit test for this, and then ideally fix it
...but fixing it could potentially mean changes for a large number of datasets, so we would need to increment the EPOCH and check the diffs of the output
...ideally we would only change behaviour for steps that use countries_that_must_have_data
The text was updated successfully, but these errors were encountered:
Problem
In an unusual situation for aggregation,
World
can have a value, even thoughAsia
has no value, sinceChina
has no value.Specific example
I noticed this error while working in minerals, because some aggregates (e.g. High-income countries) had larger values than the World.
In the following situation:
China
does not have data, soAsia
does not have dataWorld
does have data, even thoughAsia
does not have dataExpected behaviour
If
Asia
does not have data, thenWorld
should not have data.Technical notes
countries_that_must_have_data
The text was updated successfully, but these errors were encountered: