Skip to content

Publish model versions - added another unit test #221

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

Merged
merged 8 commits into from
Aug 8, 2025

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 <posa@unc.edu>
…@unc.edu>I, samyarpotlapalli <posa@unc.edu>, hereby add my Signed-off-by to this commit: c01034e23bd6bd9c3905648223b6d784f68e0693I, samyarpotlapalli <posa@unc.edu>, hereby add my Signed-off-by to this commit: b6078ce3560dcbe18cff09737491861f82d37f78I, samyarpotlapalli <posa@unc.edu>, hereby add my Signed-off-by to this commit: d32a9c4a26513d4a36d9ce45fa2d511ba5cc6f73Signed-off-by: samyarpotlapalli <posa@unc.edu>

Signed-off-by: samyarpotlapalli <posa@unc.edu>
…tlapalli <posa@unc.edu>, hereby add my Signed-off-by to this commit: c01034e23bd6bd9c3905648223b6d784f68e0693I, samyarpotlapalli <posa@unc.edu>, hereby add my Signed-off-by to this commit: b6078ce3560dcbe18cff09737491861f82d37f78I, samyarpotlapalli <posa@unc.edu>, hereby add my Signed-off-by to this commit: d32a9c4a26513d4a36d9ce45fa2d511ba5cc6f73Signed-off-by: samyarpotlapalli <posa@unc.edu>
Signed-off-by: samyarpotlapalli <posa@unc.edu>
Signed-off-by: samyarpotlapalli <posa@unc.edu>
@samyarpotlapalli
Copy link
Collaborator Author

I tried to fix the Deepsource Python issues, but it's saying the code that I didn't create for create_performance_definition is too complex, but that's already in master so I didn't want to edit that. Also, for DCO, I tried applying that commit message to my previous commits but I'm not sure why it wasn't working.

Copy link
Collaborator

@smlindauer smlindauer left a comment

Choose a reason for hiding this comment

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

Looks good!

@smlindauer
Copy link
Collaborator

I tried to fix the Deepsource Python issues, but it's saying the code that I didn't create for create_performance_definition is too complex, but that's already in master so I didn't want to edit that. Also, for DCO, I tried applying that commit message to my previous commits but I'm not sure why it wasn't working.

You can ignore the DeepSource and DCO issues for now. We need to do a full refactor on the repo to make them happy.

@samyarpotlapalli samyarpotlapalli marked this pull request as ready for review August 8, 2025 15:54
@samyarpotlapalli samyarpotlapalli merged commit 1660da9 into master Aug 8, 2025
19 of 21 checks passed
@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.

3 participants