opensearch-project / ml-commons

ml-commons provides a set of common machine learning algorithms, e.g. k-means, or linear regression, to help developers build ML related features within OpenSearch.
Apache License 2.0
95 stars 129 forks source link

[FEATURE] Improve test coverage for HuggingfaceTextEmbeddingTranslator.java #1384

Open dhrubo-os opened 1 year ago

dhrubo-os commented 1 year ago

We need to improve test coverage in our repo.

This issue will target only to improve test coverage for HuggingfaceTextEmbeddingTranslator.java

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%2Falgorithms%2Ftext_embedding%2FHuggingfaceTextEmbeddingTranslator.java

kmcarranza commented 1 year ago

@dhrubo-os I would like to do this as a first project.

dhrubo-os commented 1 year ago

Sure, assigning to you.

dhrubo-os commented 11 months ago

@kmcarranza any update on this?

kmcarranza commented 11 months ago

@dhrubo-os Hello. I still working on this code and I hope to have something to push Monday. Thank you.