-
Notifications
You must be signed in to change notification settings - Fork 149
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
[FEATURE] Improve test coverage for MLEngine Class #1376
Labels
Comments
Hi, I'd like to contribute to this but I'm not sure how to start. Could you help me get started? |
@divitr Looks like you are working on this issue. I'm assigning it to you. |
@divitr could you please comment on this issue? Otherwise I can't assign it to you. |
Sure! |
@dhrubo-os Can you please assign this to me, I will work on this. |
Sure, thanks for looking at it. |
akolarkunnu
added a commit
to akolarkunnu/ml-commons
that referenced
this issue
Mar 19, 2025
Improved the test coverage by adding missed use cases. There is no zero argument constructor, constructor with Input as paremeter and constructor with MLAlgoParams.class as paremeter in the class class org.opensearch.ml.engine.algorithms.metrics_correlation.MetricsCorrelation. So it is impossible to cover remianing potions, it always throws java.lang.NoSuchMethodException: org.opensearch.ml.engine.algorithms.metrics_correlation.MetricsCorrelation.<init>(). Resolves opensearch-project#1376 Signed-off-by: Abdul Muneer Kolarkunnu <[email protected]>
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We need to improve test coverage in our repo.
This issue will target only to improve test coverage for MLEngine.java class
From this url we can see where test coverage is missing for this class: https://app.codecov.io/gh/opensearch-project/ml-commons/blob/2.x/ml-algorithms%2Fsrc%2Fmain%2Fjava%2Forg%2Fopensearch%2Fml%2Fengine%2FMLEngine.java
The text was updated successfully, but these errors were encountered: