codeforboston / home-energy-analysis-tool

https://www.codeforboston.org/projects/
MIT License
12 stars 30 forks source link

Load natural gas data for test cases #69

Closed alanisaac closed 1 year ago

alanisaac commented 1 year ago

Part of #67

This PR does a few things:

alanisaac commented 1 year ago

I realized I hadn't loaded the data correctly, so I decided to go full-bore on modeling and validating test data.

I updated this PR to leverage pydantic models rather than using dataclasses. This let me find and fix a few additional issues. As @thadk mentioned earlier in the night, we could use the same library for modeling input and output data for the engine as well, if we wanted the rules engine to do any validation.