trynthink / scout

A tool for estimating the future energy use, carbon emissions, and capital and operating cost impacts of energy efficiency and demand flexibility technologies in the U.S. residential and commercial building sectors.
https://scout.energy.gov
Other
58 stars 22 forks source link

Add automation for updating hardcoded numbers in repo #363

Open trynthink opened 6 months ago

trynthink commented 6 months ago

There are a few locations in the repo where there are hardcoded values that are easy to forget to update unless the particular file is being updated in a commit. As a result, these hardcoded values can get extremely out of date. Some kind of automation, e.g., pre-commit hook, pre-push hook, or GitHub Actions, that could automatically update these values would be a nice-to-have feature for keeping the repo in good shape.

Specific examples already identified (more might be identified as we revisit different parts of the repo):