mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-29 07:21:16 -07:00
Adding tests to ensure proper calculations (#1871)
* just testing that the boolean is preserved on gha * checking drop tracts works * adding a check to the agvalue calculation for nri * updated with error messages
This commit is contained in:
parent
b0b7ff0eec
commit
5201f9e457
4 changed files with 209 additions and 0 deletions
|
@ -494,6 +494,7 @@ class ScoreETL(ExtractTransformLoad):
|
|||
# For some columns, high values are "good", so we want to reverse the percentile
|
||||
# so that high values are "bad" and any scoring logic can still check if it's
|
||||
# >= some threshold.
|
||||
# Note that we must use dataclass here instead of namedtuples on account of pylint
|
||||
# TODO: Add more fields here.
|
||||
# https://github.com/usds/justice40-tool/issues/970
|
||||
@dataclass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue