Skip to content

REFACTOR: move add calculation to CommonOptimetrics - #6030

Merged
gmalinve merged 6 commits into
mainfrom
refactor/move_add_calculation
Apr 10, 2025
Merged

gmalinve merged 6 commits into
mainfrom
refactor/move_add_calculation

Conversation

@gmalinve

@gmalinve gmalinve commented Apr 10, 2025 •

Copy link
Copy Markdown
Contributor

Description

Move add_calculation to CommonOptimetrics and remove _add_goal because it's not use anywhere.
add_goal method uses _add_calculation (in CommonOptimetrics). _add_goal was redundant.

Issue linked

Please mention the issue number or describe the problem this pull request addresses.

Checklist

  • I have tested my changes locally.
  • I have added necessary documentation or updated existing documentation.
  • I have followed the coding style guidelines of this project.
  • I have added appropriate tests (unit, integration, system).
  • I have reviewed my changes before submitting this pull request.
  • I have linked the issue or issues that are solved by the PR if any.
  • I have agreed with the Contributor License Agreement (CLA).

@gmalinve gmalinve self-assigned this Apr 10, 2025
@ansys-reviewer-bot

Copy link
Copy Markdown
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@gmalinve gmalinve linked an issue Apr 10, 2025 that may be closed by this pull request
@gmalinve
gmalinve requested a review from maxcapodi78 April 10, 2025 12:17
@gmalinve
gmalinve marked this pull request as ready for review April 10, 2025 12:17
@codecov

codecov Bot commented Apr 10, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.13%. Comparing base (9095b51) to head (1c7e7d9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6030      +/-   ##
==========================================
+ Coverage   85.08%   85.13%   +0.05%     
==========================================
  Files         166      166              
  Lines       62977    62936      -41     
==========================================
- Hits        53583    53581       -2     
+ Misses       9394     9355      -39     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@SMoraisAnsys SMoraisAnsys left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gmalinve
gmalinve merged commit eefb51d into main Apr 10, 2025
@gmalinve
gmalinve deleted the refactor/move_add_calculation branch April 10, 2025 14:03
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.

Move add_calculation in CommonOptimetrics

3 participants