-
Notifications
You must be signed in to change notification settings - Fork 93
Fix problem with naive load forecast, issue 516 #522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Reviewer's Guide by SourceryThis pull request addresses a bug in the naive load forecast within Sequence diagram for naive load forecast with timezone conversionsequenceDiagram
participant Forecast as Forecast Module
participant HistoricalData as Historical Data
participant ForecastDates as Forecast Dates
Forecast->>HistoricalData: Load historical data
Forecast->>ForecastDates: Convert forecast dates to UTC
Forecast->>ForecastDates: Round forecast dates to nearest frequency
Forecast->>HistoricalData: Find intersection between historical data and forecast dates
Forecast->>ForecastDates: Convert timezone of forecast index to match forecast dates
Forecast->>Forecast: Return load forecast
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @davidusb-geek - I've reviewed your changes - here's some feedback:
Overall Comments:
- It looks like you've commented out some timezone conversions, can you explain why?
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #522 +/- ##
==========================================
- Coverage 66.53% 66.47% -0.07%
==========================================
Files 8 8
Lines 3269 3272 +3
==========================================
Hits 2175 2175
- Misses 1094 1097 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Summary by Sourcery
Fix timezone and indexing issues in load forecast method to improve forecast date handling and timezone conversion
Bug Fixes:
Enhancements: