The following is a list of tests that we should add for the backend to ensure that we are passing the correct values forward into the front end.
Per data source: The goal here is tracts in should equal tracts out
[x] All census tracts with a entry per numeric column (percentile, etc) should be represented in the usa.csv for that data source
[x] All census tracts that do not have a entry per numeric column should NOT be included in the usa.csv for that source, column combination
Tiles and data pipeline: The goal here is to smoke test correctness
[x] We should check for wrong variable ported over to the tiles by making sure the column name for each thing we want in usa.csv has the same value as the column name for the tiles csv. This is NOT the same as checking that the column has been renamed. Rather, this requires looking at the methodology of the tool, seeing what should be represented, and ensuring that variable is indeed represented.
[ ] Check for USVI and Guam in tiles
[x] We should check that even census tracts that have NULLs for every indicator get included in the tiles and in the csv and are never dropped
Tests we don't need right now
[ ] Threshold counts in island areas don’t match number of thresholds possible --> we've dropped this for now
[ ] Codebook test (I think for now, this is fine -- will be no longer needed with refactor?)
The following is a list of tests that we should add for the backend to ensure that we are passing the correct values forward into the front end.
Per data source: The goal here is tracts in should equal tracts out
usa.csv
for that data sourceusa.csv
for that source, column combinationTiles and data pipeline: The goal here is to smoke test correctness
usa.csv
has the same value as the column name for the tiles csv. This is NOT the same as checking that the column has been renamed. Rather, this requires looking at the methodology of the tool, seeing what should be represented, and ensuring that variable is indeed represented.Tests we don't need right now