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
131 stars 42 forks source link

As a contributor to J40, I want the code in the comparison tool notebooks to be covered by tests, so that I know my contributions won't break existing functionality. #296

Open widal001 opened 3 years ago

widal001 commented 3 years ago

Description

Currently the majority of the code in the score/ directory is stored in iPython notebooks and is not covered by unit or integration tests. This introduces the following challenges when trying to contribute to this section of the code base and close out the issues related to the comparison tool:

Solution

In order to facilitate simpler and more reliable collaboration on the code in the score/ directory, we should begin migrating the code in the iPython notebooks to standalone scripts that can be covered with both unit and integration testing. The code in score/ should be prioritized for migration and test coverage in the following phases:

Describe alternatives you've considered

Alternatives to migrating the code and setting up automated unit and integration testing include, and why these alternatives aren't viable:

Links to user research or other resources

Tasks

Definition of "Done"

Related Issues

widal001 commented 3 years ago

Parts of this issue may already be addressed by #260