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

Misc #100

Merged
merged 96 commits into from
Nov 23, 2024
Merged

Misc #100

merged 96 commits into from
Nov 23, 2024

Conversation

jinningwang
Copy link
Member

  • 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
-0.16% (target: -10.00%) 77.83% (target: 0.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (11c3833) 13248 7489 56.53%
Head commit (d8c7b38) 13569 (+321) 7649 (+160) 56.37% (-0.16%)

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 (#100) 1096 853 77.83%

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.93041% with 242 lines in your changes missing coverage. Please review.

Project coverage is 79.09%. Comparing base (11c3833) to head (d8c7b38).
Report is 98 commits behind head on develop.

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/routines/dcpf.py 75.00% 16 Missing ⚠️
ams/opt/objective.py 80.82% 14 Missing ⚠️
ams/opt/optbase.py 79.10% 14 Missing ⚠️
ams/routines/pflow0.py 62.85% 13 Missing ⚠️
... and 5 more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #100      +/-   ##
===========================================
+ Coverage    77.84%   79.09%   +1.24%     
===========================================
  Files           62       70       +8     
  Lines         5638     5917     +279     
===========================================
+ Hits          4389     4680     +291     
+ Misses        1249     1237      -12     

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


🚨 Try these New Features:

@jinningwang jinningwang merged commit b238c73 into develop Nov 23, 2024
28 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