AlibabaResearch / AlibabaResearch/DAMO-ConvAI

Incorrect gold sql question_id 408

Đang mở
#191 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1.6k
Fork
250
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

{
"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()

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.