Skip to content
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

improve messaging with typedDicts #245

Merged
merged 2 commits into from
Nov 8, 2023
Merged

improve messaging with typedDicts #245

merged 2 commits into from
Nov 8, 2023

Conversation

maurerle
Copy link
Member

@maurerle maurerle commented Nov 7, 2023

fixes an error when
adjust marginal_costs for multiple markets
use market_id consistently
receive registration feedback from market at start of simulation

@maurerle maurerle requested a review from nick-harder November 7, 2023 10:07
fixes an error when
adjust marginal_costs for multiple markets
use market_id consistently
receive registration feedback from market at start of simulation
Copy link

codecov bot commented Nov 7, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (5834480) 78.13% compared to head (6a59d6c) 78.28%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #245      +/-   ##
==========================================
+ Coverage   78.13%   78.28%   +0.15%     
==========================================
  Files          40       40              
  Lines        4198     4242      +44     
==========================================
+ Hits         3280     3321      +41     
- Misses        918      921       +3     
Flag Coverage Δ
pytest 78.28% <92.95%> (+0.15%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
assume/common/base.py 78.92% <100.00%> (ø)
assume/common/market_objects.py 100.00% <100.00%> (ø)
assume/common/outputs.py 50.25% <75.00%> (+0.25%) ⬆️
assume/common/units_operator.py 90.54% <89.47%> (-0.46%) ⬇️
assume/markets/base_market.py 87.50% <90.90%> (-0.14%) ⬇️

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

@nick-harder nick-harder merged commit 2c10e71 into main Nov 8, 2023
4 checks passed
@nick-harder nick-harder deleted the improve_messaging branch November 8, 2023 08:03
nick-harder pushed a commit that referenced this pull request Nov 13, 2023
* add tests for base_unit
* remove global start and end in flex storage test

We still had an issue in the marginal_cost calculation which I fixed in
a wrong way in #245
This is now tested and fixed.
While testing, I found that the product_type was not used in the
get_output_before function too.
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.

2 participants