oracle / accelerated-data-science

ADS is the Oracle Data Science Cloud Service's python SDK supporting, model ops (train/eval/deploy), along with running workloads on Jobs and Pipeline resources.
https://accelerated-data-science.readthedocs.io/
Universal Permissive License v1.0
87 stars 43 forks source link

[ODSC-59433] Bug fix for incorrect overrides from deployment config files #890

Closed VipulMascarenhas closed 3 months ago

VipulMascarenhas commented 3 months ago

Description

This PR covers the following:

The changes for the bug fixes are in deployment.py and test_deployment.py, rest all changes are due to ruff updates.

Jira

ODSC-59433

Unit Tests

 python -m pytest -q tests/unitary/with_extras/aqua/test_*
================================================= test session starts ==================================================
platform darwin -- Python 3.8.19, pytest-7.4.4, pluggy-1.0.0
rootdir: /Users/user/workspace/git/accelerated-data-science
configfile: pytest.ini
plugins: Faker-26.0.0, cov-5.0.0, anyio-4.2.0, xdist-3.6.1
collected 191 items

tests/unitary/with_extras/aqua/test_cli.py ..............                                                        [  7%]
tests/unitary/with_extras/aqua/test_common_handler.py ...                                                        [  8%]
tests/unitary/with_extras/aqua/test_decorator.py ..........                                                      [ 14%]
tests/unitary/with_extras/aqua/test_deployment.py ....................                                           [ 24%]
tests/unitary/with_extras/aqua/test_deployment_handler.py ..s......                                              [ 29%]
tests/unitary/with_extras/aqua/test_evaluation.py .............................                                  [ 44%]
tests/unitary/with_extras/aqua/test_evaluation_handler.py .........                                              [ 49%]
tests/unitary/with_extras/aqua/test_finetuning.py .......                                                        [ 52%]
tests/unitary/with_extras/aqua/test_finetuning_handler.py .....                                                  [ 55%]
tests/unitary/with_extras/aqua/test_global.py ...                                                                [ 57%]
tests/unitary/with_extras/aqua/test_handlers.py .................                                                [ 65%]
tests/unitary/with_extras/aqua/test_model.py .................                                                   [ 74%]
tests/unitary/with_extras/aqua/test_model_handler.py .......                                                     [ 78%]
tests/unitary/with_extras/aqua/test_ui.py ...............                                                        [ 86%]
tests/unitary/with_extras/aqua/test_ui_handler.py ..............                                                 [ 93%]
tests/unitary/with_extras/aqua/test_ui_websocket_handler.py ....                                                 [ 95%]
tests/unitary/with_extras/aqua/test_utils.py ........                                                            [100%]

=========================================== 190 passed, 1 skipped in 30.44s ============================================
github-actions[bot] commented 3 months ago

šŸ“Œ Cov diff with main:

Coverage-78%

šŸ“Œ Overall coverage:

Coverage-60.67%

github-actions[bot] commented 3 months ago

šŸ“Œ Cov diff with main:

Coverage-78%

šŸ“Œ Overall coverage:

Coverage-60.44%

github-actions[bot] commented 3 months ago

šŸ“Œ Cov diff with main:

Coverage-78%

šŸ“Œ Overall coverage:

Coverage-60.45%

github-actions[bot] commented 3 months ago

šŸ“Œ Cov diff with main:

Coverage-77%

šŸ“Œ Overall coverage:

Coverage-60.45%

github-actions[bot] commented 3 months ago

šŸ“Œ Cov diff with main:

Coverage-77%

šŸ“Œ Overall coverage:

Coverage-60.43%