Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/gap-text2sql
/ has_agg
Function
has_agg
rat-sql-gap/seq2struct/datasets/spider_lib/evaluation.py:82–83 ·
view source on GitHub ↗
(unit)
Source
from the content-addressed store, hash-verified
80
81
82
def
has_agg(unit):
83
return
unit[0] != AGG_OPS.index(
'none'
)
84
85
86
def
accuracy(count, total):
Callers
1
count_agg
Function · 0.85
Calls
1
index
Method · 0.80
Tested by
no test coverage detected