From 403a490985db0b0e6b345b8ae9e41b1e7390de6b Mon Sep 17 00:00:00 2001 From: Jorge Escobar <83969469+esfoobar-usds@users.noreply.github.com> Date: Mon, 31 Jan 2022 16:07:21 -0500 Subject: [PATCH] Esfoobar usds/488 generate score per commit pr (#1211) * Score run on every commit to data PR * testing score run * source aws --- .github/workflows/score-checks.yml | 4 ++-- .../data_pipeline/etl/sources/calenviroscreen/etl.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/score-checks.yml b/.github/workflows/score-checks.yml index 70f84f76..47072c96 100644 --- a/.github/workflows/score-checks.yml +++ b/.github/workflows/score-checks.yml @@ -39,7 +39,7 @@ jobs: poetry run python3 data_pipeline/application.py score-full-run - name: Generate Score Post run: | - poetry run python3 data_pipeline/application.py generate-score-post -s local + poetry run python3 data_pipeline/application.py generate-score-post -s aws - name: Generate Score Geo run: | - poetry run python3 data_pipeline/application.py geo-score -s local + poetry run python3 data_pipeline/application.py geo-score -s aws diff --git a/data/data-pipeline/data_pipeline/etl/sources/calenviroscreen/etl.py b/data/data-pipeline/data_pipeline/etl/sources/calenviroscreen/etl.py index 8312de24..57649bbe 100644 --- a/data/data-pipeline/data_pipeline/etl/sources/calenviroscreen/etl.py +++ b/data/data-pipeline/data_pipeline/etl/sources/calenviroscreen/etl.py @@ -27,7 +27,7 @@ class CalEnviroScreenETL(ExtractTransformLoad): "calenviroscreen_priority_community" ) - # Choosing constants. + # Choosing constants # None of these numbers are final, but just for the purposes of comparison. self.CALENVIROSCREEN_PRIORITY_COMMUNITY_THRESHOLD = 75