mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
Merge branch 'emma-nechamkin/1849-calculation-tests' of github.com:usds/justice40-tool into emma-nechamkin/1849-calculation-tests
This commit is contained in:
commit
cb13388889
2 changed files with 3 additions and 8 deletions
|
@ -496,13 +496,6 @@ class ScoreNarwhal(Score):
|
|||
field_names.AML_BOOLEAN
|
||||
].fillna(False)
|
||||
|
||||
logger.info(
|
||||
f"{ self.df[field_names.AML_BOOLEAN_FILLED_IN].value_counts(dropna=False)}"
|
||||
)
|
||||
logger.info(
|
||||
f"{ self.df[field_names.AML_BOOLEAN].value_counts(dropna=False)}"
|
||||
)
|
||||
|
||||
self.df[field_names.POLLUTION_THRESHOLD_EXCEEDED] = self.df[
|
||||
[
|
||||
field_names.RMP_PCTILE_THRESHOLD,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
# pylint: disable=protected-access
|
||||
|
||||
import pandas as pd
|
||||
import pytest
|
||||
from data_pipeline.config import settings
|
||||
import data_pipeline.score.field_names as field_names
|
||||
from data_pipeline.score import field_names
|
||||
from data_pipeline.etl.score.etl_score import ScoreETL
|
||||
from data_pipeline.utils import get_module_logger
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue