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

Prep for v0.9.12 #101

Merged
merged 115 commits into from
Nov 23, 2024
Merged

Prep for v0.9.12 #101

merged 115 commits into from
Nov 23, 2024

Conversation

jinningwang
Copy link
Member

  • Refactor OModel.initialized as a property method
  • Add a demo to show using Constraint.e for debugging
  • Fix ams.opt.omodel.Param.evaluate when its value is a number
  • Improve ams.opt.omodel.ExpressionCalc for better performance
  • Refactor module ams.opt
  • Add class ams.opt.Expression
  • Switch from PYPOWER to ANDES in routine PFlow
  • Switch from PYPOWER to regular formulation in routine DCPF
  • Refactor routines DCPF and DCOPF
  • In RDocumenter, set Srouce to be owner if there is no src
  • Specify multiprocess<=0.70.16 in requirements as 0.70.17 does not support Linux

Copy link

codacy-production bot commented Nov 23, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-3.11% (target: -10.00%) 78.41% (target: 0.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (45fb420) 12421 7389 59.49%
Head commit (1fec2ef) 13565 (+1144) 7647 (+258) 56.37% (-3.11%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#101) 1135 890 78.41%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Copy link

codecov bot commented Nov 23, 2024

Codecov Report

Attention: Patch coverage is 76.93762% with 244 lines in your changes missing coverage. Please review.

Project coverage is 79.11%. Comparing base (45fb420) to head (1fec2ef).
Report is 116 commits behind head on master.

Files with missing lines Patch % Lines
ams/opt/expression.py 62.36% 35 Missing ⚠️
ams/opt/omodel.py 62.06% 33 Missing ⚠️
ams/opt/exprcalc.py 62.66% 28 Missing ⚠️
ams/routines/dcpf0.py 75.55% 22 Missing ⚠️
ams/opt/var.py 79.41% 21 Missing ⚠️
ams/opt/constraint.py 78.48% 17 Missing ⚠️
ams/opt/objective.py 80.82% 14 Missing ⚠️
ams/opt/optbase.py 79.10% 14 Missing ⚠️
ams/routines/dcpf.py 77.41% 14 Missing ⚠️
ams/routines/pflow0.py 62.85% 13 Missing ⚠️
... and 6 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #101      +/-   ##
==========================================
+ Coverage   78.20%   79.11%   +0.91%     
==========================================
  Files          61       70       +9     
  Lines        5510     5913     +403     
==========================================
+ Hits         4309     4678     +369     
- Misses       1201     1235      +34     

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


🚨 Try these New Features:

@jinningwang jinningwang merged commit 377b36f into master Nov 23, 2024
43 of 45 checks passed
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.

1 participant