Skip to content

Conversation

@jlpainter
Copy link

Upon repeated analysis of distance metrics, discrepancies were observed. This appears to be caused by the YTEX package attempting to cache LCS's between CUIs, leading to inconsistent outputs when making repeated calls to the similarity service. By disabling the cache, each distance computation is forced to locate the LCS, ensuring consistent output even when calling multiple CUI pairs in succession.

From my testing, the performance impact of disabling the cache is negligible. Until further investigation can determine why the cache is causing inconsistencies, it is advisable to keep it disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant