# RagTranslationApplicationService

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 44 of 697 | 93% | 13 of 82 | 84% | 14 | 54 | 15 | 140 | 2 | 13
clearAllTranslationMemory() |  | 0% |  | n/a | 1 | 1 | 11 | 11 | 1 | 1
searchFallback(float[], Long, String, List) |  | 92% |  | 72% | 4 | 10 | 2 | 23 | 0 | 1
lambda$searchFallback$0(VectorSearchResult, VectorSearchResult) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
doStore(String, String, String, String, Long, String) |  | 96% |  | 75% | 3 | 7 | 2 | 18 | 0 | 1
rejectQuality(String, String) |  | 100% |  | 88% | 3 | 14 | 0 | 25 | 0 | 1
doSearch(String, String, Long, List) |  | 100% |  | 92% | 1 | 8 | 0 | 27 | 0 | 1
cosineSimilarity(float[], List) |  | 100% |  | 87% | 1 | 5 | 0 | 14 | 0 | 1
toRagMatches(List) |  | 100% |  | 100% | 0 | 2 | 0 | 10 | 0 | 1
buildEmptyResponse() |  | 100% |  | n/a | 0 | 1 | 0 | 4 | 0 | 1
searchSimilarWithModes(Long, String, String, List) |  | 100% |  | 100% | 0 | 2 | 0 | 3 | 0 | 1
RagTranslationApplicationService(EmbeddingPort, TranslationMemoryService, VectorStorePort) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
storeTranslationMemory(String, String, String, String, Long, String) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
static {...} |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1