Skip to content

Refactored more code #220

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

Closed
wants to merge 8 commits into from
Closed

Conversation

samyarpotlapalli
Copy link
Collaborator

Updated unit tests for scoreDefinitions and modelManagement. I did not add model version unit testing to publish_model due to not seeing the existing unit test. Publish_model and score_definitions have the same version logic, but I'm happy to add unit testing to all of publish_model if needed. I also broke down score definitions and create_performance_definition to make the code more readable.

Signed-off-by: samyarpotlapalli <[email protected]>
…@unc.edu>I, samyarpotlapalli <[email protected]>, hereby add my Signed-off-by to this commit: c01034e23bd6bd9c3905648223b6d784f68e0693I, samyarpotlapalli <[email protected]>, hereby add my Signed-off-by to this commit: b6078ce3560dcbe18cff09737491861f82d37f78I, samyarpotlapalli <[email protected]>, hereby add my Signed-off-by to this commit: d32a9c4a26513d4a36d9ce45fa2d511ba5cc6f73Signed-off-by: samyarpotlapalli <[email protected]>

Signed-off-by: samyarpotlapalli <[email protected]>
…tlapalli <[email protected]>, hereby add my Signed-off-by to this commit: c01034e23bd6bd9c3905648223b6d784f68e0693I, samyarpotlapalli <[email protected]>, hereby add my Signed-off-by to this commit: b6078ce3560dcbe18cff09737491861f82d37f78I, samyarpotlapalli <[email protected]>, hereby add my Signed-off-by to this commit: d32a9c4a26513d4a36d9ce45fa2d511ba5cc6f73Signed-off-by: samyarpotlapalli <[email protected]>
Copy link

codecov bot commented Aug 5, 2025

Codecov Report

❌ Patch coverage is 73.33333% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.23%. Comparing base (ef47a70) to head (fcaaf00).

Files with missing lines Patch % Lines
src/sasctl/_services/model_management.py 62.06% 11 Missing ⚠️
src/sasctl/_services/score_definitions.py 92.85% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #220      +/-   ##
==========================================
+ Coverage   64.17%   64.23%   +0.05%     
==========================================
  Files          57       57              
  Lines        6230     6274      +44     
==========================================
+ Hits         3998     4030      +32     
- Misses       2232     2244      +12     
Flag Coverage Δ
integration 64.23% <73.33%> (+0.05%) ⬆️
unit 64.23% <73.33%> (+0.05%) ⬆️

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

☔ 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.

@samyarpotlapalli
Copy link
Collaborator Author

Need one more unit test

@samyarpotlapalli samyarpotlapalli deleted the publish_model_versions branch August 8, 2025 15:54
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