MCPcopy Create free account
hub / github.com/Tencent/LuaHelper / Score

Method Score

luahelper-lsp/langserver/check/check_lsp_symbol.go:285–320  ·  view source on GitHub ↗

Score returns the score returned by matching the candidate to the pattern. This is not designed for parallel use. Multiple candidates must be scored sequentially. Returns a score between 0 and 1 (0 - no match, 1 - perfect match).

(candidate string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

collectMethod · 0.80
getAnnotateFileSymbolMethod · 0.80

Calls 4

matchMethod · 0.95
computeScoreMethod · 0.95
poorMatchMethod · 0.95
ToLowerFunction · 0.85

Tested by

no test coverage detected