MCPcopy 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
82def has_agg(unit):
83 return unit[0] != AGG_OPS.index('none')
84
85
86def accuracy(count, total):

Callers 1

count_aggFunction · 0.85

Calls 1

indexMethod · 0.80

Tested by

no test coverage detected