Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/gap-text2sql
/ accuracy
Function
accuracy
rat-sql-gap/seq2struct/datasets/spider_lib/evaluation.py:86–89 ·
view source on GitHub ↗
(count, total)
Source
from the content-addressed store, hash-verified
84
85
86
def
accuracy(count, total):
87
if
count == total:
88
return
1
89
return
0
90
91
92
def
recall(count, total):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected