{"id": "F1_ordered_customers|Delhi|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Delhi_x_x/cf_drop_customers.db", "train/dbs/S_s101/f_Delhi_x_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 = '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_x_x/cf_new_customers.db", "train/dbs/S_s101/f_Mumbai_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Pune_x_x/cf_new_customers.db", "train/dbs/S_s101/f_Pune_x_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[8]], [[6]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_x_x/cf_new_customers.db", "train/dbs/S_s101/f_Jaipur_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_x_x/cf_drop_customers.db", "train/dbs/S_s101/f_Kochi_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_x_x/cf_new_customers.db", "train/dbs/S_s101/f_Indore_x_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[12]], [[9]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_x_x/cf_new_customers.db", "train/dbs/S_s101/f_Surat_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 = '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Nagpur_x_x/cf_new_customers.db", "train/dbs/S_s101/f_Nagpur_x_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[9]], [[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_customer_list|Delhi|electronics|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Delhi_x_electronics/cf_new_customers.db", "train/dbs/S_s101/f_Delhi_x_electronics/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[22], [36], [37]], [[22], [36], [37], [51], [52]], [[22], [36], [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 = '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Delhi_x_grocery/cf_new_customers.db", "train/dbs/S_s101/f_Delhi_x_grocery/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[36]], [[36], [51], [52]], [[36]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|apparel|S_s101", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "apparel"}, "question": "List the IDs of customers from Delhi 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 = 'Delhi' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Delhi_x_apparel/cf_dup_order.db", "train/dbs/S_s101/f_Delhi_x_apparel/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[37]], [[37], [22], [36]], [[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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|home|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Delhi_x_home/cf_cancelled_orders.db", "train/dbs/S_s101/f_Delhi_x_home/cf_later_tier.db"], "cf_edits": ["cancelled_orders", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[22], [36]], [[22], [36], [37]], [[22], [36]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_x_books/cf_dup_order.db", "train/dbs/S_s101/f_Mumbai_x_books/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[50]], [[50], [19]], [[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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_x_electronics/cf_cancelled_orders.db", "train/dbs/S_s101/f_Mumbai_x_electronics/cf_adjustments.db"], "cf_edits": ["cancelled_orders", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [16], [50]], [[8], [16], [50], [49]], [[8], [16], [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 = '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_x_grocery/cf_drop_customers.db", "train/dbs/S_s101/f_Mumbai_x_grocery/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [16], [19], [50]], [[8], [16]], [[8], [16], [19], [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_s101", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "toys"}, "question": "Which customers (by customer_id) based in Mumbai 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 = 'Mumbai' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Mumbai_x_toys/cf_new_customers.db", "train/dbs/S_s101/f_Mumbai_x_toys/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[16], [19], [50]], [[16], [19], [50], [51], [52]], [[16], [19], [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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|apparel|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_x_apparel/cf_drop_customers.db", "train/dbs/S_s101/f_Mumbai_x_apparel/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [16], [49], [50]], [[8], [50]], [[8], [16], [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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_x_home/cf_dup_order.db", "train/dbs/S_s101/f_Mumbai_x_home/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[50]], [[50], [16]], [[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|electronics|S_s101", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "electronics"}, "question": "List the IDs of customers from Pune 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 = 'Pune' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Pune_x_electronics/cf_drop_customers.db", "train/dbs/S_s101/f_Pune_x_electronics/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [23], [24], [27], [29], [42]], [[15], [27], [29], [42]], [[15], [23], [24], [27], [29], [42]]], "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": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|grocery|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Pune_x_grocery/cf_drop_customers.db", "train/dbs/S_s101/f_Pune_x_grocery/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [23], [24], [27], [29], [42]], [[23], [24], [29], [42]], [[15], [23], [24], [27], [29], [42]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Pune_x_toys/cf_cancelled_orders.db", "train/dbs/S_s101/f_Pune_x_toys/cf_refunds.db"], "cf_edits": ["cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [27], [29], [42]], [[15], [27], [29], [42], [24]], [[15], [27], [29], [42]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Pune_x_apparel/cf_new_customers.db", "train/dbs/S_s101/f_Pune_x_apparel/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [23], [24], [27], [29]], [[15], [23], [24], [27], [29], [51], [52]], [[15], [23], [24], [27], [29]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Pune_x_home/cf_new_customers.db", "train/dbs/S_s101/f_Pune_x_home/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[42]], [[42], [51], [52]], [[42]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_x_books/cf_new_customers.db", "train/dbs/S_s101/f_Jaipur_x_books/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [11]], [[1], [11], [51], [52]], [[1], [11]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_x_electronics/cf_cancelled_orders.db", "train/dbs/S_s101/f_Jaipur_x_electronics/cf_later_tier.db"], "cf_edits": ["cancelled_orders", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[39], [47]], [[39], [47], [26]], [[39], [47]]], "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_s101", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "grocery"}, "question": "List the IDs of customers from Jaipur 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 = 'Jaipur' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Jaipur_x_grocery/cf_cancelled_orders.db", "train/dbs/S_s101/f_Jaipur_x_grocery/cf_split_payments.db"], "cf_edits": ["cancelled_orders", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [26]], [[1], [26], [39]], [[1], [26]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_x_toys/cf_new_customers.db", "train/dbs/S_s101/f_Jaipur_x_toys/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [11], [39]], [[1], [11], [39], [51], [52]], [[1], [11], [39]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_x_apparel/cf_new_customers.db", "train/dbs/S_s101/f_Jaipur_x_apparel/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [11], [39], [47]], [[1], [11], [39], [47], [51], [52]], [[1], [11], [39], [47]]], "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_s101", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "home"}, "question": "Which customers (by customer_id) based in Jaipur 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 = 'Jaipur' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Jaipur_x_home/cf_cancelled_orders.db", "train/dbs/S_s101/f_Jaipur_x_home/cf_superseded_tier.db"], "cf_edits": ["cancelled_orders", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [39]], [[11], [39], [1]], [[11], [39]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|books|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_x_books/cf_dup_order.db", "train/dbs/S_s101/f_Kochi_x_books/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[44]], [[44], [34]], [[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 = '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_x_electronics/cf_dup_order.db", "train/dbs/S_s101/f_Kochi_x_electronics/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[34], [35], [44]], [[34], [35], [44], [5]], [[34], [35], [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": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|grocery|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_x_grocery/cf_dup_order.db", "train/dbs/S_s101/f_Kochi_x_grocery/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [34]], [[5], [34], [35], [44]], [[5], [34]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_x_toys/cf_dup_order.db", "train/dbs/S_s101/f_Kochi_x_toys/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[34]], [[34], [35]], [[34]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_x_apparel/cf_cancelled_orders.db", "train/dbs/S_s101/f_Kochi_x_apparel/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[34], [35]], [[34], [35], [5]], [[34], [35]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_x_home/cf_new_customers.db", "train/dbs/S_s101/f_Kochi_x_home/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[34]], [[34], [51], [52]], [[34]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|books|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_x_books/cf_cancelled_orders.db", "train/dbs/S_s101/f_Indore_x_books/cf_refunds.db"], "cf_edits": ["cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [13]], [[2], [13], [32], [9], [40]], [[2], [13]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_x_electronics/cf_new_customers.db", "train/dbs/S_s101/f_Indore_x_electronics/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [10], [13], [32], [40]], [[9], [10], [13], [32], [40], [51], [52], [53]], [[9], [10], [13], [32], [40]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_x_grocery/cf_cancelled_orders.db", "train/dbs/S_s101/f_Indore_x_grocery/cf_adjustments.db"], "cf_edits": ["cancelled_orders", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [13], [30], [31], [32], [40]], [[9], [13], [30], [31], [32], [40], [12], [10]], [[9], [13], [30], [31], [32], [40]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_x_toys/cf_drop_customers.db", "train/dbs/S_s101/f_Indore_x_toys/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [12], [13], [30], [31], [32]], [[9], [12], [30], [31]], [[9], [12], [13], [30], [31], [32]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_x_apparel/cf_new_customers.db", "train/dbs/S_s101/f_Indore_x_apparel/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [9], [10], [13], [31], [32]], [[2], [9], [10], [13], [31], [32], [51], [52], [53]], [[2], [9], [10], [13], [31], [32]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_x_home/cf_new_customers.db", "train/dbs/S_s101/f_Indore_x_home/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [9], [32]], [[2], [9], [32], [51], [52], [53]], [[2], [9], [32]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_x_electronics/cf_new_customers.db", "train/dbs/S_s101/f_Surat_x_electronics/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [21], [41], [45], [48]], [[3], [21], [41], [45], [48], [51], [52]], [[3], [21], [41], [45], [48]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_x_grocery/cf_new_customers.db", "train/dbs/S_s101/f_Surat_x_grocery/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [21], [41], [45], [48]], [[3], [21], [41], [45], [48], [51], [52]], [[3], [21], [41], [45], [48]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_x_toys/cf_dup_order.db", "train/dbs/S_s101/f_Surat_x_toys/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [21], [41]], [[3], [21], [41], [48]], [[3], [21], [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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|apparel|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_x_apparel/cf_drop_customers.db", "train/dbs/S_s101/f_Surat_x_apparel/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [21], [41], [45]], [[3], [21], [45]], [[3], [21], [41], [45]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_x_home/cf_drop_customers.db", "train/dbs/S_s101/f_Surat_x_home/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [41]], [[3]], [[3], [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|electronics|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Nagpur_x_electronics/cf_drop_customers.db", "train/dbs/S_s101/f_Nagpur_x_electronics/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[20], [33], [38], [43]], [[20], [43]], [[20], [33], [38], [43]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Nagpur_x_grocery/cf_cancelled_orders.db", "train/dbs/S_s101/f_Nagpur_x_grocery/cf_zero_order_customers.db"], "cf_edits": ["cancelled_orders", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[14], [20], [25], [33], [43]], [[14], [20], [25], [33], [43], [38]], [[14], [20], [25], [33], [43]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Nagpur_x_toys/cf_new_customers.db", "train/dbs/S_s101/f_Nagpur_x_toys/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[20]], [[20], [51], [52]], [[20]]], "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_s101", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "apparel"}, "question": "Which customers (by customer_id) based in Nagpur 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 = 'Nagpur' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Nagpur_x_apparel/cf_dup_order.db", "train/dbs/S_s101/f_Nagpur_x_apparel/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[14], [18], [20], [33], [43]], [[14], [18], [20], [33], [43], [38], [25]], [[14], [18], [20], [33], [43]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Nagpur_x_home/cf_dup_order.db", "train/dbs/S_s101/f_Nagpur_x_home/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [20], [25], [33], [38]], [[18], [20], [25], [33], [38], [14], [43]], [[18], [20], [25], [33], [38]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Delhi_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "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 '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Delhi_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Delhi_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 = '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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Mumbai|2024|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Mumbai_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Mumbai_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "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 '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|2025|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Pune_2025_x/cf_dup_order.db", "train/dbs/S_s101/f_Pune_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[6]], [[5]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_2024_x/cf_drop_customers.db", "train/dbs/S_s101/f_Jaipur_2024_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 = '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[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 '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": true}, "mutant_caught": {"count_rows": true, "count_orders": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_paying_customers|Kochi|2024|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Kochi_2024_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[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": 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|2025|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Kochi_2025_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[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 '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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Indore|2024|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_2024_x/cf_drop_customers.db", "train/dbs/S_s101/f_Indore_2024_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[4]], [[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 '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Indore_2025_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 = '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_s101", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "Count the customers in Surat 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 = 'Surat' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Surat_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_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 '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_2025_x/cf_drop_customers.db", "train/dbs/S_s101/f_Surat_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 = '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Nagpur_2024_x/cf_dup_order.db", "train/dbs/S_s101/f_Nagpur_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[6]], [[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 '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": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Nagpur|2025|S_s101", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "Count the customers in Nagpur 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 = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Nagpur_2025_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[6]], [[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_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_2024_books/cf_dup_order.db", "train/dbs/S_s101/f_x_2024_books/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[39954]], [[167127]], [[39954]]], "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_s101", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "books", "year": 2025}, "question": "What is the total amount paid (sum of payments) for orders placed in 2025 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) = '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_s101/base.db", "train/dbs/S_s101/f_x_2025_books/cf_new_customers.db", "train/dbs/S_s101/f_x_2025_books/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[14664]], [[233839]], [[14664]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_2024_electronics/cf_adjustments.db", "train/dbs/S_s101/f_x_2024_electronics/cf_superseded_tier.db"], "cf_edits": ["adjustments", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[126613]], [[127984]], [[126613]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_2025_electronics/cf_drop_customers.db", "train/dbs/S_s101/f_x_2025_electronics/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[154158]], [[115706]], [[154158]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_2024_grocery/cf_adjustments.db", "train/dbs/S_s101/f_x_2024_grocery/cf_cancelled_orders.db"], "cf_edits": ["adjustments", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[122126]], [[122595]], [[122126]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_2025_grocery/cf_drop_customers.db", "train/dbs/S_s101/f_x_2025_grocery/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[130241]], [[68193]], [[130241]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_2024_toys/cf_dup_order.db", "train/dbs/S_s101/f_x_2024_toys/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[65374]], [[132418]], [[65374]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_2025_toys/cf_dup_order.db", "train/dbs/S_s101/f_x_2025_toys/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[95281]], [[150897]], [[95281]]], "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_s101", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "apparel", "year": 2024}, "question": "Sum the payments received for 2024 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) = '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_s101/base.db", "train/dbs/S_s101/f_x_2024_apparel/cf_dup_order.db", "train/dbs/S_s101/f_x_2024_apparel/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[177793]], [[242095]], [[177793]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_2025_apparel/cf_drop_customers.db", "train/dbs/S_s101/f_x_2025_apparel/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[171436]], [[144476]], [[171436]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_2024_home/cf_new_customers.db", "train/dbs/S_s101/f_x_2024_home/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[126396]], [[294161]], [[126396]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_2025_home/cf_dup_order.db", "train/dbs/S_s101/f_x_2025_home/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[20800]], [[150066]], [[20800]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Delhi_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5160]], [[32798]], [[5160]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Delhi_2025_x/cf_dup_order.db", "train/dbs/S_s101/f_Delhi_2025_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[16100]], [[24644]], [[16100]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Mumbai_2024_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[74804]], [[88875]], [[74804]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_2025_x/cf_drop_customers.db", "train/dbs/S_s101/f_Mumbai_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[41227]], [[3710]], [[41227]]], "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|2025|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Pune_2025_x/cf_drop_customers.db", "train/dbs/S_s101/f_Pune_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[79685]], [[72435]], [[79685]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Jaipur_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[68660]], [[75420]], [[68660]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_2025_x/cf_drop_customers.db", "train/dbs/S_s101/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[9660]], [[null]], [[9660]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Kochi_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[21080]], [[49109]], [[21080]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Kochi_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[15600]], [[30174]], [[15600]]], "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": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Indore|2024|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_2024_x/cf_dup_order.db", "train/dbs/S_s101/f_Indore_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[41113]], [[48093]], [[41113]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_2025_x/cf_drop_customers.db", "train/dbs/S_s101/f_Indore_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[33684]], [[15404]], [[33684]]], "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": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Surat|2024|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Surat_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[56224]], [[81684]], [[56224]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_2025_x/cf_drop_customers.db", "train/dbs/S_s101/f_Surat_2025_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[53586]], [[45486]], [[53586]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Nagpur_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Nagpur_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[57693]], [[77546]], [[57693]]], "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_s101", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2025 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) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Nagpur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[36810]], [[46481]], [[36810]]], "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": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|books|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_x_books/cf_drop_customers.db", "train/dbs/S_s101/f_x_x_books/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[12431]], [[1028]], [[12431]]], "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_s101", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "electronics"}, "question": "What is the total refunded amount for orders that contain at least one electronics 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 = 'electronics')", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_x_x_electronics/cf_refunds.db", "train/dbs/S_s101/f_x_x_electronics/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[22933]], [[47738]], [[22933]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_x_grocery/cf_new_customers.db", "train/dbs/S_s101/f_x_x_grocery/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[17303]], [[20971]], [[17303]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_x_toys/cf_refunds.db", "train/dbs/S_s101/f_x_x_toys/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1871]], [[40965]], [[1871]]], "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": false}, "mutant_catchable": {"join_fanout": false}} {"id": "F2_refunded_category|apparel|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_x_x_apparel/cf_dup_order.db", "train/dbs/S_s101/f_x_x_apparel/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[11530]], [[12938]], [[11530]]], "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": "F3_gross_revenue|Delhi|2024|S_s101", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "What was the gross revenue from customers in Delhi 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 = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[15103]], [[51805]], [[15103]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Delhi_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Delhi_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[16100]], [[46930]], [[16100]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Mumbai_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[74804]], [[100312]], [[74804]]], "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": 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|Mumbai|2025|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Mumbai_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[41227]], [[60564]], [[41227]]], "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": 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|2024|S_s101", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "Compute 2024 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) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Pune_2024_x/cf_dup_order.db", "train/dbs/S_s101/f_Pune_2024_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[31612]], [[56544]], [[31612]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Pune_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Pune_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[108884]], [[125225]], [[108884]]], "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_s101", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "Compute 2024 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) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Jaipur_2024_x/cf_dup_order.db", "train/dbs/S_s101/f_Jaipur_2024_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[68660]], [[82375]], [[68660]]], "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": 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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_2025_x/cf_dup_order.db", "train/dbs/S_s101/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[12976]], [[27087]], [[12976]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_2024_x/cf_dup_order.db", "train/dbs/S_s101/f_Kochi_2024_x/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[21080]], [[43892]], [[21080]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_2025_x/cf_dup_order.db", "train/dbs/S_s101/f_Kochi_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[18954]], [[37953]], [[18954]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_2024_x/cf_drop_customers.db", "train/dbs/S_s101/f_Indore_2024_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[72067]], [[55767]], [[72067]]], "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_s101", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "Compute 2025 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) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Indore_2025_x/cf_dup_order.db", "train/dbs/S_s101/f_Indore_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[69452]], [[104352]], [[69452]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_2024_x/cf_dup_order.db", "train/dbs/S_s101/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[66546]], [[71487]], [[66546]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Surat_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[56926]], [[92081]], [[56926]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Nagpur_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Nagpur_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[57693]], [[84786]], [[57693]]], "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": 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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Nagpur_2025_x/cf_dup_order.db", "train/dbs/S_s101/f_Nagpur_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[53004]], [[103513]], [[53004]]], "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_s101", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "Count the 2024 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) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s101/base.db", "train/dbs/S_s101/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "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 = '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Delhi_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[6]], [[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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Mumbai_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[11]], [[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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Mumbai|2025|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Mumbai_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "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 = '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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Pune|2024|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Pune_2024_x/cf_drop_customers.db", "train/dbs/S_s101/f_Pune_2024_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[2]], [[4]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Pune_2025_x/cf_drop_customers.db", "train/dbs/S_s101/f_Pune_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[13]], [[8]], [[13]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_2024_x/cf_drop_customers.db", "train/dbs/S_s101/f_Jaipur_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[6]], [[7]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Jaipur_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[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 '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_2024_x/cf_dup_order.db", "train/dbs/S_s101/f_Kochi_2024_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_2025_x/cf_dup_order.db", "train/dbs/S_s101/f_Kochi_2025_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_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 = '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Indore_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[15]], [[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 '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Indore_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[11]], [[9]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_2024_x/cf_drop_customers.db", "train/dbs/S_s101/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[7]], [[8]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Surat_2025_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 = '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Nagpur_2024_x/cf_dup_order.db", "train/dbs/S_s101/f_Nagpur_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "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 = '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Nagpur_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "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 = '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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Delhi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[15103]], [[47917]], [[15103]]], "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_s101", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "What was the net revenue from customers in Delhi 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 = '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_s101/base.db", "train/dbs/S_s101/f_Delhi_2025_x/cf_refunds.db", "train/dbs/S_s101/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[16100]], [[6101]], [[16100]]], "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": 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|Mumbai|2024|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Mumbai_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[53913]], [[79421]], [[53913]]], "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": true}, "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[41227]], [[60129]], [[41227]]], "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": true}, "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_s101", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "What was the net revenue from customers in Pune 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 = '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_s101/base.db", "train/dbs/S_s101/f_Pune_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Pune_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[31612]], [[34236]], [[31612]]], "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": true, "no_status_filter": false}, "mutant_caught": {"missing_refunds": false, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": false, "no_status_filter": true}} {"id": "F3_net_revenue|Pune|2025|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Pune_2025_x/cf_drop_customers.db", "train/dbs/S_s101/f_Pune_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[102131]], [[69142]], [[102131]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_2024_x/cf_refunds.db", "train/dbs/S_s101/f_Jaipur_2024_x/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[67632]], [[49530]], [[67632]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_2025_x/cf_refunds.db", "train/dbs/S_s101/f_Jaipur_2025_x/cf_later_tier.db"], "cf_edits": ["refunds", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[12976]], [[8213]], [[12976]]], "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": 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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_2024_x/cf_dup_order.db", "train/dbs/S_s101/f_Kochi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[17167]], [[39979]], [[17167]]], "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": 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|2025|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_2025_x/cf_refunds.db", "train/dbs/S_s101/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[18954]], [[12016]], [[18954]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_2024_x/cf_refunds.db", "train/dbs/S_s101/f_Indore_2024_x/cf_split_payments.db"], "cf_edits": ["refunds", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[72067]], [[64760]], [[72067]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Indore_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[69195]], [[99585]], [[69195]]], "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": 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|Surat|2024|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s101/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[66546]], [[87938]], [[66546]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_2025_x/cf_new_customers.db", "train/dbs/S_s101/f_Surat_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[56926]], [[90794]], [[56926]]], "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": 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|2024|S_s101", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "Compute net revenue for 2024 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) = '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_s101/base.db", "train/dbs/S_s101/f_Nagpur_2024_x/cf_dup_order.db", "train/dbs/S_s101/f_Nagpur_2024_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[56761]], [[107702]], [[56761]]], "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_s101", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "What was the net revenue from customers in Nagpur 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 = '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_s101/base.db", "train/dbs/S_s101/f_Nagpur_2025_x/cf_refunds.db", "train/dbs/S_s101/f_Nagpur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["refunds", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[53004]], [[44537]], [[53004]]], "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": 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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Delhi_x_x/cf_new_customers.db", "train/dbs/S_s101/f_Delhi_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[37, 13640], [36, 12403], [22, 5160]], [[37, 13640], [36, 12403], [51, 10406]], [[37, 13640], [36, 12403], [22, 5160]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Mumbai_x_x/cf_new_customers.db", "train/dbs/S_s101/f_Mumbai_x_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[16, 46661], [50, 38363], [49, 16128]], [[16, 46661], [50, 38363], [52, 16697]], [[16, 46661], [50, 38363], [49, 16128]]], "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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Pune|S_s101", "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_s101/base.db", "train/dbs/S_s101/f_Pune_x_x/cf_dup_order.db", "train/dbs/S_s101/f_Pune_x_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[27, 40977], [15, 29370], [42, 23839]], [[27, 49127], [23, 34070], [15, 29370]], [[27, 40977], [15, 29370], [42, 23839]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Jaipur_x_x/cf_new_customers.db", "train/dbs/S_s101/f_Jaipur_x_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1, 31208], [47, 19060], [11, 15590]], [[1, 31208], [52, 27251], [51, 23437]], [[1, 31208], [47, 19060], [11, 15590]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Kochi_x_x/cf_drop_customers.db", "train/dbs/S_s101/f_Kochi_x_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[34, 21470], [44, 7620], [5, 7590]], [[34, 21470], [44, 7620], [35, 3354]], [[34, 21470], [44, 7620], [5, 7590]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Indore_x_x/cf_dup_order.db", "train/dbs/S_s101/f_Indore_x_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[32, 36960], [13, 30116], [2, 21676]], [[32, 36960], [13, 32774], [40, 23840]], [[32, 36960], [13, 30116], [2, 21676]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Surat_x_x/cf_dup_order.db", "train/dbs/S_s101/f_Surat_x_x/cf_new_customers.db"], "cf_edits": ["dup_order", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[41, 52866], [3, 39846], [21, 13572]], [[41, 70175], [3, 43776], [21, 13572]], [[41, 52866], [3, 39846], [21, 13572]]], "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_s101", "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_s101/base.db", "train/dbs/S_s101/f_Nagpur_x_x/cf_new_customers.db", "train/dbs/S_s101/f_Nagpur_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[20, 56486], [33, 17330], [25, 10230]], [[20, 56486], [51, 21644], [33, 17330]], [[20, 56486], [33, 17330], [25, 10230]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_x_x/cf_drop_customers.db", "train/dbs/S_s102/f_Delhi_x_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "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": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Mumbai|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_x_x/cf_drop_customers.db", "train/dbs/S_s102/f_Mumbai_x_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[3]], [[5]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_x_x/cf_drop_customers.db", "train/dbs/S_s102/f_Pune_x_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[5]], [[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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_x_x/cf_drop_customers.db", "train/dbs/S_s102/f_Jaipur_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 = '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_x_x/cf_new_customers.db", "train/dbs/S_s102/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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_x_x/cf_new_customers.db", "train/dbs/S_s102/f_Indore_x_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_x_x/cf_new_customers.db", "train/dbs/S_s102/f_Surat_x_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Nagpur_x_x/cf_new_customers.db", "train/dbs/S_s102/f_Nagpur_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[10]], [[8]]], "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|apparel|2024|S_s102", "template": "F1_products_sold", "family": "F1", "split": "train", "params": {"category": "apparel", "year": 2024}, "question": "In 2024, how many distinct products from the apparel 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 = 'apparel' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_x_2024_apparel/cf_drop_customers.db", "train/dbs/S_s102/f_x_2024_apparel/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[8]], [[9]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_x_books/cf_new_customers.db", "train/dbs/S_s102/f_Delhi_x_books/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [14], [16]], [[11], [14], [16], [51], [52]], [[11], [14], [16]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_x_electronics/cf_dup_order.db", "train/dbs/S_s102/f_Delhi_x_electronics/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [14], [16], [42]], [[11], [14], [16], [42], [34]], [[11], [14], [16], [42]]], "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|toys|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_x_toys/cf_drop_customers.db", "train/dbs/S_s102/f_Delhi_x_toys/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [14], [34]], [[14], [34]], [[11], [14], [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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_x_apparel/cf_new_customers.db", "train/dbs/S_s102/f_Delhi_x_apparel/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [14], [16], [34], [42]], [[11], [14], [16], [34], [42], [51], [52]], [[11], [14], [16], [34], [42]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_x_home/cf_cancelled_orders.db", "train/dbs/S_s102/f_Delhi_x_home/cf_later_tier.db"], "cf_edits": ["cancelled_orders", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [34]], [[11], [34], [14]], [[11], [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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|books|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_x_books/cf_dup_order.db", "train/dbs/S_s102/f_Mumbai_x_books/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[26]], [[26], [46], [18]], [[26]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_x_electronics/cf_drop_customers.db", "train/dbs/S_s102/f_Mumbai_x_electronics/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [13], [18], [26], [46]], [[13], [18], [26], [46]], [[8], [13], [18], [26], [46]]], "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|apparel|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_x_apparel/cf_drop_customers.db", "train/dbs/S_s102/f_Mumbai_x_apparel/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [13], [18], [26], [46]], [[8], [18], [46]], [[8], [13], [18], [26], [46]]], "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_s102", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "home"}, "question": "List the IDs of customers from Mumbai 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 = 'Mumbai' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_Mumbai_x_home/cf_dup_order.db", "train/dbs/S_s102/f_Mumbai_x_home/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[26], [46]], [[26], [46], [18]], [[26], [46]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_x_books/cf_new_customers.db", "train/dbs/S_s102/f_Pune_x_books/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[29], [32], [43]], [[29], [32], [43], [51], [52]], [[29], [32], [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 = '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_x_electronics/cf_new_customers.db", "train/dbs/S_s102/f_Pune_x_electronics/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [9], [29], [36], [43], [45]], [[5], [9], [29], [36], [43], [45], [51], [52]], [[5], [9], [29], [36], [43], [45]]], "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": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|toys|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_x_toys/cf_new_customers.db", "train/dbs/S_s102/f_Pune_x_toys/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [29], [32], [43]], [[9], [29], [32], [43], [51], [52]], [[9], [29], [32], [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 = '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_x_apparel/cf_drop_customers.db", "train/dbs/S_s102/f_Pune_x_apparel/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [9], [29], [36], [43], [45]], [[29], [36], [43], [45]], [[5], [9], [29], [36], [43], [45]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_x_home/cf_dup_order.db", "train/dbs/S_s102/f_Pune_x_home/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[29], [32], [36]], [[29], [32], [36], [5], [45]], [[29], [32], [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 = '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_x_books/cf_new_customers.db", "train/dbs/S_s102/f_Jaipur_x_books/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [37]], [[4], [37], [51], [52]], [[4], [37]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_x_electronics/cf_new_customers.db", "train/dbs/S_s102/f_Jaipur_x_electronics/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [35]], [[4], [35], [51], [52]], [[4], [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 = '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|toys|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_x_toys/cf_new_customers.db", "train/dbs/S_s102/f_Jaipur_x_toys/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[4], [51], [52]], [[4]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_x_apparel/cf_drop_customers.db", "train/dbs/S_s102/f_Jaipur_x_apparel/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [17], [35], [37], [47]], [[4], [17], [47]], [[4], [17], [35], [37], [47]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_x_home/cf_dup_order.db", "train/dbs/S_s102/f_Jaipur_x_home/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[35]], [[35], [47]], [[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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|books|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_x_books/cf_drop_customers.db", "train/dbs/S_s102/f_Kochi_x_books/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[25], [33]], [[33]], [[25], [33]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_x_electronics/cf_new_customers.db", "train/dbs/S_s102/f_Kochi_x_electronics/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [22], [25], [33], [44]], [[7], [22], [25], [33], [44], [51], [52]], [[7], [22], [25], [33], [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": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|toys|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_x_toys/cf_dup_order.db", "train/dbs/S_s102/f_Kochi_x_toys/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[7], [25], [33]], [[7]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_x_apparel/cf_new_customers.db", "train/dbs/S_s102/f_Kochi_x_apparel/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [22], [25], [33], [44]], [[7], [22], [25], [33], [44], [51], [52]], [[7], [22], [25], [33], [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": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|home|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_x_home/cf_dup_order.db", "train/dbs/S_s102/f_Kochi_x_home/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [25]], [[7], [25], [22]], [[7], [25]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_x_books/cf_new_customers.db", "train/dbs/S_s102/f_Indore_x_books/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [12], [39]], [[10], [12], [39], [51], [52]], [[10], [12], [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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|electronics|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_x_electronics/cf_drop_customers.db", "train/dbs/S_s102/f_Indore_x_electronics/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [12], [39], [40], [49]], [[10], [39], [40], [49]], [[10], [12], [39], [40], [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 = '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|toys|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_x_toys/cf_new_customers.db", "train/dbs/S_s102/f_Indore_x_toys/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [39]], [[10], [39], [51], [52]], [[10], [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 = '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_x_apparel/cf_dup_order.db", "train/dbs/S_s102/f_Indore_x_apparel/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [12], [39], [40]], [[10], [12], [39], [40], [49]], [[10], [12], [39], [40]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_x_home/cf_dup_order.db", "train/dbs/S_s102/f_Indore_x_home/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[40]], [[40], [12]], [[40]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|books|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_x_books/cf_cancelled_orders.db", "train/dbs/S_s102/f_Surat_x_books/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[1], [28]], [[1]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_x_electronics/cf_dup_order.db", "train/dbs/S_s102/f_Surat_x_electronics/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[28], [30], [50]], [[28], [30], [50], [1]], [[28], [30], [50]]], "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|toys|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_x_toys/cf_cancelled_orders.db", "train/dbs/S_s102/f_Surat_x_toys/cf_superseded_tier.db"], "cf_edits": ["cancelled_orders", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[30]], [[30], [1]], [[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 = '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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|apparel|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_x_apparel/cf_cancelled_orders.db", "train/dbs/S_s102/f_Surat_x_apparel/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [30], [50]], [[1], [30], [50], [28]], [[1], [30], [50]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Nagpur_x_books/cf_dup_order.db", "train/dbs/S_s102/f_Nagpur_x_books/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [19], [20], [41]], [[2], [19], [20], [41], [3]], [[2], [19], [20], [41]]], "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_s102", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "electronics"}, "question": "Which customers (by customer_id) based in Nagpur 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 = 'Nagpur' AND p.category = 'electronics'", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_Nagpur_x_electronics/cf_new_customers.db", "train/dbs/S_s102/f_Nagpur_x_electronics/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [3], [6], [19], [20], [24], [48]], [[2], [3], [6], [19], [20], [24], [48], [51], [52]], [[2], [3], [6], [19], [20], [24], [48]]], "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|apparel|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Nagpur_x_apparel/cf_drop_customers.db", "train/dbs/S_s102/f_Nagpur_x_apparel/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [3], [6], [19], [20], [24], [41], [48]], [[3], [19], [20], [24], [41], [48]], [[2], [3], [6], [19], [20], [24], [41], [48]]], "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_s102", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "home"}, "question": "List the IDs of customers from Nagpur 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 = 'Nagpur' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_Nagpur_x_home/cf_new_customers.db", "train/dbs/S_s102/f_Nagpur_x_home/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6], [24]], [[6], [24], [51], [52]], [[6], [24]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_2024_x/cf_drop_customers.db", "train/dbs/S_s102/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[1]], [[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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_2025_x/cf_drop_customers.db", "train/dbs/S_s102/f_Delhi_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[1]], [[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 '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_2024_x/cf_adjustments.db", "train/dbs/S_s102/f_Mumbai_2024_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[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": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_paying_customers|Mumbai|2025|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_2025_x/cf_dup_order.db", "train/dbs/S_s102/f_Mumbai_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[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 '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Pune_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "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 '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_s102", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Pune", "year": 2025}, "question": "How many distinct customers from Pune 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 = 'Pune' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_Pune_2025_x/cf_drop_customers.db", "train/dbs/S_s102/f_Pune_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[5]], [[6]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_2024_x/cf_drop_customers.db", "train/dbs/S_s102/f_Jaipur_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[0]], [[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": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_paying_customers|Jaipur|2025|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Jaipur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Kochi|2024|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Kochi_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Kochi|2025|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Kochi_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Indore_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Indore|2025|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Indore_2025_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Surat|2024|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_2024_x/cf_drop_customers.db", "train/dbs/S_s102/f_Surat_2024_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[0]], [[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": 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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_2025_x/cf_drop_customers.db", "train/dbs/S_s102/f_Surat_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[1]], [[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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Nagpur_2024_x/cf_dup_order.db", "train/dbs/S_s102/f_Nagpur_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[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": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Nagpur|2025|S_s102", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "Count the customers in Nagpur 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 = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_Nagpur_2025_x/cf_dup_order.db", "train/dbs/S_s102/f_Nagpur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[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 '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_x_2024_books/cf_dup_order.db", "train/dbs/S_s102/f_x_2024_books/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[90418]], [[211791]], [[90418]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_x_2025_books/cf_drop_customers.db", "train/dbs/S_s102/f_x_2025_books/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[150483]], [[78197]], [[150483]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_x_2024_electronics/cf_adjustments.db", "train/dbs/S_s102/f_x_2024_electronics/cf_cancelled_orders.db"], "cf_edits": ["adjustments", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[186078]], [[187338]], [[186078]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_x_2025_electronics/cf_new_customers.db", "train/dbs/S_s102/f_x_2025_electronics/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[263077]], [[457750]], [[263077]]], "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|toys|2024|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_x_2024_toys/cf_adjustments.db", "train/dbs/S_s102/f_x_2024_toys/cf_split_items.db"], "cf_edits": ["adjustments", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[41122]], [[41215]], [[41122]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_x_2025_toys/cf_new_customers.db", "train/dbs/S_s102/f_x_2025_toys/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[78771]], [[154975]], [[78771]]], "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_s102", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "apparel", "year": 2024}, "question": "Sum the payments received for 2024 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) = '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_s102/base.db", "train/dbs/S_s102/f_x_2024_apparel/cf_new_customers.db", "train/dbs/S_s102/f_x_2024_apparel/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[192515]], [[376318]], [[192515]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_x_2025_apparel/cf_adjustments.db", "train/dbs/S_s102/f_x_2025_apparel/cf_superseded_tier.db"], "cf_edits": ["adjustments", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[371321]], [[373230]], [[371321]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_x_2024_home/cf_adjustments.db", "train/dbs/S_s102/f_x_2024_home/cf_split_items.db"], "cf_edits": ["adjustments", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[50159]], [[50793]], [[50159]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_x_2025_home/cf_drop_customers.db", "train/dbs/S_s102/f_x_2025_home/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[84300]], [[69204]], [[84300]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_2024_x/cf_drop_customers.db", "train/dbs/S_s102/f_Delhi_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[23289]], [[3375]], [[23289]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Delhi_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[74743]], [[90755]], [[74743]]], "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": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Mumbai|2024|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_2024_x/cf_dup_order.db", "train/dbs/S_s102/f_Mumbai_2024_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[13300]], [[18610]], [[13300]]], "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": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Mumbai|2025|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Mumbai_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[58652]], [[75592]], [[58652]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Pune_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[43436]], [[51671]], [[43436]]], "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_s102", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Pune", "year": 2025}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2025 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) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_Pune_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Pune_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[103000]], [[144565]], [[103000]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_2024_x/cf_dup_order.db", "train/dbs/S_s102/f_Jaipur_2024_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[480]], [[13070]], [[480]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Jaipur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[38609]], [[58915]], [[38609]]], "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_s102", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2024 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) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_Kochi_2024_x/cf_drop_customers.db", "train/dbs/S_s102/f_Kochi_2024_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[41473]], [[38323]], [[41473]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Kochi_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[63594]], [[84463]], [[63594]]], "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": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Indore|2024|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_2024_x/cf_drop_customers.db", "train/dbs/S_s102/f_Indore_2024_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[28994]], [[4270]], [[28994]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Indore_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[35216]], [[59066]], [[35216]]], "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_s102", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2024 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) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_Surat_2024_x/cf_drop_customers.db", "train/dbs/S_s102/f_Surat_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[10476]], [[null]], [[10476]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_2025_x/cf_drop_customers.db", "train/dbs/S_s102/f_Surat_2025_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[36058]], [[14265]], [[36058]]], "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_s102", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "For customers in Nagpur, 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 = '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_s102/base.db", "train/dbs/S_s102/f_Nagpur_2024_x/cf_dup_order.db", "train/dbs/S_s102/f_Nagpur_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[97751]], [[110571]], [[97751]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Nagpur_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[61950]], [[72100]], [[61950]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_x_x_electronics/cf_dup_order.db", "train/dbs/S_s102/f_x_x_electronics/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[17678]], [[20807]], [[17678]]], "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|toys|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_x_x_toys/cf_refunds.db", "train/dbs/S_s102/f_x_x_toys/cf_superseded_tier.db"], "cf_edits": ["refunds", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[9153]], [[35404]], [[9153]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_x_x_apparel/cf_drop_customers.db", "train/dbs/S_s102/f_x_x_apparel/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[20953]], [[9153]], [[20953]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_x_x_home/cf_refunds.db", "train/dbs/S_s102/f_x_x_home/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[3153]], [[12404]], [[3153]]], "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": false}, "mutant_catchable": {"join_fanout": false}} {"id": "F3_gross_revenue|Delhi|2024|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_2024_x/cf_dup_order.db", "train/dbs/S_s102/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[54719]], [[74367]], [[54719]]], "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": 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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_2025_x/cf_dup_order.db", "train/dbs/S_s102/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[74743]], [[102600]], [[74743]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Mumbai_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[18484]], [[36514]], [[18484]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Mumbai_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[61672]], [[78612]], [[61672]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Pune_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[62384]], [[70619]], [[62384]]], "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": 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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_2025_x/cf_dup_order.db", "train/dbs/S_s102/f_Pune_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[133774]], [[196056]], [[133774]]], "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_s102", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "Compute 2024 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) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_Jaipur_2024_x/cf_drop_customers.db", "train/dbs/S_s102/f_Jaipur_2024_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[18489]], [[18009]], [[18489]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Jaipur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[60935]], [[81241]], [[60935]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Kochi_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[63135]], [[124944]], [[63135]]], "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": 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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_2025_x/cf_dup_order.db", "train/dbs/S_s102/f_Kochi_2025_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[65988]], [[84001]], [[65988]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Indore_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[49790]], [[97094]], [[49790]]], "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_s102", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "Compute 2025 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) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_Indore_2025_x/cf_dup_order.db", "train/dbs/S_s102/f_Indore_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[35216]], [[44242]], [[35216]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Surat_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[10476]], [[19818]], [[10476]]], "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": 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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_2025_x/cf_dup_order.db", "train/dbs/S_s102/f_Surat_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[36058]], [[67059]], [[36058]]], "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": true}, "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_s102", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "What was the gross revenue from customers in Nagpur 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 = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_Nagpur_2024_x/cf_drop_customers.db", "train/dbs/S_s102/f_Nagpur_2024_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[133517]], [[100388]], [[133517]]], "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_s102", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "What was the gross revenue from customers in Nagpur 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 = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Nagpur_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[89513]], [[114733]], [[89513]]], "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": 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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Delhi_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 = '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_2025_x/cf_dup_order.db", "train/dbs/S_s102/f_Delhi_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "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 = '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Mumbai_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "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 = '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Mumbai_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[9]], [[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 '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Pune_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "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 '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Pune_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[13]], [[17]], [[13]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_2024_x/cf_drop_customers.db", "train/dbs/S_s102/f_Jaipur_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "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 = '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Kochi_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "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 = '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Kochi_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[9]], [[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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_2024_x/cf_drop_customers.db", "train/dbs/S_s102/f_Indore_2024_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_2025_x/cf_dup_order.db", "train/dbs/S_s102/f_Indore_2025_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 = '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Surat_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "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 = '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_2025_x/cf_dup_order.db", "train/dbs/S_s102/f_Surat_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "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 = '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_s102", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "How many active orders did customers from Nagpur place in 2024?", "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_s102/base.db", "train/dbs/S_s102/f_Nagpur_2024_x/cf_drop_customers.db", "train/dbs/S_s102/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[13]], [[10]], [[13]]], "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_s102", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "Count the 2025 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) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s102/base.db", "train/dbs/S_s102/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Nagpur_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "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 '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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[54719]], [[112868]], [[54719]]], "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_s102", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "What was the net revenue from customers in Delhi 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 = '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_s102/base.db", "train/dbs/S_s102/f_Delhi_2025_x/cf_refunds.db", "train/dbs/S_s102/f_Delhi_2025_x/cf_split_payments.db"], "cf_edits": ["refunds", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[74743]], [[62976]], [[74743]]], "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": 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|2024|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_2024_x/cf_dup_order.db", "train/dbs/S_s102/f_Mumbai_2024_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[18484]], [[21985]], [[18484]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_2025_x/cf_refunds.db", "train/dbs/S_s102/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["refunds", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[61672]], [[40731]], [[61672]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_2024_x/cf_refunds.db", "train/dbs/S_s102/f_Pune_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[62384]], [[56731]], [[62384]]], "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": 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|Pune|2025|S_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_2025_x/cf_drop_customers.db", "train/dbs/S_s102/f_Pune_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[133473]], [[67063]], [[133473]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_2024_x/cf_refunds.db", "train/dbs/S_s102/f_Jaipur_2024_x/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[18489]], [[18391]], [[18489]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Jaipur_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[58360]], [[74848]], [[58360]]], "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": 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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s102/f_Kochi_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[63135]], [[118923]], [[63135]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_2025_x/cf_drop_customers.db", "train/dbs/S_s102/f_Kochi_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[51162]], [[30012]], [[51162]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_2024_x/cf_refunds.db", "train/dbs/S_s102/f_Indore_2024_x/cf_later_tier.db"], "cf_edits": ["refunds", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[46238]], [[45612]], [[46238]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_2025_x/cf_refunds.db", "train/dbs/S_s102/f_Indore_2025_x/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[35216]], [[26002]], [[35216]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_2024_x/cf_refunds.db", "train/dbs/S_s102/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[10476]], [[999]], [[10476]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_2025_x/cf_refunds.db", "train/dbs/S_s102/f_Surat_2025_x/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[36058]], [[19229]], [[36058]]], "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": 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|Nagpur|2024|S_s102", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "Compute net revenue for 2024 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) = '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_s102/base.db", "train/dbs/S_s102/f_Nagpur_2024_x/cf_dup_order.db", "train/dbs/S_s102/f_Nagpur_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[130665]], [[146425]], [[130665]]], "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_s102", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "What was the net revenue from customers in Nagpur 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 = '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_s102/base.db", "train/dbs/S_s102/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s102/f_Nagpur_2025_x/cf_cancelled_orders.db", "train/dbs/S_s102/f_Nagpur_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving", "changing"], "gold": [[[89513]], [[114733]], [[89513]], [[87593]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Delhi_x_x/cf_drop_customers.db", "train/dbs/S_s102/f_Delhi_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[11, 47798], [14, 45334], [16, 24064]], [[11, 47798], [16, 24064]], [[11, 47798], [14, 45334], [16, 24064]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Mumbai_x_x/cf_dup_order.db", "train/dbs/S_s102/f_Mumbai_x_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[26, 32093], [18, 19034], [8, 15340]], [[26, 46960], [8, 19670], [18, 19034]], [[26, 32093], [18, 19034], [8, 15340]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Pune_x_x/cf_dup_order.db", "train/dbs/S_s102/f_Pune_x_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[29, 67062], [36, 43653], [43, 25444]], [[29, 98412], [36, 43653], [43, 42526]], [[29, 67062], [36, 43653], [43, 25444]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Jaipur_x_x/cf_drop_customers.db", "train/dbs/S_s102/f_Jaipur_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4, 35166], [35, 19223], [37, 15615]], [[4, 35166], [37, 15615], [47, 3760]], [[4, 35166], [35, 19223], [37, 15615]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Kochi_x_x/cf_dup_order.db", "train/dbs/S_s102/f_Kochi_x_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[33, 44569], [7, 31252], [44, 27004]], [[33, 67329], [44, 43224], [7, 31252]], [[33, 44569], [7, 31252], [44, 27004]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Indore_x_x/cf_dup_order.db", "train/dbs/S_s102/f_Indore_x_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[39, 33719], [12, 30160], [10, 20147]], [[39, 52475], [12, 30160], [10, 24044]], [[39, 33719], [12, 30160], [10, 20147]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Surat_x_x/cf_new_customers.db", "train/dbs/S_s102/f_Surat_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[50, 21793], [28, 14265], [1, 10476]], [[51, 22985], [50, 21793], [52, 20748]], [[50, 21793], [28, 14265], [1, 10476]]], "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_s102", "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_s102/base.db", "train/dbs/S_s102/f_Nagpur_x_x/cf_drop_customers.db", "train/dbs/S_s102/f_Nagpur_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[19, 48079], [6, 46815], [20, 42918]], [[19, 48079], [20, 42918], [2, 19618]], [[19, 48079], [6, 46815], [20, 42918]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Delhi_x_x/cf_new_customers.db", "train/dbs/S_s103/f_Delhi_x_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 = '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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_x_x/cf_new_customers.db", "train/dbs/S_s103/f_Mumbai_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 = '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": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Pune|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_x_x/cf_new_customers.db", "train/dbs/S_s103/f_Pune_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "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": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Jaipur|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_x_x/cf_new_customers.db", "train/dbs/S_s103/f_Jaipur_x_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[13]], [[10]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_x_x/cf_drop_customers.db", "train/dbs/S_s103/f_Kochi_x_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[3]], [[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": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Indore|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_x_x/cf_new_customers.db", "train/dbs/S_s103/f_Indore_x_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_x_x/cf_new_customers.db", "train/dbs/S_s103/f_Surat_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[10]], [[8]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Nagpur_x_x/cf_drop_customers.db", "train/dbs/S_s103/f_Nagpur_x_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[3]], [[5]]], "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|home|2025|S_s103", "template": "F1_products_sold", "family": "F1", "split": "train", "params": {"category": "home", "year": 2025}, "question": "How many different home 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 = 'home' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_x_2025_home/cf_drop_customers.db", "train/dbs/S_s103/f_x_2025_home/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM products p WHERE p.category = 'home' 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 = 'home' 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 = 'home' 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_customer_list|Delhi|books|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Delhi_x_books/cf_new_customers.db", "train/dbs/S_s103/f_Delhi_x_books/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[17]], [[17], [51], [52]], [[17]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Delhi|electronics|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Delhi_x_electronics/cf_new_customers.db", "train/dbs/S_s103/f_Delhi_x_electronics/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[10], [51], [52]], [[10]]], "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|toys|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Delhi_x_toys/cf_new_customers.db", "train/dbs/S_s103/f_Delhi_x_toys/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[10], [51], [52]], [[10]]], "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_s103", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Delhi", "category": "apparel"}, "question": "List the IDs of customers from Delhi 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 = 'Delhi' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Delhi_x_apparel/cf_new_customers.db", "train/dbs/S_s103/f_Delhi_x_apparel/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[17]], [[17], [51], [52]], [[17]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|books|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_x_books/cf_cancelled_orders.db", "train/dbs/S_s103/f_Mumbai_x_books/cf_superseded_tier.db"], "cf_edits": ["cancelled_orders", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [6], [19], [20], [38]], [[5], [6], [19], [20], [38], [12]], [[5], [6], [19], [20], [38]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_x_electronics/cf_new_customers.db", "train/dbs/S_s103/f_Mumbai_x_electronics/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [6], [12], [19], [20], [38], [39]], [[5], [6], [12], [19], [20], [38], [39], [51], [52]], [[5], [6], [12], [19], [20], [38], [39]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_x_grocery/cf_dup_order.db", "train/dbs/S_s103/f_Mumbai_x_grocery/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [6], [12], [19]], [[5], [6], [12], [19], [20]], [[5], [6], [12], [19]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Mumbai|toys|S_s103", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "toys"}, "question": "Which customers (by customer_id) based in Mumbai 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 = 'Mumbai' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Mumbai_x_toys/cf_dup_order.db", "train/dbs/S_s103/f_Mumbai_x_toys/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [19], [20]], [[12], [19], [20], [5], [6], [38]], [[12], [19], [20]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_x_apparel/cf_new_customers.db", "train/dbs/S_s103/f_Mumbai_x_apparel/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [6], [20], [38]], [[5], [6], [20], [38], [51], [52]], [[5], [6], [20], [38]]], "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_s103", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Mumbai", "category": "home"}, "question": "List the IDs of customers from Mumbai 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 = 'Mumbai' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Mumbai_x_home/cf_drop_customers.db", "train/dbs/S_s103/f_Mumbai_x_home/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [6], [12], [19], [39]], [[5], [6], [12], [39]], [[5], [6], [12], [19], [39]]], "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_s103", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "books"}, "question": "List the IDs of customers from Pune 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 = 'Pune' AND p.category = 'books'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Pune_x_books/cf_drop_customers.db", "train/dbs/S_s103/f_Pune_x_books/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[24], [25], [49]], [[25], [49]], [[24], [25], [49]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_x_electronics/cf_new_customers.db", "train/dbs/S_s103/f_Pune_x_electronics/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[24], [25], [49]], [[24], [25], [49], [51], [52]], [[24], [25], [49]]], "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": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|grocery|S_s103", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "grocery"}, "question": "Which customers (by customer_id) based in Pune 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 = 'Pune' AND p.category = 'grocery'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Pune_x_grocery/cf_dup_order.db", "train/dbs/S_s103/f_Pune_x_grocery/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[25], [49]], [[25], [49], [24]], [[25], [49]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|toys|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_x_toys/cf_new_customers.db", "train/dbs/S_s103/f_Pune_x_toys/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[49]], [[49], [51], [52]], [[49]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|apparel|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_x_apparel/cf_cancelled_orders.db", "train/dbs/S_s103/f_Pune_x_apparel/cf_adjustments.db"], "cf_edits": ["cancelled_orders", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[25], [49]], [[25], [49], [24]], [[25], [49]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_x_home/cf_dup_order.db", "train/dbs/S_s103/f_Pune_x_home/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[25], [49]], [[25], [49], [24]], [[25], [49]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_x_books/cf_cancelled_orders.db", "train/dbs/S_s103/f_Jaipur_x_books/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [4], [8], [13], [18], [41], [42]], [[1], [4], [8], [13], [18], [41], [42], [31], [30]], [[1], [4], [8], [13], [18], [41], [42]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_x_electronics/cf_cancelled_orders.db", "train/dbs/S_s103/f_Jaipur_x_electronics/cf_zero_order_customers.db"], "cf_edits": ["cancelled_orders", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [8], [13], [18], [30], [31], [35], [41], [42]], [[1], [8], [13], [18], [30], [31], [35], [41], [42], [4]], [[1], [8], [13], [18], [30], [31], [35], [41], [42]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_x_grocery/cf_dup_order.db", "train/dbs/S_s103/f_Jaipur_x_grocery/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[41], [42]], [[41], [42], [18], [35], [30]], [[41], [42]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|toys|S_s103", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "toys"}, "question": "Which customers (by customer_id) based in Jaipur 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 = 'Jaipur' AND p.category = 'toys'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Jaipur_x_toys/cf_dup_order.db", "train/dbs/S_s103/f_Jaipur_x_toys/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [8], [13], [35], [41], [42]], [[1], [8], [13], [35], [41], [42], [18], [31], [4]], [[1], [8], [13], [35], [41], [42]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_x_apparel/cf_dup_order.db", "train/dbs/S_s103/f_Jaipur_x_apparel/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [8], [13], [18], [31], [35], [42]], [[1], [8], [13], [18], [31], [35], [42], [30]], [[1], [8], [13], [18], [31], [35], [42]]], "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_s103", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Jaipur", "category": "home"}, "question": "Which customers (by customer_id) based in Jaipur 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 = 'Jaipur' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Jaipur_x_home/cf_new_customers.db", "train/dbs/S_s103/f_Jaipur_x_home/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [4], [8], [13], [18], [30], [31], [35], [41], [42]], [[1], [4], [8], [13], [18], [30], [31], [35], [41], [42], [51], [52], [53]], [[1], [4], [8], [13], [18], [30], [31], [35], [41], [42]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_x_books/cf_drop_customers.db", "train/dbs/S_s103/f_Kochi_x_books/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[22], [33], [34], [46]], [[22], [33], [34]], [[22], [33], [34], [46]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_x_electronics/cf_drop_customers.db", "train/dbs/S_s103/f_Kochi_x_electronics/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[22], [33], [43], [46]], [[33], [43], [46]], [[22], [33], [43], [46]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_x_grocery/cf_new_customers.db", "train/dbs/S_s103/f_Kochi_x_grocery/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[43]], [[43], [51], [52]], [[43]]], "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": false}, "mutant_catchable": {"no_distinct": false}} {"id": "F1_customer_list|Kochi|toys|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_x_toys/cf_new_customers.db", "train/dbs/S_s103/f_Kochi_x_toys/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[34], [43]], [[34], [43], [51], [52]], [[34], [43]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_x_apparel/cf_new_customers.db", "train/dbs/S_s103/f_Kochi_x_apparel/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[22], [33], [34], [43], [46]], [[22], [33], [34], [43], [46], [51], [52]], [[22], [33], [34], [43], [46]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_x_home/cf_dup_order.db", "train/dbs/S_s103/f_Kochi_x_home/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[22], [33], [43], [46]], [[22], [33], [43], [46], [34]], [[22], [33], [43], [46]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_x_books/cf_dup_order.db", "train/dbs/S_s103/f_Indore_x_books/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[21], [28]], [[21], [28], [23]], [[21], [28]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_x_electronics/cf_new_customers.db", "train/dbs/S_s103/f_Indore_x_electronics/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[14], [21]], [[14], [21], [51], [52]], [[14], [21]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_x_grocery/cf_cancelled_orders.db", "train/dbs/S_s103/f_Indore_x_grocery/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[21]], [[21], [14]], [[21]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|toys|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_x_toys/cf_new_customers.db", "train/dbs/S_s103/f_Indore_x_toys/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[21], [28]], [[21], [28], [51], [52]], [[21], [28]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_x_apparel/cf_new_customers.db", "train/dbs/S_s103/f_Indore_x_apparel/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[21], [23], [28]], [[21], [23], [28], [51], [52]], [[21], [23], [28]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|home|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_x_home/cf_new_customers.db", "train/dbs/S_s103/f_Indore_x_home/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[28]], [[28], [51], [52]], [[28]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|books|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_x_books/cf_new_customers.db", "train/dbs/S_s103/f_Surat_x_books/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [16], [45], [50]], [[9], [16], [45], [50], [51], [52]], [[9], [16], [45], [50]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_x_electronics/cf_new_customers.db", "train/dbs/S_s103/f_Surat_x_electronics/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [9], [27], [45], [48], [50]], [[2], [9], [27], [45], [48], [50], [51], [52]], [[2], [9], [27], [45], [48], [50]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_x_grocery/cf_dup_order.db", "train/dbs/S_s103/f_Surat_x_grocery/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[45]], [[45], [48], [27], [16]], [[45]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|toys|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_x_toys/cf_drop_customers.db", "train/dbs/S_s103/f_Surat_x_toys/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [9], [16], [27]], [[2], [9]], [[2], [9], [16], [27]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_x_apparel/cf_cancelled_orders.db", "train/dbs/S_s103/f_Surat_x_apparel/cf_superseded_tier.db"], "cf_edits": ["cancelled_orders", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [27]], [[9], [27], [45], [50], [48], [2]], [[9], [27]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_x_home/cf_new_customers.db", "train/dbs/S_s103/f_Surat_x_home/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [29], [50]], [[9], [29], [50], [51], [52]], [[9], [29], [50]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Nagpur_x_books/cf_new_customers.db", "train/dbs/S_s103/f_Nagpur_x_books/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [36], [47]], [[11], [36], [47], [51], [52]], [[11], [36], [47]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Nagpur_x_electronics/cf_new_customers.db", "train/dbs/S_s103/f_Nagpur_x_electronics/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [11], [32], [36]], [[3], [11], [32], [36], [51], [52]], [[3], [11], [32], [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 = '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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Nagpur_x_grocery/cf_new_customers.db", "train/dbs/S_s103/f_Nagpur_x_grocery/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[11]], [[11], [51], [52]], [[11]]], "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|toys|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Nagpur_x_toys/cf_new_customers.db", "train/dbs/S_s103/f_Nagpur_x_toys/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [11]], [[3], [11], [51], [52]], [[3], [11]]], "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_s103", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "apparel"}, "question": "Which customers (by customer_id) based in Nagpur 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 = 'Nagpur' AND p.category = 'apparel'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Nagpur_x_apparel/cf_new_customers.db", "train/dbs/S_s103/f_Nagpur_x_apparel/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [11], [32], [36], [47]], [[3], [11], [32], [36], [47], [51], [52]], [[3], [11], [32], [36], [47]]], "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_s103", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "home"}, "question": "List the IDs of customers from Nagpur 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 = 'Nagpur' AND p.category = 'home'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Nagpur_x_home/cf_new_customers.db", "train/dbs/S_s103/f_Nagpur_x_home/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [32], [36]], [[3], [32], [36], [51], [52]], [[3], [32], [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 = '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|2025|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Delhi_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Delhi_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "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": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_paying_customers|Mumbai|2024|S_s103", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Mumbai", "year": 2024}, "question": "How many distinct customers from Mumbai 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 = 'Mumbai' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Mumbai_2024_x/cf_dup_order.db", "train/dbs/S_s103/f_Mumbai_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Mumbai|2025|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_2025_x/cf_drop_customers.db", "train/dbs/S_s103/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[4]], [[6]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_2024_x/cf_drop_customers.db", "train/dbs/S_s103/f_Pune_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 = '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": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_paying_customers|Pune|2025|S_s103", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Pune", "year": 2025}, "question": "How many distinct customers from Pune 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 = 'Pune' AND substr(pay.paid_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Pune_2025_x/cf_drop_customers.db", "train/dbs/S_s103/f_Pune_2025_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 = '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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_2024_x/cf_drop_customers.db", "train/dbs/S_s103/f_Jaipur_2024_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[5]], [[6]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Jaipur_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[8]], [[6]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_2024_x/cf_dup_order.db", "train/dbs/S_s103/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Kochi_2025_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 = '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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Indore_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Indore_2025_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Surat|2024|S_s103", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "Count the customers in Surat 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 = 'Surat' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Surat_2024_x/cf_adjustments.db", "train/dbs/S_s103/f_Surat_2024_x/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[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 '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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_2025_x/cf_drop_customers.db", "train/dbs/S_s103/f_Surat_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[3]], [[5]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Nagpur_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Nagpur_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "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 '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": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Nagpur|2025|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Nagpur_2025_x/cf_drop_customers.db", "train/dbs/S_s103/f_Nagpur_2025_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[2]], [[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 '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_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_2024_books/cf_dup_order.db", "train/dbs/S_s103/f_x_2024_books/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[193511]], [[333655]], [[193511]]], "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": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_paid_for_category|books|2025|S_s103", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "books", "year": 2025}, "question": "What is the total amount paid (sum of payments) for orders placed in 2025 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) = '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_s103/base.db", "train/dbs/S_s103/f_x_2025_books/cf_new_customers.db", "train/dbs/S_s103/f_x_2025_books/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[243087]], [[430268]], [[243087]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_2024_electronics/cf_adjustments.db", "train/dbs/S_s103/f_x_2024_electronics/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[293984]], [[295485]], [[293984]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_2025_electronics/cf_new_customers.db", "train/dbs/S_s103/f_x_2025_electronics/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[288142]], [[460033]], [[288142]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_2024_grocery/cf_dup_order.db", "train/dbs/S_s103/f_x_2024_grocery/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[29580]], [[206983]], [[29580]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_2025_grocery/cf_drop_customers.db", "train/dbs/S_s103/f_x_2025_grocery/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[110045]], [[75136]], [[110045]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_2024_toys/cf_dup_order.db", "train/dbs/S_s103/f_x_2024_toys/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[200898]], [[285411]], [[200898]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_2025_toys/cf_adjustments.db", "train/dbs/S_s103/f_x_2025_toys/cf_cancelled_orders.db"], "cf_edits": ["adjustments", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[163169]], [[163938]], [[163169]]], "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_s103", "template": "F2_paid_for_category", "family": "F2", "split": "train", "params": {"category": "apparel", "year": 2024}, "question": "Sum the payments received for 2024 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) = '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_s103/base.db", "train/dbs/S_s103/f_x_2024_apparel/cf_dup_order.db", "train/dbs/S_s103/f_x_2024_apparel/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[156572]], [[288316]], [[156572]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_2025_apparel/cf_drop_customers.db", "train/dbs/S_s103/f_x_2025_apparel/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[256073]], [[135855]], [[256073]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_2024_home/cf_dup_order.db", "train/dbs/S_s103/f_x_2024_home/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[219666]], [[347215]], [[219666]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_2025_home/cf_dup_order.db", "train/dbs/S_s103/f_x_2025_home/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[176295]], [[285930]], [[176295]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Delhi_2024_x/cf_dup_order.db", "train/dbs/S_s103/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6653]], [[17283]], [[6653]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Delhi_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Delhi_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[729]], [[43423]], [[729]]], "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": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Mumbai|2024|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Mumbai_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[79207]], [[105787]], [[79207]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_2025_x/cf_drop_customers.db", "train/dbs/S_s103/f_Mumbai_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[130661]], [[117312]], [[130661]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_2024_x/cf_drop_customers.db", "train/dbs/S_s103/f_Pune_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[40890]], [[30180]], [[40890]]], "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": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Pune|2025|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Pune_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[52155]], [[73971]], [[52155]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_2024_x/cf_dup_order.db", "train/dbs/S_s103/f_Jaipur_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[125518]], [[151038]], [[125518]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_2025_x/cf_dup_order.db", "train/dbs/S_s103/f_Jaipur_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[128632]], [[147642]], [[128632]]], "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_s103", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2024 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) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Kochi_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[34498]], [[45467]], [[34498]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_2025_x/cf_drop_customers.db", "train/dbs/S_s103/f_Kochi_2025_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[113085]], [[92747]], [[113085]]], "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": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_item_value_paid|Indore|2024|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Indore_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[10754]], [[58467]], [[10754]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Indore_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[14920]], [[26840]], [[14920]]], "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_s103", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Surat", "year": 2024}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2024 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) = '2024' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Surat_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[89468]], [[130198]], [[89468]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_2025_x/cf_drop_customers.db", "train/dbs/S_s103/f_Surat_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[30136]], [[19624]], [[30136]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Nagpur_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Nagpur_2024_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[47235]], [[84584]], [[47235]]], "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_s103", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2025 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) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Nagpur_2025_x/cf_drop_customers.db", "train/dbs/S_s103/f_Nagpur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[80608]], [[48430]], [[80608]]], "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": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|books|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_x_books/cf_new_customers.db", "train/dbs/S_s103/f_x_x_books/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[32170]], [[50297]], [[32170]]], "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_s103", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "electronics"}, "question": "What is the total refunded amount for orders that contain at least one electronics 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 = 'electronics')", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_x_x_electronics/cf_refunds.db", "train/dbs/S_s103/f_x_x_electronics/cf_zero_order_customers.db"], "cf_edits": ["refunds", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[50153]], [[116265]], [[50153]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_x_grocery/cf_new_customers.db", "train/dbs/S_s103/f_x_x_grocery/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[17547]], [[25335]], [[17547]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_x_toys/cf_drop_customers.db", "train/dbs/S_s103/f_x_x_toys/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[48574]], [[26527]], [[48574]]], "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": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|apparel|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_x_apparel/cf_refunds.db", "train/dbs/S_s103/f_x_x_apparel/cf_later_tier.db"], "cf_edits": ["refunds", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[47121]], [[158923]], [[47121]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_x_x_home/cf_refunds.db", "train/dbs/S_s103/f_x_x_home/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[48749]], [[123055]], [[48749]]], "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_s103", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "What was the gross revenue from customers in Delhi 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 = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Delhi_2024_x/cf_dup_order.db", "train/dbs/S_s103/f_Delhi_2024_x/cf_new_customers.db"], "cf_edits": ["dup_order", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6653]], [[17283]], [[6653]]], "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": false}, "mutant_catchable": {"no_status_filter": true, "shipped_only": false}} {"id": "F3_gross_revenue|Delhi|2025|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Delhi_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[729]], [[49849]], [[729]]], "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": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Mumbai|2024|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_2024_x/cf_dup_order.db", "train/dbs/S_s103/f_Mumbai_2024_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[79207]], [[105915]], [[79207]]], "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": true}, "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[163633]], [[188449]], [[163633]]], "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": 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|Pune|2024|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_2024_x/cf_drop_customers.db", "train/dbs/S_s103/f_Pune_2024_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[49350]], [[38640]], [[49350]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_2025_x/cf_dup_order.db", "train/dbs/S_s103/f_Pune_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[55005]], [[71895]], [[55005]]], "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_s103", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Jaipur", "year": 2024}, "question": "Compute 2024 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) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Jaipur_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Jaipur_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[141578]], [[218882]], [[141578]]], "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": 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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Jaipur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[184873]], [[213694]], [[184873]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[34498]], [[49940]], [[34498]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_2025_x/cf_dup_order.db", "train/dbs/S_s103/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[119927]], [[169421]], [[119927]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_2024_x/cf_drop_customers.db", "train/dbs/S_s103/f_Indore_2024_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[16150]], [[10754]], [[16150]]], "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_s103", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Indore", "year": 2025}, "question": "Compute 2025 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) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Indore_2025_x/cf_dup_order.db", "train/dbs/S_s103/f_Indore_2025_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[14920]], [[44150]], [[14920]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[89468]], [[155476]], [[89468]]], "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": 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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_2025_x/cf_drop_customers.db", "train/dbs/S_s103/f_Surat_2025_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[39622]], [[29110]], [[39622]]], "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_s103", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "What was the gross revenue from customers in Nagpur 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 = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Nagpur_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[47235]], [[118198]], [[47235]]], "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_s103", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2025}, "question": "What was the gross revenue from customers in Nagpur 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 = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Nagpur_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[101275]], [[130912]], [[101275]]], "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_s103", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2024}, "question": "Count the 2024 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) = '2024'", "ordered": false, "dbs": ["train/dbs/S_s103/base.db", "train/dbs/S_s103/f_Delhi_2024_x/cf_dup_order.db", "train/dbs/S_s103/f_Delhi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Delhi_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[4]], [[1]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_2024_x/cf_dup_order.db", "train/dbs/S_s103/f_Mumbai_2024_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "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 = '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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Mumbai_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[11]], [[13]], [[11]]], "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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Pune|2024|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_2024_x/cf_dup_order.db", "train/dbs/S_s103/f_Pune_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "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 = '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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Pune_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[9]], [[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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Jaipur_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[11]], [[15]], [[11]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_2025_x/cf_drop_customers.db", "train/dbs/S_s103/f_Jaipur_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[17]], [[15]], [[17]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "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 = '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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Kochi_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[11]], [[14]], [[11]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_2024_x/cf_drop_customers.db", "train/dbs/S_s103/f_Indore_2024_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Indore_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "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 = '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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[13]], [[8]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Surat_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "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 = '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_s103", "template": "F3_active_orders", "family": "F3", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "How many active orders did customers from Nagpur place in 2024?", "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_s103/base.db", "train/dbs/S_s103/f_Nagpur_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "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 = '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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Nagpur_2025_x/cf_drop_customers.db", "train/dbs/S_s103/f_Nagpur_2025_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[6]], [[8]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Delhi_2024_x/cf_refunds.db", "train/dbs/S_s103/f_Delhi_2024_x/cf_new_customers.db"], "cf_edits": ["refunds", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6172]], [[4949]], [[6172]]], "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": 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|Delhi|2025|S_s103", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Delhi", "year": 2025}, "question": "What was the net revenue from customers in Delhi 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 = '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_s103/base.db", "train/dbs/S_s103/f_Delhi_2025_x/cf_refunds.db", "train/dbs/S_s103/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[729]], [[420]], [[729]]], "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": 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|Mumbai|2024|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_2024_x/cf_refunds.db", "train/dbs/S_s103/f_Mumbai_2024_x/cf_split_payments.db"], "cf_edits": ["refunds", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[79207]], [[63487]], [[79207]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[146086]], [[170902]], [[146086]]], "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": true}, "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_s103", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "What was the net revenue from customers in Pune 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 = '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_s103/base.db", "train/dbs/S_s103/f_Pune_2024_x/cf_refunds.db", "train/dbs/S_s103/f_Pune_2024_x/cf_split_payments.db"], "cf_edits": ["refunds", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[49350]], [[38760]], [[49350]]], "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": 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|2025|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_2025_x/cf_refunds.db", "train/dbs/S_s103/f_Pune_2025_x/cf_zero_order_customers.db"], "cf_edits": ["refunds", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[55005]], [[46532]], [[55005]]], "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": 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|2024|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_2024_x/cf_new_customers.db", "train/dbs/S_s103/f_Jaipur_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[138884]], [[216188]], [[138884]]], "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": 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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_2025_x/cf_refunds.db", "train/dbs/S_s103/f_Jaipur_2025_x/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[168343]], [[148065]], [[168343]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_2024_x/cf_dup_order.db", "train/dbs/S_s103/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[29117]], [[50917]], [[29117]]], "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": 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|Kochi|2025|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_2025_x/cf_refunds.db", "train/dbs/S_s103/f_Kochi_2025_x/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[119927]], [[104831]], [[119927]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_2024_x/cf_drop_customers.db", "train/dbs/S_s103/f_Indore_2024_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[10515]], [[5119]], [[10515]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_2025_x/cf_refunds.db", "train/dbs/S_s103/f_Indore_2025_x/cf_drop_customers.db"], "cf_edits": ["refunds", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[14920]], [[8824]], [[14920]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_2024_x/cf_dup_order.db", "train/dbs/S_s103/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[67421]], [[118069]], [[67421]]], "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": 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|Surat|2025|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_2025_x/cf_refunds.db", "train/dbs/S_s103/f_Surat_2025_x/cf_zero_order_customers.db"], "cf_edits": ["refunds", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[39622]], [[37024]], [[39622]]], "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": 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|Nagpur|2024|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Nagpur_2024_x/cf_refunds.db", "train/dbs/S_s103/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[44918]], [[35618]], [[44918]]], "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": 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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Nagpur_2025_x/cf_new_customers.db", "train/dbs/S_s103/f_Nagpur_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[91646]], [[121283]], [[91646]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Delhi_x_x/cf_new_customers.db", "train/dbs/S_s103/f_Delhi_x_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[17, 4176], [10, 3206]], [[51, 18060], [52, 13379], [17, 4176]], [[17, 4176], [10, 3206]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Mumbai_x_x/cf_dup_order.db", "train/dbs/S_s103/f_Mumbai_x_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6, 61561], [19, 58448], [20, 53223]], [[6, 74093], [19, 58448], [20, 53223]], [[6, 61561], [19, 58448], [20, 53223]]], "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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Pune|S_s103", "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_s103/base.db", "train/dbs/S_s103/f_Pune_x_x/cf_new_customers.db", "train/dbs/S_s103/f_Pune_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[25, 53215], [49, 33630], [24, 17510]], [[25, 53215], [52, 43651], [49, 33630]], [[25, 53215], [49, 33630], [24, 17510]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Jaipur_x_x/cf_dup_order.db", "train/dbs/S_s103/f_Jaipur_x_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1, 65492], [8, 60655], [13, 47935]], [[8, 78785], [1, 65492], [13, 57886]], [[1, 65492], [8, 60655], [13, 47935]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Kochi_x_x/cf_dup_order.db", "train/dbs/S_s103/f_Kochi_x_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[22, 41993], [46, 37033], [34, 31374]], [[22, 62018], [46, 48465], [34, 31374]], [[22, 41993], [46, 37033], [34, 31374]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Indore_x_x/cf_drop_customers.db", "train/dbs/S_s103/f_Indore_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[28, 11516], [21, 10754], [14, 4970]], [[28, 11516], [14, 4970]], [[28, 11516], [21, 10754], [14, 4970]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Surat_x_x/cf_new_customers.db", "train/dbs/S_s103/f_Surat_x_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[9, 63079], [2, 20371], [45, 15079]], [[9, 63079], [52, 47665], [51, 29790]], [[9, 63079], [2, 20371], [45, 15079]]], "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_s103", "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_s103/base.db", "train/dbs/S_s103/f_Nagpur_x_x/cf_dup_order.db", "train/dbs/S_s103/f_Nagpur_x_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[11, 70375], [36, 25290], [3, 20728]], [[11, 70375], [3, 45518], [32, 30016]], [[11, 70375], [36, 25290], [3, 20728]]], "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_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}}