Skip to content

Add test case for issue 127#161

Merged
andreww merged 2 commits intoGreenScheduler:mainfrom
andreww:test127
Sep 12, 2025
Merged

Add test case for issue 127#161
andreww merged 2 commits intoGreenScheduler:mainfrom
andreww:test127

Conversation

@andreww
Copy link
Collaborator

@andreww andreww commented Aug 13, 2025

As far as I can tell, we now give an optimal CI of ~19 g CO2e/kWh not 22.07 because of fixes that went in before version 1.1. The optimal start time does not change (and the optimal start time is to start "now").

As far as I can tell, we now give an optimal CI
of ~19 g CO2e/kWh not 22.07 because of fixes that went in
before version 1.1. The optimal start time does not change
(and the optimal start time is to start "now").
@andreww andreww linked an issue Aug 13, 2025 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Aug 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.31%. Comparing base (eb36242) to head (87016a5).
⚠️ Report is 39 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #161      +/-   ##
==========================================
+ Coverage   82.72%   83.31%   +0.58%     
==========================================
  Files          14       15       +1     
  Lines         712      737      +25     
==========================================
+ Hits          589      614      +25     
  Misses        123      123              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Another bug we've fixed. The test here is a dull dataset that
just decreases with time. The 30 min job sits in the last
time period and gives a value half way between the last two
data points
@andreww andreww linked an issue Aug 13, 2025 that may be closed by this pull request
@andreww
Copy link
Collaborator Author

andreww commented Aug 13, 2025

Added test for issue 32 to this PR.

@abhidg abhidg self-requested a review September 5, 2025 15:36
@andreww andreww merged commit 0b81ad9 into GreenScheduler:main Sep 12, 2025
10 checks passed
@andreww andreww deleted the test127 branch September 12, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

incorrect CI data? What (should) happen at 48 hrs?

2 participants