Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YZ-Cai/SimGRAG
/ check_answer
Function
check_answer
src/utils.py:53–57 ·
view source on GitHub ↗
(answer, groundtruths)
Source
from the content-addressed store, hash-verified
51
52
53
def
check_answer(answer, groundtruths):
54
for
gt in groundtruths:
55
if
gt.lower() in answer.lower():
56
return
True
57
return
False
Callers
4
run
Function · 0.90
run
Function · 0.90
run
Function · 0.90
run
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected