{"id": "F1_ordered_customers|Delhi|S_s104", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Delhi"}, "question": "How many distinct customers from Delhi have placed at least one order (of any status)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_x_x/cf_drop_customers.db", "train/dbs/S_s104/f_Delhi_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[3]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Delhi'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Delhi'"}, "mutant_blind": {"count_rows": false, "all_customers": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Mumbai|S_s104", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Mumbai"}, "question": "Count the customers based in Mumbai who have ever placed an order, whatever its status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_x_x/cf_new_customers.db", "train/dbs/S_s104/f_Mumbai_x_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[12]], [[17]], [[12]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Mumbai'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Mumbai'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Jaipur|S_s104", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Jaipur"}, "question": "Count the customers based in Jaipur who have ever placed an order, whatever its status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_x_x/cf_new_customers.db", "train/dbs/S_s104/f_Jaipur_x_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Jaipur'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Jaipur'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Kochi|S_s104", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Kochi"}, "question": "Count the customers based in Kochi who have ever placed an order, whatever its status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_x_x/cf_new_customers.db", "train/dbs/S_s104/f_Kochi_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[9]], [[7]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Kochi'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Kochi'"}, "mutant_blind": {"count_rows": false, "all_customers": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Indore|S_s104", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Indore"}, "question": "How many distinct customers from Indore have placed at least one order (of any status)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_x_x/cf_drop_customers.db", "train/dbs/S_s104/f_Indore_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[6]], [[7]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Indore'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Indore'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Surat|S_s104", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Surat"}, "question": "How many distinct customers from Surat have placed at least one order (of any status)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_x_x/cf_drop_customers.db", "train/dbs/S_s104/f_Surat_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[4]], [[6]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Surat'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Surat'"}, "mutant_blind": {"count_rows": false, "all_customers": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Nagpur|S_s104", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Nagpur"}, "question": "Count the customers based in Nagpur who have ever placed an order, whatever its status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_x_x/cf_new_customers.db", "train/dbs/S_s104/f_Nagpur_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Nagpur'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Nagpur'"}, "mutant_blind": {"count_rows": false, "all_customers": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_products_sold|books|2024|S_s104", "template": "F1_products_sold", "family": "F1", "split": "train", "params": {"category": "books", "year": 2024}, "question": "In 2024, how many distinct products from the books category appeared in orders, counting every order status?", "gold_sql": "SELECT COUNT(DISTINCT oi.product_id) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2024_books/cf_dup_order.db", "train/dbs/S_s104/f_x_2024_books/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM products p WHERE p.category = 'books' AND p.product_id IN (SELECT oi.product_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id WHERE o.order_date LIKE '2024-%')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT oi.order_id) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_products_sold|electronics|2024|S_s104", "template": "F1_products_sold", "family": "F1", "split": "train", "params": {"category": "electronics", "year": 2024}, "question": "In 2024, how many distinct products from the electronics category appeared in orders, counting every order status?", "gold_sql": "SELECT COUNT(DISTINCT oi.product_id) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2024_electronics/cf_drop_customers.db", "train/dbs/S_s104/f_x_2024_electronics/cf_new_customers.db"], "cf_edits": ["drop_customers", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[4]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM products p WHERE p.category = 'electronics' AND p.product_id IN (SELECT oi.product_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id WHERE o.order_date LIKE '2024-%')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT oi.order_id) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_products_sold|apparel|2024|S_s104", "template": "F1_products_sold", "family": "F1", "split": "train", "params": {"category": "apparel", "year": 2024}, "question": "How many different apparel products were ordered in 2024 (orders of any status)?", "gold_sql": "SELECT COUNT(DISTINCT oi.product_id) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2024_apparel/cf_new_customers.db", "train/dbs/S_s104/f_x_2024_apparel/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM products p WHERE p.category = 'apparel' AND p.product_id IN (SELECT oi.product_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id WHERE o.order_date LIKE '2024-%')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT oi.order_id) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_customer_list|Delhi|books|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "books"}, "question": "Which customers (by customer_id) based in Delhi have bought something from the books category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_x_books/cf_new_customers.db", "train/dbs/S_s104/f_Delhi_x_books/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [22], [24], [48]], [[3], [22], [24], [48], [51], [52]], [[3], [22], [24], [48]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|electronics|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "electronics"}, "question": "Which customers (by customer_id) based in Delhi have bought something from the electronics category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_x_electronics/cf_dup_order.db", "train/dbs/S_s104/f_Delhi_x_electronics/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[3], [24], [22]], [[3]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|grocery|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "grocery"}, "question": "List the IDs of customers from Delhi who have ordered at least one grocery product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_x_grocery/cf_cancelled_orders.db", "train/dbs/S_s104/f_Delhi_x_grocery/cf_zero_order_customers.db"], "cf_edits": ["cancelled_orders", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [3], [22], [48]], [[1], [3], [22], [48], [24]], [[1], [3], [22], [48]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|toys|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "toys"}, "question": "Which customers (by customer_id) based in Delhi have bought something from the toys category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_x_toys/cf_new_customers.db", "train/dbs/S_s104/f_Delhi_x_toys/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [3], [22]], [[1], [3], [22], [51], [52]], [[1], [3], [22]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|home|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "home"}, "question": "List the IDs of customers from Delhi who have ordered at least one home product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_x_home/cf_new_customers.db", "train/dbs/S_s104/f_Delhi_x_home/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[22]], [[22], [51], [52]], [[22]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|books|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "books"}, "question": "Which customers (by customer_id) based in Mumbai have bought something from the books category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_x_books/cf_new_customers.db", "train/dbs/S_s104/f_Mumbai_x_books/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [32], [37], [47], [50]], [[4], [32], [37], [47], [50], [51], [52], [53], [54], [55]], [[4], [32], [37], [47], [50]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|electronics|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "electronics"}, "question": "List the IDs of customers from Mumbai who have ordered at least one electronics product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_x_electronics/cf_drop_customers.db", "train/dbs/S_s104/f_Mumbai_x_electronics/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [6], [26], [33], [37], [42], [43], [45], [47]], [[4], [6], [26], [33], [37], [42], [45], [47]], [[4], [6], [26], [33], [37], [42], [43], [45], [47]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|grocery|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "grocery"}, "question": "Which customers (by customer_id) based in Mumbai have bought something from the grocery category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_x_grocery/cf_cancelled_orders.db", "train/dbs/S_s104/f_Mumbai_x_grocery/cf_refunds.db"], "cf_edits": ["cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[6], [32], [37], [41], [45]], [[6], [32], [37], [41], [45], [42], [47], [43]], [[6], [32], [37], [41], [45]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|toys|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "toys"}, "question": "List the IDs of customers from Mumbai who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_x_toys/cf_new_customers.db", "train/dbs/S_s104/f_Mumbai_x_toys/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [6], [32], [33], [37], [47]], [[4], [6], [32], [33], [37], [47], [51], [52], [53], [54], [55]], [[4], [6], [32], [33], [37], [47]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|apparel|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "apparel"}, "question": "List the IDs of customers from Mumbai who have ordered at least one apparel product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_x_apparel/cf_drop_customers.db", "train/dbs/S_s104/f_Mumbai_x_apparel/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[6], [32], [50]], [[32], [50]], [[6], [32], [50]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|home|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "home"}, "question": "Which customers (by customer_id) based in Mumbai have bought something from the home category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_x_home/cf_dup_order.db", "train/dbs/S_s104/f_Mumbai_x_home/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[6], [32], [33], [37], [41], [42], [43], [50]], [[6], [32], [33], [37], [41], [42], [43], [50], [4]], [[6], [32], [33], [37], [41], [42], [43], [50]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|books|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "books"}, "question": "Which customers (by customer_id) based in Jaipur have bought something from the books category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_x_books/cf_dup_order.db", "train/dbs/S_s104/f_Jaipur_x_books/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[35]], [[35], [11], [44]], [[35]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|electronics|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "electronics"}, "question": "Which customers (by customer_id) based in Jaipur have bought something from the electronics category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_x_electronics/cf_new_customers.db", "train/dbs/S_s104/f_Jaipur_x_electronics/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [35], [44]], [[11], [35], [44], [51], [52]], [[11], [35], [44]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|grocery|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "grocery"}, "question": "Which customers (by customer_id) based in Jaipur have bought something from the grocery category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_x_grocery/cf_new_customers.db", "train/dbs/S_s104/f_Jaipur_x_grocery/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [35], [44]], [[11], [35], [44], [51], [52]], [[11], [35], [44]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|toys|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "toys"}, "question": "List the IDs of customers from Jaipur who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_x_toys/cf_new_customers.db", "train/dbs/S_s104/f_Jaipur_x_toys/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [44]], [[11], [44], [51], [52]], [[11], [44]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|apparel|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "apparel"}, "question": "List the IDs of customers from Jaipur who have ordered at least one apparel product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_x_apparel/cf_new_customers.db", "train/dbs/S_s104/f_Jaipur_x_apparel/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [35]], [[11], [35], [51], [52]], [[11], [35]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|home|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "home"}, "question": "List the IDs of customers from Jaipur who have ordered at least one home product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_x_home/cf_cancelled_orders.db", "train/dbs/S_s104/f_Jaipur_x_home/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [35]], [[11], [35], [44]], [[11], [35]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|books|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "books"}, "question": "List the IDs of customers from Kochi who have ordered at least one books product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_x_books/cf_cancelled_orders.db", "train/dbs/S_s104/f_Kochi_x_books/cf_adjustments.db"], "cf_edits": ["cancelled_orders", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [20], [23], [28], [38]], [[10], [20], [23], [28], [38], [30], [31]], [[10], [20], [23], [28], [38]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|electronics|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "electronics"}, "question": "List the IDs of customers from Kochi who have ordered at least one electronics product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_x_electronics/cf_new_customers.db", "train/dbs/S_s104/f_Kochi_x_electronics/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [20], [23], [28], [30]], [[10], [20], [23], [28], [30], [51], [52]], [[10], [20], [23], [28], [30]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|grocery|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "grocery"}, "question": "List the IDs of customers from Kochi who have ordered at least one grocery product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_x_grocery/cf_drop_customers.db", "train/dbs/S_s104/f_Kochi_x_grocery/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [20], [23], [28], [30], [38]], [[10], [23], [28], [38]], [[10], [20], [23], [28], [30], [38]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|toys|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "toys"}, "question": "Which customers (by customer_id) based in Kochi have bought something from the toys category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_x_toys/cf_dup_order.db", "train/dbs/S_s104/f_Kochi_x_toys/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[20], [23], [31]], [[20], [23], [31], [30], [10]], [[20], [23], [31]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|apparel|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "apparel"}, "question": "Which customers (by customer_id) based in Kochi have bought something from the apparel category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_x_apparel/cf_dup_order.db", "train/dbs/S_s104/f_Kochi_x_apparel/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[20], [23], [38]], [[20], [23], [38], [31], [28]], [[20], [23], [38]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|home|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "home"}, "question": "List the IDs of customers from Kochi who have ordered at least one home product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_x_home/cf_cancelled_orders.db", "train/dbs/S_s104/f_Kochi_x_home/cf_later_tier.db"], "cf_edits": ["cancelled_orders", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[20], [23], [28], [38]], [[20], [23], [28], [38], [10], [31]], [[20], [23], [28], [38]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|books|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "books"}, "question": "Which customers (by customer_id) based in Indore have bought something from the books category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_x_books/cf_dup_order.db", "train/dbs/S_s104/f_Indore_x_books/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [21], [39]], [[18], [21], [39], [19], [7], [17]], [[18], [21], [39]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|electronics|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "electronics"}, "question": "Which customers (by customer_id) based in Indore have bought something from the electronics category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_x_electronics/cf_new_customers.db", "train/dbs/S_s104/f_Indore_x_electronics/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [17], [18], [19], [21], [39]], [[12], [17], [18], [19], [21], [39], [51], [52]], [[12], [17], [18], [19], [21], [39]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|grocery|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "grocery"}, "question": "List the IDs of customers from Indore who have ordered at least one grocery product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_x_grocery/cf_cancelled_orders.db", "train/dbs/S_s104/f_Indore_x_grocery/cf_split_payments.db"], "cf_edits": ["cancelled_orders", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [12], [17], [18], [19]], [[7], [12], [17], [18], [19], [21], [39]], [[7], [12], [17], [18], [19]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|toys|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "toys"}, "question": "List the IDs of customers from Indore who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_x_toys/cf_new_customers.db", "train/dbs/S_s104/f_Indore_x_toys/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[18]], [[18], [51], [52]], [[18]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|apparel|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "apparel"}, "question": "List the IDs of customers from Indore who have ordered at least one apparel product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_x_apparel/cf_cancelled_orders.db", "train/dbs/S_s104/f_Indore_x_apparel/cf_adjustments.db"], "cf_edits": ["cancelled_orders", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [17], [19]], [[12], [17], [19], [7], [18]], [[12], [17], [19]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|home|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "home"}, "question": "Which customers (by customer_id) based in Indore have bought something from the home category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_x_home/cf_new_customers.db", "train/dbs/S_s104/f_Indore_x_home/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [17], [19], [21], [39]], [[7], [17], [19], [21], [39], [51], [52]], [[7], [17], [19], [21], [39]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|books|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "books"}, "question": "List the IDs of customers from Surat who have ordered at least one books product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_x_books/cf_new_customers.db", "train/dbs/S_s104/f_Surat_x_books/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[29], [40], [49]], [[29], [40], [49], [51], [52]], [[29], [40], [49]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|electronics|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "electronics"}, "question": "Which customers (by customer_id) based in Surat have bought something from the electronics category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_x_electronics/cf_new_customers.db", "train/dbs/S_s104/f_Surat_x_electronics/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [9], [29], [40]], [[2], [9], [29], [40], [51], [52]], [[2], [9], [29], [40]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|grocery|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "grocery"}, "question": "List the IDs of customers from Surat who have ordered at least one grocery product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_x_grocery/cf_cancelled_orders.db", "train/dbs/S_s104/f_Surat_x_grocery/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [27], [49]], [[9], [27], [49], [40], [29]], [[9], [27], [49]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|toys|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "toys"}, "question": "List the IDs of customers from Surat who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_x_toys/cf_dup_order.db", "train/dbs/S_s104/f_Surat_x_toys/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [29]], [[2], [29], [9], [27]], [[2], [29]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|apparel|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "apparel"}, "question": "List the IDs of customers from Surat who have ordered at least one apparel product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_x_apparel/cf_cancelled_orders.db", "train/dbs/S_s104/f_Surat_x_apparel/cf_later_tier.db"], "cf_edits": ["cancelled_orders", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[29], [49]], [[29], [49], [40], [2]], [[29], [49]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Nagpur|books|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "books"}, "question": "Which customers (by customer_id) based in Nagpur have bought something from the books category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_x_books/cf_new_customers.db", "train/dbs/S_s104/f_Nagpur_x_books/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[25]], [[25], [51], [52]], [[25]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Nagpur|electronics|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "electronics"}, "question": "List the IDs of customers from Nagpur who have ordered at least one electronics product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_x_electronics/cf_drop_customers.db", "train/dbs/S_s104/f_Nagpur_x_electronics/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [25]], [[25]], [[5], [25]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Nagpur|grocery|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "grocery"}, "question": "Which customers (by customer_id) based in Nagpur have bought something from the grocery category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_x_grocery/cf_new_customers.db", "train/dbs/S_s104/f_Nagpur_x_grocery/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [25]], [[5], [25], [51], [52]], [[5], [25]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Nagpur|apparel|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "apparel"}, "question": "List the IDs of customers from Nagpur who have ordered at least one apparel product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_x_apparel/cf_drop_customers.db", "train/dbs/S_s104/f_Nagpur_x_apparel/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[25]], [], [[25]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Nagpur|home|S_s104", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "home"}, "question": "Which customers (by customer_id) based in Nagpur have bought something from the home category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_x_home/cf_new_customers.db", "train/dbs/S_s104/f_Nagpur_x_home/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[25]], [[25], [51], [52]], [[25]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_paying_customers|Delhi|2024|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "How many distinct customers from Delhi made at least one payment in 2024 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_2024_x/cf_drop_customers.db", "train/dbs/S_s104/f_Delhi_2024_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Delhi|2025|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "How many distinct customers from Delhi made at least one payment in 2025 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_2025_x/cf_drop_customers.db", "train/dbs/S_s104/f_Delhi_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[2]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Mumbai|2024|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "Count the customers in Mumbai who paid anything during 2024, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Mumbai_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[4]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Mumbai|2025|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "Count the customers in Mumbai who paid anything during 2025, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_2025_x/cf_drop_customers.db", "train/dbs/S_s104/f_Mumbai_2025_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[5]], [[10]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Jaipur|2024|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "How many distinct customers from Jaipur made at least one payment in 2024 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_2024_x/cf_drop_customers.db", "train/dbs/S_s104/f_Jaipur_2024_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Jaipur|2025|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "How many distinct customers from Jaipur made at least one payment in 2025 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_2025_x/cf_drop_customers.db", "train/dbs/S_s104/f_Jaipur_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Kochi|2024|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "How many distinct customers from Kochi made at least one payment in 2024 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_2024_x/cf_drop_customers.db", "train/dbs/S_s104/f_Kochi_2024_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Kochi|2025|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "How many distinct customers from Kochi made at least one payment in 2025 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_2025_x/cf_drop_customers.db", "train/dbs/S_s104/f_Kochi_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[4]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Indore|2024|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "How many distinct customers from Indore made at least one payment in 2024 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Indore_2024_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[7]], [[6]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Indore|2025|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "How many distinct customers from Indore made at least one payment in 2025 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Indore_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[6]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Surat|2024|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "How many distinct customers from Surat made at least one payment in 2024 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Surat_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Surat|2025|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "How many distinct customers from Surat made at least one payment in 2025 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_2025_x/cf_drop_customers.db", "train/dbs/S_s104/f_Surat_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Nagpur|2024|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "Count the customers in Nagpur who paid anything during 2024, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Nagpur_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_paying_customers|Nagpur|2025|S_s104", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "How many distinct customers from Nagpur made at least one payment in 2025 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Nagpur_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F2_paid_for_category|books|2024|S_s104", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "books", "year": 2024}, "question": "What is the total amount paid (sum of payments) for orders placed in 2024 that contain at least one books product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2024_books/cf_new_customers.db", "train/dbs/S_s104/f_x_2024_books/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[55367]], [[226773]], [[55367]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'books'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|books|2025|S_s104", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "books", "year": 2025}, "question": "Sum the payments received for 2025 orders that include any books item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2025_books/cf_new_customers.db", "train/dbs/S_s104/f_x_2025_books/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[200989]], [[348570]], [[200989]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'books'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|electronics|2024|S_s104", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "electronics", "year": 2024}, "question": "Sum the payments received for 2024 orders that include any electronics item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2024_electronics/cf_drop_customers.db", "train/dbs/S_s104/f_x_2024_electronics/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[87914]], [[48351]], [[87914]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'electronics'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|electronics|2025|S_s104", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "electronics", "year": 2025}, "question": "What is the total amount paid (sum of payments) for orders placed in 2025 that contain at least one electronics product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2025_electronics/cf_adjustments.db", "train/dbs/S_s104/f_x_2025_electronics/cf_split_items.db"], "cf_edits": ["adjustments", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[182529]], [[184109]], [[182529]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'electronics'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|grocery|2024|S_s104", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "grocery", "year": 2024}, "question": "What is the total amount paid (sum of payments) for orders placed in 2024 that contain at least one grocery product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2024_grocery/cf_new_customers.db", "train/dbs/S_s104/f_x_2024_grocery/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[121582]], [[231286]], [[121582]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'grocery'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|grocery|2025|S_s104", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "grocery", "year": 2025}, "question": "Sum the payments received for 2025 orders that include any grocery item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2025_grocery/cf_new_customers.db", "train/dbs/S_s104/f_x_2025_grocery/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[188499]], [[314473]], [[188499]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'grocery'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|toys|2024|S_s104", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "toys", "year": 2024}, "question": "What is the total amount paid (sum of payments) for orders placed in 2024 that contain at least one toys product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2024_toys/cf_new_customers.db", "train/dbs/S_s104/f_x_2024_toys/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[50853]], [[144690]], [[50853]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'toys'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|toys|2025|S_s104", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "toys", "year": 2025}, "question": "What is the total amount paid (sum of payments) for orders placed in 2025 that contain at least one toys product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2025_toys/cf_new_customers.db", "train/dbs/S_s104/f_x_2025_toys/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[108795]], [[257286]], [[108795]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'toys'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|apparel|2024|S_s104", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "apparel", "year": 2024}, "question": "What is the total amount paid (sum of payments) for orders placed in 2024 that contain at least one apparel product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2024_apparel/cf_new_customers.db", "train/dbs/S_s104/f_x_2024_apparel/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[48986]], [[146692]], [[48986]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'apparel'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|apparel|2025|S_s104", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "apparel", "year": 2025}, "question": "Sum the payments received for 2025 orders that include any apparel item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2025_apparel/cf_dup_order.db", "train/dbs/S_s104/f_x_2025_apparel/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[59488]], [[124417]], [[59488]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'apparel'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|home|2024|S_s104", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "home", "year": 2024}, "question": "Sum the payments received for 2024 orders that include any home item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2024_home/cf_new_customers.db", "train/dbs/S_s104/f_x_2024_home/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[87959]], [[186140]], [[87959]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'home'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|home|2025|S_s104", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "home", "year": 2025}, "question": "Sum the payments received for 2025 orders that include any home item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_2025_home/cf_new_customers.db", "train/dbs/S_s104/f_x_2025_home/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[152044]], [[233126]], [[152044]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'home'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Delhi|2024|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2024 by customers from Delhi that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_2024_x/cf_drop_customers.db", "train/dbs/S_s104/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[28013]], [[11523]], [[28013]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Delhi|2025|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "For customers in Delhi, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_2025_x/cf_dup_order.db", "train/dbs/S_s104/f_Delhi_2025_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[39526]], [[42586]], [[39526]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Mumbai|2024|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "For customers in Mumbai, add up quantity times unit price over the items of their 2024 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_2024_x/cf_dup_order.db", "train/dbs/S_s104/f_Mumbai_2024_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[22580]], [[43278]], [[22580]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Mumbai|2025|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "For customers in Mumbai, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_2025_x/cf_drop_customers.db", "train/dbs/S_s104/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[104266]], [[46024]], [[104266]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Jaipur|2024|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "For customers in Jaipur, add up quantity times unit price over the items of their 2024 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_2024_x/cf_drop_customers.db", "train/dbs/S_s104/f_Jaipur_2024_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[34684]], [[19774]], [[34684]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Jaipur|2025|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "For customers in Jaipur, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Jaipur_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[49933]], [[55414]], [[49933]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Kochi|2024|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "For customers in Kochi, add up quantity times unit price over the items of their 2024 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_2024_x/cf_dup_order.db", "train/dbs/S_s104/f_Kochi_2024_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[23347]], [[42521]], [[23347]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Kochi|2025|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "For customers in Kochi, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Kochi_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[52264]], [[66774]], [[52264]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Indore|2024|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "For customers in Indore, add up quantity times unit price over the items of their 2024 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Indore_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[43725]], [[48455]], [[43725]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Indore|2025|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2025 by customers from Indore that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Indore_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[95846]], [[120239]], [[95846]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Surat|2024|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "For customers in Surat, add up quantity times unit price over the items of their 2024 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Surat_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[26830]], [[53100]], [[26830]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Surat|2025|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "For customers in Surat, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_2025_x/cf_dup_order.db", "train/dbs/S_s104/f_Surat_2025_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[32120]], [[36593]], [[32120]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Nagpur|2024|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2024 by customers from Nagpur that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_2024_x/cf_drop_customers.db", "train/dbs/S_s104/f_Nagpur_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[15553]], [[9833]], [[15553]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Nagpur|2025|S_s104", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "For customers in Nagpur, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Nagpur_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[6790]], [[12720]], [[6790]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|books|S_s104", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "books"}, "question": "What is the total refunded amount for orders that contain at least one books product?", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_x_books/cf_refunds.db", "train/dbs/S_s104/f_x_x_books/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[7972]], [[62798]], [[7972]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'books')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|electronics|S_s104", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "electronics"}, "question": "Add up all refunds issued on orders that include any electronics item.", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_x_electronics/cf_refunds.db", "train/dbs/S_s104/f_x_x_electronics/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2544]], [[68723]], [[2544]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'electronics')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|grocery|S_s104", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "grocery"}, "question": "Add up all refunds issued on orders that include any grocery item.", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_x_grocery/cf_refunds.db", "train/dbs/S_s104/f_x_x_grocery/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1098]], [[58737]], [[1098]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'grocery')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|toys|S_s104", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "toys"}, "question": "What is the total refunded amount for orders that contain at least one toys product?", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_x_toys/cf_new_customers.db", "train/dbs/S_s104/f_x_x_toys/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[149]], [[1357]], [[149]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'toys')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|home|S_s104", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "home"}, "question": "What is the total refunded amount for orders that contain at least one home product?", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_x_x_home/cf_new_customers.db", "train/dbs/S_s104/f_x_x_home/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[8028]], [[9437]], [[8028]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'home')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F3_gross_revenue|Delhi|2024|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "Compute 2024 gross revenue for customers based in Delhi.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Delhi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[28013]], [[56112]], [[28013]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Delhi|2025|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "What was the gross revenue from customers in Delhi in 2025?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_2025_x/cf_dup_order.db", "train/dbs/S_s104/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[39526]], [[51667]], [[39526]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Mumbai|2024|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "What was the gross revenue from customers in Mumbai in 2024?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Mumbai_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[29206]], [[87239]], [[29206]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Mumbai|2025|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "What was the gross revenue from customers in Mumbai in 2025?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Mumbai_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[139886]], [[207542]], [[139886]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Jaipur|2024|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "What was the gross revenue from customers in Jaipur in 2024?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Jaipur_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[34684]], [[40298]], [[34684]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Jaipur|2025|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "What was the gross revenue from customers in Jaipur in 2025?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Jaipur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[52513]], [[58644]], [[52513]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Kochi|2024|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "Compute 2024 gross revenue for customers based in Kochi.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_2024_x/cf_dup_order.db", "train/dbs/S_s104/f_Kochi_2024_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[30927]], [[60226]], [[30927]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Kochi|2025|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "Compute 2025 gross revenue for customers based in Kochi.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_2025_x/cf_dup_order.db", "train/dbs/S_s104/f_Kochi_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[72268]], [[109319]], [[72268]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Indore|2024|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "What was the gross revenue from customers in Indore in 2024?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Indore_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[48197]], [[69321]], [[48197]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Indore|2025|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "What was the gross revenue from customers in Indore in 2025?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_2025_x/cf_drop_customers.db", "train/dbs/S_s104/f_Indore_2025_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[103906]], [[101856]], [[103906]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Surat|2024|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "Compute 2024 gross revenue for customers based in Surat.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_2024_x/cf_dup_order.db", "train/dbs/S_s104/f_Surat_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[26830]], [[39642]], [[26830]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Surat|2025|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "Compute 2025 gross revenue for customers based in Surat.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Surat_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[37504]], [[47284]], [[37504]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Nagpur|2024|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "Compute 2024 gross revenue for customers based in Nagpur.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Nagpur_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[15553]], [[43071]], [[15553]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Nagpur|2025|S_s104", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "Compute 2025 gross revenue for customers based in Nagpur.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Nagpur_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[6790]], [[36200]], [[6790]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_active_orders|Delhi|2024|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "How many active orders did customers from Delhi place in 2024?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Delhi_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[6]], [[3]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Delhi|2025|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "Count the 2025 orders from Delhi customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_2025_x/cf_dup_order.db", "train/dbs/S_s104/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[8]], [[6]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Mumbai|2024|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "How many active orders did customers from Mumbai place in 2024?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Mumbai_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[11]], [[3]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Mumbai|2025|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "Count the 2025 orders from Mumbai customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_2025_x/cf_dup_order.db", "train/dbs/S_s104/f_Mumbai_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[17]], [[23]], [[17]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Jaipur|2024|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "Count the 2024 orders from Jaipur customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Jaipur_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[7]], [[4]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Jaipur|2025|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "Count the 2025 orders from Jaipur customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[8]], [[6]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Kochi|2024|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "Count the 2024 orders from Kochi customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_2024_x/cf_dup_order.db", "train/dbs/S_s104/f_Kochi_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[9]], [[5]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Kochi|2025|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "How many active orders did customers from Kochi place in 2025?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[11]], [[8]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Indore|2024|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "Count the 2024 orders from Indore customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Indore_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[12]], [[8]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Indore|2025|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "How many active orders did customers from Indore place in 2025?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Indore_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[12]], [[10]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Surat|2024|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "Count the 2024 orders from Surat customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_2024_x/cf_dup_order.db", "train/dbs/S_s104/f_Surat_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[6]], [[3]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Surat|2025|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "How many active orders did customers from Surat place in 2025?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Surat_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[8]], [[6]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Nagpur|2024|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "Count the 2024 orders from Nagpur customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Nagpur_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[7]], [[3]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Nagpur|2025|S_s104", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "How many active orders did customers from Nagpur place in 2025?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Nagpur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[5]], [[2]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_net_revenue|Delhi|2024|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "What was the net revenue from customers in Delhi in 2024?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_2024_x/cf_refunds.db", "train/dbs/S_s104/f_Delhi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[28013]], [[25793]], [[28013]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Delhi|2025|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Delhi.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_2025_x/cf_drop_customers.db", "train/dbs/S_s104/f_Delhi_2025_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[39377]], [[15127]], [[39377]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Mumbai|2024|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "What was the net revenue from customers in Mumbai in 2024?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Mumbai_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[28164]], [[86197]], [[28164]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Mumbai|2025|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Mumbai.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_2025_x/cf_refunds.db", "train/dbs/S_s104/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[131914]], [[102554]], [[131914]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Jaipur|2024|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "Compute net revenue for 2024 from customers based in Jaipur.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Jaipur_2024_x/cf_superseded_tier.db", "train/dbs/S_s104/f_Jaipur_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "superseded_tier", "refunds"], "cf_kinds": ["changing", "preserving", "changing"], "gold": [[[34684]], [[40298]], [[34684]], [[27266]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Jaipur|2025|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "What was the net revenue from customers in Jaipur in 2025?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_2025_x/cf_refunds.db", "train/dbs/S_s104/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[52513]], [[47007]], [[52513]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Kochi|2024|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "Compute net revenue for 2024 from customers based in Kochi.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_2024_x/cf_refunds.db", "train/dbs/S_s104/f_Kochi_2024_x/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[30927]], [[18322]], [[30927]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Kochi|2025|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Kochi.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_2025_x/cf_refunds.db", "train/dbs/S_s104/f_Kochi_2025_x/cf_split_payments.db"], "cf_edits": ["refunds", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[72268]], [[65164]], [[72268]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Indore|2024|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "Compute net revenue for 2024 from customers based in Indore.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_2024_x/cf_new_customers.db", "train/dbs/S_s104/f_Indore_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[48141]], [[69265]], [[48141]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Indore|2025|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "What was the net revenue from customers in Indore in 2025?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_2025_x/cf_refunds.db", "train/dbs/S_s104/f_Indore_2025_x/cf_split_payments.db"], "cf_edits": ["refunds", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[103906]], [[82817]], [[103906]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Surat|2024|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "What was the net revenue from customers in Surat in 2024?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_2024_x/cf_refunds.db", "train/dbs/S_s104/f_Surat_2024_x/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[26830]], [[26151]], [[26830]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Surat|2025|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "What was the net revenue from customers in Surat in 2025?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_2025_x/cf_new_customers.db", "train/dbs/S_s104/f_Surat_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[34960]], [[44740]], [[34960]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Nagpur|2024|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "What was the net revenue from customers in Nagpur in 2024?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_2024_x/cf_refunds.db", "train/dbs/S_s104/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[15553]], [[11475]], [[15553]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Nagpur|2025|S_s104", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Nagpur.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_2025_x/cf_refunds.db", "train/dbs/S_s104/f_Nagpur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6790]], [[6387]], [[6790]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_top_customers|Delhi|S_s104", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Delhi"}, "question": "Who are the top 3 customers from Delhi by gross revenue? Return customer_id and gross revenue, highest first.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Delhi_x_x/cf_new_customers.db", "train/dbs/S_s104/f_Delhi_x_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[22, 36267], [3, 15276], [1, 6803]], [[22, 36267], [3, 15276], [51, 12655]], [[22, 36267], [3, 15276], [1, 6803]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Mumbai|S_s104", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Mumbai"}, "question": "Who are the top 3 customers from Mumbai by gross revenue? Return customer_id and gross revenue, highest first.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Mumbai_x_x/cf_drop_customers.db", "train/dbs/S_s104/f_Mumbai_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[32, 41302], [37, 29030], [6, 28744]], [[32, 41302], [6, 28744], [47, 19533]], [[32, 41302], [37, 29030], [6, 28744]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Jaipur|S_s104", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Jaipur"}, "question": "List the three Jaipur customers with the highest gross revenue (customer_id, revenue), in descending order of revenue.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Jaipur_x_x/cf_dup_order.db", "train/dbs/S_s104/f_Jaipur_x_x/cf_new_customers.db"], "cf_edits": ["dup_order", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[35, 49200], [11, 22934], [44, 15063]], [[35, 49928], [11, 24779], [44, 15063]], [[35, 49200], [11, 22934], [44, 15063]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Kochi|S_s104", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Kochi"}, "question": "List the three Kochi customers with the highest gross revenue (customer_id, revenue), in descending order of revenue.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Kochi_x_x/cf_dup_order.db", "train/dbs/S_s104/f_Kochi_x_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[20, 32734], [23, 20278], [10, 16140]], [[23, 39743], [30, 33175], [20, 32734]], [[20, 32734], [23, 20278], [10, 16140]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Indore|S_s104", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Indore"}, "question": "List the three Indore customers with the highest gross revenue (customer_id, revenue), in descending order of revenue.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Indore_x_x/cf_dup_order.db", "train/dbs/S_s104/f_Indore_x_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[18, 48965], [17, 33471], [39, 31810]], [[18, 48965], [17, 37571], [39, 32170]], [[18, 48965], [17, 33471], [39, 31810]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Surat|S_s104", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Surat"}, "question": "List the three Surat customers with the highest gross revenue (customer_id, revenue), in descending order of revenue.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Surat_x_x/cf_dup_order.db", "train/dbs/S_s104/f_Surat_x_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[49, 15540], [40, 14040], [29, 12790]], [[2, 20627], [49, 15540], [40, 14960]], [[49, 15540], [40, 14040], [29, 12790]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Nagpur|S_s104", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Nagpur"}, "question": "List the three Nagpur customers with the highest gross revenue (customer_id, revenue), in descending order of revenue.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s104/base.db", "train/dbs/S_s104/f_Nagpur_x_x/cf_new_customers.db", "train/dbs/S_s104/f_Nagpur_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[25, 16623], [5, 5720]], [[25, 16623], [52, 7256], [5, 5720]], [[25, 16623], [5, 5720]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Nagpur' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F1_ordered_customers|Delhi|S_s105", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Delhi"}, "question": "Count the customers based in Delhi who have ever placed an order, whatever its status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_x_x/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_x_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Delhi'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Delhi'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Mumbai|S_s105", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Mumbai"}, "question": "How many distinct customers from Mumbai have placed at least one order (of any status)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_x_x/cf_drop_customers.db", "train/dbs/S_s105/f_Mumbai_x_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[6]], [[8]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Mumbai'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Mumbai'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Pune|S_s105", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Pune"}, "question": "How many distinct customers from Pune have placed at least one order (of any status)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_x_x/cf_drop_customers.db", "train/dbs/S_s105/f_Pune_x_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[6]], [[7]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Pune'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Pune'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Jaipur|S_s105", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Jaipur"}, "question": "How many distinct customers from Jaipur have placed at least one order (of any status)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_x_x/cf_drop_customers.db", "train/dbs/S_s105/f_Jaipur_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Jaipur'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Jaipur'"}, "mutant_blind": {"count_rows": false, "all_customers": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Kochi|S_s105", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Kochi"}, "question": "Count the customers based in Kochi who have ever placed an order, whatever its status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_x_x/cf_new_customers.db", "train/dbs/S_s105/f_Kochi_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Kochi'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Kochi'"}, "mutant_blind": {"count_rows": false, "all_customers": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Indore|S_s105", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Indore"}, "question": "Count the customers based in Indore who have ever placed an order, whatever its status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_x_x/cf_new_customers.db", "train/dbs/S_s105/f_Indore_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[8]], [[6]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Indore'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Indore'"}, "mutant_blind": {"count_rows": false, "all_customers": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Surat|S_s105", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Surat"}, "question": "Count the customers based in Surat who have ever placed an order, whatever its status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_x_x/cf_new_customers.db", "train/dbs/S_s105/f_Surat_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[8]], [[6]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Surat'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Surat'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Nagpur|S_s105", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Nagpur"}, "question": "How many distinct customers from Nagpur have placed at least one order (of any status)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_x_x/cf_drop_customers.db", "train/dbs/S_s105/f_Nagpur_x_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[4]], [[7]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Nagpur'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Nagpur'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_products_sold|apparel|2024|S_s105", "template": "F1_products_sold", "family": "F1", "split": "train", "params": {"category": "apparel", "year": 2024}, "question": "How many different apparel products were ordered in 2024 (orders of any status)?", "gold_sql": "SELECT COUNT(DISTINCT oi.product_id) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_2024_apparel/cf_drop_customers.db", "train/dbs/S_s105/f_x_2024_apparel/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[4]], [[6]]], "paraphrases": ["SELECT COUNT(*) FROM products p WHERE p.category = 'apparel' AND p.product_id IN (SELECT oi.product_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id WHERE o.order_date LIKE '2024-%')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT oi.order_id) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_customer_list|Delhi|books|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "books"}, "question": "List the IDs of customers from Delhi who have ordered at least one books product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_x_books/cf_drop_customers.db", "train/dbs/S_s105/f_Delhi_x_books/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[34]], [], [[34]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|grocery|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "grocery"}, "question": "List the IDs of customers from Delhi who have ordered at least one grocery product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_x_grocery/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_x_grocery/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[29], [34]], [[29], [34], [51], [52]], [[29], [34]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|toys|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "toys"}, "question": "List the IDs of customers from Delhi who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_x_toys/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_x_toys/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[34]], [[34], [51], [52]], [[34]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|apparel|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "apparel"}, "question": "Which customers (by customer_id) based in Delhi have bought something from the apparel category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_x_apparel/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_x_apparel/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[21], [29], [34]], [[21], [29], [34], [51], [52]], [[21], [29], [34]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|home|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "home"}, "question": "List the IDs of customers from Delhi who have ordered at least one home product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_x_home/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_x_home/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[34]], [[34], [51], [52]], [[34]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|books|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "books"}, "question": "List the IDs of customers from Mumbai who have ordered at least one books product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_x_books/cf_cancelled_orders.db", "train/dbs/S_s105/f_Mumbai_x_books/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[39], [43], [49], [50]], [[39], [43], [49], [50], [30], [22], [48]], [[39], [43], [49], [50]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|electronics|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "electronics"}, "question": "Which customers (by customer_id) based in Mumbai have bought something from the electronics category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_x_electronics/cf_dup_order.db", "train/dbs/S_s105/f_Mumbai_x_electronics/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[43]], [[43], [49], [50], [10]], [[43]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|grocery|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "grocery"}, "question": "List the IDs of customers from Mumbai who have ordered at least one grocery product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_x_grocery/cf_new_customers.db", "train/dbs/S_s105/f_Mumbai_x_grocery/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[30], [39], [48], [50]], [[30], [39], [48], [50], [51], [52], [53]], [[30], [39], [48], [50]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|toys|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "toys"}, "question": "List the IDs of customers from Mumbai who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_x_toys/cf_cancelled_orders.db", "train/dbs/S_s105/f_Mumbai_x_toys/cf_refunds.db"], "cf_edits": ["cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[22], [30], [48], [50]], [[22], [30], [48], [50], [10], [43]], [[22], [30], [48], [50]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|apparel|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "apparel"}, "question": "List the IDs of customers from Mumbai who have ordered at least one apparel product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_x_apparel/cf_drop_customers.db", "train/dbs/S_s105/f_Mumbai_x_apparel/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [22], [30], [39], [43], [48], [49], [50]], [[10], [22], [39], [48], [50]], [[10], [22], [30], [39], [43], [48], [49], [50]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|home|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "home"}, "question": "Which customers (by customer_id) based in Mumbai have bought something from the home category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_x_home/cf_dup_order.db", "train/dbs/S_s105/f_Mumbai_x_home/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [22], [43], [49], [50]], [[10], [22], [43], [49], [50], [48]], [[10], [22], [43], [49], [50]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|books|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "books"}, "question": "Which customers (by customer_id) based in Pune have bought something from the books category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_x_books/cf_dup_order.db", "train/dbs/S_s105/f_Pune_x_books/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [32], [35]], [[1], [32], [35], [31], [28], [16]], [[1], [32], [35]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|electronics|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "electronics"}, "question": "Which customers (by customer_id) based in Pune have bought something from the electronics category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_x_electronics/cf_dup_order.db", "train/dbs/S_s105/f_Pune_x_electronics/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [28], [31]], [[1], [28], [31], [35], [16], [19]], [[1], [28], [31]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|grocery|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "grocery"}, "question": "List the IDs of customers from Pune who have ordered at least one grocery product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_x_grocery/cf_drop_customers.db", "train/dbs/S_s105/f_Pune_x_grocery/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[19], [28], [31], [32]], [[19], [31]], [[19], [28], [31], [32]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|toys|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "toys"}, "question": "List the IDs of customers from Pune who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_x_toys/cf_new_customers.db", "train/dbs/S_s105/f_Pune_x_toys/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [28], [31]], [[1], [28], [31], [51], [52]], [[1], [28], [31]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|apparel|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "apparel"}, "question": "List the IDs of customers from Pune who have ordered at least one apparel product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_x_apparel/cf_drop_customers.db", "train/dbs/S_s105/f_Pune_x_apparel/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [16], [19], [28], [31], [32], [35]], [[19], [28], [31], [32], [35]], [[1], [16], [19], [28], [31], [32], [35]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|home|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "home"}, "question": "Which customers (by customer_id) based in Pune have bought something from the home category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_x_home/cf_new_customers.db", "train/dbs/S_s105/f_Pune_x_home/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [28], [31], [32]], [[1], [28], [31], [32], [51], [52]], [[1], [28], [31], [32]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|books|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "books"}, "question": "List the IDs of customers from Jaipur who have ordered at least one books product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_x_books/cf_new_customers.db", "train/dbs/S_s105/f_Jaipur_x_books/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[18]], [[18], [51], [52]], [[18]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|grocery|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "grocery"}, "question": "Which customers (by customer_id) based in Jaipur have bought something from the grocery category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_x_grocery/cf_new_customers.db", "train/dbs/S_s105/f_Jaipur_x_grocery/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [38]], [[18], [38], [51], [52]], [[18], [38]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|toys|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "toys"}, "question": "List the IDs of customers from Jaipur who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_x_toys/cf_new_customers.db", "train/dbs/S_s105/f_Jaipur_x_toys/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[38]], [[38], [51], [52]], [[38]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|apparel|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "apparel"}, "question": "List the IDs of customers from Jaipur who have ordered at least one apparel product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_x_apparel/cf_drop_customers.db", "train/dbs/S_s105/f_Jaipur_x_apparel/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [38]], [[18]], [[18], [38]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|books|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "books"}, "question": "Which customers (by customer_id) based in Kochi have bought something from the books category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_x_books/cf_dup_order.db", "train/dbs/S_s105/f_Kochi_x_books/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[6], [23]], [[6]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|electronics|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "electronics"}, "question": "Which customers (by customer_id) based in Kochi have bought something from the electronics category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_x_electronics/cf_new_customers.db", "train/dbs/S_s105/f_Kochi_x_electronics/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[23], [40]], [[23], [40], [51], [52]], [[23], [40]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|grocery|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "grocery"}, "question": "Which customers (by customer_id) based in Kochi have bought something from the grocery category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_x_grocery/cf_dup_order.db", "train/dbs/S_s105/f_Kochi_x_grocery/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[6], [9]], [[6]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|toys|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "toys"}, "question": "List the IDs of customers from Kochi who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_x_toys/cf_drop_customers.db", "train/dbs/S_s105/f_Kochi_x_toys/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6], [9], [17], [23], [40]], [[6], [9], [40]], [[6], [9], [17], [23], [40]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|apparel|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "apparel"}, "question": "List the IDs of customers from Kochi who have ordered at least one apparel product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_x_apparel/cf_drop_customers.db", "train/dbs/S_s105/f_Kochi_x_apparel/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6], [17]], [[17]], [[6], [17]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|home|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "home"}, "question": "Which customers (by customer_id) based in Kochi have bought something from the home category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_x_home/cf_cancelled_orders.db", "train/dbs/S_s105/f_Kochi_x_home/cf_drop_customers.db"], "cf_edits": ["cancelled_orders", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[6], [23]], [[6]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|books|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "books"}, "question": "List the IDs of customers from Indore who have ordered at least one books product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_x_books/cf_cancelled_orders.db", "train/dbs/S_s105/f_Indore_x_books/cf_refunds.db"], "cf_edits": ["cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [11], [14], [44]], [[8], [11], [14], [44], [42]], [[8], [11], [14], [44]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|electronics|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "electronics"}, "question": "List the IDs of customers from Indore who have ordered at least one electronics product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_x_electronics/cf_drop_customers.db", "train/dbs/S_s105/f_Indore_x_electronics/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [11]], [[11]], [[8], [11]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|grocery|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "grocery"}, "question": "Which customers (by customer_id) based in Indore have bought something from the grocery category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_x_grocery/cf_new_customers.db", "train/dbs/S_s105/f_Indore_x_grocery/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [11], [15], [44]], [[8], [11], [15], [44], [51], [52]], [[8], [11], [15], [44]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|toys|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "toys"}, "question": "Which customers (by customer_id) based in Indore have bought something from the toys category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_x_toys/cf_dup_order.db", "train/dbs/S_s105/f_Indore_x_toys/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [11], [15], [44]], [[8], [11], [15], [44], [42]], [[8], [11], [15], [44]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|apparel|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "apparel"}, "question": "Which customers (by customer_id) based in Indore have bought something from the apparel category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_x_apparel/cf_new_customers.db", "train/dbs/S_s105/f_Indore_x_apparel/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [11], [44]], [[8], [11], [44], [51], [52]], [[8], [11], [44]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|home|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "home"}, "question": "List the IDs of customers from Indore who have ordered at least one home product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_x_home/cf_dup_order.db", "train/dbs/S_s105/f_Indore_x_home/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [42], [44]], [[8], [42], [44], [11], [14]], [[8], [42], [44]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|books|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "books"}, "question": "Which customers (by customer_id) based in Surat have bought something from the books category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_x_books/cf_new_customers.db", "train/dbs/S_s105/f_Surat_x_books/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [5]], [[3], [5], [51], [52]], [[3], [5]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|electronics|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "electronics"}, "question": "Which customers (by customer_id) based in Surat have bought something from the electronics category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_x_electronics/cf_new_customers.db", "train/dbs/S_s105/f_Surat_x_electronics/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[5], [51], [52]], [[5]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|grocery|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "grocery"}, "question": "Which customers (by customer_id) based in Surat have bought something from the grocery category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_x_grocery/cf_new_customers.db", "train/dbs/S_s105/f_Surat_x_grocery/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [5], [33], [41], [47]], [[3], [5], [33], [41], [47], [51], [52]], [[3], [5], [33], [41], [47]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|toys|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "toys"}, "question": "Which customers (by customer_id) based in Surat have bought something from the toys category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_x_toys/cf_new_customers.db", "train/dbs/S_s105/f_Surat_x_toys/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [37]], [[5], [37], [51], [52]], [[5], [37]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|apparel|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "apparel"}, "question": "Which customers (by customer_id) based in Surat have bought something from the apparel category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_x_apparel/cf_dup_order.db", "train/dbs/S_s105/f_Surat_x_apparel/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[33], [47]], [[33], [47], [41], [5]], [[33], [47]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|home|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "home"}, "question": "List the IDs of customers from Surat who have ordered at least one home product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_x_home/cf_new_customers.db", "train/dbs/S_s105/f_Surat_x_home/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [41]], [[5], [41], [51], [52]], [[5], [41]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Nagpur|books|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "books"}, "question": "List the IDs of customers from Nagpur who have ordered at least one books product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_x_books/cf_drop_customers.db", "train/dbs/S_s105/f_Nagpur_x_books/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[25], [26], [46]], [[25]], [[25], [26], [46]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Nagpur|electronics|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "electronics"}, "question": "List the IDs of customers from Nagpur who have ordered at least one electronics product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_x_electronics/cf_dup_order.db", "train/dbs/S_s105/f_Nagpur_x_electronics/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [27], [46]], [[2], [27], [46], [26], [25]], [[2], [27], [46]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Nagpur|grocery|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "grocery"}, "question": "List the IDs of customers from Nagpur who have ordered at least one grocery product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_x_grocery/cf_new_customers.db", "train/dbs/S_s105/f_Nagpur_x_grocery/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[25], [27], [36], [46]], [[25], [27], [36], [46], [51], [52], [53]], [[25], [27], [36], [46]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Nagpur|toys|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "toys"}, "question": "List the IDs of customers from Nagpur who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_x_toys/cf_dup_order.db", "train/dbs/S_s105/f_Nagpur_x_toys/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [25], [26], [36]], [[12], [25], [26], [36], [2], [46]], [[12], [25], [26], [36]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Nagpur|apparel|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "apparel"}, "question": "List the IDs of customers from Nagpur who have ordered at least one apparel product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_x_apparel/cf_drop_customers.db", "train/dbs/S_s105/f_Nagpur_x_apparel/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [12], [26], [27], [36]], [[12], [26], [27], [36]], [[2], [12], [26], [27], [36]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Nagpur|home|S_s105", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "home"}, "question": "Which customers (by customer_id) based in Nagpur have bought something from the home category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_x_home/cf_new_customers.db", "train/dbs/S_s105/f_Nagpur_x_home/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [25], [26], [27], [46]], [[12], [25], [26], [27], [46], [51], [52], [53]], [[12], [25], [26], [27], [46]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_paying_customers|Delhi|2024|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "How many distinct customers from Delhi made at least one payment in 2024 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_2024_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Delhi|2025|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "How many distinct customers from Delhi made at least one payment in 2025 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_2025_x/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Mumbai|2024|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "Count the customers in Mumbai who paid anything during 2024, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Mumbai_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Mumbai|2025|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "Count the customers in Mumbai who paid anything during 2025, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Mumbai_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[6]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Pune|2024|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "How many distinct customers from Pune made at least one payment in 2024 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Pune_2024_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Pune|2025|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Pune", "year": 2025}, "question": "Count the customers in Pune who paid anything during 2025, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Pune_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Jaipur|2024|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "Count the customers in Jaipur who paid anything during 2024, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Jaipur_2024_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Jaipur|2025|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "Count the customers in Jaipur who paid anything during 2025, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s105/f_Jaipur_2025_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Kochi|2024|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "Count the customers in Kochi who paid anything during 2024, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Kochi|2025|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "How many distinct customers from Kochi made at least one payment in 2025 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_2025_x/cf_drop_customers.db", "train/dbs/S_s105/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[2]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Indore|2024|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "Count the customers in Indore who paid anything during 2024, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_2024_x/cf_dup_order.db", "train/dbs/S_s105/f_Indore_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Indore|2025|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "How many distinct customers from Indore made at least one payment in 2025 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_2025_x/cf_drop_customers.db", "train/dbs/S_s105/f_Indore_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[1]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Surat|2024|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "How many distinct customers from Surat made at least one payment in 2024 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Surat_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Surat|2025|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "Count the customers in Surat who paid anything during 2025, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Surat_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Nagpur|2024|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "Count the customers in Nagpur who paid anything during 2024, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Nagpur|2025|S_s105", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "How many distinct customers from Nagpur made at least one payment in 2025 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_2025_x/cf_drop_customers.db", "train/dbs/S_s105/f_Nagpur_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[4]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Nagpur' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F2_paid_for_category|books|2024|S_s105", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "books", "year": 2024}, "question": "What is the total amount paid (sum of payments) for orders placed in 2024 that contain at least one books product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_2024_books/cf_new_customers.db", "train/dbs/S_s105/f_x_2024_books/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[100747]], [[248759]], [[100747]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'books'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|books|2025|S_s105", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "books", "year": 2025}, "question": "Sum the payments received for 2025 orders that include any books item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_2025_books/cf_adjustments.db", "train/dbs/S_s105/f_x_2025_books/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[102876]], [[102939]], [[102876]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'books'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|electronics|2024|S_s105", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "electronics", "year": 2024}, "question": "What is the total amount paid (sum of payments) for orders placed in 2024 that contain at least one electronics product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_2024_electronics/cf_new_customers.db", "train/dbs/S_s105/f_x_2024_electronics/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6268]], [[161013]], [[6268]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'electronics'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|electronics|2025|S_s105", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "electronics", "year": 2025}, "question": "Sum the payments received for 2025 orders that include any electronics item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_2025_electronics/cf_new_customers.db", "train/dbs/S_s105/f_x_2025_electronics/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[33850]], [[173538]], [[33850]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'electronics'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|grocery|2024|S_s105", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "grocery", "year": 2024}, "question": "Sum the payments received for 2024 orders that include any grocery item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_2024_grocery/cf_dup_order.db", "train/dbs/S_s105/f_x_2024_grocery/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[30957]], [[135846]], [[30957]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'grocery'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|grocery|2025|S_s105", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "grocery", "year": 2025}, "question": "What is the total amount paid (sum of payments) for orders placed in 2025 that contain at least one grocery product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_2025_grocery/cf_dup_order.db", "train/dbs/S_s105/f_x_2025_grocery/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[184429]], [[270338]], [[184429]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'grocery'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|toys|2024|S_s105", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "toys", "year": 2024}, "question": "What is the total amount paid (sum of payments) for orders placed in 2024 that contain at least one toys product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_2024_toys/cf_drop_customers.db", "train/dbs/S_s105/f_x_2024_toys/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[76712]], [[59537]], [[76712]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'toys'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|toys|2025|S_s105", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "toys", "year": 2025}, "question": "Sum the payments received for 2025 orders that include any toys item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_2025_toys/cf_new_customers.db", "train/dbs/S_s105/f_x_2025_toys/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[165250]], [[346210]], [[165250]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'toys'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|apparel|2024|S_s105", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "apparel", "year": 2024}, "question": "What is the total amount paid (sum of payments) for orders placed in 2024 that contain at least one apparel product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_2024_apparel/cf_drop_customers.db", "train/dbs/S_s105/f_x_2024_apparel/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[108096]], [[100574]], [[108096]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'apparel'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|apparel|2025|S_s105", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "apparel", "year": 2025}, "question": "Sum the payments received for 2025 orders that include any apparel item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_2025_apparel/cf_new_customers.db", "train/dbs/S_s105/f_x_2025_apparel/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[187777]], [[354686]], [[187777]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'apparel'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|home|2024|S_s105", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "home", "year": 2024}, "question": "What is the total amount paid (sum of payments) for orders placed in 2024 that contain at least one home product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_2024_home/cf_new_customers.db", "train/dbs/S_s105/f_x_2024_home/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[85644]], [[153078]], [[85644]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'home'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|home|2025|S_s105", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "home", "year": 2025}, "question": "What is the total amount paid (sum of payments) for orders placed in 2025 that contain at least one home product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_2025_home/cf_new_customers.db", "train/dbs/S_s105/f_x_2025_home/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[67791]], [[195479]], [[67791]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'home'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Delhi|2024|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "For customers in Delhi, add up quantity times unit price over the items of their 2024 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[26372]], [[38924]], [[26372]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Delhi|2025|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2025 by customers from Delhi that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_2025_x/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[12663]], [[38427]], [[12663]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Mumbai|2024|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2024 by customers from Mumbai that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Mumbai_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[34306]], [[63147]], [[34306]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Mumbai|2025|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "For customers in Mumbai, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_2025_x/cf_drop_customers.db", "train/dbs/S_s105/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[47970]], [[39330]], [[47970]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Pune|2024|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "For customers in Pune, add up quantity times unit price over the items of their 2024 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_2024_x/cf_dup_order.db", "train/dbs/S_s105/f_Pune_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[81664]], [[87140]], [[81664]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Pune|2025|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Pune", "year": 2025}, "question": "For customers in Pune, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Pune_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[20429]], [[43250]], [[20429]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Jaipur|2024|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "For customers in Jaipur, add up quantity times unit price over the items of their 2024 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Jaipur_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5280]], [[27444]], [[5280]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Jaipur|2025|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "For customers in Jaipur, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Jaipur_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4005]], [[15266]], [[4005]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Kochi|2024|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "For customers in Kochi, add up quantity times unit price over the items of their 2024 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_2024_x/cf_dup_order.db", "train/dbs/S_s105/f_Kochi_2024_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4662]], [[21133]], [[4662]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Kochi|2025|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "For customers in Kochi, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_2025_x/cf_new_customers.db", "train/dbs/S_s105/f_Kochi_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[55719]], [[70009]], [[55719]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Indore|2024|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2024 by customers from Indore that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Indore_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[8588]], [[28876]], [[8588]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Indore|2025|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "For customers in Indore, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Indore_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[86770]], [[105690]], [[86770]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Surat|2024|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "For customers in Surat, add up quantity times unit price over the items of their 2024 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_2024_x/cf_dup_order.db", "train/dbs/S_s105/f_Surat_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5308]], [[43742]], [[5308]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Surat|2025|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "For customers in Surat, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Surat_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[51773]], [[75299]], [[51773]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Nagpur|2024|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2024 by customers from Nagpur that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[26482]], [[40665]], [[26482]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Nagpur|2025|S_s105", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "For customers in Nagpur, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s105/f_Nagpur_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[34579]], [[58627]], [[34579]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|electronics|S_s105", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "electronics"}, "question": "Add up all refunds issued on orders that include any electronics item.", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_x_electronics/cf_refunds.db", "train/dbs/S_s105/f_x_x_electronics/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[13199]], [[26403]], [[13199]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'electronics')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|grocery|S_s105", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "grocery"}, "question": "What is the total refunded amount for orders that contain at least one grocery product?", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_x_grocery/cf_new_customers.db", "train/dbs/S_s105/f_x_x_grocery/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[31892]], [[32551]], [[31892]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'grocery')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|toys|S_s105", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "toys"}, "question": "What is the total refunded amount for orders that contain at least one toys product?", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_x_toys/cf_refunds.db", "train/dbs/S_s105/f_x_x_toys/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[18284]], [[58573]], [[18284]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'toys')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|apparel|S_s105", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "apparel"}, "question": "Add up all refunds issued on orders that include any apparel item.", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_x_apparel/cf_drop_customers.db", "train/dbs/S_s105/f_x_x_apparel/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[32808]], [[24116]], [[32808]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'apparel')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|home|S_s105", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "home"}, "question": "What is the total refunded amount for orders that contain at least one home product?", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_x_x_home/cf_refunds.db", "train/dbs/S_s105/f_x_x_home/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5027]], [[43709]], [[5027]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'home')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F3_gross_revenue|Delhi|2024|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "Compute 2024 gross revenue for customers based in Delhi.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[39362]], [[57704]], [[39362]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Delhi|2025|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "Compute 2025 gross revenue for customers based in Delhi.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[12663]], [[19793]], [[12663]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": false}, "mutant_catchable": {"no_status_filter": true, "shipped_only": false}} {"id": "F3_gross_revenue|Mumbai|2024|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "Compute 2024 gross revenue for customers based in Mumbai.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_2024_x/cf_drop_customers.db", "train/dbs/S_s105/f_Mumbai_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[37066]], [[21586]], [[37066]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Mumbai|2025|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "What was the gross revenue from customers in Mumbai in 2025?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_2025_x/cf_drop_customers.db", "train/dbs/S_s105/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[87244]], [[65684]], [[87244]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Pune|2024|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "What was the gross revenue from customers in Pune in 2024?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Pune_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[81664]], [[102454]], [[81664]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Pune|2025|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2025}, "question": "Compute 2025 gross revenue for customers based in Pune.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_2025_x/cf_drop_customers.db", "train/dbs/S_s105/f_Pune_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[65705]], [[55995]], [[65705]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Jaipur|2024|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "What was the gross revenue from customers in Jaipur in 2024?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_2024_x/cf_drop_customers.db", "train/dbs/S_s105/f_Jaipur_2024_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[23823]], [[null]], [[23823]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Jaipur|2025|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "What was the gross revenue from customers in Jaipur in 2025?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s105/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4005]], [[16906]], [[4005]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": false}, "mutant_catchable": {"no_status_filter": true, "shipped_only": false}} {"id": "F3_gross_revenue|Kochi|2024|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "Compute 2024 gross revenue for customers based in Kochi.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4662]], [[38443]], [[4662]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Kochi|2025|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "Compute 2025 gross revenue for customers based in Kochi.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_2025_x/cf_drop_customers.db", "train/dbs/S_s105/f_Kochi_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[58009]], [[18180]], [[58009]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Indore|2024|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "Compute 2024 gross revenue for customers based in Indore.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_2024_x/cf_dup_order.db", "train/dbs/S_s105/f_Indore_2024_x/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[14176]], [[45388]], [[14176]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Indore|2025|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "What was the gross revenue from customers in Indore in 2025?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s105/f_Indore_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[93210]], [[156678]], [[93210]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Surat|2024|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "What was the gross revenue from customers in Surat in 2024?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[19228]], [[69484]], [[19228]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Surat|2025|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "Compute 2025 gross revenue for customers based in Surat.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Surat_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[82311]], [[114067]], [[82311]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Nagpur|2024|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "Compute 2024 gross revenue for customers based in Nagpur.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_2024_x/cf_drop_customers.db", "train/dbs/S_s105/f_Nagpur_2024_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[32338]], [[27958]], [[32338]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Nagpur|2025|S_s105", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "Compute 2025 gross revenue for customers based in Nagpur.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Nagpur_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[41572]], [[68104]], [[41572]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_active_orders|Delhi|2024|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "How many active orders did customers from Delhi place in 2024?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[9]], [[5]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Delhi|2025|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "How many active orders did customers from Delhi place in 2025?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_2025_x/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[5]], [[2]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Mumbai|2024|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "How many active orders did customers from Mumbai place in 2024?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_2024_x/cf_drop_customers.db", "train/dbs/S_s105/f_Mumbai_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[4]], [[6]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Mumbai|2025|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "Count the 2025 orders from Mumbai customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[14]], [[10]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Pune|2024|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "How many active orders did customers from Pune place in 2024?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Pune_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[9]], [[7]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Pune|2025|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2025}, "question": "How many active orders did customers from Pune place in 2025?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_2025_x/cf_new_customers.db", "train/dbs/S_s105/f_Pune_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[6]], [[5]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Jaipur|2024|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "Count the 2024 orders from Jaipur customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_2024_x/cf_dup_order.db", "train/dbs/S_s105/f_Jaipur_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Jaipur|2025|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "How many active orders did customers from Jaipur place in 2025?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s105/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Kochi|2024|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "How many active orders did customers from Kochi place in 2024?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[5]], [[1]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Kochi|2025|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "How many active orders did customers from Kochi place in 2025?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_2025_x/cf_drop_customers.db", "train/dbs/S_s105/f_Kochi_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[2]], [[6]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Indore|2024|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "Count the 2024 orders from Indore customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_2024_x/cf_dup_order.db", "train/dbs/S_s105/f_Indore_2024_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[6]], [[3]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Indore|2025|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "Count the 2025 orders from Indore customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Indore_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[10]], [[7]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Surat|2024|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "How many active orders did customers from Surat place in 2024?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[7]], [[2]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Surat|2025|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "Count the 2025 orders from Surat customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Surat_2025_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[12]], [[9]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Nagpur|2024|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "Count the 2024 orders from Nagpur customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_2024_x/cf_dup_order.db", "train/dbs/S_s105/f_Nagpur_2024_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[11]], [[7]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Nagpur|2025|S_s105", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "How many active orders did customers from Nagpur place in 2025?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_2025_x/cf_drop_customers.db", "train/dbs/S_s105/f_Nagpur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[4]], [[7]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_net_revenue|Delhi|2024|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "What was the net revenue from customers in Delhi in 2024?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_2024_x/cf_later_tier.db", "train/dbs/S_s105/f_Delhi_2024_x/cf_dup_order.db"], "cf_edits": ["new_customers", "later_tier", "dup_order"], "cf_kinds": ["changing", "preserving", "changing"], "gold": [[[39362]], [[57704]], [[39362]], [[46686]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Delhi|2025|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Delhi.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[10104]], [[17234]], [[10104]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Mumbai|2024|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "Compute net revenue for 2024 from customers based in Mumbai.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Mumbai_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[37066]], [[72507]], [[37066]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Mumbai|2025|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Mumbai.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_2025_x/cf_drop_customers.db", "train/dbs/S_s105/f_Mumbai_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[74031]], [[52471]], [[74031]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Pune|2024|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "Compute net revenue for 2024 from customers based in Pune.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Pune_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[79364]], [[100154]], [[79364]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Pune|2025|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Pune.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_2025_x/cf_new_customers.db", "train/dbs/S_s105/f_Pune_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[63940]], [[64830]], [[63940]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Jaipur|2024|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "Compute net revenue for 2024 from customers based in Jaipur.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_2024_x/cf_refunds.db", "train/dbs/S_s105/f_Jaipur_2024_x/cf_superseded_tier.db"], "cf_edits": ["refunds", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[23823]], [[21059]], [[23823]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Jaipur|2025|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Jaipur.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_2025_x/cf_refunds.db", "train/dbs/S_s105/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4005]], [[1471]], [[4005]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Kochi|2024|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "Compute net revenue for 2024 from customers based in Kochi.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_2024_x/cf_refunds.db", "train/dbs/S_s105/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4662]], [[1781]], [[4662]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Kochi|2025|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "What was the net revenue from customers in Kochi in 2025?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Kochi_2025_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[55497]], [[60877]], [[55497]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Indore|2024|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "What was the net revenue from customers in Indore in 2024?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Indore_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[12968]], [[33256]], [[12968]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Indore|2025|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Indore.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s105/f_Indore_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[93210]], [[154704]], [[93210]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Surat|2024|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "Compute net revenue for 2024 from customers based in Surat.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_2024_x/cf_refunds.db", "train/dbs/S_s105/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[19228]], [[18080]], [[19228]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Surat|2025|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Surat.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_2025_x/cf_dup_order.db", "train/dbs/S_s105/f_Surat_2025_x/cf_new_customers.db"], "cf_edits": ["dup_order", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[80560]], [[112316]], [[80560]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Nagpur|2024|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "What was the net revenue from customers in Nagpur in 2024?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_2024_x/cf_new_customers.db", "train/dbs/S_s105/f_Nagpur_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[28519]], [[46272]], [[28519]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Nagpur|2025|S_s105", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Nagpur.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_2025_x/cf_refunds.db", "train/dbs/S_s105/f_Nagpur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["refunds", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[32528]], [[31148]], [[32528]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_top_customers|Delhi|S_s105", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Delhi"}, "question": "Who are the top 3 customers from Delhi by gross revenue? Return customer_id and gross revenue, highest first.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Delhi_x_x/cf_new_customers.db", "train/dbs/S_s105/f_Delhi_x_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[34, 40413], [21, 8180], [29, 3432]], [[51, 40923], [34, 40413], [52, 31177]], [[34, 40413], [21, 8180], [29, 3432]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Mumbai|S_s105", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Mumbai"}, "question": "List the three Mumbai customers with the highest gross revenue (customer_id, revenue), in descending order of revenue.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Mumbai_x_x/cf_dup_order.db", "train/dbs/S_s105/f_Mumbai_x_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[50, 27856], [43, 22808], [48, 20128]], [[43, 36127], [50, 33676], [49, 26198]], [[50, 27856], [43, 22808], [48, 20128]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Pune|S_s105", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Pune"}, "question": "List the three Pune customers with the highest gross revenue (customer_id, revenue), in descending order of revenue.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Pune_x_x/cf_dup_order.db", "train/dbs/S_s105/f_Pune_x_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1, 46689], [32, 38978], [31, 22136]], [[32, 50021], [1, 46689], [31, 32326]], [[1, 46689], [32, 38978], [31, 22136]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Pune' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Jaipur|S_s105", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Jaipur"}, "question": "List the three Jaipur customers with the highest gross revenue (customer_id, revenue), in descending order of revenue.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Jaipur_x_x/cf_dup_order.db", "train/dbs/S_s105/f_Jaipur_x_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[18, 23823], [38, 4005]], [[18, 30449], [38, 4005]], [[18, 23823], [38, 4005]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Kochi|S_s105", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Kochi"}, "question": "List the three Kochi customers with the highest gross revenue (customer_id, revenue), in descending order of revenue.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Kochi_x_x/cf_drop_customers.db", "train/dbs/S_s105/f_Kochi_x_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6, 36069], [17, 15590], [9, 4662]], [[17, 15590], [9, 4662], [40, 3760]], [[6, 36069], [17, 15590], [9, 4662]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Indore|S_s105", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Indore"}, "question": "Who are the top 3 customers from Indore by gross revenue? Return customer_id and gross revenue, highest first.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Indore_x_x/cf_drop_customers.db", "train/dbs/S_s105/f_Indore_x_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[11, 44890], [8, 33928], [44, 27358]], [[8, 33928], [44, 27358], [42, 1210]], [[11, 44890], [8, 33928], [44, 27358]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Surat|S_s105", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Surat"}, "question": "List the three Surat customers with the highest gross revenue (customer_id, revenue), in descending order of revenue.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Surat_x_x/cf_dup_order.db", "train/dbs/S_s105/f_Surat_x_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[33, 44573], [5, 20180], [47, 19990]], [[33, 57543], [5, 20180], [47, 19990]], [[33, 44573], [5, 20180], [47, 19990]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Nagpur|S_s105", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Nagpur"}, "question": "Who are the top 3 customers from Nagpur by gross revenue? Return customer_id and gross revenue, highest first.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s105/base.db", "train/dbs/S_s105/f_Nagpur_x_x/cf_new_customers.db", "train/dbs/S_s105/f_Nagpur_x_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[26, 25623], [27, 16241], [25, 9698]], [[51, 26384], [26, 25623], [27, 16241]], [[26, 25623], [27, 16241], [25, 9698]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Nagpur' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Nagpur' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F1_ordered_customers|Delhi|S_s106", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Delhi"}, "question": "How many distinct customers from Delhi have placed at least one order (of any status)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_x_x/cf_drop_customers.db", "train/dbs/S_s106/f_Delhi_x_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[5]], [[6]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Delhi'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Delhi'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Mumbai|S_s106", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Mumbai"}, "question": "Count the customers based in Mumbai who have ever placed an order, whatever its status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_x_x/cf_new_customers.db", "train/dbs/S_s106/f_Mumbai_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[9]], [[7]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Mumbai'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Mumbai'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Pune|S_s106", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Pune"}, "question": "Count the customers based in Pune who have ever placed an order, whatever its status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_x_x/cf_new_customers.db", "train/dbs/S_s106/f_Pune_x_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Pune'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Pune'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Jaipur|S_s106", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Jaipur"}, "question": "Count the customers based in Jaipur who have ever placed an order, whatever its status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_x_x/cf_new_customers.db", "train/dbs/S_s106/f_Jaipur_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[13]], [[9]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Jaipur'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Jaipur'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Kochi|S_s106", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Kochi"}, "question": "How many distinct customers from Kochi have placed at least one order (of any status)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_x_x/cf_drop_customers.db", "train/dbs/S_s106/f_Kochi_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Kochi'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Kochi'"}, "mutant_blind": {"count_rows": false, "all_customers": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Indore|S_s106", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Indore"}, "question": "Count the customers based in Indore who have ever placed an order, whatever its status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_x_x/cf_new_customers.db", "train/dbs/S_s106/f_Indore_x_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Indore'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Indore'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Surat|S_s106", "template": "F1_ordered_customers", "family": "F1", "split": "train", "params": {"city": "Surat"}, "question": "Count the customers based in Surat who have ever placed an order, whatever its status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_x_x/cf_new_customers.db", "train/dbs/S_s106/f_Surat_x_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o WHERE o.customer_id = c.customer_id)", "SELECT COUNT(*) FROM (SELECT DISTINCT customer_id FROM orders WHERE customer_id IN (SELECT customer_id FROM customers WHERE city = 'Surat'))"], "mutants": {"count_rows": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat'", "all_customers": "SELECT COUNT(*) FROM customers WHERE city = 'Surat'"}, "mutant_blind": {"count_rows": false, "all_customers": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_products_sold|grocery|2025|S_s106", "template": "F1_products_sold", "family": "F1", "split": "train", "params": {"category": "grocery", "year": 2025}, "question": "How many different grocery products were ordered in 2025 (orders of any status)?", "gold_sql": "SELECT COUNT(DISTINCT oi.product_id) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2025_grocery/cf_drop_customers.db", "train/dbs/S_s106/f_x_2025_grocery/cf_new_customers.db"], "cf_edits": ["drop_customers", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[5]], [[6]]], "paraphrases": ["SELECT COUNT(*) FROM products p WHERE p.category = 'grocery' AND p.product_id IN (SELECT oi.product_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id WHERE o.order_date LIKE '2025-%')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT oi.order_id) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_products_sold|toys|2024|S_s106", "template": "F1_products_sold", "family": "F1", "split": "train", "params": {"category": "toys", "year": 2024}, "question": "How many different toys products were ordered in 2024 (orders of any status)?", "gold_sql": "SELECT COUNT(DISTINCT oi.product_id) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2024_toys/cf_new_customers.db", "train/dbs/S_s106/f_x_2024_toys/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM products p WHERE p.category = 'toys' AND p.product_id IN (SELECT oi.product_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id WHERE o.order_date LIKE '2024-%')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT oi.order_id) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_customer_list|Delhi|books|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "books"}, "question": "Which customers (by customer_id) based in Delhi have bought something from the books category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_x_books/cf_new_customers.db", "train/dbs/S_s106/f_Delhi_x_books/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [29]], [[4], [29], [51], [52]], [[4], [29]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|electronics|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "electronics"}, "question": "List the IDs of customers from Delhi who have ordered at least one electronics product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_x_electronics/cf_new_customers.db", "train/dbs/S_s106/f_Delhi_x_electronics/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [8], [15], [29]], [[4], [8], [15], [29], [51], [52]], [[4], [8], [15], [29]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|grocery|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "grocery"}, "question": "Which customers (by customer_id) based in Delhi have bought something from the grocery category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_x_grocery/cf_new_customers.db", "train/dbs/S_s106/f_Delhi_x_grocery/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [8], [15], [29], [34]], [[4], [8], [15], [29], [34], [51], [52]], [[4], [8], [15], [29], [34]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|toys|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "toys"}, "question": "Which customers (by customer_id) based in Delhi have bought something from the toys category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_x_toys/cf_drop_customers.db", "train/dbs/S_s106/f_Delhi_x_toys/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [8], [15], [29], [34]], [[4], [8], [29]], [[4], [8], [15], [29], [34]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|apparel|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "apparel"}, "question": "Which customers (by customer_id) based in Delhi have bought something from the apparel category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_x_apparel/cf_dup_order.db", "train/dbs/S_s106/f_Delhi_x_apparel/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [8], [15], [37]], [[4], [8], [15], [37], [34]], [[4], [8], [15], [37]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|home|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "home"}, "question": "Which customers (by customer_id) based in Delhi have bought something from the home category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_x_home/cf_dup_order.db", "train/dbs/S_s106/f_Delhi_x_home/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [8], [29], [34], [37]], [[4], [8], [29], [34], [37], [15]], [[4], [8], [29], [34], [37]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|books|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "books"}, "question": "List the IDs of customers from Mumbai who have ordered at least one books product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_x_books/cf_cancelled_orders.db", "train/dbs/S_s106/f_Mumbai_x_books/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[14]], [[14], [35], [1], [21]], [[14]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|electronics|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "electronics"}, "question": "List the IDs of customers from Mumbai who have ordered at least one electronics product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_x_electronics/cf_new_customers.db", "train/dbs/S_s106/f_Mumbai_x_electronics/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [16], [21]], [[1], [16], [21], [51], [52]], [[1], [16], [21]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|grocery|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "grocery"}, "question": "List the IDs of customers from Mumbai who have ordered at least one grocery product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_x_grocery/cf_drop_customers.db", "train/dbs/S_s106/f_Mumbai_x_grocery/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [14], [21], [33], [35], [45]], [[1], [14], [21], [33], [35]], [[1], [14], [21], [33], [35], [45]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|toys|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "toys"}, "question": "List the IDs of customers from Mumbai who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_x_toys/cf_drop_customers.db", "train/dbs/S_s106/f_Mumbai_x_toys/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [21], [33], [35], [45]], [[1], [33], [45]], [[1], [21], [33], [35], [45]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|apparel|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "apparel"}, "question": "Which customers (by customer_id) based in Mumbai have bought something from the apparel category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_x_apparel/cf_cancelled_orders.db", "train/dbs/S_s106/f_Mumbai_x_apparel/cf_drop_customers.db"], "cf_edits": ["cancelled_orders", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[14]], [[14], [45], [21], [1]], [[14]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|home|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "home"}, "question": "Which customers (by customer_id) based in Mumbai have bought something from the home category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_x_home/cf_new_customers.db", "train/dbs/S_s106/f_Mumbai_x_home/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [14], [21], [33], [35]], [[1], [14], [21], [33], [35], [51], [52]], [[1], [14], [21], [33], [35]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|books|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "books"}, "question": "Which customers (by customer_id) based in Pune have bought something from the books category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_x_books/cf_new_customers.db", "train/dbs/S_s106/f_Pune_x_books/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[39]], [[39], [51], [52]], [[39]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|electronics|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "electronics"}, "question": "Which customers (by customer_id) based in Pune have bought something from the electronics category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_x_electronics/cf_dup_order.db", "train/dbs/S_s106/f_Pune_x_electronics/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[19], [23], [36]], [[19], [23], [36], [43]], [[19], [23], [36]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|grocery|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "grocery"}, "question": "List the IDs of customers from Pune who have ordered at least one grocery product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_x_grocery/cf_dup_order.db", "train/dbs/S_s106/f_Pune_x_grocery/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[19], [23], [39], [43]], [[19], [23], [39], [43], [36]], [[19], [23], [39], [43]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|toys|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "toys"}, "question": "List the IDs of customers from Pune who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_x_toys/cf_drop_customers.db", "train/dbs/S_s106/f_Pune_x_toys/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[19], [36], [39]], [[19], [39]], [[19], [36], [39]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|apparel|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "apparel"}, "question": "Which customers (by customer_id) based in Pune have bought something from the apparel category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_x_apparel/cf_dup_order.db", "train/dbs/S_s106/f_Pune_x_apparel/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[23], [43]], [[23], [43], [36]], [[23], [43]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|home|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "home"}, "question": "List the IDs of customers from Pune who have ordered at least one home product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_x_home/cf_new_customers.db", "train/dbs/S_s106/f_Pune_x_home/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[39]], [[39], [51], [52]], [[39]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|books|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "books"}, "question": "List the IDs of customers from Jaipur who have ordered at least one books product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_x_books/cf_new_customers.db", "train/dbs/S_s106/f_Jaipur_x_books/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [10], [48]], [[2], [10], [48], [51], [52], [53], [54]], [[2], [10], [48]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|electronics|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "electronics"}, "question": "List the IDs of customers from Jaipur who have ordered at least one electronics product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_x_electronics/cf_dup_order.db", "train/dbs/S_s106/f_Jaipur_x_electronics/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [10], [40], [46]], [[2], [10], [40], [46], [38], [18]], [[2], [10], [40], [46]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|grocery|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "grocery"}, "question": "Which customers (by customer_id) based in Jaipur have bought something from the grocery category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_x_grocery/cf_dup_order.db", "train/dbs/S_s106/f_Jaipur_x_grocery/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [10], [13], [18], [24], [38], [40], [48]], [[2], [10], [13], [18], [24], [38], [40], [48], [46]], [[2], [10], [13], [18], [24], [38], [40], [48]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|toys|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "toys"}, "question": "List the IDs of customers from Jaipur who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_x_toys/cf_new_customers.db", "train/dbs/S_s106/f_Jaipur_x_toys/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [10], [13], [18], [40], [48]], [[2], [10], [13], [18], [40], [48], [51], [52], [53], [54]], [[2], [10], [13], [18], [40], [48]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|apparel|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "apparel"}, "question": "Which customers (by customer_id) based in Jaipur have bought something from the apparel category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_x_apparel/cf_dup_order.db", "train/dbs/S_s106/f_Jaipur_x_apparel/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [13], [40], [46]], [[10], [13], [40], [46], [48], [38]], [[10], [13], [40], [46]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|home|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "home"}, "question": "List the IDs of customers from Jaipur who have ordered at least one home product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_x_home/cf_cancelled_orders.db", "train/dbs/S_s106/f_Jaipur_x_home/cf_split_payments.db"], "cf_edits": ["cancelled_orders", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [18], [24], [38], [40], [46], [48]], [[2], [18], [24], [38], [40], [46], [48], [10]], [[2], [18], [24], [38], [40], [46], [48]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|electronics|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "electronics"}, "question": "List the IDs of customers from Kochi who have ordered at least one electronics product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_x_electronics/cf_new_customers.db", "train/dbs/S_s106/f_Kochi_x_electronics/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[27], [44]], [[27], [44], [51], [52]], [[27], [44]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|grocery|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "grocery"}, "question": "Which customers (by customer_id) based in Kochi have bought something from the grocery category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_x_grocery/cf_new_customers.db", "train/dbs/S_s106/f_Kochi_x_grocery/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [27], [44]], [[9], [27], [44], [51], [52]], [[9], [27], [44]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|toys|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "toys"}, "question": "List the IDs of customers from Kochi who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_x_toys/cf_new_customers.db", "train/dbs/S_s106/f_Kochi_x_toys/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [27]], [[9], [27], [51], [52]], [[9], [27]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|apparel|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "apparel"}, "question": "List the IDs of customers from Kochi who have ordered at least one apparel product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_x_apparel/cf_new_customers.db", "train/dbs/S_s106/f_Kochi_x_apparel/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [27], [44]], [[9], [27], [44], [51], [52]], [[9], [27], [44]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|home|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Kochi", "category": "home"}, "question": "Which customers (by customer_id) based in Kochi have bought something from the home category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_x_home/cf_dup_order.db", "train/dbs/S_s106/f_Kochi_x_home/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [27]], [[9], [27], [44]], [[9], [27]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|books|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "books"}, "question": "List the IDs of customers from Indore who have ordered at least one books product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_x_books/cf_new_customers.db", "train/dbs/S_s106/f_Indore_x_books/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[49]], [[49], [51], [52]], [[49]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'books')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'books' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'books'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|electronics|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "electronics"}, "question": "Which customers (by customer_id) based in Indore have bought something from the electronics category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_x_electronics/cf_dup_order.db", "train/dbs/S_s106/f_Indore_x_electronics/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [17]], [[7], [17], [3]], [[7], [17]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|grocery|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "grocery"}, "question": "Which customers (by customer_id) based in Indore have bought something from the grocery category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_x_grocery/cf_new_customers.db", "train/dbs/S_s106/f_Indore_x_grocery/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [7], [17], [22]], [[3], [7], [17], [22], [51], [52]], [[3], [7], [17], [22]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|toys|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "toys"}, "question": "Which customers (by customer_id) based in Indore have bought something from the toys category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_x_toys/cf_new_customers.db", "train/dbs/S_s106/f_Indore_x_toys/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [17], [22]], [[3], [17], [22], [51], [52]], [[3], [17], [22]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|apparel|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "apparel"}, "question": "List the IDs of customers from Indore who have ordered at least one apparel product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_x_apparel/cf_new_customers.db", "train/dbs/S_s106/f_Indore_x_apparel/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[17], [22], [49]], [[17], [22], [49], [51], [52]], [[17], [22], [49]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|home|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Indore", "category": "home"}, "question": "List the IDs of customers from Indore who have ordered at least one home product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_x_home/cf_drop_customers.db", "train/dbs/S_s106/f_Indore_x_home/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [22], [49]], [[7], [49]], [[7], [22], [49]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|electronics|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "electronics"}, "question": "Which customers (by customer_id) based in Surat have bought something from the electronics category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_x_electronics/cf_new_customers.db", "train/dbs/S_s106/f_Surat_x_electronics/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[25], [30], [41]], [[25], [30], [41], [51], [52]], [[25], [30], [41]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'electronics')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'electronics' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'electronics'"}, "mutant_blind": {"no_distinct": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|grocery|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "grocery"}, "question": "List the IDs of customers from Surat who have ordered at least one grocery product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_x_grocery/cf_drop_customers.db", "train/dbs/S_s106/f_Surat_x_grocery/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [25], [30], [41], [47]], [[25], [41], [47]], [[12], [25], [30], [41], [47]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'grocery')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'grocery' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'grocery'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|toys|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "toys"}, "question": "List the IDs of customers from Surat who have ordered at least one toys product.", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_x_toys/cf_new_customers.db", "train/dbs/S_s106/f_Surat_x_toys/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [30], [41]], [[12], [30], [41], [51], [52]], [[12], [30], [41]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'toys')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'toys' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'toys'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|apparel|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "apparel"}, "question": "Which customers (by customer_id) based in Surat have bought something from the apparel category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_x_apparel/cf_new_customers.db", "train/dbs/S_s106/f_Surat_x_apparel/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[30]], [[30], [51], [52]], [[30]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'apparel')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'apparel' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'apparel'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|home|S_s106", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "home"}, "question": "Which customers (by customer_id) based in Surat have bought something from the home category?", "gold_sql": "SELECT DISTINCT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_x_home/cf_dup_order.db", "train/dbs/S_s106/f_Surat_x_home/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [25], [41]], [[12], [25], [41], [30]], [[12], [25], [41]]], "paraphrases": ["SELECT c.customer_id FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE o.customer_id = c.customer_id AND p.category = 'home')", "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'home' GROUP BY o.customer_id"], "mutants": {"no_distinct": "SELECT o.customer_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND p.category = 'home'"}, "mutant_blind": {"no_distinct": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_paying_customers|Delhi|2024|S_s106", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "Count the customers in Delhi who paid anything during 2024, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_2024_x/cf_dup_order.db", "train/dbs/S_s106/f_Delhi_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Delhi|2025|S_s106", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "Count the customers in Delhi who paid anything during 2025, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Delhi_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Delhi' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Mumbai|2024|S_s106", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "Count the customers in Mumbai who paid anything during 2024, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s106/f_Mumbai_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Mumbai|2025|S_s106", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "How many distinct customers from Mumbai made at least one payment in 2025 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Mumbai' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Pune|2024|S_s106", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "How many distinct customers from Pune made at least one payment in 2024 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_2024_x/cf_drop_customers.db", "train/dbs/S_s106/f_Pune_2024_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[0]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Pune|2025|S_s106", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Pune", "year": 2025}, "question": "Count the customers in Pune who paid anything during 2025, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_2025_x/cf_dup_order.db", "train/dbs/S_s106/f_Pune_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Pune' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Jaipur|2024|S_s106", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "Count the customers in Jaipur who paid anything during 2024, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_2024_x/cf_drop_customers.db", "train/dbs/S_s106/f_Jaipur_2024_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Jaipur|2025|S_s106", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "How many distinct customers from Jaipur made at least one payment in 2025 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_2025_x/cf_drop_customers.db", "train/dbs/S_s106/f_Jaipur_2025_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[4]], [[7]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Jaipur' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Kochi|2024|S_s106", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "How many distinct customers from Kochi made at least one payment in 2024 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s106/f_Kochi_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Kochi|2025|S_s106", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "Count the customers in Kochi who paid anything during 2025, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Kochi_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Kochi' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Indore|2025|S_s106", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "Count the customers in Indore who paid anything during 2025, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Indore_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Indore' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Surat|2024|S_s106", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "How many distinct customers from Surat made at least one payment in 2024 (by payment date)?", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s106/f_Surat_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2024-01-01' AND '2024-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"count_rows": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_paying_customers|Surat|2025|S_s106", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "Count the customers in Surat who paid anything during 2025, using the payment date.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_2025_x/cf_dup_order.db", "train/dbs/S_s106/f_Surat_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE c.city = 'Surat' AND EXISTS (SELECT 1 FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE o.customer_id = c.customer_id AND pay.paid_date BETWEEN '2025-01-01' AND '2025-12-31')"], "mutants": {"count_rows": "SELECT COUNT(*) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT pay.order_id) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"count_rows": false, "count_orders": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F2_paid_for_category|books|2024|S_s106", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "books", "year": 2024}, "question": "Sum the payments received for 2024 orders that include any books item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2024_books/cf_dup_order.db", "train/dbs/S_s106/f_x_2024_books/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[9810]], [[57393]], [[9810]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'books'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": false}, "mutant_catchable": {"join_fanout": false}} {"id": "F2_paid_for_category|books|2025|S_s106", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "books", "year": 2025}, "question": "Sum the payments received for 2025 orders that include any books item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2025_books/cf_dup_order.db", "train/dbs/S_s106/f_x_2025_books/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[54545]], [[110516]], [[54545]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'books'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|electronics|2024|S_s106", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "electronics", "year": 2024}, "question": "Sum the payments received for 2024 orders that include any electronics item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2024_electronics/cf_dup_order.db", "train/dbs/S_s106/f_x_2024_electronics/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[134675]], [[220343]], [[134675]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'electronics'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|electronics|2025|S_s106", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "electronics", "year": 2025}, "question": "What is the total amount paid (sum of payments) for orders placed in 2025 that contain at least one electronics product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2025_electronics/cf_adjustments.db", "train/dbs/S_s106/f_x_2025_electronics/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[31269]], [[31588]], [[31269]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'electronics'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": false}, "mutant_catchable": {"join_fanout": false}} {"id": "F2_paid_for_category|grocery|2024|S_s106", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "grocery", "year": 2024}, "question": "What is the total amount paid (sum of payments) for orders placed in 2024 that contain at least one grocery product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2024_grocery/cf_drop_customers.db", "train/dbs/S_s106/f_x_2024_grocery/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[203970]], [[89729]], [[203970]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'grocery'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|grocery|2025|S_s106", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "grocery", "year": 2025}, "question": "Sum the payments received for 2025 orders that include any grocery item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2025_grocery/cf_new_customers.db", "train/dbs/S_s106/f_x_2025_grocery/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[146990]], [[305713]], [[146990]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'grocery'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|toys|2024|S_s106", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "toys", "year": 2024}, "question": "Sum the payments received for 2024 orders that include any toys item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2024_toys/cf_drop_customers.db", "train/dbs/S_s106/f_x_2024_toys/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[122564]], [[92024]], [[122564]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'toys'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|toys|2025|S_s106", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "toys", "year": 2025}, "question": "Sum the payments received for 2025 orders that include any toys item.", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2025_toys/cf_dup_order.db", "train/dbs/S_s106/f_x_2025_toys/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[119604]], [[181051]], [[119604]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'toys'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|apparel|2024|S_s106", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "apparel", "year": 2024}, "question": "What is the total amount paid (sum of payments) for orders placed in 2024 that contain at least one apparel product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2024_apparel/cf_dup_order.db", "train/dbs/S_s106/f_x_2024_apparel/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[103262]], [[179398]], [[103262]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'apparel'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|apparel|2025|S_s106", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "apparel", "year": 2025}, "question": "What is the total amount paid (sum of payments) for orders placed in 2025 that contain at least one apparel product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2025_apparel/cf_dup_order.db", "train/dbs/S_s106/f_x_2025_apparel/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[107787]], [[244068]], [[107787]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'apparel'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|home|2024|S_s106", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "home", "year": 2024}, "question": "What is the total amount paid (sum of payments) for orders placed in 2024 that contain at least one home product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2024' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2024_home/cf_adjustments.db", "train/dbs/S_s106/f_x_2024_home/cf_cancelled_orders.db"], "cf_edits": ["adjustments", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[127809]], [[128517]], [[127809]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND o.order_date LIKE '2024-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2024' AND p.category = 'home'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|home|2025|S_s106", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "home", "year": 2025}, "question": "What is the total amount paid (sum of payments) for orders placed in 2025 that contain at least one home product?", "gold_sql": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id WHERE substr(o.order_date, 1, 4) = '2025' AND pay.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_2025_home/cf_new_customers.db", "train/dbs/S_s106/f_x_2025_home/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[118282]], [[243664]], [[118282]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments pay JOIN (SELECT DISTINCT oi.order_id FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND o.order_date LIKE '2025-%') x ON x.order_id = pay.order_id"], "mutants": {"join_fanout": "SELECT SUM(pay.amount) FROM payments pay JOIN orders o ON o.order_id = pay.order_id JOIN order_items oi ON oi.order_id = o.order_id JOIN products p ON p.product_id = oi.product_id WHERE substr(o.order_date, 1, 4) = '2025' AND p.category = 'home'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Delhi|2024|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2024 by customers from Delhi that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s106/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[43594]], [[43900]], [[43594]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Delhi|2025|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "For customers in Delhi, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_2025_x/cf_dup_order.db", "train/dbs/S_s106/f_Delhi_2025_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[56181]], [[56521]], [[56181]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Mumbai|2024|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "For customers in Mumbai, add up quantity times unit price over the items of their 2024 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_2024_x/cf_drop_customers.db", "train/dbs/S_s106/f_Mumbai_2024_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[62655]], [[49041]], [[62655]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Mumbai|2025|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2025 by customers from Mumbai that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[17596]], [[30763]], [[17596]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Pune|2024|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2024 by customers from Pune that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_2024_x/cf_drop_customers.db", "train/dbs/S_s106/f_Pune_2024_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[27782]], [[16044]], [[27782]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Pune|2025|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Pune", "year": 2025}, "question": "For customers in Pune, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_2025_x/cf_dup_order.db", "train/dbs/S_s106/f_Pune_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[32051]], [[44201]], [[32051]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Jaipur|2024|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2024 by customers from Jaipur that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_2024_x/cf_new_customers.db", "train/dbs/S_s106/f_Jaipur_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[37230]], [[37347]], [[37230]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Jaipur|2025|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "For customers in Jaipur, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_2025_x/cf_dup_order.db", "train/dbs/S_s106/f_Jaipur_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[86849]], [[95056]], [[86849]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Kochi|2024|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "For customers in Kochi, add up quantity times unit price over the items of their 2024 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_2024_x/cf_dup_order.db", "train/dbs/S_s106/f_Kochi_2024_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[38231]], [[67368]], [[38231]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Kochi|2025|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2025 by customers from Kochi that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Kochi_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4650]], [[28096]], [[4650]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Indore|2024|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2024 by customers from Indore that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_2024_x/cf_dup_order.db", "train/dbs/S_s106/f_Indore_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[25005]], [[25345]], [[25005]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Indore|2025|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "For customers in Indore, add up quantity times unit price over the items of their 2025 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_2025_x/cf_dup_order.db", "train/dbs/S_s106/f_Indore_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[46802]], [[55747]], [[46802]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Surat|2024|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "For customers in Surat, add up quantity times unit price over the items of their 2024 orders that have received a payment.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_2024_x/cf_dup_order.db", "train/dbs/S_s106/f_Surat_2024_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[20767]], [[26343]], [[20767]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2024' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Surat|2025|S_s106", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2025 by customers from Surat that have at least one payment?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Surat_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[31923]], [[54611]], [[31923]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2025' AND o.order_id IN (SELECT order_id FROM payments)"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id JOIN payments pay ON pay.order_id = o.order_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|books|S_s106", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "books"}, "question": "What is the total refunded amount for orders that contain at least one books product?", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_x_books/cf_new_customers.db", "train/dbs/S_s106/f_x_x_books/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[18932]], [[34695]], [[18932]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'books')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|electronics|S_s106", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "electronics"}, "question": "Add up all refunds issued on orders that include any electronics item.", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_x_electronics/cf_refunds.db", "train/dbs/S_s106/f_x_x_electronics/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3012]], [[30926]], [[3012]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'electronics')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": false}, "mutant_catchable": {"join_fanout": false}} {"id": "F2_refunded_category|grocery|S_s106", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "grocery"}, "question": "Add up all refunds issued on orders that include any grocery item.", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_x_grocery/cf_dup_order.db", "train/dbs/S_s106/f_x_x_grocery/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[33353]], [[34781]], [[33353]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'grocery')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|toys|S_s106", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "toys"}, "question": "Add up all refunds issued on orders that include any toys item.", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_x_toys/cf_refunds.db", "train/dbs/S_s106/f_x_x_toys/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[19169]], [[51228]], [[19169]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'toys')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|apparel|S_s106", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "apparel"}, "question": "What is the total refunded amount for orders that contain at least one apparel product?", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_x_apparel/cf_drop_customers.db", "train/dbs/S_s106/f_x_x_apparel/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[21939]], [[5547]], [[21939]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'apparel')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|home|S_s106", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "home"}, "question": "Add up all refunds issued on orders that include any home item.", "gold_sql": "SELECT SUM(r.amount) FROM refunds r WHERE r.order_id IN (SELECT oi.order_id FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_x_x_home/cf_dup_order.db", "train/dbs/S_s106/f_x_x_home/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[18601]], [[20582]], [[18601]]], "paraphrases": ["SELECT SUM(r.amount) FROM refunds r WHERE EXISTS (SELECT 1 FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE oi.order_id = r.order_id AND p.category = 'home')"], "mutants": {"join_fanout": "SELECT SUM(r.amount) FROM refunds r JOIN order_items oi ON oi.order_id = r.order_id JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F3_gross_revenue|Delhi|2024|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "Compute 2024 gross revenue for customers based in Delhi.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_2024_x/cf_dup_order.db", "train/dbs/S_s106/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[43594]], [[76374]], [[43594]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Delhi|2025|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "Compute 2025 gross revenue for customers based in Delhi.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_2025_x/cf_drop_customers.db", "train/dbs/S_s106/f_Delhi_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[79526]], [[63439]], [[79526]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Mumbai|2024|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "What was the gross revenue from customers in Mumbai in 2024?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s106/f_Mumbai_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[87899]], [[135929]], [[87899]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Mumbai|2025|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "What was the gross revenue from customers in Mumbai in 2025?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[23207]], [[55091]], [[23207]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Pune|2024|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "What was the gross revenue from customers in Pune in 2024?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_2024_x/cf_drop_customers.db", "train/dbs/S_s106/f_Pune_2024_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[35782]], [[24044]], [[35782]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Pune|2025|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2025}, "question": "What was the gross revenue from customers in Pune in 2025?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Pune_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[54321]], [[59265]], [[54321]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Jaipur|2024|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "What was the gross revenue from customers in Jaipur in 2024?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_2024_x/cf_drop_customers.db", "train/dbs/S_s106/f_Jaipur_2024_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[51398]], [[40458]], [[51398]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Jaipur|2025|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "Compute 2025 gross revenue for customers based in Jaipur.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_2025_x/cf_dup_order.db", "train/dbs/S_s106/f_Jaipur_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[92974]], [[125947]], [[92974]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Kochi|2024|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "Compute 2024 gross revenue for customers based in Kochi.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s106/f_Kochi_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[38231]], [[71581]], [[38231]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Kochi|2025|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "What was the gross revenue from customers in Kochi in 2025?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[31239]], [[54685]], [[31239]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Indore|2024|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "Compute 2024 gross revenue for customers based in Indore.", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_2024_x/cf_dup_order.db", "train/dbs/S_s106/f_Indore_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[25005]], [[33835]], [[25005]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Indore|2025|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "What was the gross revenue from customers in Indore in 2025?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Indore_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[46802]], [[59022]], [[46802]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "shipped_only": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Surat|2024|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "What was the gross revenue from customers in Surat in 2024?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s106/f_Surat_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[42052]], [[85495]], [[42052]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Surat|2025|S_s106", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "What was the gross revenue from customers in Surat in 2025?", "gold_sql": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Surat_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[50319]], [[100727]], [[50319]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025'", "shipped_only": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "shipped_only": false}, "mutant_caught": {"no_status_filter": true, "shipped_only": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_active_orders|Delhi|2024|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "How many active orders did customers from Delhi place in 2024?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s106/f_Delhi_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[8]], [[5]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Delhi|2025|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "Count the 2025 orders from Delhi customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_2025_x/cf_drop_customers.db", "train/dbs/S_s106/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[6]], [[9]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Mumbai|2024|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "Count the 2024 orders from Mumbai customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_2024_x/cf_dup_order.db", "train/dbs/S_s106/f_Mumbai_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[13]], [[9]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Mumbai|2025|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "How many active orders did customers from Mumbai place in 2025?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Mumbai_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[8]], [[4]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Pune|2024|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "Count the 2024 orders from Pune customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_2024_x/cf_dup_order.db", "train/dbs/S_s106/f_Pune_2024_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Pune|2025|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2025}, "question": "Count the 2025 orders from Pune customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_2025_x/cf_dup_order.db", "train/dbs/S_s106/f_Pune_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[8]], [[6]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Jaipur|2024|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "How many active orders did customers from Jaipur place in 2024?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_2024_x/cf_new_customers.db", "train/dbs/S_s106/f_Jaipur_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[10]], [[6]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Jaipur|2025|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "How many active orders did customers from Jaipur place in 2025?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s106/f_Jaipur_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[16]], [[19]], [[16]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Kochi|2024|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "Count the 2024 orders from Kochi customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_2024_x/cf_dup_order.db", "train/dbs/S_s106/f_Kochi_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Kochi|2025|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "Count the 2025 orders from Kochi customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_2025_x/cf_drop_customers.db", "train/dbs/S_s106/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[1]], [[3]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Indore|2024|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "How many active orders did customers from Indore place in 2024?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_2024_x/cf_new_customers.db", "train/dbs/S_s106/f_Indore_2024_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Indore|2025|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "Count the 2025 orders from Indore customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_2025_x/cf_dup_order.db", "train/dbs/S_s106/f_Indore_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Surat|2024|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "How many active orders did customers from Surat place in 2024?", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s106/f_Surat_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[10]], [[5]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2024-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Surat|2025|S_s106", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "Count the 2025 orders from Surat customers that are active.", "gold_sql": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_2025_x/cf_dup_order.db", "train/dbs/S_s106/f_Surat_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[9]], [[7]]], "paraphrases": ["SELECT COUNT(o.order_id) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') AND o.order_date LIKE '2025-%'"], "mutants": {"no_status_filter": "SELECT COUNT(*) FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_net_revenue|Delhi|2024|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "Compute net revenue for 2024 from customers based in Delhi.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_2024_x/cf_refunds.db", "train/dbs/S_s106/f_Delhi_2024_x/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[43594]], [[29271]], [[43594]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Delhi|2025|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Delhi.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_2025_x/cf_dup_order.db", "train/dbs/S_s106/f_Delhi_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[73647]], [[78586]], [[73647]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Mumbai|2024|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "What was the net revenue from customers in Mumbai in 2024?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_2024_x/cf_refunds.db", "train/dbs/S_s106/f_Mumbai_2024_x/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[87899]], [[80946]], [[87899]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Mumbai|2025|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "What was the net revenue from customers in Mumbai in 2025?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_2025_x/cf_refunds.db", "train/dbs/S_s106/f_Mumbai_2025_x/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[23207]], [[19659]], [[23207]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Pune|2024|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "Compute net revenue for 2024 from customers based in Pune.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_2024_x/cf_refunds.db", "train/dbs/S_s106/f_Pune_2024_x/cf_zero_order_customers.db"], "cf_edits": ["refunds", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[26646]], [[17067]], [[26646]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Pune|2025|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2025}, "question": "What was the net revenue from customers in Pune in 2025?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_2025_x/cf_refunds.db", "train/dbs/S_s106/f_Pune_2025_x/cf_split_payments.db"], "cf_edits": ["refunds", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[42099]], [[36026]], [[42099]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Jaipur|2024|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "What was the net revenue from customers in Jaipur in 2024?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_2024_x/cf_refunds.db", "train/dbs/S_s106/f_Jaipur_2024_x/cf_zero_order_customers.db"], "cf_edits": ["refunds", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[44142]], [[38282]], [[44142]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Jaipur|2025|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "What was the net revenue from customers in Jaipur in 2025?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_2025_x/cf_drop_customers.db", "train/dbs/S_s106/f_Jaipur_2025_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[80728]], [[36747]], [[80728]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Kochi|2024|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "Compute net revenue for 2024 from customers based in Kochi.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_2024_x/cf_refunds.db", "train/dbs/S_s106/f_Kochi_2024_x/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[38231]], [[22990]], [[38231]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Kochi|2025|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Kochi.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_2025_x/cf_refunds.db", "train/dbs/S_s106/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[31239]], [[27011]], [[31239]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Indore|2024|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2024}, "question": "What was the net revenue from customers in Indore in 2024?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_2024_x/cf_dup_order.db", "train/dbs/S_s106/f_Indore_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[25005]], [[33548]], [[25005]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Indore|2025|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "What was the net revenue from customers in Indore in 2025?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_2025_x/cf_refunds.db", "train/dbs/S_s106/f_Indore_2025_x/cf_later_tier.db"], "cf_edits": ["refunds", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[46802]], [[44705]], [[46802]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Surat|2024|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "What was the net revenue from customers in Surat in 2024?", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s106/f_Surat_2024_x/cf_later_tier.db", "train/dbs/S_s106/f_Surat_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "later_tier", "refunds"], "cf_kinds": ["changing", "preserving", "changing"], "gold": [[[42052]], [[85495]], [[42052]], [[33505]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2024')"}, "mutant_blind": {"missing_refunds": true, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_net_revenue|Surat|2025|S_s106", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Surat", "year": 2025}, "question": "Compute net revenue for 2025 from customers based in Surat.", "gold_sql": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025')", "ordered": false, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_2025_x/cf_dup_order.db", "train/dbs/S_s106/f_Surat_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[42424]], [[68941]], [[42424]]], "paraphrases": ["SELECT SUM(x.gross) - SUM(x.ref) FROM (SELECT o.order_id, (SELECT SUM(i.quantity * i.unit_price) FROM order_items i WHERE i.order_id = o.order_id) AS gross, (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r WHERE r.order_id = o.order_id) AS ref FROM orders o JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025') x"], "mutants": {"missing_refunds": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "no_status_filter": "SELECT (SELECT SUM(oi.quantity * oi.unit_price) FROM order_items oi JOIN orders o ON o.order_id = oi.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025') - (SELECT COALESCE(SUM(r.amount), 0) FROM refunds r JOIN orders o ON o.order_id = r.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND 1 = 1 AND substr(o.order_date, 1, 4) = '2025')"}, "mutant_blind": {"missing_refunds": false, "no_status_filter": true}, "mutant_caught": {"missing_refunds": true, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": true, "no_status_filter": true}} {"id": "F3_top_customers|Delhi|S_s106", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Delhi"}, "question": "List the three Delhi customers with the highest gross revenue (customer_id, revenue), in descending order of revenue.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Delhi_x_x/cf_dup_order.db", "train/dbs/S_s106/f_Delhi_x_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4, 40814], [15, 31719], [29, 16087]], [[15, 46803], [4, 40814], [29, 25427]], [[4, 40814], [15, 31719], [29, 16087]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Delhi' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Delhi' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Mumbai|S_s106", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Mumbai"}, "question": "Who are the top 3 customers from Mumbai by gross revenue? Return customer_id and gross revenue, highest first.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Mumbai_x_x/cf_dup_order.db", "train/dbs/S_s106/f_Mumbai_x_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1, 35163], [21, 23591], [45, 19184]], [[1, 36513], [45, 26924], [21, 23591]], [[1, 35163], [21, 23591], [45, 19184]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Mumbai' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Mumbai' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Pune|S_s106", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Pune"}, "question": "Who are the top 3 customers from Pune by gross revenue? Return customer_id and gross revenue, highest first.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Pune_x_x/cf_new_customers.db", "train/dbs/S_s106/f_Pune_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[19, 28444], [39, 25877], [43, 16044]], [[19, 28444], [39, 25877], [51, 16910]], [[19, 28444], [39, 25877], [43, 16044]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Pune' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Pune' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Jaipur|S_s106", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Jaipur"}, "question": "Who are the top 3 customers from Jaipur by gross revenue? Return customer_id and gross revenue, highest first.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Jaipur_x_x/cf_drop_customers.db", "train/dbs/S_s106/f_Jaipur_x_x/cf_new_customers.db"], "cf_edits": ["drop_customers", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[40, 48530], [48, 21530], [2, 20583]], [[48, 21530], [2, 20583], [46, 14731]], [[40, 48530], [48, 21530], [2, 20583]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Jaipur' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Jaipur' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Kochi|S_s106", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Kochi"}, "question": "Who are the top 3 customers from Kochi by gross revenue? Return customer_id and gross revenue, highest first.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Kochi_x_x/cf_new_customers.db", "train/dbs/S_s106/f_Kochi_x_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[27, 42881], [9, 26589]], [[27, 42881], [52, 27240], [9, 26589]], [[27, 42881], [9, 26589]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Kochi' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Kochi' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Indore|S_s106", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Indore"}, "question": "List the three Indore customers with the highest gross revenue (customer_id, revenue), in descending order of revenue.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Indore_x_x/cf_dup_order.db", "train/dbs/S_s106/f_Indore_x_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[22, 31022], [17, 29255], [49, 7921]], [[22, 31022], [17, 29255], [49, 16361]], [[22, 31022], [17, 29255], [49, 7921]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Indore' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Indore' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Surat|S_s106", "template": "F3_top_customers", "family": "F3", "split": "train", "params": {"city": "Surat"}, "question": "Who are the top 3 customers from Surat by gross revenue? Return customer_id and gross revenue, highest first.", "gold_sql": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3", "ordered": true, "dbs": ["train/dbs/S_s106/base.db", "train/dbs/S_s106/f_Surat_x_x/cf_new_customers.db", "train/dbs/S_s106/f_Surat_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[41, 39375], [30, 22135], [12, 16316]], [[41, 39375], [52, 31868], [30, 22135]], [[41, 39375], [30, 22135], [12, 16316]]], "paraphrases": ["SELECT c.customer_id, SUM(oi.quantity * oi.unit_price) FROM customers c JOIN orders o ON o.customer_id = c.customer_id JOIN order_items oi ON oi.order_id = o.order_id WHERE c.city = 'Surat' AND o.status IN ('placed', 'shipped') GROUP BY c.customer_id ORDER BY 2 DESC, 1 LIMIT 3"], "mutants": {"no_status_filter": "SELECT o.customer_id, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON oi.order_id = o.order_id JOIN customers c ON c.customer_id = o.customer_id WHERE c.city = 'Surat' GROUP BY o.customer_id ORDER BY revenue DESC, o.customer_id LIMIT 3"}, "mutant_blind": {"no_status_filter": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}}