AlibabaResearch / AlibabaResearch/DAMO-ConvAI

Incorrect gold sql question_id 408

未关闭
#191 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1.6k
派生
250
PR 合并指标
30 天内没有已合并 PR

描述

{
"question_id": 408,
"db_id": "card_games",
"question": "How many unknown power cards contain info about the triggered ability",
"evidence": "unknown power cards refers to power is null or power = '\*';contain info about the triggered ability refers to text contains 'triggered ability'",
"SQL": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE (T1.power IS NULL OR T1.power = '*') AND T2.text LIKE '%triggered ability%'",
"difficulty": "moderate"
}

Correct SQL:
SELECT COUNT(\*) FROM cards WHERE (power IS NULL OR power = '\*') AND text LIKE '%triggered ability%';

Justification:
question asks "how many," which refers to Count()

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。