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

Add degradation metric computation implementation #91

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ashvina
Copy link
Contributor

@ashvina ashvina commented Jun 28, 2023

This change adds a basic implementation for computing degradation metric as described in the paper. The implementation, along with the helper class, can compute degradation from metric points provided in input, where each metric point is annotated with the operator (e.g. phase) it is associated with and the type of metric.

Additionally, tests have been created to ensure the functionality is working as expected. The project structure has also been updated to accommodate these new additions.

The change does not trigger build testing yet.

Fix #90

This change adds a baisc implementation for computing degradataion
metric as described in the paper. The implementation, along with the
helper class, can compute degradation from metric points provided in
input, where each metric point is annotated with the operator (e.g.
phase) it is associated with and the type of metric.

Additionally, tests have been created to ensure the functionality
is working as expected. The project structure has also been updated
to accommodate these new additions.
@ashvina ashvina added the enhancement New feature or request label Jun 28, 2023
@ashvina ashvina requested a review from jcamachor June 28, 2023 16:05
version='0.1',
packages=find_packages(),
install_requires=[
'pandas>=1.5.3',
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not that familiar with Python conventions, but the project contains a list of required packages that were added by @poojanilangekar :
https://github.com/microsoft/lst-bench/blob/main/metrics/notebooks/requirements.txt
Shouldn't this list match that one (and have a single source of truth rather than two as well)?

@@ -0,0 +1,83 @@
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this file be under metrics/utils/ to match the existing folder structure of the Python project? It seems that all the other metrics (cluster, storage) where committed there. If we want to have a folder per metric type, maybe the others should be moved into their own folder (cc @anjagruenheid )? WDYT?

@jcamachor jcamachor force-pushed the main branch 6 times, most recently from 44a31f1 to 13a6b2c Compare January 23, 2024 01:05
@jcamachor jcamachor force-pushed the main branch 2 times, most recently from 868d4f8 to ff310c5 Compare April 30, 2024 18:18
@jcamachor jcamachor force-pushed the main branch 3 times, most recently from 4def705 to 7876be3 Compare July 10, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Degradation Metric Calculation for Stability Analysis
2 participants