usds / justice40-tool

A tool to identify disadvantaged communities due to environmental, socioeconomic and health burdens
https://screeningtool.geoplatform.gov/
Creative Commons Zero v1.0 Universal
125 stars 42 forks source link

Add ability to compare scores #2172

Closed travis-newby closed 1 year ago

travis-newby commented 1 year ago

This PR adds the ability to perform a comparison between the published score and your local score. You can kick this off locally by calling poetry run python3 data_pipeline/comparator.py compare-score. It will also run as part of the staging backend deployment, and will add some summary comments to the PR. (This seemed like the most logical place to me, considering it's already generating the score and adding comments to the PR.)

github-actions[bot] commented 1 year ago

Score Deployed! Find it here:

github-actions[bot] commented 1 year ago

Score Deployed! Find it here:

github-actions[bot] commented 1 year ago

Score Deployed! Find it here:

github-actions[bot] commented 1 year ago

Score Comparison Summary

Hi! I'm the Score Comparator. I compared the score in production (version 1.0) to the freshly calculated score. Here are the results.

Columns

I compared the columns. Here's what I found.

Scores

I compared the scores, too. Here's what I found.

github-actions[bot] commented 1 year ago

Map Deployed! Map with Staging Backend: https://screeningtool.geoplatform.gov/en?flags=stage_hash=2172/966ff53434961c79ec05e8b5f273ddae1d70dec7 Find tiles here: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/2172/966ff53434961c79ec05e8b5f273ddae1d70dec7/data/score/tiles

github-actions[bot] commented 1 year ago

Score Deployed! Find it here:

github-actions[bot] commented 1 year ago

Map Deployed! Map with Staging Backend: https://screeningtool.geoplatform.gov/en?flags=stage_hash=2172/ce6a7c7a8c3eeb9285206f35bafa368deaa14558 Find tiles here: https://justice40-data.s3.amazonaws.com/data-pipeline-staging/2172/ce6a7c7a8c3eeb9285206f35bafa368deaa14558/data/score/tiles