{"id": "F1_ordered_customers|Delhi|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_split_items.db"], "gold_random": [[[5]], [[4]], [[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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[4]], [[6]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_split_items.db"], "gold_random": [[[6]], [[8]], [[6]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_x_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[0]], [[1]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_x_x/cf_split_items.db"], "gold_random": [[[1]], [[0]], [[1]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[5]], [[7]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_split_items.db"], "gold_random": [[[7]], [[9]], [[7]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[12]], [[9]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_split_payments.db"], "gold_random": [[[9]], [[12]], [[9]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Indore_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[5]], [[7]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Indore_x_x/cf_split_items.db"], "gold_random": [[[7]], [[5]], [[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": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Surat|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_x_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[3]], [[5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_x_x/cf_split_items.db"], "gold_random": [[[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_ordered_customers|Nagpur|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[4]], [[5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_dup_order.db"], "gold_random": [[[5]], [[4]], [[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_customer_list|Delhi|electronics|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_electronics/cf_cancelled_orders.db", "audit/dbs/S_s301/f_Delhi_x_electronics/cf_adjustments.db"], "cf_edits": ["cancelled_orders", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [20], [40]], [[3], [20], [40], [49]], [[3], [20], [40]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_electronics/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_x_electronics/cf_split_items.db"], "gold_random": [[[3], [20], [40]], [[3], [20], [40], [51], [52]], [[3], [20], [40]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_grocery/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_x_grocery/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[20], [41]], [[20], [41], [51], [52]], [[20], [41]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_grocery/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_x_grocery/cf_later_tier.db"], "gold_random": [[[20], [41]], [[20], [41], [3]], [[20], [41]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_toys/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_x_toys/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [20], [40], [41], [49]], [[3], [20], [40]], [[3], [20], [40], [41], [49]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_toys/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_x_toys/cf_cancelled_orders.db"], "gold_random": [[[3], [20], [40], [41], [49]], [[3], [20], [40]], [[3], [20], [40], [41], [49]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_x_apparel/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [20], [41], [49]], [[3], [20], [41], [49], [51], [52]], [[3], [20], [41], [49]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_apparel/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_x_apparel/cf_superseded_tier.db"], "gold_random": [[[3], [20], [41], [49]], [[3], [20]], [[3], [20], [41], [49]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_home/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_x_home/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [40], [41], [49]], [[3], [40], [41], [49], [51], [52]], [[3], [40], [41], [49]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_home/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_x_home/cf_adjustments.db"], "gold_random": [[[3], [40], [41], [49]], [[3], [40], [41], [49], [51], [52]], [[3], [40], [41], [49]]], "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|electronics|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_electronics/cf_dup_order.db", "audit/dbs/S_s301/f_Mumbai_x_electronics/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [8], [13], [29]], [[2], [8], [13], [29], [28]], [[2], [8], [13], [29]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_electronics/cf_drop_customers.db", "audit/dbs/S_s301/f_Mumbai_x_electronics/cf_split_payments.db"], "gold_random": [[[2], [8], [13], [29]], [[2], [8], [13]], [[2], [8], [13], [29]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_grocery/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_x_grocery/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [13], [18], [28], [29]], [[2], [13], [18], [28], [29], [51], [52]], [[2], [13], [18], [28], [29]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_grocery/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_x_grocery/cf_cancelled_orders.db"], "gold_random": [[[2], [13], [18], [28], [29]], [[2], [13], [18], [28], [29], [51], [52]], [[2], [13], [18], [28], [29]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_toys/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_x_toys/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [8], [13], [18], [29]], [[2], [8], [13], [18], [29], [51], [52]], [[2], [8], [13], [18], [29]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_toys/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_x_toys/cf_superseded_tier.db"], "gold_random": [[[2], [8], [13], [18], [29]], [[2], [8], [13], [18], [29], [51], [52]], [[2], [8], [13], [18], [29]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_apparel/cf_dup_order.db", "audit/dbs/S_s301/f_Mumbai_x_apparel/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [29]], [[18], [29], [2], [13]], [[18], [29]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_apparel/cf_cancelled_orders.db", "audit/dbs/S_s301/f_Mumbai_x_apparel/cf_superseded_tier.db"], "gold_random": [[[18], [29]], [[18], [29], [8], [28]], [[18], [29]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_home/cf_dup_order.db", "audit/dbs/S_s301/f_Mumbai_x_home/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [28], [29]], [[8], [28], [29], [13], [2]], [[8], [28], [29]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_home/cf_cancelled_orders.db", "audit/dbs/S_s301/f_Mumbai_x_home/cf_adjustments.db"], "gold_random": [[[8], [28], [29]], [[8], [28], [29], [2]], [[8], [28], [29]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_electronics/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_x_electronics/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[5], [51], [52]], [[5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_electronics/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_x_electronics/cf_drop_customers.db"], "gold_random": [[[5]], [[5], [51], [52]], [[5]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_grocery/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_x_grocery/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[5], [51], [52]], [[5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_grocery/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_x_grocery/cf_dup_order.db"], "gold_random": [[[5]], [], [[5]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_toys/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_x_toys/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [], [[5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_toys/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_x_toys/cf_later_tier.db"], "gold_random": [[[5]], [], [[5]]], "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|home|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_home/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_x_home/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[5], [51], [52]], [[5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_home/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_x_home/cf_dup_order.db"], "gold_random": [[[5]], [[5], [51], [52]], [[5]]], "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|electronics|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_electronics/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_x_electronics/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[27], [31], [44], [50]], [[27], [31], [44], [50], [6]], [[27], [31], [44], [50]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_electronics/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_x_electronics/cf_zero_order_customers.db"], "gold_random": [[[27], [31], [44], [50]], [[27], [31], [50]], [[27], [31], [44], [50]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_grocery/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_x_grocery/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[27], [30], [31], [35], [50]], [[27], [30], [31], [35], [50], [6]], [[27], [30], [31], [35], [50]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_grocery/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_x_grocery/cf_superseded_tier.db"], "gold_random": [[[27], [30], [31], [35], [50]], [[27], [30], [31], [35], [50], [6]], [[27], [30], [31], [35], [50]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_toys/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_x_toys/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6], [27], [30], [31], [35], [44]], [[27], [30], [31], [35], [44]], [[6], [27], [30], [31], [35], [44]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_toys/cf_new_customers.db", "audit/dbs/S_s301/f_Jaipur_x_toys/cf_later_tier.db"], "gold_random": [[[6], [27], [30], [31], [35], [44]], [[6], [27], [30], [31], [35], [44], [51], [52]], [[6], [27], [30], [31], [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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_apparel/cf_cancelled_orders.db", "audit/dbs/S_s301/f_Jaipur_x_apparel/cf_later_tier.db"], "cf_edits": ["cancelled_orders", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6], [31]], [[6], [31], [35], [50]], [[6], [31]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_Jaipur_x_apparel/cf_later_tier.db"], "gold_random": [[[6], [31]], [[6], [31], [51], [52]], [[6], [31]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_home/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_x_home/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[6], [30], [35], [44]], [[35], [44]], [[6], [30], [35], [44]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_home/cf_cancelled_orders.db", "audit/dbs/S_s301/f_Jaipur_x_home/cf_later_tier.db"], "gold_random": [[[6], [30], [35], [44]], [[6], [30], [35], [44], [27], [31]], [[6], [30], [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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_electronics/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_x_electronics/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [14], [47]], [[9], [14], [47], [51], [52], [53]], [[9], [14], [47]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_electronics/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_x_electronics/cf_adjustments.db"], "gold_random": [[[9], [14], [47]], [[9], [14], [47], [19], [4], [46]], [[9], [14], [47]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_grocery/cf_drop_customers.db", "audit/dbs/S_s301/f_Kochi_x_grocery/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [9], [14], [19], [39], [46], [47]], [[4], [9], [19], [39], [47]], [[4], [9], [14], [19], [39], [46], [47]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_grocery/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_x_grocery/cf_adjustments.db"], "gold_random": [[[4], [9], [14], [19], [39], [46], [47]], [[4], [9], [14], [19], [39], [46], [47], [51], [52], [53]], [[4], [9], [14], [19], [39], [46], [47]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_toys/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_x_toys/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [11], [14], [19], [39], [46], [47]], [[7], [11], [14], [19], [39], [46], [47], [9]], [[7], [11], [14], [19], [39], [46], [47]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_toys/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_x_toys/cf_split_payments.db"], "gold_random": [[[7], [11], [14], [19], [39], [46], [47]], [[7], [11], [14], [19], [39], [46], [47], [9]], [[7], [11], [14], [19], [39], [46], [47]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_x_apparel/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [19], [47]], [[4], [19], [47], [51], [52], [53]], [[4], [19], [47]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_apparel/cf_drop_customers.db", "audit/dbs/S_s301/f_Kochi_x_apparel/cf_zero_order_customers.db"], "gold_random": [[[4], [19], [47]], [[19]], [[4], [19], [47]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_home/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_x_home/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [39]], [[4], [39], [51], [52], [53]], [[4], [39]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_home/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_x_home/cf_drop_customers.db"], "gold_random": [[[4], [39]], [[4], [39], [9], [7], [46]], [[4], [39]]], "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|electronics|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_electronics/cf_drop_customers.db", "audit/dbs/S_s301/f_Indore_x_electronics/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [15], [24], [33], [38]], [[12], [15], [33], [38]], [[12], [15], [24], [33], [38]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_electronics/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_x_electronics/cf_split_items.db"], "gold_random": [[[12], [15], [24], [33], [38]], [[12], [15], [24], [33], [38], [51], [52]], [[12], [15], [24], [33], [38]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s301/f_Indore_x_grocery/cf_zero_order_customers.db"], "cf_edits": ["cancelled_orders", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [23], [24], [33], [38]], [[15], [23], [24], [33], [38], [12], [32]], [[15], [23], [24], [33], [38]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_grocery/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_x_grocery/cf_zero_order_customers.db"], "gold_random": [[[15], [23], [24], [33], [38]], [[15], [23], [24], [33], [38], [51], [52]], [[15], [23], [24], [33], [38]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_toys/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_x_toys/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [15], [23], [24], [32], [33], [38]], [[12], [15], [23], [24], [32], [33], [38], [51], [52]], [[12], [15], [23], [24], [32], [33], [38]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_toys/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_x_toys/cf_adjustments.db"], "gold_random": [[[12], [15], [23], [24], [32], [33], [38]], [[12], [15], [23], [24], [32], [33], [38], [51], [52]], [[12], [15], [23], [24], [32], [33], [38]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_x_apparel/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[23], [24], [33]], [[23], [24], [33], [51], [52]], [[23], [24], [33]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_apparel/cf_cancelled_orders.db", "audit/dbs/S_s301/f_Indore_x_apparel/cf_split_items.db"], "gold_random": [[[23], [24], [33]], [[23], [24], [33], [32], [15]], [[23], [24], [33]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_home/cf_drop_customers.db", "audit/dbs/S_s301/f_Indore_x_home/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [32], [33], [38]], [[12], [32], [33]], [[12], [32], [33], [38]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_home/cf_cancelled_orders.db", "audit/dbs/S_s301/f_Indore_x_home/cf_split_payments.db"], "gold_random": [[[12], [32], [33], [38]], [[12], [32], [33], [38], [15]], [[12], [32], [33], [38]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_electronics/cf_cancelled_orders.db", "audit/dbs/S_s301/f_Surat_x_electronics/cf_adjustments.db"], "cf_edits": ["cancelled_orders", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[45]], [[45], [42]], [[45]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_electronics/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_x_electronics/cf_drop_customers.db"], "gold_random": [[[45]], [[45], [51], [52]], [[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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_grocery/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_x_grocery/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[21], [37], [42]], [[37], [42]], [[21], [37], [42]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_grocery/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_x_grocery/cf_later_tier.db"], "gold_random": [[[21], [37], [42]], [[21], [37], [42], [51], [52]], [[21], [37], [42]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_toys/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_x_toys/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[25], [37], [42], [45]], [[25], [42]], [[25], [37], [42], [45]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_toys/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_x_toys/cf_dup_order.db"], "gold_random": [[[25], [37], [42], [45]], [[25], [37], [42], [45], [51], [52]], [[25], [37], [42], [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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_x_apparel/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[21], [42]], [[21], [42], [51], [52]], [[21], [42]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_x_apparel/cf_refunds.db"], "gold_random": [[[21], [42]], [[21], [42], [51], [52]], [[21], [42]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|home|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_home/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_x_home/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[37], [42], [45]], [[37], [42], [45], [51], [52]], [[37], [42], [45]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_home/cf_cancelled_orders.db", "audit/dbs/S_s301/f_Surat_x_home/cf_refunds.db"], "gold_random": [[[37], [42], [45]], [[37], [42], [45], [25]], [[37], [42], [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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_electronics/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_x_electronics/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[36], [43]], [[36], [43], [51], [52]], [[36], [43]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_electronics/cf_dup_order.db", "audit/dbs/S_s301/f_Nagpur_x_electronics/cf_split_payments.db"], "gold_random": [[[36], [43]], [[36], [43], [48], [17]], [[36], [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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_grocery/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_x_grocery/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[36], [43]], [[36], [43], [51], [52]], [[36], [43]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s301/f_Nagpur_x_grocery/cf_later_tier.db"], "gold_random": [[[36], [43]], [[36], [43], [1]], [[36], [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_s301", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "toys"}, "question": "Which customers (by customer_id) based in Nagpur 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 = 'Nagpur' AND p.category = 'toys'", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_toys/cf_dup_order.db", "audit/dbs/S_s301/f_Nagpur_x_toys/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [17], [43], [48]], [[1], [17], [43], [48], [36]], [[1], [17], [43], [48]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_toys/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_x_toys/cf_drop_customers.db"], "gold_random": [[[1], [17], [43], [48]], [[1], [17], [43], [48], [51], [52]], [[1], [17], [43], [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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_apparel/cf_dup_order.db", "audit/dbs/S_s301/f_Nagpur_x_apparel/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [48]], [[1], [48], [36]], [[1], [48]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_x_apparel/cf_refunds.db"], "gold_random": [[[1], [48]], [[1], [48], [51], [52]], [[1], [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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_home/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_x_home/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [17], [36], [43]], [[1], [17], [36], [43], [51], [52]], [[1], [17], [36], [43]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_home/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_x_home/cf_zero_order_customers.db"], "gold_random": [[[1], [17], [36], [43]], [[1], [17], [36], [43], [51], [52]], [[1], [17], [36], [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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_adjustments.db"], "gold_random": [[[3]], [[2]], [[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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_cancelled_orders.db"], "gold_random": [[[3]], [[2]], [[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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_superseded_tier.db"], "gold_random": [[[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 '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_split_payments.db"], "gold_random": [[[4]], [[3]], [[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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[0]], [[1]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_superseded_tier.db"], "gold_random": [[[1]], [[2]], [[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 '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[3]], [[5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_zero_order_customers.db"], "gold_random": [[[5]], [[6]], [[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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_new_customers.db"], "gold_random": [[[4]], [[3]], [[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": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Kochi|2024|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_zero_order_customers.db"], "gold_random": [[[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": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_paying_customers|Kochi|2025|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[4]], [[7]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_split_payments.db"], "gold_random": [[[7]], [[8]], [[7]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_cancelled_orders.db"], "gold_random": [[[2]], [[1]], [[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": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Indore|2025|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_superseded_tier.db"], "gold_random": [[[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": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Surat|2024|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_dup_order.db"], "gold_random": [[[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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Surat|2025|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_split_payments.db"], "gold_random": [[[2]], [[1]], [[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 '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_split_items.db"], "gold_random": [[[3]], [[1]], [[3]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_split_payments.db"], "gold_random": [[[4]], [[3]], [[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": "F1_category_buyers|electronics|2024|S_s301", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "electronics", "year": 2024}, "question": "How many distinct customers bought a electronics product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_electronics/cf_dup_order.db", "audit/dbs/S_s301/f_x_2024_electronics/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[25]], [[10]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_electronics/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2024_electronics/cf_split_items.db"], "gold_random": [[[10]], [[7]], [[10]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|electronics|2025|S_s301", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "electronics", "year": 2025}, "question": "How many distinct customers bought a electronics product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_electronics/cf_dup_order.db", "audit/dbs/S_s301/f_x_2025_electronics/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[17]], [[33]], [[17]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_electronics/cf_cancelled_orders.db", "audit/dbs/S_s301/f_x_2025_electronics/cf_superseded_tier.db"], "gold_random": [[[17]], [[34]], [[17]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'electronics' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|grocery|2024|S_s301", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "grocery", "year": 2024}, "question": "How many distinct customers bought a grocery product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_grocery/cf_dup_order.db", "audit/dbs/S_s301/f_x_2024_grocery/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[16]], [[28]], [[16]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_grocery/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2024_grocery/cf_refunds.db"], "gold_random": [[[16]], [[11]], [[16]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'grocery' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|grocery|2025|S_s301", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "grocery", "year": 2025}, "question": "How many distinct customers bought a grocery product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_grocery/cf_new_customers.db", "audit/dbs/S_s301/f_x_2025_grocery/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[20]], [[36]], [[20]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_grocery/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2025_grocery/cf_superseded_tier.db"], "gold_random": [[[20]], [[14]], [[20]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|toys|2024|S_s301", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "toys", "year": 2024}, "question": "How many distinct customers bought a toys product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_toys/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2024_toys/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[19]], [[13]], [[19]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_toys/cf_dup_order.db", "audit/dbs/S_s301/f_x_2024_toys/cf_refunds.db"], "gold_random": [[[19]], [[31]], [[19]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|toys|2025|S_s301", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "toys", "year": 2025}, "question": "How many distinct customers bought a toys product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_toys/cf_new_customers.db", "audit/dbs/S_s301/f_x_2025_toys/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[29]], [[45]], [[29]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_toys/cf_new_customers.db", "audit/dbs/S_s301/f_x_2025_toys/cf_zero_order_customers.db"], "gold_random": [[[29]], [[45]], [[29]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'toys' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|apparel|2024|S_s301", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "apparel", "year": 2024}, "question": "How many distinct customers bought a apparel product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_apparel/cf_dup_order.db", "audit/dbs/S_s301/f_x_2024_apparel/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[25]], [[7]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_apparel/cf_cancelled_orders.db", "audit/dbs/S_s301/f_x_2024_apparel/cf_superseded_tier.db"], "gold_random": [[[7]], [[24]], [[7]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|apparel|2025|S_s301", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "apparel", "year": 2025}, "question": "How many distinct customers bought a apparel product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_apparel/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2025_apparel/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[12]], [[10]], [[12]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_apparel/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2025_apparel/cf_split_payments.db"], "gold_random": [[[12]], [[10]], [[12]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'apparel' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|home|2024|S_s301", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "home", "year": 2024}, "question": "How many distinct customers bought a home product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_home/cf_cancelled_orders.db", "audit/dbs/S_s301/f_x_2024_home/cf_refunds.db"], "cf_edits": ["cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[14]], [[29]], [[14]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_home/cf_dup_order.db", "audit/dbs/S_s301/f_x_2024_home/cf_zero_order_customers.db"], "gold_random": [[[14]], [[33]], [[14]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'home' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|home|2025|S_s301", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "home", "year": 2025}, "question": "How many distinct customers bought a home product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_home/cf_dup_order.db", "audit/dbs/S_s301/f_x_2025_home/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[18]], [[31]], [[18]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_home/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2025_home/cf_adjustments.db"], "gold_random": [[[18]], [[14]], [[18]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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": "F2_paid_for_category|electronics|2024|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_electronics/cf_dup_order.db", "audit/dbs/S_s301/f_x_2024_electronics/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[102816]], [[233301]], [[102816]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_electronics/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2024_electronics/cf_refunds.db"], "gold_random": [[[102816]], [[94346]], [[102816]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_electronics/cf_adjustments.db", "audit/dbs/S_s301/f_x_2025_electronics/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[124198]], [[125201]], [[124198]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_electronics/cf_new_customers.db", "audit/dbs/S_s301/f_x_2025_electronics/cf_refunds.db"], "gold_random": [[[124198]], [[361325]], [[124198]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_grocery/cf_dup_order.db", "audit/dbs/S_s301/f_x_2024_grocery/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[110050]], [[237419]], [[110050]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_grocery/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2024_grocery/cf_superseded_tier.db"], "gold_random": [[[110050]], [[85716]], [[110050]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_grocery/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2025_grocery/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[151535]], [[101366]], [[151535]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_grocery/cf_dup_order.db", "audit/dbs/S_s301/f_x_2025_grocery/cf_refunds.db"], "gold_random": [[[151535]], [[225664]], [[151535]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_toys/cf_new_customers.db", "audit/dbs/S_s301/f_x_2024_toys/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[184662]], [[345174]], [[184662]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_toys/cf_new_customers.db", "audit/dbs/S_s301/f_x_2024_toys/cf_refunds.db"], "gold_random": [[[184662]], [[345174]], [[184662]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_toys/cf_new_customers.db", "audit/dbs/S_s301/f_x_2025_toys/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[255346]], [[509609]], [[255346]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_toys/cf_dup_order.db", "audit/dbs/S_s301/f_x_2025_toys/cf_zero_order_customers.db"], "gold_random": [[[255346]], [[470268]], [[255346]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_x_2024_apparel/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[109550]], [[219886]], [[109550]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_apparel/cf_adjustments.db", "audit/dbs/S_s301/f_x_2024_apparel/cf_later_tier.db"], "gold_random": [[[109550]], [[109592]], [[109550]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_x_2025_apparel/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[97888]], [[282285]], [[97888]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_apparel/cf_dup_order.db", "audit/dbs/S_s301/f_x_2025_apparel/cf_zero_order_customers.db"], "gold_random": [[[97888]], [[269094]], [[97888]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_home/cf_dup_order.db", "audit/dbs/S_s301/f_x_2024_home/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[130114]], [[222934]], [[130114]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_home/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2024_home/cf_cancelled_orders.db"], "gold_random": [[[130114]], [[110782]], [[130114]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_home/cf_new_customers.db", "audit/dbs/S_s301/f_x_2025_home/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[225794]], [[406446]], [[225794]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_home/cf_dup_order.db", "audit/dbs/S_s301/f_x_2025_home/cf_split_payments.db"], "gold_random": [[[225794]], [[337282]], [[225794]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[69280]], [[81125]], [[69280]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_later_tier.db"], "gold_random": [[[69280]], [[53850]], [[69280]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[40937]], [[24407]], [[40937]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_zero_order_customers.db"], "gold_random": [[[40937]], [[24407]], [[40937]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[64703]], [[103552]], [[64703]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_superseded_tier.db"], "gold_random": [[[64703]], [[103552]], [[64703]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[81801]], [[73591]], [[81801]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_refunds.db"], "gold_random": [[[81801]], [[152322]], [[81801]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1300]], [[13351]], [[1300]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_superseded_tier.db"], "gold_random": [[[1300]], [[null]], [[1300]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4910]], [[19346]], [[4910]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_dup_order.db"], "gold_random": [[[4910]], [[null]], [[4910]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[56116]], [[45016]], [[56116]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_adjustments.db"], "gold_random": [[[56116]], [[93393]], [[56116]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[57628]], [[66002]], [[57628]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_adjustments.db"], "gold_random": [[[57628]], [[49168]], [[57628]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[26220]], [[43806]], [[26220]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_cancelled_orders.db"], "gold_random": [[[26220]], [[43806]], [[26220]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[87852]], [[112176]], [[87852]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_cancelled_orders.db"], "gold_random": [[[87852]], [[112176]], [[87852]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[20920]], [[50788]], [[20920]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_adjustments.db"], "gold_random": [[[20920]], [[13940]], [[20920]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[48616]], [[64416]], [[48616]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_cancelled_orders.db"], "gold_random": [[[48616]], [[64416]], [[48616]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[32254]], [[59120]], [[32254]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_split_payments.db"], "gold_random": [[[32254]], [[38590]], [[32254]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[29453]], [[11898]], [[29453]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_dup_order.db"], "gold_random": [[[29453]], [[11898]], [[29453]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[18190]], [[8470]], [[18190]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_refunds.db"], "gold_random": [[[18190]], [[49879]], [[18190]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[44718]], [[37818]], [[44718]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_split_payments.db"], "gold_random": [[[44718]], [[37818]], [[44718]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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|electronics|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_x_electronics/cf_refunds.db", "audit/dbs/S_s301/f_x_x_electronics/cf_later_tier.db"], "cf_edits": ["refunds", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5930]], [[54403]], [[5930]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_x_electronics/cf_new_customers.db", "audit/dbs/S_s301/f_x_x_electronics/cf_zero_order_customers.db"], "gold_random": [[[5930]], [[13944]], [[5930]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_x_grocery/cf_new_customers.db", "audit/dbs/S_s301/f_x_x_grocery/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[33870]], [[60870]], [[33870]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_x_grocery/cf_drop_customers.db", "audit/dbs/S_s301/f_x_x_grocery/cf_cancelled_orders.db"], "gold_random": [[[33870]], [[28074]], [[33870]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_x_toys/cf_refunds.db", "audit/dbs/S_s301/f_x_x_toys/cf_superseded_tier.db"], "cf_edits": ["refunds", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[35733]], [[106293]], [[35733]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_x_toys/cf_new_customers.db", "audit/dbs/S_s301/f_x_x_toys/cf_split_items.db"], "gold_random": [[[35733]], [[35779]], [[35733]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_x_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_x_x_apparel/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[20188]], [[34447]], [[20188]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_x_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_x_x_apparel/cf_superseded_tier.db"], "gold_random": [[[20188]], [[34447]], [[20188]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_x_home/cf_new_customers.db", "audit/dbs/S_s301/f_x_x_home/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[25409]], [[48715]], [[25409]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_x_home/cf_drop_customers.db", "audit/dbs/S_s301/f_x_x_home/cf_superseded_tier.db"], "gold_random": [[[25409]], [[22053]], [[25409]]], "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": "F2_units_paid|electronics|2024|S_s301", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "electronics", "year": 2024}, "question": "How many units of electronics products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_electronics/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2024_electronics/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[21]], [[19]], [[21]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_electronics/cf_new_customers.db", "audit/dbs/S_s301/f_x_2024_electronics/cf_cancelled_orders.db"], "gold_random": [[[21]], [[57]], [[21]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'electronics' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|electronics|2025|S_s301", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "electronics", "year": 2025}, "question": "How many units of electronics products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_electronics/cf_new_customers.db", "audit/dbs/S_s301/f_x_2025_electronics/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[22]], [[64]], [[22]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_electronics/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2025_electronics/cf_split_payments.db"], "gold_random": [[[22]], [[11]], [[22]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'electronics' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|grocery|2024|S_s301", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "grocery", "year": 2024}, "question": "How many units of grocery products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_grocery/cf_new_customers.db", "audit/dbs/S_s301/f_x_2024_grocery/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[16]], [[48]], [[16]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_grocery/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2024_grocery/cf_later_tier.db"], "gold_random": [[[16]], [[15]], [[16]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'grocery' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|grocery|2025|S_s301", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "grocery", "year": 2025}, "question": "How many units of grocery products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_grocery/cf_dup_order.db", "audit/dbs/S_s301/f_x_2025_grocery/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[28]], [[44]], [[28]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_grocery/cf_new_customers.db", "audit/dbs/S_s301/f_x_2025_grocery/cf_refunds.db"], "gold_random": [[[28]], [[62]], [[28]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'grocery' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|toys|2024|S_s301", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "toys", "year": 2024}, "question": "How many units of toys products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_toys/cf_dup_order.db", "audit/dbs/S_s301/f_x_2024_toys/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[28]], [[53]], [[28]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_toys/cf_dup_order.db", "audit/dbs/S_s301/f_x_2024_toys/cf_refunds.db"], "gold_random": [[[28]], [[53]], [[28]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'toys' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|toys|2025|S_s301", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "toys", "year": 2025}, "question": "How many units of toys products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_toys/cf_new_customers.db", "audit/dbs/S_s301/f_x_2025_toys/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[44]], [[85]], [[44]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_toys/cf_dup_order.db", "audit/dbs/S_s301/f_x_2025_toys/cf_adjustments.db"], "gold_random": [[[44]], [[76]], [[44]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'toys' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|apparel|2024|S_s301", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "apparel", "year": 2024}, "question": "How many units of apparel products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_x_2024_apparel/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[14]], [[28]], [[14]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_x_2024_apparel/cf_drop_customers.db"], "gold_random": [[[14]], [[28]], [[14]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'apparel' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|apparel|2025|S_s301", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "apparel", "year": 2025}, "question": "How many units of apparel products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_apparel/cf_new_customers.db", "audit/dbs/S_s301/f_x_2025_apparel/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[14]], [[40]], [[14]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_apparel/cf_dup_order.db", "audit/dbs/S_s301/f_x_2025_apparel/cf_adjustments.db"], "gold_random": [[[14]], [[42]], [[14]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'apparel' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|home|2024|S_s301", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "home", "year": 2024}, "question": "How many units of home products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_home/cf_dup_order.db", "audit/dbs/S_s301/f_x_2024_home/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[17]], [[31]], [[17]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2024_home/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2024_home/cf_cancelled_orders.db"], "gold_random": [[[17]], [[11]], [[17]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'home' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|home|2025|S_s301", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "home", "year": 2025}, "question": "How many units of home products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_home/cf_drop_customers.db", "audit/dbs/S_s301/f_x_2025_home/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[36]], [[28]], [[36]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_x_2025_home/cf_dup_order.db", "audit/dbs/S_s301/f_x_2025_home/cf_zero_order_customers.db"], "gold_random": [[[36]], [[61]], [[36]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'home' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F3_gross_revenue|Delhi|2024|S_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[84996]], [[96841]], [[84996]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_superseded_tier.db"], "gold_random": [[[84996]], [[131737]], [[84996]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[41997]], [[74637]], [[41997]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_refunds.db"], "gold_random": [[[41997]], [[65936]], [[41997]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[64703]], [[111202]], [[64703]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_split_items.db"], "gold_random": [[[64703]], [[124449]], [[64703]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[108786]], [[86101]], [[108786]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_split_payments.db"], "gold_random": [[[108786]], [[179307]], [[108786]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1300]], [[10310]], [[1300]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_refunds.db"], "gold_random": [[[1300]], [[13351]], [[1300]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[50508]], [[74758]], [[50508]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_later_tier.db"], "gold_random": [[[50508]], [[74758]], [[50508]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_new_customers.db"], "cf_edits": ["drop_customers", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[85570]], [[59956]], [[85570]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_split_items.db"], "gold_random": [[[85570]], [[153514]], [[85570]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[112764]], [[73588]], [[112764]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_cancelled_orders.db"], "gold_random": [[[112764]], [[73588]], [[112764]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[26220]], [[76130]], [[26220]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_adjustments.db"], "gold_random": [[[26220]], [[43806]], [[26220]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[117718]], [[147632]], [[117718]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_later_tier.db"], "gold_random": [[[117718]], [[137348]], [[117718]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[47370]], [[40390]], [[47370]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_superseded_tier.db"], "gold_random": [[[47370]], [[95388]], [[47370]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[85926]], [[106706]], [[85926]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_zero_order_customers.db"], "gold_random": [[[85926]], [[138171]], [[85926]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[33424]], [[39760]], [[33424]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_adjustments.db"], "gold_random": [[[33424]], [[65050]], [[33424]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[46093]], [[28538]], [[46093]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_later_tier.db"], "gold_random": [[[46093]], [[49639]], [[46093]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[40730]], [[75999]], [[40730]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_cancelled_orders.db"], "gold_random": [[[40730]], [[75999]], [[40730]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[71730]], [[86546]], [[71730]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_refunds.db"], "gold_random": [[[71730]], [[38478]], [[71730]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[3]], [[6]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_superseded_tier.db"], "gold_random": [[[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 '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[9]], [[6]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_zero_order_customers.db"], "gold_random": [[[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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[9]], [[4]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_adjustments.db"], "gold_random": [[[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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[12]], [[17]], [[12]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_zero_order_customers.db"], "gold_random": [[[12]], [[15]], [[12]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_superseded_tier.db"], "gold_random": [[[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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_adjustments.db"], "gold_random": [[[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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_new_customers.db"], "cf_edits": ["drop_customers", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[5]], [[9]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_zero_order_customers.db"], "gold_random": [[[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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[12]], [[8]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_split_payments.db"], "gold_random": [[[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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[5]], [[2]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_zero_order_customers.db"], "gold_random": [[[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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[14]], [[10]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_split_payments.db"], "gold_random": [[[10]], [[7]], [[10]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[4]], [[5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_cancelled_orders.db"], "gold_random": [[[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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[11]], [[7]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_later_tier.db"], "gold_random": [[[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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[4]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_refunds.db"], "gold_random": [[[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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[4]], [[5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_zero_order_customers.db"], "gold_random": [[[5]], [[4]], [[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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[8]], [[5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_zero_order_customers.db"], "gold_random": [[[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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[12]], [[9]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_split_items.db"], "gold_random": [[[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 = '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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_refunds.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["refunds", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[84996]], [[77103]], [[84996]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_refunds.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_split_payments.db"], "gold_random": [[[84996]], [[77103]], [[84996]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[40268]], [[64207]], [[40268]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_split_items.db"], "gold_random": [[[40268]], [[64207]], [[40268]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_refunds.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[64703]], [[43933]], [[64703]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_drop_customers.db"], "gold_random": [[[64703]], [[111202]], [[64703]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[108033]], [[138066]], [[108033]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_split_payments.db"], "gold_random": [[[108033]], [[86101]], [[108033]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_refunds.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1300]], [[987]], [[1300]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_zero_order_customers.db"], "gold_random": [[[1300]], [[null]], [[1300]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_refunds.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_later_tier.db"], "cf_edits": ["refunds", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[50508]], [[49702]], [[50508]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_refunds.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_later_tier.db"], "gold_random": [[[50508]], [[49702]], [[50508]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_new_customers.db"], "cf_edits": ["dup_order", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[82806]], [[150750]], [[82806]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_cancelled_orders.db"], "gold_random": [[[82806]], [[150750]], [[82806]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[101684]], [[62508]], [[101684]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_new_customers.db"], "gold_random": [[[101684]], [[62508]], [[101684]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[9226]], [[59136]], [[9226]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_zero_order_customers.db"], "gold_random": [[[9226]], [[59136]], [[9226]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[117718]], [[146643]], [[117718]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_superseded_tier.db"], "gold_random": [[[117718]], [[146643]], [[117718]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_refunds.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_split_payments.db"], "cf_edits": ["refunds", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[47370]], [[47192]], [[47370]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_split_items.db"], "gold_random": [[[47370]], [[115301]], [[47370]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_refunds.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_superseded_tier.db"], "cf_edits": ["refunds", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[80749]], [[67540]], [[80749]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_adjustments.db"], "gold_random": [[[80749]], [[64643]], [[80749]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_refunds.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[33424]], [[32326]], [[33424]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_zero_order_customers.db"], "gold_random": [[[33424]], [[65050]], [[33424]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_refunds.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[46093]], [[43007]], [[46093]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_zero_order_customers.db"], "gold_random": [[[46093]], [[57357]], [[46093]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[37374]], [[59773]], [[37374]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_refunds.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_split_items.db"], "gold_random": [[[37374]], [[36063]], [[37374]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[65504]], [[76622]], [[65504]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_refunds.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_cancelled_orders.db"], "gold_random": [[[65504]], [[59391]], [[65504]]], "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": 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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[41, 40644], [20, 32143], [3, 22246]], [[41, 44928], [20, 32143], [49, 25540]], [[41, 40644], [20, 32143], [3, 22246]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_split_payments.db"], "gold_random": [[[41, 40644], [20, 32143], [3, 22246]], [[41, 40644], [20, 32143], [49, 16530]], [[41, 40644], [20, 32143], [3, 22246]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_dup_order.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[29, 67251], [13, 46323], [8, 30427]], [[29, 73169], [13, 49230], [8, 30427]], [[29, 67251], [13, 46323], [8, 30427]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_dup_order.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_refunds.db"], "gold_random": [[[29, 67251], [13, 46323], [8, 30427]], [[29, 73169], [13, 49230], [8, 30427]], [[29, 67251], [13, 46323], [8, 30427]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[5, 51808]], [], [[5, 51808]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_x_x/cf_cancelled_orders.db"], "gold_random": [[[5, 51808]], [], [[5, 51808]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[35, 47324], [44, 36096], [27, 30716]], [[35, 47324], [6, 44574], [44, 36096]], [[35, 47324], [44, 36096], [27, 30716]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_adjustments.db"], "gold_random": [[[35, 47324], [44, 36096], [27, 30716]], [[35, 47324], [44, 36096], [6, 28998]], [[35, 47324], [44, 36096], [27, 30716]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[19, 29685], [47, 22230], [9, 21177]], [[4, 36666], [47, 31220], [19, 29685]], [[19, 29685], [47, 22230], [9, 21177]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_superseded_tier.db"], "gold_random": [[[19, 29685], [47, 22230], [9, 21177]], [[47, 22230], [4, 17876], [14, 16094]], [[19, 29685], [47, 22230], [9, 21177]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_dup_order.db", "audit/dbs/S_s301/f_Indore_x_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[24, 32736], [38, 25808], [12, 23970]], [[12, 56080], [38, 39152], [24, 32736]], [[24, 32736], [38, 25808], [12, 23970]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_dup_order.db", "audit/dbs/S_s301/f_Indore_x_x/cf_new_customers.db"], "gold_random": [[[24, 32736], [38, 25808], [12, 23970]], [[12, 56080], [38, 39152], [24, 32736]], [[24, 32736], [38, 25808], [12, 23970]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[37, 37729], [45, 16640], [42, 12080]], [[37, 37729], [42, 12080], [21, 11898]], [[37, 37729], [45, 16640], [42, 12080]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_x_x/cf_zero_order_customers.db"], "gold_random": [[[37, 37729], [45, 16640], [42, 12080]], [[37, 37729], [42, 12080], [21, 11898]], [[37, 37729], [45, 16640], [42, 12080]]], "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_s301", "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": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[17, 37910], [1, 31807], [43, 16821]], [[51, 45000], [17, 37910], [1, 31807]], [[17, 37910], [1, 31807], [43, 16821]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_split_items.db"], "gold_random": [[[17, 37910], [1, 31807], [43, 16821]], [[51, 45000], [17, 37910], [1, 31807]], [[17, 37910], [1, 31807], [43, 16821]]], "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": "F3_avg_order|Delhi|2024|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Delhi", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Delhi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[14166]], [[12105.125]], [[14166]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_split_payments.db"], "gold_random": [[[14166]], [[12105.125]], [[14166]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Delhi|2025|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Delhi", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Delhi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6999.5]], [[8293]], [[6999.5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_superseded_tier.db"], "gold_random": [[[6999.5]], [[8293]], [[6999.5]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Mumbai|2024|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Mumbai? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[16175.75]], [[13827.6667]], [[16175.75]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_adjustments.db"], "gold_random": [[[16175.75]], [[13827.6667]], [[16175.75]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Mumbai|2025|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Mumbai? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[9065.5]], [[9496.9333]], [[9065.5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_adjustments.db"], "gold_random": [[[9065.5]], [[9496.9333]], [[9065.5]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Pune|2024|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Pune? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_split_payments.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_dup_order.db"], "cf_edits": ["new_customers", "split_payments", "dup_order"], "cf_kinds": ["changing", "preserving", "changing"], "gold": [[[1300]], [[4450.3333]], [[1300]], [[5155]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_refunds.db"], "gold_random": [[[1300]], [[null]], [[1300]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": true}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Pune|2025|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Pune? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[16836]], [[13822.8]], [[16836]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_refunds.db"], "gold_random": [[[16836]], [[null]], [[16836]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Jaipur|2024|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Jaipur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_new_customers.db"], "cf_edits": ["drop_customers", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[9507.7778]], [[11991.2]], [[9507.7778]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_split_payments.db"], "gold_random": [[[9507.7778]], [[11808.7692]], [[9507.7778]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Jaipur|2025|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Jaipur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[14095.5]], [[11888]], [[14095.5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_split_payments.db"], "gold_random": [[[14095.5]], [[14717.6]], [[14095.5]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Kochi|2024|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Kochi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[13110]], [[12688.3333]], [[13110]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_superseded_tier.db"], "gold_random": [[[13110]], [[12688.3333]], [[13110]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Kochi|2025|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Kochi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[11771.8]], [[10545.1429]], [[11771.8]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_split_payments.db"], "gold_random": [[[11771.8]], [[10545.1429]], [[11771.8]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Indore|2024|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Indore? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[9474]], [[10097.5]], [[9474]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_cancelled_orders.db"], "gold_random": [[[9474]], [[10598.6667]], [[9474]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Indore|2025|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Indore", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Indore? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[12275.1429]], [[13964]], [[12275.1429]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_cancelled_orders.db"], "gold_random": [[[12275.1429]], [[13964]], [[12275.1429]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Surat|2024|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Surat? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[8356]], [[7952]], [[8356]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_zero_order_customers.db"], "gold_random": [[[8356]], [[10841.6667]], [[8356]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Surat|2025|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Surat? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[9218.6]], [[7091.2857]], [[9218.6]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_superseded_tier.db"], "gold_random": [[[9218.6]], [[8193.8571]], [[9218.6]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Nagpur|2024|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Nagpur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8146]], [[9499.875]], [[8146]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_zero_order_customers.db"], "gold_random": [[[8146]], [[10345.5714]], [[8146]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Nagpur|2025|S_s301", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Nagpur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7970]], [[7212.1667]], [[7970]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_zero_order_customers.db"], "gold_random": [[[7970]], [[6413]], [[7970]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F4_current_tier_count|Delhi|bronze|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "bronze"}, "question": "How many customers from Delhi are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_adjustments.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Delhi|silver|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "silver"}, "question": "How many customers from Delhi are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_superseded_tier.db"], "cf_edits": ["zero_order_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[4]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_superseded_tier.db"], "gold_random": [[[4]], [[5]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Delhi|gold|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "gold"}, "question": "How many customers from Delhi are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_split_payments.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|bronze|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "bronze"}, "question": "How many customers from Mumbai are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_zero_order_customers.db"], "cf_edits": ["later_tier", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[1]], [[4]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_zero_order_customers.db"], "gold_random": [[[4]], [[2]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|silver|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "silver"}, "question": "How many customers from Mumbai are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_superseded_tier.db"], "cf_edits": ["zero_order_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_refunds.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|gold|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "gold"}, "question": "How many customers from Mumbai are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_new_customers.db"], "cf_edits": ["later_tier", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[4]], [[1]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_new_customers.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": false, "first_row": true}, "mutant_catchable": {"any_row": false, "first_row": true}} {"id": "F4_current_tier_count|Pune|bronze|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "bronze"}, "question": "How many customers from Pune are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_x_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Pune_x_x/cf_adjustments.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Pune|gold|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "gold"}, "question": "How many customers from Pune are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Pune_x_x/cf_cancelled_orders.db"], "cf_edits": ["later_tier", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[0]], [[1]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Pune_x_x/cf_superseded_tier.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|bronze|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "bronze"}, "question": "How many customers from Jaipur are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[0]], [[4]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_split_payments.db"], "gold_random": [[[4]], [[0]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|silver|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "silver"}, "question": "How many customers from Jaipur are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_superseded_tier.db"], "gold_random": [[[2]], [[4]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|gold|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "gold"}, "question": "How many customers from Jaipur are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_refunds.db"], "cf_edits": ["zero_order_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_adjustments.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": false, "first_row": true}, "mutant_catchable": {"any_row": false, "first_row": true}} {"id": "F4_current_tier_count|Kochi|bronze|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "bronze"}, "question": "How many customers from Kochi are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[6]], [[5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_superseded_tier.db"], "gold_random": [[[5]], [[4]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|silver|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "silver"}, "question": "How many customers from Kochi are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_refunds.db"], "cf_edits": ["zero_order_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_superseded_tier.db"], "gold_random": [[[1]], [[3]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|gold|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "gold"}, "question": "How many customers from Kochi are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[1]], [[3]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_refunds.db"], "gold_random": [[[3]], [[4]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Indore|bronze|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "bronze"}, "question": "How many customers from Indore are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Indore_x_x/cf_split_items.db"], "gold_random": [[[4]], [[6]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Indore|silver|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "silver"}, "question": "How many customers from Indore are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Indore_x_x/cf_adjustments.db"], "cf_edits": ["later_tier", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Indore_x_x/cf_drop_customers.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Surat|bronze|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "bronze"}, "question": "How many customers from Surat are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Surat_x_x/cf_superseded_tier.db"], "cf_edits": ["zero_order_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Surat_x_x/cf_split_payments.db"], "gold_random": [[[2]], [[1]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Surat|silver|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "silver"}, "question": "How many customers from Surat are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Surat_x_x/cf_split_items.db"], "cf_edits": ["later_tier", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Surat_x_x/cf_adjustments.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Surat|gold|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "gold"}, "question": "How many customers from Surat are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_x_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_x_x/cf_adjustments.db"], "gold_random": [[[3]], [[2]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|bronze|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "bronze"}, "question": "How many customers from Nagpur are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_split_items.db"], "cf_edits": ["later_tier", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[0]], [[2]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_split_items.db"], "gold_random": [[[2]], [[0]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|silver|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "silver"}, "question": "How many customers from Nagpur are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_superseded_tier.db"], "gold_random": [[[2]], [[1]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|gold|S_s301", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "gold"}, "question": "How many customers from Nagpur are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_zero_order_customers.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_list|Delhi|bronze|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "bronze"}, "question": "List the IDs of customers from Delhi whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_split_items.db"], "cf_edits": ["later_tier", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[26], [40]], [[10], [41]], [[26], [40]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_split_payments.db"], "gold_random": [[[26], [40]], [[26], [40], [52]], [[26], [40]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Delhi|silver|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "silver"}, "question": "List the IDs of customers from Delhi whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [10], [20], [41]], [[20], [41]], [[3], [10], [20], [41]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_cancelled_orders.db"], "gold_random": [[[3], [10], [20], [41]], [[3], [20]], [[3], [10], [20], [41]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Delhi|gold|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "gold"}, "question": "List the IDs of customers from Delhi whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_superseded_tier.db"], "cf_edits": ["zero_order_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[49]], [[49], [51]], [[49]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Delhi_x_x/cf_split_payments.db"], "gold_random": [[[49]], [[49], [40], [26]], [[49]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|bronze|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "bronze"}, "question": "List the IDs of customers from Mumbai whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [8], [13], [18]], [[8]], [[2], [8], [13], [18]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_refunds.db"], "gold_random": [[[2], [8], [13], [18]], [[2], [8], [13], [18], [51], [52]], [[2], [8], [13], [18]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|silver|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "silver"}, "question": "List the IDs of customers from Mumbai whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_split_items.db"], "cf_edits": ["zero_order_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[29]], [[29], [51]], [[29]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_dup_order.db"], "gold_random": [[[29]], [[29], [51]], [[29]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|gold|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "gold"}, "question": "List the IDs of customers from Mumbai whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_cancelled_orders.db"], "cf_edits": ["zero_order_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[28]], [[28], [52]], [[28]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Mumbai_x_x/cf_cancelled_orders.db"], "gold_random": [[[28]], [[28], [18], [2], [13]], [[28]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": false}, "mutant_catchable": {"any_row": false}} {"id": "F4_current_tier_list|Pune|bronze|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "bronze"}, "question": "List the IDs of customers from Pune whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_x_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [], [[5]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Pune_x_x/cf_superseded_tier.db"], "gold_random": [[[5]], [[5], [34]], [[5]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Pune|gold|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "gold"}, "question": "List the IDs of customers from Pune whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Pune_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[34]], [], [[34]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Pune_x_x/cf_split_items.db"], "gold_random": [[[34]], [[34], [51]], [[34]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|bronze|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "bronze"}, "question": "List the IDs of customers from Jaipur whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[30], [31], [35], [50]], [], [[30], [31], [35], [50]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_superseded_tier.db"], "gold_random": [[[30], [31], [35], [50]], [[30], [31], [35], [50], [52]], [[30], [31], [35], [50]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|silver|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "silver"}, "question": "List the IDs of customers from Jaipur whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[27], [44]], [[27], [44], [51]], [[27], [44]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_refunds.db"], "gold_random": [[[27], [44]], [[27], [44], [51]], [[27], [44]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|gold|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "gold"}, "question": "List the IDs of customers from Jaipur whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_cancelled_orders.db"], "cf_edits": ["later_tier", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[6], [50], [31]], [[6]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Jaipur_x_x/cf_split_items.db"], "gold_random": [[[6]], [[6], [51]], [[6]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": false}, "mutant_catchable": {"any_row": false}} {"id": "F4_current_tier_list|Kochi|bronze|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "bronze"}, "question": "List the IDs of customers from Kochi whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [11], [39], [46], [47]], [[7], [11], [39], [46], [47], [52]], [[7], [11], [39], [46], [47]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_superseded_tier.db"], "gold_random": [[[7], [11], [39], [46], [47]], [[7], [11], [39], [47]], [[7], [11], [39], [46], [47]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|silver|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "silver"}, "question": "List the IDs of customers from Kochi whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[14]], [[4]], [[14]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_split_items.db"], "gold_random": [[[14]], [[14], [51]], [[14]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|gold|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "gold"}, "question": "List the IDs of customers from Kochi whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_dup_order.db"], "cf_edits": ["later_tier", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [9], [19]], [[19], [14], [11]], [[4], [9], [19]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Kochi_x_x/cf_adjustments.db"], "gold_random": [[[4], [9], [19]], [[4], [9], [19], [52]], [[4], [9], [19]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Indore|bronze|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "bronze"}, "question": "List the IDs of customers from Indore whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Indore_x_x/cf_adjustments.db"], "cf_edits": ["zero_order_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [32], [33], [38]], [[15], [32], [33], [38], [51], [52]], [[15], [32], [33], [38]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Indore_x_x/cf_split_payments.db"], "gold_random": [[[15], [32], [33], [38]], [[15], [33], [24]], [[15], [32], [33], [38]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Indore|silver|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "silver"}, "question": "List the IDs of customers from Indore whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Indore_x_x/cf_cancelled_orders.db"], "cf_edits": ["later_tier", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [23]], [[12], [32], [38]], [[12], [23]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Indore_x_x/cf_drop_customers.db"], "gold_random": [[[12], [23]], [[12], [32], [38]], [[12], [23]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Indore|gold|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "gold"}, "question": "List the IDs of customers from Indore whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Indore_x_x/cf_adjustments.db"], "cf_edits": ["later_tier", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[24]], [[23]], [[24]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Indore_x_x/cf_new_customers.db"], "gold_random": [[[24]], [[23]], [[24]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Surat|bronze|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "bronze"}, "question": "List the IDs of customers from Surat whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Surat_x_x/cf_split_items.db"], "cf_edits": ["later_tier", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[21], [25]], [[21]], [[21], [25]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_zero_order_customers.db", "audit/dbs/S_s301/f_Surat_x_x/cf_superseded_tier.db"], "gold_random": [[[21], [25]], [[21], [25], [51], [52]], [[21], [25]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Surat|silver|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "silver"}, "question": "List the IDs of customers from Surat whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Surat_x_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[42]], [[25], [45]], [[42]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Surat_x_x/cf_drop_customers.db"], "gold_random": [[[42]], [[25], [45]], [[42]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Surat|gold|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "gold"}, "question": "List the IDs of customers from Surat whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Surat_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[22], [37], [45]], [[22], [37], [45], [51], [52]], [[22], [37], [45]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Surat_x_x/cf_split_items.db"], "gold_random": [[[22], [37], [45]], [[22], [37]], [[22], [37], [45]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|bronze|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "bronze"}, "question": "List the IDs of customers from Nagpur whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_new_customers.db"], "cf_edits": ["later_tier", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[17], [48]], [], [[17], [48]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_cancelled_orders.db"], "gold_random": [[[17], [48]], [], [[17], [48]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|silver|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "silver"}, "question": "List the IDs of customers from Nagpur whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [43]], [[1], [43], [36]], [[1], [43]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_split_items.db"], "gold_random": [[[1], [43]], [[1], [43], [36]], [[1], [43]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|gold|S_s301", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "gold"}, "question": "List the IDs of customers from Nagpur whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[16], [36]], [[16], [36], [52]], [[16], [36]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s301/f_Nagpur_x_x/cf_cancelled_orders.db"], "gold_random": [[[16], [36]], [[16], [17], [48]], [[16], [36]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_net_invoice|Delhi|2024|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[69280]], [[81387]], [[69280]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_superseded_tier.db"], "gold_random": [[[69280]], [[81387]], [[69280]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Delhi|2025|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[41508]], [[74148]], [[41508]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_split_items.db"], "gold_random": [[[41508]], [[55627]], [[41508]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Mumbai|2024|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_adjustments.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[64703]], [[65164]], [[64703]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_split_payments.db"], "gold_random": [[[64703]], [[103552]], [[64703]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Mumbai|2025|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[80504]], [[72294]], [[80504]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_refunds.db"], "gold_random": [[[80504]], [[151025]], [[80504]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Pune|2024|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1300]], [[13260]], [[1300]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_split_items.db"], "gold_random": [[[1300]], [[13260]], [[1300]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Pune|2025|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[4910]], [[19779]], [[4910]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_adjustments.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_dup_order.db"], "gold_random": [[[4910]], [[5083]], [[4910]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Jaipur|2024|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_adjustments.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_superseded_tier.db"], "cf_edits": ["adjustments", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[56116]], [[56597]], [[56116]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_adjustments.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_refunds.db"], "gold_random": [[[56116]], [[56597]], [[56116]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Jaipur|2025|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_adjustments.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[57628]], [[57747]], [[57628]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_new_customers.db"], "gold_random": [[[57628]], [[49168]], [[57628]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Kochi|2024|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_adjustments.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[26220]], [[26383]], [[26220]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_adjustments.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_zero_order_customers.db"], "gold_random": [[[26220]], [[26383]], [[26220]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Kochi|2025|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[86601]], [[56246]], [[86601]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_adjustments.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_later_tier.db"], "gold_random": [[[86601]], [[87036]], [[86601]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Indore|2024|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_adjustments.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_split_items.db"], "cf_edits": ["adjustments", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[20234]], [[20250]], [[20234]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_refunds.db"], "gold_random": [[[20234]], [[13254]], [[20234]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Indore|2025|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_adjustments.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_drop_customers.db"], "cf_edits": ["adjustments", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[48616]], [[48837]], [[48616]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_superseded_tier.db"], "gold_random": [[[48616]], [[63266]], [[48616]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Surat|2024|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_adjustments.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[32254]], [[32541]], [[32254]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_zero_order_customers.db"], "gold_random": [[[32254]], [[59120]], [[32254]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Surat|2025|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_adjustments.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_split_items.db"], "cf_edits": ["adjustments", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[29453]], [[29639]], [[29453]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_adjustments.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_new_customers.db"], "gold_random": [[[29453]], [[29639]], [[29453]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Nagpur|2024|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_adjustments.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[18190]], [[18339]], [[18190]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_zero_order_customers.db"], "gold_random": [[[18190]], [[8470]], [[18190]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Nagpur|2025|S_s301", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_adjustments.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_superseded_tier.db"], "cf_edits": ["adjustments", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[44718]], [[45247]], [[44718]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_refunds.db"], "gold_random": [[[44718]], [[37818]], [[44718]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_revenue_by_current_tier|Delhi|2024|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Delhi in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_later_tier.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["later_tier", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 15430], ["silver", 69566]], [["bronze", 47320], ["silver", 37676]], [["bronze", 15430], ["silver", 69566]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Delhi_2024_x/cf_zero_order_customers.db"], "gold_random": [[["bronze", 15430], ["silver", 69566]], [["silver", 53850]], [["bronze", 15430], ["silver", 69566]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Delhi|2025|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Delhi in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 16530], ["silver", 25467]], [["gold", 16530], ["silver", 58107]], [["gold", 16530], ["silver", 25467]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Delhi_2025_x/cf_split_payments.db"], "gold_random": [[["gold", 16530], ["silver", 25467]], [["bronze", 9820], ["gold", 16530], ["silver", 39586]], [["gold", 16530], ["silver", 25467]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Mumbai|2024|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Mumbai in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 46323], ["silver", 18380]], [["bronze", 80342], ["silver", 44107]], [["bronze", 46323], ["silver", 18380]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Mumbai_2024_x/cf_later_tier.db"], "gold_random": [[["bronze", 46323], ["silver", 18380]], [["bronze", 80342], ["silver", 44107]], [["bronze", 46323], ["silver", 18380]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": true}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Mumbai|2025|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Mumbai in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_later_tier.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_adjustments.db"], "cf_edits": ["later_tier", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 59915], ["silver", 48871]], [["bronze", 86101], ["silver", 22685]], [["bronze", 59915], ["silver", 48871]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Mumbai_2025_x/cf_split_items.db"], "gold_random": [[["bronze", 59915], ["silver", 48871]], [["bronze", 37230], ["silver", 48871]], [["bronze", 59915], ["silver", 48871]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": true}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Pune|2024|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Pune in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_later_tier.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_adjustments.db"], "cf_edits": ["later_tier", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 1300]], [["gold", 1300]], [["bronze", 1300]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Pune_2024_x/cf_cancelled_orders.db"], "gold_random": [[["bronze", 1300]], [["bronze", 10310]], [["bronze", 1300]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": true}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Pune|2025|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Pune in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 50508]], [["bronze", 54678], ["gold", 14436]], [["bronze", 50508]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Pune_2025_x/cf_zero_order_customers.db"], "gold_random": [[["bronze", 50508]], [], [["bronze", 50508]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": true}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Jaipur|2024|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Jaipur in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 36556], ["gold", 28998], ["silver", 20016]], [["bronze", 70382], ["gold", 28998], ["silver", 54134]], [["bronze", 36556], ["gold", 28998], ["silver", 20016]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Jaipur_2024_x/cf_refunds.db"], "gold_random": [[["bronze", 36556], ["gold", 28998], ["silver", 20016]], [["bronze", 70382], ["gold", 28998], ["silver", 54134]], [["bronze", 36556], ["gold", 28998], ["silver", 20016]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Jaipur|2025|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Jaipur in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 65968], ["silver", 46796]], [["bronze", 57508], ["silver", 16080]], [["bronze", 65968], ["silver", 46796]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Jaipur_2025_x/cf_new_customers.db"], "gold_random": [[["bronze", 65968], ["silver", 46796]], [["bronze", 57508], ["silver", 16080]], [["bronze", 65968], ["silver", 46796]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Kochi|2024|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Kochi in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_later_tier.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 5760], ["gold", 20460]], [["bronze", 5760], ["silver", 20460]], [["bronze", 5760], ["gold", 20460]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s301/f_Kochi_2024_x/cf_adjustments.db"], "gold_random": [[["bronze", 5760], ["gold", 20460]], [["bronze", 8491], ["gold", 26895], ["silver", 8420]], [["bronze", 5760], ["gold", 20460]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Kochi|2025|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Kochi in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 53346], ["gold", 48278], ["silver", 16094]], [["bronze", 78890], ["gold", 52648], ["silver", 16094]], [["bronze", 53346], ["gold", 48278], ["silver", 16094]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_later_tier.db", "audit/dbs/S_s301/f_Kochi_2025_x/cf_zero_order_customers.db"], "gold_random": [[["bronze", 53346], ["gold", 48278], ["silver", 16094]], [["bronze", 39574], ["gold", 55914], ["silver", 22230]], [["bronze", 53346], ["gold", 48278], ["silver", 16094]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Indore|2024|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Indore in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_dup_order.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 16800], ["gold", 16630], ["silver", 13940]], [["bronze", 59004], ["gold", 22444], ["silver", 13940]], [["bronze", 16800], ["gold", 16630], ["silver", 13940]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_later_tier.db", "audit/dbs/S_s301/f_Indore_2024_x/cf_split_payments.db"], "gold_random": [[["bronze", 16800], ["gold", 16630], ["silver", 13940]], [["bronze", 6980], ["gold", 16630], ["silver", 23760]], [["bronze", 16800], ["gold", 16630], ["silver", 13940]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Indore|2025|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Indore in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 45850], ["gold", 16106], ["silver", 23970]], [["bronze", 57830], ["gold", 16106], ["silver", 32770]], [["bronze", 45850], ["gold", 16106], ["silver", 23970]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s301/f_Indore_2025_x/cf_zero_order_customers.db"], "gold_random": [[["bronze", 45850], ["gold", 16106], ["silver", 23970]], [["bronze", 60500], ["gold", 53701], ["silver", 23970]], [["bronze", 45850], ["gold", 16106], ["silver", 23970]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Surat|2024|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Surat in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_later_tier.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 1170], ["gold", 20174], ["silver", 12080]], [["bronze", 1170], ["silver", 32254]], [["bronze", 1170], ["gold", 20174], ["silver", 12080]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_later_tier.db", "audit/dbs/S_s301/f_Surat_2024_x/cf_split_payments.db"], "gold_random": [[["bronze", 1170], ["gold", 20174], ["silver", 12080]], [["bronze", 1170], ["silver", 32254]], [["bronze", 1170], ["gold", 20174], ["silver", 12080]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Surat|2025|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Surat in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 11898], ["gold", 34195]], [["bronze", 18252], ["gold", 39105]], [["bronze", 11898], ["gold", 34195]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s301/f_Surat_2025_x/cf_split_payments.db"], "gold_random": [[["bronze", 11898], ["gold", 34195]], [["bronze", 18252], ["gold", 39105]], [["bronze", 11898], ["gold", 34195]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Nagpur|2024|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Nagpur in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_later_tier.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_adjustments.db"], "cf_edits": ["later_tier", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 15340], ["gold", 8470], ["silver", 16920]], [["bronze", 20089], ["silver", 20641]], [["bronze", 15340], ["gold", 8470], ["silver", 16920]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_2024_x/cf_zero_order_customers.db"], "gold_random": [[["bronze", 15340], ["gold", 8470], ["silver", 16920]], [["bronze", 15340], ["gold", 8470]], [["bronze", 15340], ["gold", 8470], ["silver", 16920]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Nagpur|2025|S_s301", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Nagpur in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 33252], ["gold", 6770], ["silver", 31708]], [["gold", 6770], ["silver", 31708]], [["bronze", 33252], ["gold", 6770], ["silver", 31708]]], "dbs_random": ["audit/dbs/S_s301/base.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_later_tier.db", "audit/dbs/S_s301/f_Nagpur_2025_x/cf_split_items.db"], "gold_random": [[["bronze", 33252], ["gold", 6770], ["silver", 31708]], [["bronze", 34090], ["gold", 37640]], [["bronze", 33252], ["gold", 6770], ["silver", 31708]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F1_ordered_customers|Delhi|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[9]], [[6]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_later_tier.db"], "gold_random": [[[6]], [[9]], [[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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[9]], [[7]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_zero_order_customers.db"], "gold_random": [[[7]], [[6]], [[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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_x_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_x_x/cf_zero_order_customers.db"], "gold_random": [[[2]], [[4]], [[2]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[2]], [[4]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_split_payments.db"], "gold_random": [[[4]], [[2]], [[4]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[3]], [[5]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_split_payments.db"], "gold_random": [[[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": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Indore|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_x_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_x_x/cf_split_payments.db"], "gold_random": [[[5]], [[4]], [[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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_x_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Surat_x_x/cf_split_items.db"], "gold_random": [[[3]], [[2]], [[3]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[8]], [[6]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_cancelled_orders.db"], "gold_random": [[[6]], [[8]], [[6]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_cancelled_orders.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_adjustments.db"], "cf_edits": ["cancelled_orders", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[8]], [[7]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_refunds.db"], "gold_random": [[[7]], [[8]], [[7]]], "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_products_sold|apparel|2025|S_s302", "template": "F1_products_sold", "family": "F1", "split": "train", "params": {"category": "apparel", "year": 2025}, "question": "In 2025, 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[7]], [[8]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_cancelled_orders.db"], "gold_random": [[[8]], [[7]], [[8]]], "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 '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 = 'apparel' 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 = 'apparel' 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|electronics|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_electronics/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Delhi_x_electronics/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[34]], [[34], [42], [15]], [[34]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_electronics/cf_dup_order.db", "audit/dbs/S_s302/f_Delhi_x_electronics/cf_zero_order_customers.db"], "gold_random": [[[34]], [[34], [27], [42]], [[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 = '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_grocery/cf_new_customers.db", "audit/dbs/S_s302/f_Delhi_x_grocery/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[15]], [[15], [51], [52], [53]], [[15]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Delhi_x_grocery/cf_split_payments.db"], "gold_random": [[[15]], [[15], [42], [20]], [[15]]], "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|toys|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_toys/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Delhi_x_toys/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [20], [27], [42]], [[15], [20], [27], [42], [34]], [[15], [20], [27], [42]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_toys/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Delhi_x_toys/cf_superseded_tier.db"], "gold_random": [[[15], [20], [27], [42]], [[15], [20], [27], [42], [34]], [[15], [20], [27], [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 = '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_apparel/cf_drop_customers.db", "audit/dbs/S_s302/f_Delhi_x_apparel/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [19], [20], [34]], [[15], [19], [20]], [[15], [19], [20], [34]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_Delhi_x_apparel/cf_refunds.db"], "gold_random": [[[15], [19], [20], [34]], [[15], [19], [20], [34], [51], [52], [53]], [[15], [19], [20], [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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_home/cf_dup_order.db", "audit/dbs/S_s302/f_Delhi_x_home/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [27], [34], [42]], [[15], [27], [34], [42], [19]], [[15], [27], [34], [42]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_home/cf_dup_order.db", "audit/dbs/S_s302/f_Delhi_x_home/cf_later_tier.db"], "gold_random": [[[15], [27], [34], [42]], [[15], [27], [34], [42], [19]], [[15], [27], [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 = '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_books/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_x_books/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [48]], [[18], [48], [51], [52]], [[18], [48]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_books/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Mumbai_x_books/cf_zero_order_customers.db"], "gold_random": [[[18], [48]], [[18], [48], [9], [44]], [[18], [48]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_electronics/cf_drop_customers.db", "audit/dbs/S_s302/f_Mumbai_x_electronics/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [18], [44]], [[10], [18]], [[10], [18], [44]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_electronics/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_x_electronics/cf_superseded_tier.db"], "gold_random": [[[10], [18], [44]], [[10], [18], [44], [51], [52]], [[10], [18], [44]]], "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|toys|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_toys/cf_drop_customers.db", "audit/dbs/S_s302/f_Mumbai_x_toys/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [9], [10], [18], [28], [48]], [[8], [9], [18], [28], [48]], [[8], [9], [10], [18], [28], [48]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_toys/cf_dup_order.db", "audit/dbs/S_s302/f_Mumbai_x_toys/cf_adjustments.db"], "gold_random": [[[8], [9], [10], [18], [28], [48]], [[8], [9], [10], [18], [28], [48], [44]], [[8], [9], [10], [18], [28], [48]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_apparel/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Mumbai_x_apparel/cf_superseded_tier.db"], "cf_edits": ["cancelled_orders", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [18], [28], [44], [48]], [[10], [18], [28], [44], [48], [8]], [[10], [18], [28], [44], [48]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_x_apparel/cf_split_items.db"], "gold_random": [[[10], [18], [28], [44], [48]], [[10], [18], [28], [44], [48], [51], [52]], [[10], [18], [28], [44], [48]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_home/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Mumbai_x_home/cf_refunds.db"], "cf_edits": ["cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [9], [10], [18], [48]], [[8], [9], [10], [18], [48], [44]], [[8], [9], [10], [18], [48]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_home/cf_drop_customers.db", "audit/dbs/S_s302/f_Mumbai_x_home/cf_superseded_tier.db"], "gold_random": [[[8], [9], [10], [18], [48]], [[9], [10], [18], [48]], [[8], [9], [10], [18], [48]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|grocery|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_grocery/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_x_grocery/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[33]], [[33], [51], [52]], [[33]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_grocery/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_x_grocery/cf_split_items.db"], "gold_random": [[[33]], [[33], [51], [52]], [[33]]], "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_s302", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "toys"}, "question": "Which customers (by customer_id) based in Pune 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 = 'Pune' AND p.category = 'toys'", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_toys/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_x_toys/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[24], [33]], [[24], [33], [51], [52]], [[24], [33]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_toys/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_x_toys/cf_superseded_tier.db"], "gold_random": [[[24], [33]], [[24], [33], [51], [52]], [[24], [33]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_x_apparel/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[24], [33]], [[24], [33], [51], [52]], [[24], [33]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_x_apparel/cf_split_payments.db"], "gold_random": [[[24], [33]], [[24], [33], [51], [52]], [[24], [33]]], "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|Jaipur|books|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_books/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_x_books/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[47]], [[47], [51], [52]], [[47]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_books/cf_drop_customers.db", "audit/dbs/S_s302/f_Jaipur_x_books/cf_later_tier.db"], "gold_random": [[[47]], [], [[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 = '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_electronics/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_x_electronics/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[26]], [[26], [51], [52]], [[26]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_electronics/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_x_electronics/cf_refunds.db"], "gold_random": [[[26]], [[26], [12], [41]], [[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 = '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_grocery/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_x_grocery/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[26]], [[26], [51], [52]], [[26]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Jaipur_x_grocery/cf_adjustments.db"], "gold_random": [[[26]], [[26], [41], [12]], [[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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|toys|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_toys/cf_drop_customers.db", "audit/dbs/S_s302/f_Jaipur_x_toys/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [26], [41]], [[12], [41]], [[12], [26], [41]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_toys/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_x_toys/cf_split_payments.db"], "gold_random": [[[12], [26], [41]], [[12], [26], [41], [47]], [[12], [26], [41]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_x_apparel/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [26], [41]], [[12], [26], [41], [51], [52]], [[12], [26], [41]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_x_apparel/cf_zero_order_customers.db"], "gold_random": [[[12], [26], [41]], [[12], [26], [41], [51], [52]], [[12], [26], [41]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_home/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_x_home/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [26], [41], [47]], [[12], [26], [41], [47], [51], [52]], [[12], [26], [41], [47]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_home/cf_drop_customers.db", "audit/dbs/S_s302/f_Jaipur_x_home/cf_superseded_tier.db"], "gold_random": [[[12], [26], [41], [47]], [[12], [26]], [[12], [26], [41], [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 = '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_books/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_x_books/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [39], [49]], [[2], [39], [49], [51], [52]], [[2], [39], [49]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_books/cf_drop_customers.db", "audit/dbs/S_s302/f_Kochi_x_books/cf_dup_order.db"], "gold_random": [[[2], [39], [49]], [[2], [39]], [[2], [39], [49]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_electronics/cf_dup_order.db", "audit/dbs/S_s302/f_Kochi_x_electronics/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[49]], [[49], [2]], [[49]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_electronics/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_x_electronics/cf_split_payments.db"], "gold_random": [[[49]], [[49], [51], [52]], [[49]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_grocery/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_x_grocery/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[39], [49]], [[39], [49], [51], [52]], [[39], [49]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_grocery/cf_dup_order.db", "audit/dbs/S_s302/f_Kochi_x_grocery/cf_adjustments.db"], "gold_random": [[[39], [49]], [[39], [49], [2]], [[39], [49]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_toys/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_x_toys/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [4], [5], [39], [49]], [[2], [4], [5], [39], [49], [51], [52]], [[2], [4], [5], [39], [49]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_toys/cf_drop_customers.db", "audit/dbs/S_s302/f_Kochi_x_toys/cf_refunds.db"], "gold_random": [[[2], [4], [5], [39], [49]], [[2], [5], [39], [49]], [[2], [4], [5], [39], [49]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_apparel/cf_drop_customers.db", "audit/dbs/S_s302/f_Kochi_x_apparel/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [4], [5], [39]], [[2], [5], [39]], [[2], [4], [5], [39]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_x_apparel/cf_refunds.db"], "gold_random": [[[2], [4], [5], [39]], [[2], [4], [5], [39], [51], [52]], [[2], [4], [5], [39]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_home/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_x_home/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[4], [51], [52]], [[4]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_home/cf_dup_order.db", "audit/dbs/S_s302/f_Kochi_x_home/cf_split_payments.db"], "gold_random": [[[4]], [[4], [39]], [[4]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_books/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_x_books/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[7], [51], [52]], [[7]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_books/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_x_books/cf_split_items.db"], "gold_random": [[[7]], [[7], [51], [52]], [[7]]], "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|grocery|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Indore_x_grocery/cf_refunds.db"], "cf_edits": ["cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[30], [32], [37]], [[30], [32], [37], [7]], [[30], [32], [37]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Indore_x_grocery/cf_zero_order_customers.db"], "gold_random": [[[30], [32], [37]], [[30], [32], [37], [7]], [[30], [32], [37]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_toys/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_x_toys/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [30], [32], [37]], [[7], [30], [32], [37], [51], [52]], [[7], [30], [32], [37]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_toys/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_x_toys/cf_zero_order_customers.db"], "gold_random": [[[7], [30], [32], [37]], [[7], [30], [32], [37], [51], [52]], [[7], [30], [32], [37]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_apparel/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_x_apparel/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [30], [32], [35], [37]], [[7], [32], [37]], [[7], [30], [32], [35], [37]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_x_apparel/cf_zero_order_customers.db"], "gold_random": [[[7], [30], [32], [35], [37]], [[7], [30], [32], [35], [37], [51], [52]], [[7], [30], [32], [35], [37]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_home/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_x_home/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [30], [32], [35]], [[7], [32], [35]], [[7], [30], [32], [35]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_home/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_x_home/cf_superseded_tier.db"], "gold_random": [[[7], [30], [32], [35]], [[7], [30], [32], [35], [51], [52]], [[7], [30], [32], [35]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_books/cf_dup_order.db", "audit/dbs/S_s302/f_Surat_x_books/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[21]], [[21], [43]], [[21]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_books/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Surat_x_books/cf_split_payments.db"], "gold_random": [[[21]], [[21], [43]], [[21]]], "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|toys|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_toys/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Surat_x_toys/cf_split_payments.db"], "cf_edits": ["cancelled_orders", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[14]], [[14], [43], [21]], [[14]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_toys/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_x_toys/cf_zero_order_customers.db"], "gold_random": [[[14]], [[14], [51], [52]], [[14]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_x_apparel/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[14], [21], [43]], [[14], [21], [43], [51], [52]], [[14], [21], [43]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_x_apparel/cf_dup_order.db"], "gold_random": [[[14], [21], [43]], [[14], [21], [43], [51], [52]], [[14], [21], [43]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_home/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Surat_x_home/cf_drop_customers.db"], "cf_edits": ["cancelled_orders", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[43]], [[43], [14]], [[43]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_home/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_x_home/cf_split_items.db"], "gold_random": [[[43]], [[43], [51], [52]], [[43]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_books/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_x_books/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[29]], [[29], [36], [25]], [[29]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_books/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Nagpur_x_books/cf_later_tier.db"], "gold_random": [[[29]], [[29], [40], [25]], [[29]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_electronics/cf_new_customers.db", "audit/dbs/S_s302/f_Nagpur_x_electronics/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[36]], [[36], [51], [52]], [[36]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_electronics/cf_drop_customers.db", "audit/dbs/S_s302/f_Nagpur_x_electronics/cf_superseded_tier.db"], "gold_random": [[[36]], [], [[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": true}, "mutant_caught": {"no_distinct": false}, "mutant_catchable": {"no_distinct": false}} {"id": "F1_customer_list|Nagpur|grocery|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Nagpur_x_grocery/cf_refunds.db"], "cf_edits": ["cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[25], [29]], [[25], [29], [40], [31]], [[25], [29]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Nagpur_x_grocery/cf_later_tier.db"], "gold_random": [[[25], [29]], [[25], [29], [40], [31]], [[25], [29]]], "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_s302", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "toys"}, "question": "Which customers (by customer_id) based in Nagpur 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 = 'Nagpur' AND p.category = 'toys'", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_toys/cf_new_customers.db", "audit/dbs/S_s302/f_Nagpur_x_toys/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[25], [36], [40]], [[25], [36], [40], [51], [52]], [[25], [36], [40]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_toys/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Nagpur_x_toys/cf_later_tier.db"], "gold_random": [[[25], [36], [40]], [[25], [36], [40], [29], [31]], [[25], [36], [40]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_apparel/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Nagpur_x_apparel/cf_superseded_tier.db"], "cf_edits": ["cancelled_orders", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [31], [36]], [[11], [31], [36], [40], [29], [25]], [[11], [31], [36]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_Nagpur_x_apparel/cf_split_items.db"], "gold_random": [[[11], [31], [36]], [[11], [31], [36], [51], [52]], [[11], [31], [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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_home/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_x_home/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[25], [29], [36], [40]], [[25], [29], [36], [40], [31]], [[25], [29], [36], [40]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_home/cf_cancelled_orders.db", "audit/dbs/S_s302/f_Nagpur_x_home/cf_split_items.db"], "gold_random": [[[25], [29], [36], [40]], [[25], [29], [36], [40], [31]], [[25], [29], [36], [40]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[9]], [[6]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_cancelled_orders.db"], "gold_random": [[[6]], [[9]], [[6]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_split_items.db"], "gold_random": [[[3]], [[4]], [[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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_drop_customers.db"], "gold_random": [[[5]], [[7]], [[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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_superseded_tier.db"], "gold_random": [[[1]], [[2]], [[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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_dup_order.db"], "gold_random": [[[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 '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_split_items.db"], "gold_random": [[[2]], [[3]], [[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": 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_new_customers.db"], "gold_random": [[[2]], [[3]], [[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": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Kochi|2024|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_superseded_tier.db"], "gold_random": [[[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": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Kochi|2025|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_split_items.db"], "gold_random": [[[3]], [[2]], [[3]]], "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": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_paying_customers|Indore|2024|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_zero_order_customers.db"], "gold_random": [[[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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_split_payments.db"], "gold_random": [[[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": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Surat|2024|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_split_payments.db"], "gold_random": [[[1]], [[2]], [[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": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Nagpur|2024|S_s302", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "How many distinct customers from Nagpur 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 = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[2]], [[4]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_cancelled_orders.db"], "gold_random": [[[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 '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_zero_order_customers.db"], "gold_random": [[[3]], [[4]], [[3]]], "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": "F1_category_buyers|books|2024|S_s302", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "books", "year": 2024}, "question": "How many distinct customers bought a books product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_books/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_books/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[22]], [[6]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_books/cf_dup_order.db", "audit/dbs/S_s302/f_x_2024_books/cf_adjustments.db"], "gold_random": [[[6]], [[22]], [[6]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_category_buyers|books|2025|S_s302", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "books", "year": 2025}, "question": "How many distinct customers bought a books product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_books/cf_cancelled_orders.db", "audit/dbs/S_s302/f_x_2025_books/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[21]], [[4]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_books/cf_new_customers.db", "audit/dbs/S_s302/f_x_2025_books/cf_adjustments.db"], "gold_random": [[[4]], [[20]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'books' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|electronics|2024|S_s302", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "electronics", "year": 2024}, "question": "How many distinct customers bought a electronics product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_electronics/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_electronics/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[18]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_electronics/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_electronics/cf_adjustments.db"], "gold_random": [[[2]], [[18]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_category_buyers|electronics|2025|S_s302", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "electronics", "year": 2025}, "question": "How many distinct customers bought a electronics product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_electronics/cf_new_customers.db", "audit/dbs/S_s302/f_x_2025_electronics/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[22]], [[6]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_electronics/cf_dup_order.db", "audit/dbs/S_s302/f_x_2025_electronics/cf_drop_customers.db"], "gold_random": [[[6]], [[23]], [[6]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'electronics' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|grocery|2024|S_s302", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "grocery", "year": 2024}, "question": "How many distinct customers bought a grocery product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_grocery/cf_dup_order.db", "audit/dbs/S_s302/f_x_2024_grocery/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[21]], [[5]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_grocery/cf_dup_order.db", "audit/dbs/S_s302/f_x_2024_grocery/cf_later_tier.db"], "gold_random": [[[5]], [[21]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'grocery' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|grocery|2025|S_s302", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "grocery", "year": 2025}, "question": "How many distinct customers bought a grocery product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_grocery/cf_cancelled_orders.db", "audit/dbs/S_s302/f_x_2025_grocery/cf_superseded_tier.db"], "cf_edits": ["cancelled_orders", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[21]], [[5]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_grocery/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2025_grocery/cf_adjustments.db"], "gold_random": [[[5]], [[4]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_category_buyers|toys|2024|S_s302", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "toys", "year": 2024}, "question": "How many distinct customers bought a toys product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_toys/cf_dup_order.db", "audit/dbs/S_s302/f_x_2024_toys/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[23]], [[10]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_toys/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_toys/cf_adjustments.db"], "gold_random": [[[10]], [[26]], [[10]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|toys|2025|S_s302", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "toys", "year": 2025}, "question": "How many distinct customers bought a toys product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_toys/cf_cancelled_orders.db", "audit/dbs/S_s302/f_x_2025_toys/cf_refunds.db"], "cf_edits": ["cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[19]], [[27]], [[19]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_toys/cf_cancelled_orders.db", "audit/dbs/S_s302/f_x_2025_toys/cf_superseded_tier.db"], "gold_random": [[[19]], [[27]], [[19]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'toys' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|apparel|2024|S_s302", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "apparel", "year": 2024}, "question": "How many distinct customers bought a apparel product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_cancelled_orders.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_adjustments.db"], "cf_edits": ["cancelled_orders", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[13]], [[27]], [[13]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_zero_order_customers.db"], "gold_random": [[[13]], [[29]], [[13]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|apparel|2025|S_s302", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "apparel", "year": 2025}, "question": "How many distinct customers bought a apparel product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_dup_order.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[21]], [[28]], [[21]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_refunds.db"], "gold_random": [[[21]], [[37]], [[21]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'apparel' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|home|2024|S_s302", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "home", "year": 2024}, "question": "How many distinct customers bought a home product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_home/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_home/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[23]], [[7]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_home/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2024_home/cf_zero_order_customers.db"], "gold_random": [[[7]], [[5]], [[7]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'home' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|home|2025|S_s302", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "home", "year": 2025}, "question": "How many distinct customers bought a home product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_home/cf_cancelled_orders.db", "audit/dbs/S_s302/f_x_2025_home/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[16]], [[27]], [[16]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_home/cf_cancelled_orders.db", "audit/dbs/S_s302/f_x_2025_home/cf_adjustments.db"], "gold_random": [[[16]], [[27]], [[16]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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": "F2_paid_for_category|books|2024|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_books/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2024_books/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[24284]], [[13676]], [[24284]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_books/cf_adjustments.db", "audit/dbs/S_s302/f_x_2024_books/cf_split_payments.db"], "gold_random": [[[24284]], [[24468]], [[24284]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_books/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2025_books/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[17689]], [[3960]], [[17689]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_books/cf_new_customers.db", "audit/dbs/S_s302/f_x_2025_books/cf_refunds.db"], "gold_random": [[[17689]], [[88243]], [[17689]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_electronics/cf_dup_order.db", "audit/dbs/S_s302/f_x_2024_electronics/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[16113]], [[122210]], [[16113]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_electronics/cf_dup_order.db", "audit/dbs/S_s302/f_x_2024_electronics/cf_split_items.db"], "gold_random": [[[16113]], [[122210]], [[16113]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_electronics/cf_new_customers.db", "audit/dbs/S_s302/f_x_2025_electronics/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[27003]], [[177514]], [[27003]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_electronics/cf_new_customers.db", "audit/dbs/S_s302/f_x_2025_electronics/cf_refunds.db"], "gold_random": [[[27003]], [[177514]], [[27003]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_grocery/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_grocery/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[42213]], [[270350]], [[42213]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_grocery/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2024_grocery/cf_split_payments.db"], "gold_random": [[[42213]], [[11146]], [[42213]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_grocery/cf_adjustments.db", "audit/dbs/S_s302/f_x_2025_grocery/cf_zero_order_customers.db"], "cf_edits": ["adjustments", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[33169]], [[33567]], [[33169]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_grocery/cf_new_customers.db", "audit/dbs/S_s302/f_x_2025_grocery/cf_zero_order_customers.db"], "gold_random": [[[33169]], [[244517]], [[33169]]], "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": false}, "mutant_catchable": {"join_fanout": false}} {"id": "F2_paid_for_category|toys|2024|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_toys/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_toys/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[76093]], [[253732]], [[76093]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_toys/cf_dup_order.db", "audit/dbs/S_s302/f_x_2024_toys/cf_refunds.db"], "gold_random": [[[76093]], [[141018]], [[76093]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_toys/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2025_toys/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[170817]], [[113514]], [[170817]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_toys/cf_adjustments.db", "audit/dbs/S_s302/f_x_2025_toys/cf_superseded_tier.db"], "gold_random": [[[170817]], [[172252]], [[170817]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_dup_order.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[85862]], [[176507]], [[85862]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_dup_order.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_refunds.db"], "gold_random": [[[85862]], [[176507]], [[85862]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_adjustments.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_cancelled_orders.db"], "cf_edits": ["adjustments", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[133132]], [[134513]], [[133132]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_dup_order.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_refunds.db"], "gold_random": [[[133132]], [[201365]], [[133132]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_home/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_home/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[67398]], [[272870]], [[67398]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_home/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2024_home/cf_zero_order_customers.db"], "gold_random": [[[67398]], [[45381]], [[67398]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_home/cf_new_customers.db", "audit/dbs/S_s302/f_x_2025_home/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[119764]], [[313445]], [[119764]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_home/cf_adjustments.db", "audit/dbs/S_s302/f_x_2025_home/cf_later_tier.db"], "gold_random": [[[119764]], [[120946]], [[119764]]], "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|2025|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[52664]], [[20563]], [[52664]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_later_tier.db"], "gold_random": [[[52664]], [[115510]], [[52664]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[32723]], [[59360]], [[32723]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_zero_order_customers.db"], "gold_random": [[[32723]], [[59360]], [[32723]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[68280]], [[80013]], [[68280]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_cancelled_orders.db"], "gold_random": [[[68280]], [[84710]], [[68280]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[13095]], [[24866]], [[13095]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_later_tier.db"], "gold_random": [[[13095]], [[24866]], [[13095]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[21180]], [[36056]], [[21180]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_split_items.db"], "gold_random": [[[21180]], [[36056]], [[21180]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[34623]], [[43037]], [[34623]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_adjustments.db"], "gold_random": [[[34623]], [[47253]], [[34623]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2025 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) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[23501]], [[31566]], [[23501]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_split_payments.db"], "gold_random": [[[23501]], [[31566]], [[23501]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[10682]], [[15072]], [[10682]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_zero_order_customers.db"], "gold_random": [[[10682]], [[33626]], [[10682]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[26709]], [[12980]], [[26709]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_refunds.db"], "gold_random": [[[26709]], [[63146]], [[26709]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[25463]], [[47231]], [[25463]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_later_tier.db"], "gold_random": [[[25463]], [[14317]], [[25463]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[27353]], [[31826]], [[27353]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_adjustments.db"], "gold_random": [[[27353]], [[31826]], [[27353]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5990]], [[34164]], [[5990]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_split_items.db"], "gold_random": [[[5990]], [[34164]], [[5990]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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|Nagpur|2024|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[33525]], [[35655]], [[33525]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_zero_order_customers.db"], "gold_random": [[[33525]], [[43105]], [[33525]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[31206]], [[15160]], [[31206]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_adjustments.db"], "gold_random": [[[31206]], [[15160]], [[31206]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "books"}, "question": "Add up all refunds issued on orders that include any books 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 = 'books')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_x_books/cf_new_customers.db", "audit/dbs/S_s302/f_x_x_books/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3311]], [[14670]], [[3311]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_x_books/cf_dup_order.db", "audit/dbs/S_s302/f_x_x_books/cf_split_items.db"], "gold_random": [[[3311]], [[14736]], [[3311]]], "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": false}, "mutant_catchable": {"join_fanout": false}} {"id": "F2_refunded_category|electronics|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_x_electronics/cf_new_customers.db", "audit/dbs/S_s302/f_x_x_electronics/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3456]], [[20593]], [[3456]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_x_electronics/cf_dup_order.db", "audit/dbs/S_s302/f_x_x_electronics/cf_refunds.db"], "gold_random": [[[3456]], [[6329]], [[3456]]], "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|toys|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_x_toys/cf_refunds.db", "audit/dbs/S_s302/f_x_x_toys/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[16040]], [[57296]], [[16040]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_x_toys/cf_refunds.db", "audit/dbs/S_s302/f_x_x_toys/cf_dup_order.db"], "gold_random": [[[16040]], [[57296]], [[16040]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_x_apparel/cf_refunds.db", "audit/dbs/S_s302/f_x_x_apparel/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[7290]], [[30806]], [[7290]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_x_apparel/cf_dup_order.db", "audit/dbs/S_s302/f_x_x_apparel/cf_zero_order_customers.db"], "gold_random": [[[7290]], [[27261]], [[7290]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_x_home/cf_refunds.db", "audit/dbs/S_s302/f_x_x_home/cf_zero_order_customers.db"], "cf_edits": ["refunds", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[7069]], [[48658]], [[7069]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_x_home/cf_refunds.db", "audit/dbs/S_s302/f_x_x_home/cf_zero_order_customers.db"], "gold_random": [[[7069]], [[48658]], [[7069]]], "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": "F2_units_paid|books|2024|S_s302", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "books", "year": 2024}, "question": "How many units of books products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_books/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_books/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[37]], [[8]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_books/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2024_books/cf_zero_order_customers.db"], "gold_random": [[[8]], [[4]], [[8]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'books' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|books|2025|S_s302", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "books", "year": 2025}, "question": "How many units of books products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_books/cf_dup_order.db", "audit/dbs/S_s302/f_x_2025_books/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[18]], [[4]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_books/cf_dup_order.db", "audit/dbs/S_s302/f_x_2025_books/cf_superseded_tier.db"], "gold_random": [[[4]], [[18]], [[4]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'books' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|electronics|2024|S_s302", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "electronics", "year": 2024}, "question": "How many units of electronics products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_electronics/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_electronics/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[31]], [[3]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_electronics/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_electronics/cf_adjustments.db"], "gold_random": [[[3]], [[31]], [[3]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'electronics' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|electronics|2025|S_s302", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "electronics", "year": 2025}, "question": "How many units of electronics products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_electronics/cf_new_customers.db", "audit/dbs/S_s302/f_x_2025_electronics/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[28]], [[3]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_electronics/cf_dup_order.db", "audit/dbs/S_s302/f_x_2025_electronics/cf_superseded_tier.db"], "gold_random": [[[3]], [[22]], [[3]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'electronics' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|grocery|2024|S_s302", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "grocery", "year": 2024}, "question": "How many units of grocery products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_grocery/cf_dup_order.db", "audit/dbs/S_s302/f_x_2024_grocery/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[13]], [[4]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_grocery/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_grocery/cf_split_payments.db"], "gold_random": [[[4]], [[34]], [[4]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'grocery' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|grocery|2025|S_s302", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "grocery", "year": 2025}, "question": "How many units of grocery products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_grocery/cf_new_customers.db", "audit/dbs/S_s302/f_x_2025_grocery/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[31]], [[4]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_grocery/cf_dup_order.db", "audit/dbs/S_s302/f_x_2025_grocery/cf_split_items.db"], "gold_random": [[[4]], [[16]], [[4]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'grocery' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|toys|2024|S_s302", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "toys", "year": 2024}, "question": "How many units of toys products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_toys/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_toys/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[41]], [[9]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_toys/cf_dup_order.db", "audit/dbs/S_s302/f_x_2024_toys/cf_superseded_tier.db"], "gold_random": [[[9]], [[28]], [[9]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'toys' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|toys|2025|S_s302", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "toys", "year": 2025}, "question": "How many units of toys products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_toys/cf_new_customers.db", "audit/dbs/S_s302/f_x_2025_toys/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[38]], [[66]], [[38]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_toys/cf_dup_order.db", "audit/dbs/S_s302/f_x_2025_toys/cf_zero_order_customers.db"], "gold_random": [[[38]], [[51]], [[38]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'toys' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|apparel|2024|S_s302", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "apparel", "year": 2024}, "question": "How many units of apparel products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[25]], [[20]], [[25]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_x_2024_apparel/cf_split_items.db"], "gold_random": [[[25]], [[54]], [[25]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'apparel' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|apparel|2025|S_s302", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "apparel", "year": 2025}, "question": "How many units of apparel products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[48]], [[21]], [[48]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_new_customers.db", "audit/dbs/S_s302/f_x_2025_apparel/cf_split_payments.db"], "gold_random": [[[48]], [[79]], [[48]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'apparel' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|home|2024|S_s302", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "home", "year": 2024}, "question": "How many units of home products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_home/cf_dup_order.db", "audit/dbs/S_s302/f_x_2024_home/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[12]], [[24]], [[12]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2024_home/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2024_home/cf_refunds.db"], "gold_random": [[[12]], [[8]], [[12]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'home' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|home|2025|S_s302", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "home", "year": 2025}, "question": "How many units of home products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_home/cf_drop_customers.db", "audit/dbs/S_s302/f_x_2025_home/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[29]], [[22]], [[29]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_x_2025_home/cf_dup_order.db", "audit/dbs/S_s302/f_x_2025_home/cf_refunds.db"], "gold_random": [[[29]], [[55]], [[29]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'home' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F3_gross_revenue|Delhi|2025|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[64714]], [[32613]], [[64714]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_adjustments.db"], "gold_random": [[[64714]], [[127560]], [[64714]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[34100]], [[83375]], [[34100]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_cancelled_orders.db"], "gold_random": [[[34100]], [[83375]], [[34100]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[84958]], [[96691]], [[84958]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_adjustments.db"], "gold_random": [[[84958]], [[96691]], [[84958]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[13095]], [[37934]], [[13095]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_drop_customers.db"], "gold_random": [[[13095]], [[37934]], [[13095]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[21180]], [[44635]], [[21180]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_later_tier.db"], "gold_random": [[[21180]], [[30880]], [[21180]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": 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|2024|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[34623]], [[46671]], [[34623]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_split_items.db"], "gold_random": [[[34623]], [[47253]], [[34623]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[23501]], [[29568]], [[23501]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_later_tier.db"], "gold_random": [[[23501]], [[31566]], [[23501]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": true}, "mutant_catchable": {"no_status_filter": true, "shipped_only": true}} {"id": "F3_gross_revenue|Kochi|2024|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[10682]], [[25072]], [[10682]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_cancelled_orders.db"], "gold_random": [[[10682]], [[33626]], [[10682]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[59419]], [[97010]], [[59419]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_adjustments.db"], "gold_random": [[[59419]], [[74734]], [[59419]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[25463]], [[47231]], [[25463]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_cancelled_orders.db"], "gold_random": [[[25463]], [[47231]], [[25463]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": true}, "mutant_caught": {"no_status_filter": true, "shipped_only": false}, "mutant_catchable": {"no_status_filter": true, "shipped_only": false}} {"id": "F3_gross_revenue|Indore|2025|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[62319]], [[17222]], [[62319]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_refunds.db"], "gold_random": [[[62319]], [[17222]], [[62319]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5990]], [[19630]], [[5990]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_zero_order_customers.db"], "gold_random": [[[5990]], [[19630]], [[5990]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[11172]], [[64027]], [[11172]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_zero_order_customers.db"], "gold_random": [[[11172]], [[64027]], [[11172]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[33525]], [[61855]], [[33525]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_superseded_tier.db"], "gold_random": [[[33525]], [[8755]], [[33525]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[38701]], [[74900]], [[38701]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_later_tier.db"], "gold_random": [[[38701]], [[74900]], [[38701]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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|2025|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[5]], [[8]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_split_payments.db"], "gold_random": [[[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 = '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[9]], [[5]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_refunds.db"], "gold_random": [[[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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[11]], [[7]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_cancelled_orders.db"], "gold_random": [[[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 = '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[6]], [[1]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_superseded_tier.db"], "gold_random": [[[1]], [[6]], [[1]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[6]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_split_items.db"], "gold_random": [[[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 = '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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Jaipur|2024|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[4]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_split_items.db"], "gold_random": [[[4]], [[5]], [[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": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Jaipur|2025|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_adjustments.db"], "gold_random": [[[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 = '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_zero_order_customers.db"], "gold_random": [[[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 = '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[9]], [[6]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_superseded_tier.db"], "gold_random": [[[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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Indore|2024|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_adjustments.db"], "gold_random": [[[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 = '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[3]], [[8]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_refunds.db"], "gold_random": [[[8]], [[10]], [[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 '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_later_tier.db"], "gold_random": [[[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": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Surat|2025|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[5]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_cancelled_orders.db"], "gold_random": [[[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 = '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[8]], [[5]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_refunds.db"], "gold_random": [[[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 = '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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[2]], [[6]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_cancelled_orders.db"], "gold_random": [[[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 '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|2025|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[54217]], [[117063]], [[54217]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_later_tier.db"], "gold_random": [[[54217]], [[75515]], [[54217]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_refunds.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_later_tier.db"], "cf_edits": ["refunds", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[34100]], [[23409]], [[34100]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_split_items.db"], "gold_random": [[[34100]], [[83375]], [[34100]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_refunds.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[84958]], [[68758]], [[84958]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_refunds.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_cancelled_orders.db"], "gold_random": [[[84958]], [[68758]], [[84958]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6049]], [[23890]], [[6049]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_drop_customers.db"], "gold_random": [[[6049]], [[6679]], [[6049]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_split_payments.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "split_payments", "refunds"], "cf_kinds": ["changing", "preserving", "changing"], "gold": [[[21180]], [[44635]], [[21180]], [[20237]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_cancelled_orders.db"], "gold_random": [[[21180]], [[44635]], [[21180]]], "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": true}, "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_refunds.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_later_tier.db"], "cf_edits": ["refunds", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[34623]], [[22207]], [[34623]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_split_items.db"], "gold_random": [[[34623]], [[23969]], [[34623]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_refunds.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[23501]], [[21439]], [[23501]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_refunds.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_adjustments.db"], "gold_random": [[[23501]], [[21439]], [[23501]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_refunds.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_superseded_tier.db"], "cf_edits": ["refunds", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[8757]], [[7630]], [[8757]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_adjustments.db"], "gold_random": [[[8757]], [[23147]], [[8757]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[59391]], [[96982]], [[59391]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_cancelled_orders.db"], "gold_random": [[[59391]], [[96982]], [[59391]]], "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": 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_split_payments.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "split_payments", "refunds"], "cf_kinds": ["changing", "preserving", "changing"], "gold": [[[25463]], [[47231]], [[25463]], [[17234]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_later_tier.db"], "gold_random": [[[25463]], [[14317]], [[25463]]], "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": 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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[58485]], [[70290]], [[58485]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_split_items.db"], "gold_random": [[[58485]], [[70290]], [[58485]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_refunds.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_superseded_tier.db"], "cf_edits": ["refunds", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5990]], [[3665]], [[5990]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_zero_order_customers.db"], "gold_random": [[[5990]], [[19630]], [[5990]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[11172]], [[20834]], [[11172]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_superseded_tier.db"], "gold_random": [[[11172]], [[64027]], [[11172]]], "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": false, "no_status_filter": true}, "mutant_catchable": {"missing_refunds": false, "no_status_filter": true}} {"id": "F3_net_revenue|Nagpur|2024|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[32139]], [[7369]], [[32139]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_zero_order_customers.db"], "gold_random": [[[32139]], [[34269]], [[32139]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_refunds.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[38701]], [[35896]], [[38701]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_split_payments.db"], "gold_random": [[[38701]], [[74900]], [[38701]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[34, 22974], [15, 13531], [42, 9351]], [[34, 22974], [42, 9351], [27, 9350]], [[34, 22974], [15, 13531], [42, 9351]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_split_payments.db"], "gold_random": [[[34, 22974], [15, 13531], [42, 9351]], [[34, 22974], [42, 9351], [27, 9350]], [[34, 22974], [15, 13531], [42, 9351]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_dup_order.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[18, 32126], [10, 27333], [28, 21381]], [[18, 35411], [28, 29526], [10, 27333]], [[18, 32126], [10, 27333], [28, 21381]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_cancelled_orders.db"], "gold_random": [[[18, 32126], [10, 27333], [28, 21381]], [[18, 32126], [28, 21381], [48, 19206]], [[18, 32126], [10, 27333], [28, 21381]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[24, 20395], [33, 13880]], [[24, 20395], [33, 13880], [52, 12579]], [[24, 20395], [33, 13880]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_x/cf_dup_order.db", "audit/dbs/S_s302/f_Pune_x_x/cf_zero_order_customers.db"], "gold_random": [[[24, 20395], [33, 13880]], [[33, 30680], [24, 20395]], [[24, 20395], [33, 13880]]], "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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Jaipur|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[26, 20424], [41, 18065], [12, 13731]], [[41, 18065], [12, 13731]], [[26, 20424], [41, 18065], [12, 13731]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_split_payments.db"], "gold_random": [[[26, 20424], [41, 18065], [12, 13731]], [[41, 18065], [12, 13731]], [[26, 20424], [41, 18065], [12, 13731]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4, 28140], [49, 18119], [39, 10200]], [[4, 28140], [49, 18119], [5, 7560]], [[4, 28140], [49, 18119], [39, 10200]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_dup_order.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_later_tier.db"], "gold_random": [[[4, 28140], [49, 18119], [39, 10200]], [[4, 28140], [39, 23180], [49, 18119]], [[4, 28140], [49, 18119], [39, 10200]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_dup_order.db", "audit/dbs/S_s302/f_Indore_x_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[7, 45097], [30, 21168], [37, 14317]], [[7, 52838], [30, 21168], [37, 14317]], [[7, 45097], [30, 21168], [37, 14317]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_x_x/cf_cancelled_orders.db"], "gold_random": [[[7, 45097], [30, 21168], [37, 14317]], [[30, 21168], [37, 14317], [32, 3790]], [[7, 45097], [30, 21168], [37, 14317]]], "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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Surat|S_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[43, 11172], [21, 5990]], [[52, 16636], [43, 11172], [21, 5990]], [[43, 11172], [21, 5990]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_dup_order.db", "audit/dbs/S_s302/f_Surat_x_x/cf_superseded_tier.db"], "gold_random": [[[43, 11172], [21, 5990]], [[43, 11172], [14, 7560], [21, 7043]], [[43, 11172], [21, 5990]]], "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_s302", "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": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[36, 23541], [25, 16750], [40, 14200]], [[36, 23541], [25, 16750], [31, 6880]], [[36, 23541], [25, 16750], [40, 14200]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_zero_order_customers.db"], "gold_random": [[[36, 23541], [25, 16750], [40, 14200]], [[25, 28774], [36, 28159], [40, 14200]], [[36, 23541], [25, 16750], [40, 14200]]], "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": "F3_avg_order|Delhi|2025|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Delhi", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Delhi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[8089.25]], [[9812.3077]], [[8089.25]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_refunds.db"], "gold_random": [[[8089.25]], [[7819.2727]], [[8089.25]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Mumbai|2024|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Mumbai? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6820]], [[10421.875]], [[6820]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_zero_order_customers.db"], "gold_random": [[[6820]], [[8353.5556]], [[6820]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Mumbai|2025|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Mumbai? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[12136.8571]], [[10540.5455]], [[12136.8571]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_refunds.db"], "gold_random": [[[12136.8571]], [[8790.0909]], [[12136.8571]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Pune|2024|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Pune? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[13095]], [[6322.3333]], [[13095]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_later_tier.db"], "gold_random": [[[13095]], [[6322.3333]], [[13095]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": true}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Pune|2025|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Pune? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[10590]], [[7439.1667]], [[10590]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_refunds.db"], "gold_random": [[[10590]], [[7300]], [[10590]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Jaipur|2024|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Jaipur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[8655.75]], [[7778.5]], [[8655.75]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_superseded_tier.db"], "gold_random": [[[8655.75]], [[9450.6]], [[8655.75]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Jaipur|2025|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Jaipur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7833.6667]], [[7392]], [[7833.6667]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_later_tier.db"], "gold_random": [[[7833.6667]], [[7392]], [[7833.6667]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Kochi|2024|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Kochi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3560.6667]], [[5014.4]], [[3560.6667]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_adjustments.db"], "gold_random": [[[3560.6667]], [[5604.3333]], [[3560.6667]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Kochi|2025|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Kochi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[9903.1667]], [[10778.8889]], [[9903.1667]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_adjustments.db"], "gold_random": [[[9903.1667]], [[10778.8889]], [[9903.1667]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Indore|2024|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Indore? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[12731.5]], [[11807.75]], [[12731.5]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_zero_order_customers.db"], "gold_random": [[[12731.5]], [[14317]], [[12731.5]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Indore|2025|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Indore", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Indore? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[7789.875]], [[5740.6667]], [[7789.875]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_cancelled_orders.db"], "gold_random": [[[7789.875]], [[5740.6667]], [[7789.875]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Surat|2024|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Surat? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5990]], [[6543.3333]], [[5990]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_cancelled_orders.db"], "gold_random": [[[5990]], [[12997.4]], [[5990]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Surat|2025|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Surat? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[5586]], [[12805.4]], [[5586]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_superseded_tier.db"], "gold_random": [[[5586]], [[12805.4]], [[5586]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Nagpur|2024|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Nagpur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6705]], [[7731.875]], [[6705]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_later_tier.db"], "gold_random": [[[6705]], [[2918.3333]], [[6705]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Nagpur|2025|S_s302", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Nagpur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6450.1667]], [[8322.2222]], [[6450.1667]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_split_items.db"], "gold_random": [[[6450.1667]], [[8322.2222]], [[6450.1667]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F4_current_tier_count|Delhi|bronze|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "bronze"}, "question": "How many customers from Delhi are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[2]], [[4]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_split_payments.db"], "gold_random": [[[4]], [[2]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Delhi|silver|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "silver"}, "question": "How many customers from Delhi are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_dup_order.db"], "cf_edits": ["zero_order_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[6]], [[5]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_cancelled_orders.db"], "gold_random": [[[5]], [[6]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|silver|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "silver"}, "question": "How many customers from Mumbai are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[2]], [[4]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_adjustments.db"], "gold_random": [[[4]], [[2]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|gold|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "gold"}, "question": "How many customers from Mumbai are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[4]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_zero_order_customers.db"], "gold_random": [[[4]], [[3]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Pune|silver|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "silver"}, "question": "How many customers from Pune are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_x_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Pune_x_x/cf_split_items.db"], "gold_random": [[[1]], [[0]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Pune|gold|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "gold"}, "question": "How many customers from Pune are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Pune_x_x/cf_new_customers.db"], "cf_edits": ["later_tier", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[1]], [[3]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Pune_x_x/cf_superseded_tier.db"], "gold_random": [[[3]], [[4]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|bronze|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "bronze"}, "question": "How many customers from Jaipur are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_split_payments.db"], "gold_random": [[[2]], [[4]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|silver|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "silver"}, "question": "How many customers from Jaipur are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_adjustments.db"], "cf_edits": ["zero_order_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_new_customers.db"], "gold_random": [[[1]], [[0]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|gold|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "gold"}, "question": "How many customers from Jaipur are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_zero_order_customers.db"], "cf_edits": ["later_tier", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_new_customers.db"], "gold_random": [[[2]], [[4]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|bronze|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "bronze"}, "question": "How many customers from Kochi are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_zero_order_customers.db"], "cf_edits": ["later_tier", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_superseded_tier.db"], "gold_random": [[[3]], [[2]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|silver|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "silver"}, "question": "How many customers from Kochi are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_adjustments.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|gold|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "gold"}, "question": "How many customers from Kochi are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_superseded_tier.db"], "cf_edits": ["zero_order_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_new_customers.db"], "gold_random": [[[1]], [[0]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Indore|bronze|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "bronze"}, "question": "How many customers from Indore are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Indore_x_x/cf_cancelled_orders.db"], "cf_edits": ["later_tier", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[4]], [[1]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Indore_x_x/cf_dup_order.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Indore|silver|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "silver"}, "question": "How many customers from Indore are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[3]], [[5]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_x_x/cf_cancelled_orders.db"], "gold_random": [[[5]], [[6]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Indore|gold|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "gold"}, "question": "How many customers from Indore are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Indore_x_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Indore_x_x/cf_new_customers.db"], "gold_random": [[[2]], [[1]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Surat|bronze|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "bronze"}, "question": "How many customers from Surat are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_x_x/cf_dup_order.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Surat|silver|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "silver"}, "question": "How many customers from Surat are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Surat_x_x/cf_new_customers.db"], "cf_edits": ["zero_order_customers", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Surat_x_x/cf_dup_order.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Surat|gold|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "gold"}, "question": "How many customers from Surat are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Surat_x_x/cf_cancelled_orders.db"], "cf_edits": ["later_tier", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_x_x/cf_split_items.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|bronze|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "bronze"}, "question": "How many customers from Nagpur are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[5]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_adjustments.db"], "gold_random": [[[2]], [[5]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|silver|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "silver"}, "question": "How many customers from Nagpur are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_refunds.db"], "cf_edits": ["zero_order_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_split_payments.db"], "gold_random": [[[2]], [[1]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|gold|S_s302", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "gold"}, "question": "How many customers from Nagpur are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[0]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_refunds.db"], "gold_random": [[[2]], [[1]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_list|Delhi|bronze|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "bronze"}, "question": "List the IDs of customers from Delhi whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [17], [19], [20]], [[15], [17], [19], [20], [51]], [[15], [17], [19], [20]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_split_payments.db"], "gold_random": [[[15], [17], [19], [20]], [[15], [17], [19], [20], [51]], [[15], [17], [19], [20]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Delhi|silver|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "silver"}, "question": "List the IDs of customers from Delhi whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6], [27], [34], [38], [42]], [[6], [27], [34], [38], [42], [53]], [[6], [27], [34], [38], [42]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Delhi_x_x/cf_refunds.db"], "gold_random": [[[6], [27], [34], [38], [42]], [[27], [34], [38], [42]], [[6], [27], [34], [38], [42]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|silver|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "silver"}, "question": "List the IDs of customers from Mumbai whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [9], [10], [48]], [[8], [9], [48]], [[8], [9], [10], [48]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_split_payments.db"], "gold_random": [[[8], [9], [10], [48]], [[8], [9], [48]], [[8], [9], [10], [48]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|gold|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "gold"}, "question": "List the IDs of customers from Mumbai whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [28], [44], [46]], [[18], [28], [44], [46], [52]], [[18], [28], [44], [46]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_x_x/cf_split_items.db"], "gold_random": [[[18], [28], [44], [46]], [[18], [28], [44], [46], [52]], [[18], [28], [44], [46]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Pune|silver|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "silver"}, "question": "List the IDs of customers from Pune whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Pune_x_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[22]], [], [[22]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Pune_x_x/cf_adjustments.db"], "gold_random": [[[22]], [[22], [33]], [[22]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Pune|gold|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "gold"}, "question": "List the IDs of customers from Pune whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Pune_x_x/cf_dup_order.db"], "cf_edits": ["later_tier", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [24], [33]], [[24]], [[3], [24], [33]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Pune_x_x/cf_drop_customers.db"], "gold_random": [[[3], [24], [33]], [[24]], [[3], [24], [33]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|bronze|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "bronze"}, "question": "List the IDs of customers from Jaipur whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[23], [26]], [[23], [26], [51], [52]], [[23], [26]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_superseded_tier.db"], "gold_random": [[[23], [26]], [[26]], [[23], [26]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|silver|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "silver"}, "question": "List the IDs of customers from Jaipur whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[47]], [], [[47]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_refunds.db"], "gold_random": [[[47]], [[47], [51], [52]], [[47]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|gold|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "gold"}, "question": "List the IDs of customers from Jaipur whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_zero_order_customers.db"], "cf_edits": ["later_tier", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [41]], [[12], [41], [23], [47]], [[12], [41]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Jaipur_x_x/cf_zero_order_customers.db"], "gold_random": [[[12], [41]], [[12], [41], [23], [47]], [[12], [41]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|bronze|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "bronze"}, "question": "List the IDs of customers from Kochi whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [5], [39]], [[1], [5], [39], [52]], [[1], [5], [39]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_zero_order_customers.db"], "gold_random": [[[1], [5], [39]], [[1], [5]], [[1], [5], [39]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|silver|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "silver"}, "question": "List the IDs of customers from Kochi whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [49]], [[4], [49], [51]], [[4], [49]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_split_payments.db"], "gold_random": [[[4], [49]], [], [[4], [49]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|gold|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "gold"}, "question": "List the IDs of customers from Kochi whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_split_items.db"], "cf_edits": ["later_tier", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[49], [4]], [[2]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Kochi_x_x/cf_dup_order.db"], "gold_random": [[[2]], [[2], [52]], [[2]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Indore|bronze|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "bronze"}, "question": "List the IDs of customers from Indore whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Indore_x_x/cf_cancelled_orders.db"], "cf_edits": ["later_tier", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[35]], [[35], [7], [50], [37]], [[35]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_x_x/cf_drop_customers.db"], "gold_random": [[[35]], [[35], [51]], [[35]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Indore|silver|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "silver"}, "question": "List the IDs of customers from Indore whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_x_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [13], [30], [32], [45]], [[13], [30], [32]], [[7], [13], [30], [32], [45]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_x_x/cf_dup_order.db"], "gold_random": [[[7], [13], [30], [32], [45]], [[13], [30], [32]], [[7], [13], [30], [32], [45]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Indore|gold|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "gold"}, "question": "List the IDs of customers from Indore whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Indore_x_x/cf_drop_customers.db"], "cf_edits": ["later_tier", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[37], [50]], [[45]], [[37], [50]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Indore_x_x/cf_refunds.db"], "gold_random": [[[37], [50]], [[45]], [[37], [50]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Surat|bronze|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "bronze"}, "question": "List the IDs of customers from Surat whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_x_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[14], [21]], [[14], [21], [51]], [[14], [21]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Surat_x_x/cf_adjustments.db"], "gold_random": [[[14], [21]], [], [[14], [21]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Surat|silver|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "silver"}, "question": "List the IDs of customers from Surat whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Surat_x_x/cf_new_customers.db"], "cf_edits": ["zero_order_customers", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[43]], [[43], [52]], [[43]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Surat_x_x/cf_cancelled_orders.db"], "gold_random": [[[43]], [[43], [52]], [[43]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Surat|gold|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "gold"}, "question": "List the IDs of customers from Surat whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Surat_x_x/cf_cancelled_orders.db"], "cf_edits": ["later_tier", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[16]], [[16], [14], [21]], [[16]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Surat_x_x/cf_drop_customers.db"], "gold_random": [[[16]], [[16], [14], [21]], [[16]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|bronze|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "bronze"}, "question": "List the IDs of customers from Nagpur whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[25], [40]], [[25]], [[25], [40]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_split_items.db"], "gold_random": [[[25], [40]], [[25], [40], [29], [36], [11]], [[25], [40]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|silver|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "silver"}, "question": "List the IDs of customers from Nagpur whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_new_customers.db"], "cf_edits": ["zero_order_customers", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[31], [36]], [[31], [36], [51], [52]], [[31], [36]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_drop_customers.db"], "gold_random": [[[31], [36]], [[31]], [[31], [36]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|gold|S_s302", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "gold"}, "question": "List the IDs of customers from Nagpur whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [29]], [], [[11], [29]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Nagpur_x_x/cf_split_items.db"], "gold_random": [[[11], [29]], [[29]], [[11], [29]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_net_invoice|Delhi|2025|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[52757]], [[20563]], [[52757]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_adjustments.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_superseded_tier.db"], "gold_random": [[[52757]], [[53111]], [[52757]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Mumbai|2024|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_adjustments.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[32723]], [[33040]], [[32723]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_split_items.db"], "gold_random": [[[32723]], [[59360]], [[32723]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Mumbai|2025|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_adjustments.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["adjustments", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[68280]], [[68721]], [[68280]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_superseded_tier.db"], "gold_random": [[[68280]], [[84710]], [[68280]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Pune|2024|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_adjustments.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_zero_order_customers.db"], "cf_edits": ["adjustments", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[13095]], [[13109]], [[13095]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_adjustments.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_cancelled_orders.db"], "gold_random": [[[13095]], [[13109]], [[13095]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Pune|2025|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_adjustments.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_superseded_tier.db"], "cf_edits": ["adjustments", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[21180]], [[21356]], [[21180]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_adjustments.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_cancelled_orders.db"], "gold_random": [[[21180]], [[21356]], [[21180]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Jaipur|2024|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_adjustments.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[34623]], [[34929]], [[34623]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_refunds.db"], "gold_random": [[[34623]], [[43037]], [[34623]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Jaipur|2025|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[23501]], [[31230]], [[23501]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_adjustments.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_cancelled_orders.db"], "gold_random": [[[23501]], [[23590]], [[23501]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Kochi|2024|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_adjustments.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["adjustments", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[10958]], [[11071]], [[10958]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_adjustments.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_superseded_tier.db"], "gold_random": [[[10958]], [[11071]], [[10958]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Kochi|2025|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_adjustments.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_split_items.db"], "cf_edits": ["adjustments", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[26709]], [[26796]], [[26709]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_adjustments.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_split_payments.db"], "gold_random": [[[26709]], [[26796]], [[26709]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Indore|2024|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[25463]], [[36933]], [[25463]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_split_items.db"], "gold_random": [[[25463]], [[14317]], [[25463]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Indore|2025|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_adjustments.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_dup_order.db"], "cf_edits": ["adjustments", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[27353]], [[27870]], [[27353]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_adjustments.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_cancelled_orders.db"], "gold_random": [[[27353]], [[27870]], [[27353]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Surat|2024|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_adjustments.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["adjustments", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[5990]], [[6253]], [[5990]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_adjustments.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_dup_order.db"], "gold_random": [[[5990]], [[6253]], [[5990]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Nagpur|2024|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[33494]], [[35624]], [[33494]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_split_payments.db"], "gold_random": [[[33494]], [[43074]], [[33494]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Nagpur|2025|S_s302", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_adjustments.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["adjustments", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[31206]], [[31598]], [[31206]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_later_tier.db"], "gold_random": [[[31206]], [[53120]], [[31206]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_revenue_by_current_tier|Delhi|2025|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Delhi in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 23039], ["silver", 41675]], [["bronze", 288], ["silver", 32325]], [["bronze", 23039], ["silver", 41675]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Delhi_2025_x/cf_zero_order_customers.db"], "gold_random": [[["bronze", 23039], ["silver", 41675]], [["bronze", 288], ["silver", 32325]], [["bronze", 23039], ["silver", 41675]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Mumbai|2024|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Mumbai in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 9310], ["silver", 24790]], [["gold", 36267], ["silver", 38915]], [["gold", 9310], ["silver", 24790]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2024_x/cf_adjustments.db"], "gold_random": [[["gold", 9310], ["silver", 24790]], [["gold", 9310], ["silver", 74065]], [["gold", 9310], ["silver", 24790]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Mumbai|2025|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Mumbai in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 44197], ["silver", 40761]], [["gold", 47377], ["silver", 49314]], [["gold", 44197], ["silver", 40761]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Mumbai_2025_x/cf_cancelled_orders.db"], "gold_random": [[["gold", 44197], ["silver", 40761]], [["gold", 47377], ["silver", 49314]], [["gold", 44197], ["silver", 40761]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Pune|2024|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Pune in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 13095]], [["gold", 29231], ["silver", 8703]], [["gold", 13095]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Pune_2024_x/cf_adjustments.db"], "gold_random": [[["gold", 13095]], [["gold", 29231], ["silver", 8703]], [["gold", 13095]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Pune|2025|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Pune in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 21180]], [["gold", 30880]], [["gold", 21180]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Pune_2025_x/cf_refunds.db"], "gold_random": [[["gold", 21180]], [["gold", 30880]], [["gold", 21180]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Jaipur|2024|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Jaipur in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_later_tier.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 10654], ["gold", 18065], ["silver", 5904]], [["gold", 34623]], [["bronze", 10654], ["gold", 18065], ["silver", 5904]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Jaipur_2024_x/cf_split_payments.db"], "gold_random": [[["bronze", 10654], ["gold", 18065], ["silver", 5904]], [["bronze", 10654], ["gold", 21699], ["silver", 14318]], [["bronze", 10654], ["gold", 18065], ["silver", 5904]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Jaipur|2025|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Jaipur in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 9770], ["gold", 13731]], [["bronze", 9770], ["gold", 13731], ["silver", 6067]], [["bronze", 9770], ["gold", 13731]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Jaipur_2025_x/cf_refunds.db"], "gold_random": [[["bronze", 9770], ["gold", 13731]], [["bronze", 9770], ["gold", 13731], ["silver", 6067]], [["bronze", 9770], ["gold", 13731]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Kochi|2024|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Kochi in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_later_tier.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_drop_customers.db"], "cf_edits": ["later_tier", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 4600], ["gold", 6082]], [["gold", 10682]], [["bronze", 4600], ["gold", 6082]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2024_x/cf_drop_customers.db"], "gold_random": [[["bronze", 4600], ["gold", 6082]], [["bronze", 18920], ["gold", 6082], ["silver", 8624]], [["bronze", 4600], ["gold", 6082]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Kochi|2025|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Kochi in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 13160], ["silver", 46259]], [["bronze", 38960], ["silver", 58050]], [["bronze", 13160], ["silver", 46259]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Kochi_2025_x/cf_superseded_tier.db"], "gold_random": [[["bronze", 13160], ["silver", 46259]], [["bronze", 13160], ["silver", 28140]], [["bronze", 13160], ["silver", 46259]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Indore|2024|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Indore in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 14317], ["silver", 11146]], [["gold", 14317], ["silver", 32914]], [["gold", 14317], ["silver", 11146]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_dup_order.db", "audit/dbs/S_s302/f_Indore_2024_x/cf_refunds.db"], "gold_random": [[["gold", 14317], ["silver", 11146]], [["gold", 23847], ["silver", 13276]], [["gold", 14317], ["silver", 11146]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Indore|2025|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Indore in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 3410], ["silver", 58909]], [["bronze", 3410], ["silver", 70714]], [["bronze", 3410], ["silver", 58909]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s302/f_Indore_2025_x/cf_split_items.db"], "gold_random": [[["bronze", 3410], ["silver", 58909]], [["bronze", 3410], ["silver", 13812]], [["bronze", 3410], ["silver", 58909]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Surat|2024|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Surat in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 5990]], [["bronze", 64987]], [["bronze", 5990]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_later_tier.db", "audit/dbs/S_s302/f_Surat_2024_x/cf_cancelled_orders.db"], "gold_random": [[["bronze", 5990]], [["silver", 5990]], [["bronze", 5990]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Surat|2025|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Surat in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[["silver", 11172]], [["bronze", 8422], ["silver", 12412]], [["silver", 11172]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s302/f_Surat_2025_x/cf_drop_customers.db"], "gold_random": [[["silver", 11172]], [["bronze", 8422], ["silver", 12412]], [["silver", 11172]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Nagpur|2024|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Nagpur in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_later_tier.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_split_items.db"], "cf_edits": ["later_tier", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 16750], ["gold", 10855], ["silver", 5920]], [["bronze", 2835], ["gold", 8020], ["silver", 22670]], [["bronze", 16750], ["gold", 10855], ["silver", 5920]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_later_tier.db", "audit/dbs/S_s302/f_Nagpur_2024_x/cf_split_items.db"], "gold_random": [[["bronze", 16750], ["gold", 10855], ["silver", 5920]], [["bronze", 2835], ["gold", 8020], ["silver", 22670]], [["bronze", 16750], ["gold", 10855], ["silver", 5920]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Nagpur|2025|S_s302", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Nagpur in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 14200], ["silver", 24501]], [["bronze", 19722], ["gold", 21914], ["silver", 24501]], [["bronze", 14200], ["silver", 24501]]], "dbs_random": ["audit/dbs/S_s302/base.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_later_tier.db", "audit/dbs/S_s302/f_Nagpur_2025_x/cf_zero_order_customers.db"], "gold_random": [[["bronze", 14200], ["silver", 24501]], [["bronze", 24501], ["gold", 14200]], [["bronze", 14200], ["silver", 24501]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F1_ordered_customers|Delhi|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_split_items.db"], "gold_random": [[[2]], [[1]], [[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": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Mumbai|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_zero_order_customers.db"], "gold_random": [[[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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[6]], [[9]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_x_x/cf_split_items.db"], "gold_random": [[[9]], [[6]], [[9]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[4]], [[6]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_cancelled_orders.db"], "gold_random": [[[6]], [[8]], [[6]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[5]], [[6]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_superseded_tier.db"], "gold_random": [[[6]], [[5]], [[6]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[8]], [[6]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_x_x/cf_split_items.db"], "gold_random": [[[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": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Surat|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_x_x/cf_dup_order.db"], "gold_random": [[[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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[5]], [[6]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_refunds.db"], "gold_random": [[[6]], [[5]], [[6]]], "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|toys|2025|S_s303", "template": "F1_products_sold", "family": "F1", "split": "train", "params": {"category": "toys", "year": 2025}, "question": "How many different toys 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 = 'toys' AND substr(o.order_date, 1, 4) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_toys/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_toys/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[4]], [[5]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_toys/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_toys/cf_dup_order.db"], "gold_random": [[[5]], [[4]], [[5]]], "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 '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 = 'toys' 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 = 'toys' 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_books/cf_drop_customers.db", "audit/dbs/S_s303/f_Delhi_x_books/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[33], [43]], [[33]], [[33], [43]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_books/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_x_books/cf_later_tier.db"], "gold_random": [[[33], [43]], [[33], [43], [51], [52]], [[33], [43]]], "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|toys|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_toys/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_x_toys/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[33], [43]], [[33], [43], [51], [52]], [[33], [43]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_toys/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_x_toys/cf_superseded_tier.db"], "gold_random": [[[33], [43]], [[33], [43], [51], [52]], [[33], [43]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_apparel/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_x_apparel/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[33], [43]], [[33], [43], [51], [52]], [[33], [43]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_apparel/cf_drop_customers.db", "audit/dbs/S_s303/f_Delhi_x_apparel/cf_adjustments.db"], "gold_random": [[[33], [43]], [[43]], [[33], [43]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_home/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_x_home/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[33], [43]], [[33], [43], [51], [52]], [[33], [43]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_home/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_x_home/cf_adjustments.db"], "gold_random": [[[33], [43]], [[33], [43], [51], [52]], [[33], [43]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_books/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_x_books/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[16], [30], [31], [35]], [[16], [30], [35]], [[16], [30], [31], [35]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_books/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_x_books/cf_cancelled_orders.db"], "gold_random": [[[16], [30], [31], [35]], [[16], [30], [35]], [[16], [30], [31], [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 = '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|toys|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_toys/cf_new_customers.db", "audit/dbs/S_s303/f_Mumbai_x_toys/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[16], [30], [31], [35]], [[16], [30], [31], [35], [51], [52]], [[16], [30], [31], [35]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_toys/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_x_toys/cf_refunds.db"], "gold_random": [[[16], [30], [31], [35]], [[16], [31], [35]], [[16], [30], [31], [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 = '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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_apparel/cf_dup_order.db", "audit/dbs/S_s303/f_Mumbai_x_apparel/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [30], [31], [35]], [[4], [30], [31], [35], [16]], [[4], [30], [31], [35]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_apparel/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_x_apparel/cf_split_payments.db"], "gold_random": [[[4], [30], [31], [35]], [[4], [30]], [[4], [30], [31], [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 = '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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_home/cf_new_customers.db", "audit/dbs/S_s303/f_Mumbai_x_home/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [16], [31], [35]], [[4], [16], [31], [35], [51], [52]], [[4], [16], [31], [35]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_home/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_x_home/cf_split_payments.db"], "gold_random": [[[4], [16], [31], [35]], [[4], [16]], [[4], [16], [31], [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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_books/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_x_books/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [2], [5], [9], [12], [14], [25], [47]], [[1], [2], [5], [9], [12], [14], [25], [47], [51], [52], [53]], [[1], [2], [5], [9], [12], [14], [25], [47]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_books/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_x_books/cf_refunds.db"], "gold_random": [[[1], [2], [5], [9], [12], [14], [25], [47]], [[1], [2], [5], [9], [12], [14], [25], [47], [51], [52], [53]], [[1], [2], [5], [9], [12], [14], [25], [47]]], "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|toys|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_toys/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_x_toys/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [2], [5], [12], [47]], [[2], [5]], [[1], [2], [5], [12], [47]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_toys/cf_dup_order.db", "audit/dbs/S_s303/f_Pune_x_toys/cf_adjustments.db"], "gold_random": [[[1], [2], [5], [12], [47]], [[1], [2], [5], [12], [47], [9], [25]], [[1], [2], [5], [12], [47]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_apparel/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_x_apparel/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [3], [9], [12], [25], [47]], [[3], [9], [12], [25]], [[1], [3], [9], [12], [25], [47]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_apparel/cf_cancelled_orders.db", "audit/dbs/S_s303/f_Pune_x_apparel/cf_later_tier.db"], "gold_random": [[[1], [3], [9], [12], [25], [47]], [[1], [3], [9], [12], [25], [47], [5]], [[1], [3], [9], [12], [25], [47]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_home/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_x_home/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [3], [5], [9], [47]], [[1], [3], [5], [9], [47], [51], [52], [53]], [[1], [3], [5], [9], [47]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_home/cf_dup_order.db", "audit/dbs/S_s303/f_Pune_x_home/cf_superseded_tier.db"], "gold_random": [[[1], [3], [5], [9], [47]], [[1], [3], [5], [9], [47], [14], [25]], [[1], [3], [5], [9], [47]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_books/cf_new_customers.db", "audit/dbs/S_s303/f_Jaipur_x_books/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[13], [15], [17], [37], [48]], [[13], [15], [17], [37], [48], [51], [52]], [[13], [15], [17], [37], [48]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_books/cf_cancelled_orders.db", "audit/dbs/S_s303/f_Jaipur_x_books/cf_dup_order.db"], "gold_random": [[[13], [15], [17], [37], [48]], [[13], [15], [17], [37], [48], [46]], [[13], [15], [17], [37], [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": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Jaipur|toys|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_toys/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_x_toys/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[13], [15], [17], [37], [46], [48]], [[15], [17], [37], [48]], [[13], [15], [17], [37], [46], [48]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_toys/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_x_toys/cf_dup_order.db"], "gold_random": [[[13], [15], [17], [37], [46], [48]], [[15], [17], [37], [48]], [[13], [15], [17], [37], [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 = '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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_apparel/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_x_apparel/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [17], [37], [46], [48]], [[37], [46], [48]], [[15], [17], [37], [46], [48]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_apparel/cf_new_customers.db", "audit/dbs/S_s303/f_Jaipur_x_apparel/cf_zero_order_customers.db"], "gold_random": [[[15], [17], [37], [46], [48]], [[15], [17], [37], [46], [48], [51], [52]], [[15], [17], [37], [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 = '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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_home/cf_cancelled_orders.db", "audit/dbs/S_s303/f_Jaipur_x_home/cf_superseded_tier.db"], "cf_edits": ["cancelled_orders", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[17], [37], [48]], [[17], [37], [48], [46]], [[17], [37], [48]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_home/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_x_home/cf_zero_order_customers.db"], "gold_random": [[[17], [37], [48]], [[17], [48]], [[17], [37], [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|books|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_books/cf_cancelled_orders.db", "audit/dbs/S_s303/f_Kochi_x_books/cf_refunds.db"], "cf_edits": ["cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [24], [28], [45], [49]], [[8], [24], [28], [45], [49], [34]], [[8], [24], [28], [45], [49]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_books/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_x_books/cf_later_tier.db"], "gold_random": [[[8], [24], [28], [45], [49]], [[8], [24], [28], [45], [49], [51], [52]], [[8], [24], [28], [45], [49]]], "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|toys|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_toys/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_x_toys/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [24], [28], [34], [45]], [[8], [24], [28], [34], [45], [51], [52]], [[8], [24], [28], [34], [45]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_toys/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_x_toys/cf_zero_order_customers.db"], "gold_random": [[[8], [24], [28], [34], [45]], [[8], [24], [28], [34], [45], [51], [52]], [[8], [24], [28], [34], [45]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_apparel/cf_drop_customers.db", "audit/dbs/S_s303/f_Kochi_x_apparel/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [28], [34], [45]], [[28], [34], [45]], [[8], [28], [34], [45]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_apparel/cf_cancelled_orders.db", "audit/dbs/S_s303/f_Kochi_x_apparel/cf_superseded_tier.db"], "gold_random": [[[8], [28], [34], [45]], [[8], [28], [34], [45], [49]], [[8], [28], [34], [45]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_home/cf_cancelled_orders.db", "audit/dbs/S_s303/f_Kochi_x_home/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[24], [28], [45]], [[24], [28], [45], [8]], [[24], [28], [45]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_home/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_x_home/cf_dup_order.db"], "gold_random": [[[24], [28], [45]], [[24], [28], [45], [51], [52]], [[24], [28], [45]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_books/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_x_books/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [11], [20], [27], [40], [41]], [[11], [20], [27], [40], [41]], [[10], [11], [20], [27], [40], [41]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_books/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_x_books/cf_split_payments.db"], "gold_random": [[[10], [11], [20], [27], [40], [41]], [[11], [20], [27], [40], [41]], [[10], [11], [20], [27], [40], [41]]], "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|toys|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_toys/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_x_toys/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [11], [20], [27], [40]], [[11], [27], [40]], [[10], [11], [20], [27], [40]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_toys/cf_cancelled_orders.db", "audit/dbs/S_s303/f_Indore_x_toys/cf_split_items.db"], "gold_random": [[[10], [11], [20], [27], [40]], [[10], [11], [20], [27], [40], [41]], [[10], [11], [20], [27], [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 = '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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_apparel/cf_dup_order.db", "audit/dbs/S_s303/f_Indore_x_apparel/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [27], [40], [41]], [[11], [27], [40], [41], [10]], [[11], [27], [40], [41]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_apparel/cf_dup_order.db", "audit/dbs/S_s303/f_Indore_x_apparel/cf_zero_order_customers.db"], "gold_random": [[[11], [27], [40], [41]], [[11], [27], [40], [41], [10]], [[11], [27], [40], [41]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_home/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_x_home/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [11], [20]], [[10], [20]], [[10], [11], [20]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_home/cf_cancelled_orders.db", "audit/dbs/S_s303/f_Indore_x_home/cf_refunds.db"], "gold_random": [[[10], [11], [20]], [[10], [11], [20], [27]], [[10], [11], [20]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_books/cf_drop_customers.db", "audit/dbs/S_s303/f_Surat_x_books/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [22], [26], [38]], [[7], [38]], [[7], [22], [26], [38]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_books/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_x_books/cf_later_tier.db"], "gold_random": [[[7], [22], [26], [38]], [[7], [22], [26], [38], [51], [52]], [[7], [22], [26], [38]]], "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|toys|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_toys/cf_drop_customers.db", "audit/dbs/S_s303/f_Surat_x_toys/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [22], [26], [36], [38]], [[22], [26], [38]], [[7], [22], [26], [36], [38]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_toys/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_x_toys/cf_cancelled_orders.db"], "gold_random": [[[7], [22], [26], [36], [38]], [[7], [22], [26], [36], [38], [51], [52]], [[7], [22], [26], [36], [38]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_apparel/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_x_apparel/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [22], [36], [38]], [[7], [22], [36], [38], [51], [52]], [[7], [22], [36], [38]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_apparel/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_x_apparel/cf_later_tier.db"], "gold_random": [[[7], [22], [36], [38]], [[7], [22], [36], [38], [51], [52]], [[7], [22], [36], [38]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_home/cf_dup_order.db", "audit/dbs/S_s303/f_Surat_x_home/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [22], [38]], [[7], [22], [38], [36]], [[7], [22], [38]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_home/cf_cancelled_orders.db", "audit/dbs/S_s303/f_Surat_x_home/cf_refunds.db"], "gold_random": [[[7], [22], [38]], [[7], [22], [38], [36]], [[7], [22], [38]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_books/cf_drop_customers.db", "audit/dbs/S_s303/f_Nagpur_x_books/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [23], [42], [44]], [[18], [23], [44]], [[18], [23], [42], [44]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_books/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_x_books/cf_split_payments.db"], "gold_random": [[[18], [23], [42], [44]], [[18], [23], [42], [44], [51], [52]], [[18], [23], [42], [44]]], "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|toys|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_toys/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_x_toys/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [19], [23], [32], [44]], [[18], [19], [23], [32], [44], [51], [52]], [[18], [19], [23], [32], [44]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_toys/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_x_toys/cf_superseded_tier.db"], "gold_random": [[[18], [19], [23], [32], [44]], [[18], [19], [23], [32], [44], [42]], [[18], [19], [23], [32], [44]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_apparel/cf_cancelled_orders.db", "audit/dbs/S_s303/f_Nagpur_x_apparel/cf_refunds.db"], "cf_edits": ["cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [23], [44]], [[18], [23], [44], [19]], [[18], [23], [44]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_apparel/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_x_apparel/cf_superseded_tier.db"], "gold_random": [[[18], [23], [44]], [[18], [23], [44], [32], [42]], [[18], [23], [44]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_home/cf_drop_customers.db", "audit/dbs/S_s303/f_Nagpur_x_home/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [19], [23], [32], [42], [44]], [[19], [32], [42], [44]], [[18], [19], [23], [32], [42], [44]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_home/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_x_home/cf_superseded_tier.db"], "gold_random": [[[18], [19], [23], [32], [42], [44]], [[18], [19], [23], [32], [42], [44], [51], [52]], [[18], [19], [23], [32], [42], [44]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_split_payments.db"], "gold_random": [[[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 '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|Mumbai|2024|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_later_tier.db"], "gold_random": [[[4]], [[3]], [[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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_refunds.db"], "gold_random": [[[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_s303", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "Count the customers in Pune 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 = 'Pune' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[4]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_adjustments.db"], "gold_random": [[[4]], [[2]], [[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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Pune|2025|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[6]], [[5]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_dup_order.db"], "gold_random": [[[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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_zero_order_customers.db"], "gold_random": [[[2]], [[3]], [[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": 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[4]], [[6]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_dup_order.db"], "gold_random": [[[6]], [[4]], [[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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_refunds.db"], "gold_random": [[[3]], [[4]], [[3]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[4]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_split_items.db"], "gold_random": [[[4]], [[3]], [[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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_zero_order_customers.db"], "gold_random": [[[2]], [[1]], [[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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[8]], [[6]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_superseded_tier.db"], "gold_random": [[[6]], [[8]], [[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 '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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_split_items.db"], "gold_random": [[[1]], [[2]], [[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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_later_tier.db"], "gold_random": [[[3]], [[5]], [[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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_cancelled_orders.db"], "gold_random": [[[2]], [[4]], [[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": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Nagpur|2025|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_split_payments.db"], "gold_random": [[[3]], [[5]], [[3]]], "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": "F1_category_buyers|books|2024|S_s303", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "books", "year": 2024}, "question": "How many distinct customers bought a books product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_books/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2024_books/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[22]], [[16]], [[22]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_books/cf_dup_order.db", "audit/dbs/S_s303/f_x_2024_books/cf_zero_order_customers.db"], "gold_random": [[[22]], [[34]], [[22]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|books|2025|S_s303", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "books", "year": 2025}, "question": "How many distinct customers bought a books product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_books/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_books/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[25]], [[16]], [[25]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_books/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_books/cf_later_tier.db"], "gold_random": [[[25]], [[16]], [[25]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'books' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|toys|2024|S_s303", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "toys", "year": 2024}, "question": "How many distinct customers bought a toys product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_toys/cf_new_customers.db", "audit/dbs/S_s303/f_x_2024_toys/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[21]], [[37]], [[21]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_toys/cf_cancelled_orders.db", "audit/dbs/S_s303/f_x_2024_toys/cf_split_payments.db"], "gold_random": [[[21]], [[33]], [[21]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_category_buyers|toys|2025|S_s303", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "toys", "year": 2025}, "question": "How many distinct customers bought a toys product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_toys/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_toys/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[24]], [[16]], [[24]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_toys/cf_new_customers.db", "audit/dbs/S_s303/f_x_2025_toys/cf_later_tier.db"], "gold_random": [[[24]], [[40]], [[24]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'toys' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|apparel|2024|S_s303", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "apparel", "year": 2024}, "question": "How many distinct customers bought a apparel product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_apparel/cf_new_customers.db", "audit/dbs/S_s303/f_x_2024_apparel/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[22]], [[38]], [[22]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_apparel/cf_new_customers.db", "audit/dbs/S_s303/f_x_2024_apparel/cf_split_payments.db"], "gold_random": [[[22]], [[38]], [[22]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|apparel|2025|S_s303", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "apparel", "year": 2025}, "question": "How many distinct customers bought a apparel product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_apparel/cf_new_customers.db", "audit/dbs/S_s303/f_x_2025_apparel/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[17]], [[33]], [[17]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_apparel/cf_new_customers.db", "audit/dbs/S_s303/f_x_2025_apparel/cf_zero_order_customers.db"], "gold_random": [[[17]], [[33]], [[17]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'apparel' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|home|2024|S_s303", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "home", "year": 2024}, "question": "How many distinct customers bought a home product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_home/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2024_home/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[16]], [[8]], [[16]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_home/cf_cancelled_orders.db", "audit/dbs/S_s303/f_x_2024_home/cf_superseded_tier.db"], "gold_random": [[[16]], [[33]], [[16]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'home' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|home|2025|S_s303", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "home", "year": 2025}, "question": "How many distinct customers bought a home product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_home/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_home/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[17]], [[13]], [[17]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_home/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_home/cf_split_payments.db"], "gold_random": [[[17]], [[13]], [[17]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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": "F2_paid_for_category|books|2024|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_books/cf_new_customers.db", "audit/dbs/S_s303/f_x_2024_books/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[121275]], [[236666]], [[121275]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_books/cf_dup_order.db", "audit/dbs/S_s303/f_x_2024_books/cf_split_payments.db"], "gold_random": [[[121275]], [[160801]], [[121275]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_books/cf_adjustments.db", "audit/dbs/S_s303/f_x_2025_books/cf_superseded_tier.db"], "cf_edits": ["adjustments", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[190894]], [[193053]], [[190894]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_books/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_books/cf_later_tier.db"], "gold_random": [[[190894]], [[121598]], [[190894]]], "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|toys|2024|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_toys/cf_dup_order.db", "audit/dbs/S_s303/f_x_2024_toys/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[98854]], [[158202]], [[98854]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_toys/cf_adjustments.db", "audit/dbs/S_s303/f_x_2024_toys/cf_split_payments.db"], "gold_random": [[[98854]], [[99778]], [[98854]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_toys/cf_adjustments.db", "audit/dbs/S_s303/f_x_2025_toys/cf_superseded_tier.db"], "cf_edits": ["adjustments", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[166021]], [[167714]], [[166021]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_toys/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_toys/cf_cancelled_orders.db"], "gold_random": [[[166021]], [[131680]], [[166021]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_apparel/cf_dup_order.db", "audit/dbs/S_s303/f_x_2024_apparel/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[108723]], [[194275]], [[108723]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_apparel/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2024_apparel/cf_zero_order_customers.db"], "gold_random": [[[108723]], [[87503]], [[108723]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_apparel/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_apparel/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[174758]], [[109110]], [[174758]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_apparel/cf_new_customers.db", "audit/dbs/S_s303/f_x_2025_apparel/cf_cancelled_orders.db"], "gold_random": [[[174758]], [[261377]], [[174758]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_home/cf_adjustments.db", "audit/dbs/S_s303/f_x_2024_home/cf_zero_order_customers.db"], "cf_edits": ["adjustments", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[43804]], [[44513]], [[43804]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_home/cf_dup_order.db", "audit/dbs/S_s303/f_x_2024_home/cf_later_tier.db"], "gold_random": [[[43804]], [[131194]], [[43804]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_home/cf_dup_order.db", "audit/dbs/S_s303/f_x_2025_home/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[153284]], [[254774]], [[153284]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_home/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_home/cf_superseded_tier.db"], "gold_random": [[[153284]], [[82781]], [[153284]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[17020]], [[39724]], [[17020]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_split_payments.db"], "gold_random": [[[17020]], [[11340]], [[17020]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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|Mumbai|2024|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[31713]], [[15918]], [[31713]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_zero_order_customers.db"], "gold_random": [[[31713]], [[15918]], [[31713]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[20430]], [[42586]], [[20430]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_superseded_tier.db"], "gold_random": [[[20430]], [[20220]], [[20430]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[27130]], [[50550]], [[27130]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_superseded_tier.db"], "gold_random": [[[27130]], [[43702]], [[27130]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[33909]], [[64730]], [[33909]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_adjustments.db"], "gold_random": [[[33909]], [[48929]], [[33909]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[24549]], [[39164]], [[24549]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_split_payments.db"], "gold_random": [[[24549]], [[30957]], [[24549]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "template": "F2_item_value_paid", "family": "F2", "split": "train", "params": {"city": "Jaipur", "year": 2025}, "question": "What is the total item value (quantity \u00d7 unit price) of orders placed in 2025 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) = '2025' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = o.order_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[73072]], [[52884]], [[73072]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_later_tier.db"], "gold_random": [[[73072]], [[96351]], [[73072]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[33401]], [[35006]], [[33401]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_later_tier.db"], "gold_random": [[[33401]], [[35006]], [[33401]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[22741]], [[22174]], [[22741]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_cancelled_orders.db"], "gold_random": [[[22741]], [[22174]], [[22741]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6539]], [[24361]], [[6539]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_split_payments.db"], "gold_random": [[[6539]], [[24361]], [[6539]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[78231]], [[76751]], [[78231]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_later_tier.db"], "gold_random": [[[78231]], [[96682]], [[78231]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[17847]], [[25145]], [[17847]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_superseded_tier.db"], "gold_random": [[[17847]], [[56993]], [[17847]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[64547]], [[83884]], [[64547]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_superseded_tier.db"], "gold_random": [[[64547]], [[83884]], [[64547]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5252]], [[24170]], [[5252]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_zero_order_customers.db"], "gold_random": [[[5252]], [[16114]], [[5252]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[36079]], [[72249]], [[36079]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_refunds.db"], "gold_random": [[[36079]], [[40259]], [[36079]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "template": "F2_refunded_category", "family": "F2", "split": "train", "params": {"category": "books"}, "question": "Add up all refunds issued on orders that include any books 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 = 'books')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_x_books/cf_refunds.db", "audit/dbs/S_s303/f_x_x_books/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[10754]], [[56247]], [[10754]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_x_books/cf_new_customers.db", "audit/dbs/S_s303/f_x_x_books/cf_adjustments.db"], "gold_random": [[[10754]], [[30315]], [[10754]]], "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|toys|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_x_toys/cf_new_customers.db", "audit/dbs/S_s303/f_x_x_toys/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6279]], [[13862]], [[6279]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_x_toys/cf_dup_order.db", "audit/dbs/S_s303/f_x_x_toys/cf_later_tier.db"], "gold_random": [[[6279]], [[11016]], [[6279]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_x_home/cf_refunds.db", "audit/dbs/S_s303/f_x_x_home/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1163]], [[42759]], [[1163]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_x_home/cf_new_customers.db", "audit/dbs/S_s303/f_x_x_home/cf_superseded_tier.db"], "gold_random": [[[1163]], [[5506]], [[1163]]], "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": "F2_units_paid|books|2024|S_s303", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "books", "year": 2024}, "question": "How many units of books products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_books/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2024_books/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[24]], [[18]], [[24]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_books/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2024_books/cf_superseded_tier.db"], "gold_random": [[[24]], [[18]], [[24]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'books' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|books|2025|S_s303", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "books", "year": 2025}, "question": "How many units of books products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_books/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_books/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[51]], [[34]], [[51]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_books/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_books/cf_split_payments.db"], "gold_random": [[[51]], [[34]], [[51]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'books' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|toys|2024|S_s303", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "toys", "year": 2024}, "question": "How many units of toys products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_toys/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2024_toys/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[26]], [[23]], [[26]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_toys/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2024_toys/cf_split_payments.db"], "gold_random": [[[26]], [[23]], [[26]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'toys' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|toys|2025|S_s303", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "toys", "year": 2025}, "question": "How many units of toys products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_toys/cf_dup_order.db", "audit/dbs/S_s303/f_x_2025_toys/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[39]], [[61]], [[39]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_toys/cf_new_customers.db", "audit/dbs/S_s303/f_x_2025_toys/cf_superseded_tier.db"], "gold_random": [[[39]], [[77]], [[39]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'toys' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|apparel|2024|S_s303", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "apparel", "year": 2024}, "question": "How many units of apparel products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_apparel/cf_new_customers.db", "audit/dbs/S_s303/f_x_2024_apparel/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[25]], [[58]], [[25]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_apparel/cf_dup_order.db", "audit/dbs/S_s303/f_x_2024_apparel/cf_later_tier.db"], "gold_random": [[[25]], [[37]], [[25]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'apparel' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|apparel|2025|S_s303", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "apparel", "year": 2025}, "question": "How many units of apparel products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_apparel/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_apparel/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[37]], [[30]], [[37]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_apparel/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2025_apparel/cf_split_payments.db"], "gold_random": [[[37]], [[30]], [[37]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'apparel' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|home|2024|S_s303", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "home", "year": 2024}, "question": "How many units of home products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_home/cf_drop_customers.db", "audit/dbs/S_s303/f_x_2024_home/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[16]], [[4]], [[16]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2024_home/cf_dup_order.db", "audit/dbs/S_s303/f_x_2024_home/cf_later_tier.db"], "gold_random": [[[16]], [[38]], [[16]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'home' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|home|2025|S_s303", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "home", "year": 2025}, "question": "How many units of home products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_home/cf_new_customers.db", "audit/dbs/S_s303/f_x_2025_home/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[31]], [[70]], [[31]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_x_2025_home/cf_dup_order.db", "audit/dbs/S_s303/f_x_2025_home/cf_adjustments.db"], "gold_random": [[[31]], [[54]], [[31]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'home' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F3_gross_revenue|Delhi|2024|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[45803]], [[100322]], [[45803]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_split_payments.db"], "gold_random": [[[45803]], [[49993]], [[45803]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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|Mumbai|2024|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[34260]], [[50730]], [[34260]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_adjustments.db"], "gold_random": [[[34260]], [[50730]], [[34260]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[27860]], [[71338]], [[27860]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_adjustments.db"], "gold_random": [[[27860]], [[71338]], [[27860]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[78947]], [[124297]], [[78947]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_refunds.db"], "gold_random": [[[78947]], [[60128]], [[78947]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[91822]], [[122092]], [[91822]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_superseded_tier.db"], "gold_random": [[[91822]], [[70641]], [[91822]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": 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|2024|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[37490]], [[61025]], [[37490]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_refunds.db"], "gold_random": [[[37490]], [[25702]], [[37490]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[88052]], [[111331]], [[88052]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_refunds.db"], "gold_random": [[[88052]], [[67864]], [[88052]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[33401]], [[58024]], [[33401]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_split_items.db"], "gold_random": [[[33401]], [[35006]], [[33401]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[49063]], [[70423]], [[49063]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_split_items.db"], "gold_random": [[[49063]], [[52006]], [[49063]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[9779]], [[6350]], [[9779]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_zero_order_customers.db"], "gold_random": [[[9779]], [[6350]], [[9779]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[86111]], [[104562]], [[86111]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_superseded_tier.db"], "gold_random": [[[86111]], [[104562]], [[86111]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": 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|2024|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[27633]], [[34931]], [[27633]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_cancelled_orders.db"], "gold_random": [[[27633]], [[34931]], [[27633]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[77117]], [[80467]], [[77117]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_superseded_tier.db"], "gold_random": [[[77117]], [[111964]], [[77117]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5252]], [[51654]], [[5252]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_split_items.db"], "gold_random": [[[5252]], [[51654]], [[5252]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[60449]], [[57720]], [[60449]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_split_payments.db"], "gold_random": [[[60449]], [[84207]], [[60449]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[9]], [[6]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_later_tier.db"], "gold_random": [[[6]], [[7]], [[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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Mumbai|2024|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[4]], [[5]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_superseded_tier.db"], "gold_random": [[[5]], [[4]], [[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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[8]], [[6]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_adjustments.db"], "gold_random": [[[6]], [[5]], [[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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[13]], [[9]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_zero_order_customers.db"], "gold_random": [[[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 = '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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[14]], [[16]], [[14]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_zero_order_customers.db"], "gold_random": [[[14]], [[9]], [[14]]], "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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Jaipur|2024|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[9]], [[6]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_split_items.db"], "gold_random": [[[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 = '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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[14]], [[10]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_later_tier.db"], "gold_random": [[[10]], [[8]], [[10]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[1]], [[4]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_superseded_tier.db"], "gold_random": [[[4]], [[1]], [[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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[11]], [[7]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_refunds.db"], "gold_random": [[[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 = '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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[6]], [[3]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_zero_order_customers.db"], "gold_random": [[[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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[10]], [[8]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_later_tier.db"], "gold_random": [[[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 = '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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Surat|2024|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[6]], [[2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_superseded_tier.db"], "gold_random": [[[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 = '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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[11]], [[13]], [[11]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_refunds.db"], "gold_random": [[[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 = '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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[5]], [[2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_split_items.db"], "gold_random": [[[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 '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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[11]], [[7]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_adjustments.db"], "gold_random": [[[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 = '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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_later_tier.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "later_tier", "refunds"], "cf_kinds": ["changing", "preserving", "changing"], "gold": [[[45803]], [[100322]], [[45803]], [[45426]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_refunds.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_superseded_tier.db"], "gold_random": [[[45803]], [[45426]], [[45803]]], "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|Mumbai|2024|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_refunds.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[34260]], [[26669]], [[34260]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_zero_order_customers.db"], "gold_random": [[[34260]], [[50691]], [[34260]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[27819]], [[59309]], [[27819]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_later_tier.db"], "gold_random": [[[27819]], [[36860]], [[27819]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_refunds.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[78947]], [[66916]], [[78947]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_adjustments.db"], "gold_random": [[[78947]], [[60128]], [[78947]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[87992]], [[118262]], [[87992]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_cancelled_orders.db"], "gold_random": [[[87992]], [[118262]], [[87992]]], "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": true}, "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_refunds.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_later_tier.db"], "cf_edits": ["refunds", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[37490]], [[32829]], [[37490]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_split_items.db"], "gold_random": [[[37490]], [[61025]], [[37490]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_refunds.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["refunds", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[88052]], [[77305]], [[88052]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_later_tier.db"], "gold_random": [[[88052]], [[67864]], [[88052]]], "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_s303", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "What was the net revenue from customers in Kochi 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 = '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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[22647]], [[15370]], [[22647]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_zero_order_customers.db"], "gold_random": [[[22647]], [[15370]], [[22647]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_refunds.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[49063]], [[43365]], [[49063]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_later_tier.db"], "gold_random": [[[49063]], [[70423]], [[49063]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_refunds.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[9779]], [[6861]], [[9779]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_refunds.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_later_tier.db"], "gold_random": [[[9779]], [[6861]], [[9779]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_adjustments.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_dup_order.db"], "cf_edits": ["new_customers", "adjustments", "dup_order"], "cf_kinds": ["changing", "preserving", "changing"], "gold": [[[86111]], [[104562]], [[86111]], [[112204]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_zero_order_customers.db"], "gold_random": [[[86111]], [[104562]], [[86111]]], "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": true}, "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_refunds.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[27633]], [[21011]], [[27633]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_drop_customers.db"], "gold_random": [[[27633]], [[86289]], [[27633]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_refunds.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[74668]], [[61770]], [[74668]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_zero_order_customers.db"], "gold_random": [[[74668]], [[109515]], [[74668]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4224]], [[23142]], [[4224]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_split_payments.db"], "gold_random": [[[4224]], [[50626]], [[4224]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_refunds.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_later_tier.db"], "cf_edits": ["refunds", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[60355]], [[55989]], [[60355]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_refunds.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_split_payments.db"], "gold_random": [[[60355]], [[55989]], [[60355]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[43, 23528], [33, 22275]], [[43, 23528], [33, 22275], [51, 13810]], [[43, 23528], [33, 22275]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_dup_order.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_later_tier.db"], "gold_random": [[[43, 23528], [33, 22275]], [[33, 23975], [43, 23528]], [[43, 23528], [33, 22275]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[30, 18746], [31, 16005], [35, 12972]], [[31, 16005], [35, 12972], [4, 2547]], [[30, 18746], [31, 16005], [35, 12972]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_superseded_tier.db"], "gold_random": [[[30, 18746], [31, 16005], [35, 12972]], [[31, 16005], [35, 12972], [4, 2547]], [[30, 18746], [31, 16005], [35, 12972]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_dup_order.db", "audit/dbs/S_s303/f_Pune_x_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[1, 33211], [12, 30127], [9, 25517]], [[12, 35144], [1, 33211], [9, 26997]], [[1, 33211], [12, 30127], [9, 25517]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_x_x/cf_cancelled_orders.db"], "gold_random": [[[1, 33211], [12, 30127], [9, 25517]], [[1, 33211], [12, 30127], [3, 20700]], [[1, 33211], [12, 30127], [9, 25517]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_dup_order.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[37, 39189], [15, 26711], [48, 21471]], [[37, 43347], [17, 38085], [48, 38055]], [[37, 39189], [15, 26711], [48, 21471]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_dup_order.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_zero_order_customers.db"], "gold_random": [[[37, 39189], [15, 26711], [48, 21471]], [[37, 43347], [17, 38085], [48, 38055]], [[37, 39189], [15, 26711], [48, 21471]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_dup_order.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[28, 32212], [45, 16048], [8, 15370]], [[28, 32212], [45, 21708], [8, 19930]], [[28, 32212], [45, 16048], [8, 15370]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_split_items.db"], "gold_random": [[[28, 32212], [45, 16048], [8, 15370]], [[52, 44238], [28, 32212], [51, 24496]], [[28, 32212], [45, 16048], [8, 15370]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_x_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[41, 31890], [11, 23254], [10, 21966]], [[41, 31890], [11, 23254], [52, 22726]], [[41, 31890], [11, 23254], [10, 21966]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_x_x/cf_adjustments.db"], "gold_random": [[[41, 31890], [11, 23254], [10, 21966]], [[41, 31890], [11, 23254], [52, 22726]], [[41, 31890], [11, 23254], [10, 21966]]], "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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Surat|S_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_x/cf_dup_order.db", "audit/dbs/S_s303/f_Surat_x_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[22, 42949], [38, 27319], [7, 24696]], [[22, 55863], [38, 27319], [7, 24696]], [[22, 42949], [38, 27319], [7, 24696]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_x/cf_dup_order.db", "audit/dbs/S_s303/f_Surat_x_x/cf_drop_customers.db"], "gold_random": [[[22, 42949], [38, 27319], [7, 24696]], [[22, 55863], [38, 27319], [7, 24696]], [[22, 42949], [38, 27319], [7, 24696]]], "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_s303", "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": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[23, 31700], [42, 21430], [19, 5630]], [[23, 31700], [19, 5630], [44, 4212]], [[23, 31700], [42, 21430], [19, 5630]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_split_payments.db"], "gold_random": [[[23, 31700], [42, 21430], [19, 5630]], [[23, 31700], [42, 21430], [51, 13360]], [[23, 31700], [42, 21430], [19, 5630]]], "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": "F3_avg_order|Delhi|2024|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Delhi", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Delhi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[7633.8333]], [[11146.8889]], [[7633.8333]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_split_payments.db"], "gold_random": [[[7633.8333]], [[7141.8571]], [[7633.8333]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Mumbai|2024|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Mumbai? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6852]], [[7247.1429]], [[6852]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_split_items.db"], "gold_random": [[[6852]], [[7247.1429]], [[6852]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Mumbai|2025|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Mumbai? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4643.3333]], [[5530]], [[4643.3333]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_superseded_tier.db"], "gold_random": [[[4643.3333]], [[4612.625]], [[4643.3333]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Pune|2024|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Pune? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8771.8889]], [[8683.5455]], [[8771.8889]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_later_tier.db"], "gold_random": [[[8771.8889]], [[8683.5455]], [[8771.8889]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Pune|2025|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Pune? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6558.7143]], [[7630.75]], [[6558.7143]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_zero_order_customers.db"], "gold_random": [[[6558.7143]], [[7240.4444]], [[6558.7143]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Jaipur|2024|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Jaipur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6248.3333]], [[6271.1429]], [[6248.3333]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_superseded_tier.db"], "gold_random": [[[6248.3333]], [[6271.1429]], [[6248.3333]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Jaipur|2025|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Jaipur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8805.2]], [[8483]], [[8805.2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_zero_order_customers.db"], "gold_random": [[[8805.2]], [[7906.7857]], [[8805.2]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Kochi|2024|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Kochi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[8350.25]], [[8289.1429]], [[8350.25]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_later_tier.db"], "gold_random": [[[8350.25]], [[15370]], [[8350.25]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Kochi|2025|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Kochi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[7009]], [[6402.0909]], [[7009]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_cancelled_orders.db"], "gold_random": [[[7009]], [[5200.6]], [[7009]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Indore|2024|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Indore? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3259.6667]], [[6061]], [[3259.6667]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_adjustments.db"], "gold_random": [[[3259.6667]], [[6061]], [[3259.6667]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Indore|2025|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Indore", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Indore? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[10763.875]], [[10456.2]], [[10763.875]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_split_items.db"], "gold_random": [[[10763.875]], [[10438.2727]], [[10763.875]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Surat|2024|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Surat? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[13816.5]], [[14381.5]], [[13816.5]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_refunds.db"], "gold_random": [[[13816.5]], [[8732.75]], [[13816.5]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Surat|2025|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Surat? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7010.6364]], [[7464.2667]], [[7010.6364]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_cancelled_orders.db"], "gold_random": [[[7010.6364]], [[7464.2667]], [[7010.6364]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Nagpur|2024|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Nagpur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[2626]], [[10330.8]], [[2626]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_later_tier.db"], "gold_random": [[[2626]], [[4834]], [[2626]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Nagpur|2025|S_s303", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Nagpur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[8635.5714]], [[8420.7]], [[8635.5714]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_split_items.db"], "gold_random": [[[8635.5714]], [[9620]], [[8635.5714]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F4_current_tier_count|Delhi|bronze|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "bronze"}, "question": "How many customers from Delhi are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_zero_order_customers.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": true}, "mutant_caught": {"any_row": false, "first_row": true}, "mutant_catchable": {"any_row": false, "first_row": true}} {"id": "F4_current_tier_count|Delhi|silver|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "silver"}, "question": "How many customers from Delhi are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[0]], [[1]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_dup_order.db"], "gold_random": [[[1]], [[0]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|bronze|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "bronze"}, "question": "How many customers from Mumbai are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_superseded_tier.db"], "cf_edits": ["zero_order_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_refunds.db"], "gold_random": [[[3]], [[5]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|silver|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "silver"}, "question": "How many customers from Mumbai are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_dup_order.db"], "cf_edits": ["later_tier", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_cancelled_orders.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|gold|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "gold"}, "question": "How many customers from Mumbai are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_split_items.db"], "cf_edits": ["later_tier", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_zero_order_customers.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Pune|bronze|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "bronze"}, "question": "How many customers from Pune are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_x_x/cf_dup_order.db"], "gold_random": [[[2]], [[1]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Pune|silver|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "silver"}, "question": "How many customers from Pune are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Pune_x_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Pune_x_x/cf_split_items.db"], "gold_random": [[[3]], [[5]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Pune|gold|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "gold"}, "question": "How many customers from Pune are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Pune_x_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[4]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_x_x/cf_refunds.db"], "gold_random": [[[4]], [[5]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|bronze|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "bronze"}, "question": "How many customers from Jaipur are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_split_items.db"], "gold_random": [[[3]], [[4]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|silver|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "silver"}, "question": "How many customers from Jaipur are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_dup_order.db"], "cf_edits": ["zero_order_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_superseded_tier.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|gold|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "gold"}, "question": "How many customers from Jaipur are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_split_items.db"], "gold_random": [[[1]], [[0]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|silver|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "silver"}, "question": "How many customers from Kochi are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_adjustments.db"], "gold_random": [[[3]], [[2]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|gold|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "gold"}, "question": "How many customers from Kochi are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_new_customers.db"], "cf_edits": ["later_tier", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_drop_customers.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Indore|bronze|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "bronze"}, "question": "How many customers from Indore are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Indore_x_x/cf_adjustments.db"], "cf_edits": ["zero_order_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Indore_x_x/cf_split_items.db"], "gold_random": [[[3]], [[4]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Indore|silver|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "silver"}, "question": "How many customers from Indore are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_x_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[4]], [[5]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_x_x/cf_split_items.db"], "gold_random": [[[5]], [[4]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Surat|bronze|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "bronze"}, "question": "How many customers from Surat are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_x_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Surat_x_x/cf_superseded_tier.db"], "gold_random": [[[3]], [[2]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Surat|silver|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "silver"}, "question": "How many customers from Surat are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Surat_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_x_x/cf_split_payments.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|bronze|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "bronze"}, "question": "How many customers from Nagpur are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_refunds.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|silver|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "silver"}, "question": "How many customers from Nagpur are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_drop_customers.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|gold|S_s303", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "gold"}, "question": "How many customers from Nagpur are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_split_items.db"], "cf_edits": ["zero_order_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[5]], [[4]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_superseded_tier.db"], "gold_random": [[[4]], [[2]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_list|Delhi|bronze|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "bronze"}, "question": "List the IDs of customers from Delhi whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[43]], [[43], [52]], [[43]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_dup_order.db"], "gold_random": [[[43]], [[43], [33]], [[43]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": false}, "mutant_catchable": {"any_row": false}} {"id": "F4_current_tier_list|Delhi|silver|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "silver"}, "question": "List the IDs of customers from Delhi whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_dup_order.db"], "cf_edits": ["later_tier", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[33]], [], [[33]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Delhi_x_x/cf_cancelled_orders.db"], "gold_random": [[[33]], [], [[33]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|bronze|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "bronze"}, "question": "List the IDs of customers from Mumbai whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [30], [35]], [[4], [35]], [[4], [30], [35]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_cancelled_orders.db"], "gold_random": [[[4], [30], [35]], [[4], [30], [31]], [[4], [30], [35]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|silver|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "silver"}, "question": "List the IDs of customers from Mumbai whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6], [16]], [[6], [16], [52]], [[6], [16]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_cancelled_orders.db"], "gold_random": [[[6], [16]], [[6]], [[6], [16]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|gold|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "gold"}, "question": "List the IDs of customers from Mumbai whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[31]], [[16], [35]], [[31]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Mumbai_x_x/cf_adjustments.db"], "gold_random": [[[31]], [[31], [51]], [[31]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Pune|bronze|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "bronze"}, "question": "List the IDs of customers from Pune whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_x_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [9]], [[5]], [[5], [9]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Pune_x_x/cf_superseded_tier.db"], "gold_random": [[[5], [9]], [[5], [9], [52]], [[5], [9]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Pune|silver|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "silver"}, "question": "List the IDs of customers from Pune whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Pune_x_x/cf_dup_order.db"], "cf_edits": ["later_tier", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [2], [25]], [[2], [5]], [[1], [2], [25]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Pune_x_x/cf_superseded_tier.db"], "gold_random": [[[1], [2], [25]], [[1], [2], [25], [51], [53]], [[1], [2], [25]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Pune|gold|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "gold"}, "question": "List the IDs of customers from Pune whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Pune_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [12], [14], [47]], [[3], [12], [14], [1], [25]], [[3], [12], [14], [47]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_x_x/cf_split_payments.db"], "gold_random": [[[3], [12], [14], [47]], [[3], [12]], [[3], [12], [14], [47]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|bronze|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "bronze"}, "question": "List the IDs of customers from Jaipur whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[13], [15], [46]], [[15], [46]], [[13], [15], [46]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_cancelled_orders.db"], "gold_random": [[[13], [15], [46]], [], [[13], [15], [46]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|silver|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "silver"}, "question": "List the IDs of customers from Jaipur whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[17], [37]], [[17], [37], [13], [15]], [[17], [37]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_refunds.db"], "gold_random": [[[17], [37]], [[17], [37], [13], [15]], [[17], [37]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|gold|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "gold"}, "question": "List the IDs of customers from Jaipur whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[48]], [[48], [46]], [[48]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_x_x/cf_split_payments.db"], "gold_random": [[[48]], [], [[48]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|bronze|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "bronze"}, "question": "List the IDs of customers from Kochi whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[28], [45]], [[28], [21]], [[28], [45]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_split_items.db"], "gold_random": [[[28], [45]], [[28], [21]], [[28], [45]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|silver|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "silver"}, "question": "List the IDs of customers from Kochi whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [21], [49]], [[8], [34]], [[8], [21], [49]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_split_payments.db"], "gold_random": [[[8], [21], [49]], [[8], [21], [49], [51], [52]], [[8], [21], [49]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|gold|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "gold"}, "question": "List the IDs of customers from Kochi whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[24], [34]], [[24], [49], [45]], [[24], [34]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Kochi_x_x/cf_adjustments.db"], "gold_random": [[[24], [34]], [[24], [49], [45]], [[24], [34]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Indore|bronze|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "bronze"}, "question": "List the IDs of customers from Indore whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Indore_x_x/cf_new_customers.db"], "cf_edits": ["later_tier", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [27], [41]], [[10], [11], [20]], [[10], [27], [41]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Indore_x_x/cf_superseded_tier.db"], "gold_random": [[[10], [27], [41]], [[10], [27], [41], [51]], [[10], [27], [41]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Indore|silver|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "silver"}, "question": "List the IDs of customers from Indore whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [20], [39], [40], [50]], [[20], [39], [40], [50]], [[11], [20], [39], [40], [50]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_x_x/cf_refunds.db"], "gold_random": [[[11], [20], [39], [40], [50]], [[20], [39], [40], [50]], [[11], [20], [39], [40], [50]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Surat|bronze|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "bronze"}, "question": "List the IDs of customers from Surat whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_x_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[22], [26], [38]], [[22], [26], [38], [52]], [[22], [26], [38]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Surat_x_x/cf_split_items.db"], "gold_random": [[[22], [26], [38]], [[22]], [[22], [26], [38]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Surat|silver|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "silver"}, "question": "List the IDs of customers from Surat whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Surat_x_x/cf_dup_order.db"], "cf_edits": ["later_tier", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [36]], [[7], [36], [26], [38]], [[7], [36]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Surat_x_x/cf_cancelled_orders.db"], "gold_random": [[[7], [36]], [[7]], [[7], [36]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|bronze|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "bronze"}, "question": "List the IDs of customers from Nagpur whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[32]], [[32], [51]], [[32]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_superseded_tier.db"], "gold_random": [[[32]], [[23], [42]], [[32]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|silver|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "silver"}, "question": "List the IDs of customers from Nagpur whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[23], [44]], [[23], [44], [52]], [[23], [44]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_refunds.db"], "gold_random": [[[23], [44]], [[44], [19]], [[23], [44]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|gold|S_s303", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "gold"}, "question": "List the IDs of customers from Nagpur whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_dup_order.db"], "cf_edits": ["zero_order_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [19], [29], [42]], [[18], [19], [29], [42], [51]], [[18], [19], [29], [42]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Nagpur_x_x/cf_split_payments.db"], "gold_random": [[[18], [19], [29], [42]], [[18], [19]], [[18], [19], [29], [42]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_net_invoice|Delhi|2024|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[16227]], [[10547]], [[16227]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_adjustments.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_superseded_tier.db"], "gold_random": [[[16227]], [[16266]], [[16227]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Mumbai|2024|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[31774]], [[48244]], [[31774]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_adjustments.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_split_payments.db"], "gold_random": [[[31774]], [[32075]], [[31774]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Mumbai|2025|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_adjustments.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_cancelled_orders.db"], "cf_edits": ["adjustments", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[20430]], [[20767]], [[20430]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_later_tier.db"], "gold_random": [[[20430]], [[42586]], [[20430]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Pune|2024|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_adjustments.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[27130]], [[27260]], [[27130]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_split_items.db"], "gold_random": [[[27130]], [[43702]], [[27130]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Pune|2025|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_adjustments.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[33909]], [[34236]], [[33909]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_split_items.db"], "gold_random": [[[33909]], [[48929]], [[33909]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Jaipur|2024|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_adjustments.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_later_tier.db"], "cf_edits": ["adjustments", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[24549]], [[24672]], [[24549]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_split_payments.db"], "gold_random": [[[24549]], [[13611]], [[24549]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Jaipur|2025|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[73725]], [[53537]], [[73725]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_cancelled_orders.db"], "gold_random": [[[73725]], [[97004]], [[73725]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Kochi|2024|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_adjustments.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_superseded_tier.db"], "cf_edits": ["adjustments", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[33401]], [[33964]], [[33401]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_split_items.db"], "gold_random": [[[33401]], [[35006]], [[33401]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Kochi|2025|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[22851]], [[22250]], [[22851]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_zero_order_customers.db"], "gold_random": [[[22851]], [[35861]], [[22851]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Indore|2024|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_adjustments.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_later_tier.db"], "cf_edits": ["adjustments", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6539]], [[6639]], [[6539]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_cancelled_orders.db"], "gold_random": [[[6539]], [[3110]], [[6539]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Indore|2025|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_adjustments.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[76436]], [[77097]], [[76436]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_zero_order_customers.db"], "gold_random": [[[76436]], [[94887]], [[76436]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Surat|2024|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_adjustments.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[17847]], [[17958]], [[17847]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_cancelled_orders.db"], "gold_random": [[[17847]], [[57483]], [[17847]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Surat|2025|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_adjustments.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_zero_order_customers.db"], "cf_edits": ["adjustments", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[64547]], [[64918]], [[64547]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_adjustments.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_refunds.db"], "gold_random": [[[64547]], [[64918]], [[64547]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Nagpur|2024|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5000]], [[23918]], [[5000]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_superseded_tier.db"], "gold_random": [[[5000]], [[15862]], [[5000]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Nagpur|2025|S_s303", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_adjustments.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_later_tier.db"], "cf_edits": ["adjustments", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[36079]], [[36524]], [[36079]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_adjustments.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_zero_order_customers.db"], "gold_random": [[[36079]], [[36524]], [[36079]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_revenue_by_current_tier|Delhi|2024|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Delhi in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_later_tier.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_split_items.db"], "cf_edits": ["later_tier", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 23528], ["silver", 22275]], [["bronze", 23528], ["gold", 22275]], [["bronze", 23528], ["silver", 22275]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Delhi_2024_x/cf_adjustments.db"], "gold_random": [[["bronze", 23528], ["silver", 22275]], [["bronze", 37368], ["silver", 62954]], [["bronze", 23528], ["silver", 22275]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": true}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Mumbai|2024|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Mumbai in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 14445], ["gold", 15795], ["silver", 4020]], [["bronze", 15075], ["gold", 31635], ["silver", 4020]], [["bronze", 14445], ["gold", 15795], ["silver", 4020]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Mumbai_2024_x/cf_refunds.db"], "gold_random": [[["bronze", 14445], ["gold", 15795], ["silver", 4020]], [["bronze", 15075], ["gold", 31635], ["silver", 4020]], [["bronze", 14445], ["gold", 15795], ["silver", 4020]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Mumbai|2025|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Mumbai in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_later_tier.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 19820], ["gold", 210], ["silver", 7830]], [["bronze", 27650], ["silver", 210]], [["bronze", 19820], ["gold", 210], ["silver", 7830]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Mumbai_2025_x/cf_superseded_tier.db"], "gold_random": [[["bronze", 19820], ["gold", 210], ["silver", 7830]], [["bronze", 25921], ["gold", 3150], ["silver", 7830]], [["bronze", 19820], ["gold", 210], ["silver", 7830]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Pune|2024|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Pune in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 24124], ["gold", 15571], ["silver", 39252]], [["bronze", 32734], ["gold", 45151], ["silver", 46412]], [["bronze", 24124], ["gold", 15571], ["silver", 39252]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Pune_2024_x/cf_zero_order_customers.db"], "gold_random": [[["bronze", 24124], ["gold", 15571], ["silver", 39252]], [["bronze", 32734], ["gold", 45151], ["silver", 46412]], [["bronze", 24124], ["gold", 15571], ["silver", 39252]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Pune|2025|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Pune in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 10507], ["gold", 59138], ["silver", 22177]], [["bronze", 25757], ["gold", 59138], ["silver", 37197]], [["bronze", 10507], ["gold", 59138], ["silver", 22177]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Pune_2025_x/cf_cancelled_orders.db"], "gold_random": [[["bronze", 10507], ["gold", 59138], ["silver", 22177]], [["gold", 59138], ["silver", 11503]], [["bronze", 10507], ["gold", 59138], ["silver", 22177]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Jaipur|2024|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Jaipur in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 13611], ["gold", 11788], ["silver", 12091]], [["bronze", 20019], ["gold", 11788], ["silver", 12091]], [["bronze", 13611], ["gold", 11788], ["silver", 12091]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Jaipur_2024_x/cf_refunds.db"], "gold_random": [[["bronze", 13611], ["gold", 11788], ["silver", 12091]], [["bronze", 20019], ["gold", 11788], ["silver", 12091]], [["bronze", 13611], ["gold", 11788], ["silver", 12091]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Jaipur|2025|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Jaipur in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 38066], ["gold", 9683], ["silver", 40303]], [["bronze", 27561], ["silver", 40303]], [["bronze", 38066], ["gold", 9683], ["silver", 40303]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s303/f_Jaipur_2025_x/cf_adjustments.db"], "gold_random": [[["bronze", 38066], ["gold", 9683], ["silver", 40303]], [["bronze", 45329], ["gold", 15999], ["silver", 50003]], [["bronze", 38066], ["gold", 9683], ["silver", 40303]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Kochi|2024|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Kochi in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 16048], ["gold", 1983], ["silver", 15370]], [["bronze", 16258], ["gold", 3378], ["silver", 15370]], [["bronze", 16048], ["gold", 1983], ["silver", 15370]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_later_tier.db", "audit/dbs/S_s303/f_Kochi_2024_x/cf_split_payments.db"], "gold_random": [[["bronze", 16048], ["gold", 1983], ["silver", 15370]], [["bronze", 16048], ["gold", 17353]], [["bronze", 16048], ["gold", 1983], ["silver", 15370]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Kochi|2025|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Kochi in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 32212], ["gold", 13017], ["silver", 3834]], [["bronze", 53572], ["gold", 13017], ["silver", 3834]], [["bronze", 32212], ["gold", 13017], ["silver", 3834]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Kochi_2025_x/cf_refunds.db"], "gold_random": [[["bronze", 32212], ["gold", 13017], ["silver", 3834]], [["bronze", 53572], ["gold", 13017], ["silver", 3834]], [["bronze", 32212], ["gold", 13017], ["silver", 3834]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Indore|2024|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Indore in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 3240], ["silver", 6539]], [["bronze", 29827], ["silver", 6539]], [["bronze", 3240], ["silver", 6539]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_later_tier.db", "audit/dbs/S_s303/f_Indore_2024_x/cf_refunds.db"], "gold_random": [[["bronze", 3240], ["silver", 6539]], [["bronze", 3429], ["gold", 3110], ["silver", 3240]], [["bronze", 3240], ["silver", 6539]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": true}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Indore|2025|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Indore in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_later_tier.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_cancelled_orders.db"], "cf_edits": ["later_tier", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 64806], ["silver", 21305]], [["bronze", 21966], ["gold", 62665], ["silver", 1480]], [["bronze", 64806], ["silver", 21305]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_later_tier.db", "audit/dbs/S_s303/f_Indore_2025_x/cf_refunds.db"], "gold_random": [[["bronze", 64806], ["silver", 21305]], [["bronze", 21966], ["gold", 62665], ["silver", 1480]], [["bronze", 64806], ["silver", 21305]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Surat|2024|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Surat in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_later_tier.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 17847], ["silver", 9786]], [["gold", 17847], ["silver", 9786]], [["bronze", 17847], ["silver", 9786]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s303/f_Surat_2024_x/cf_superseded_tier.db"], "gold_random": [[["bronze", 17847], ["silver", 9786]], [["bronze", 25145], ["silver", 9786]], [["bronze", 17847], ["silver", 9786]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Surat|2025|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Surat in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_later_tier.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 52421], ["silver", 24696]], [["bronze", 52421], ["gold", 24696]], [["bronze", 52421], ["silver", 24696]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s303/f_Surat_2025_x/cf_drop_customers.db"], "gold_random": [[["bronze", 52421], ["silver", 24696]], [["bronze", 62544], ["silver", 49420]], [["bronze", 52421], ["silver", 24696]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Nagpur|2024|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Nagpur in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_later_tier.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["later_tier", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 1040], ["silver", 4212]], [["silver", 5252]], [["gold", 1040], ["silver", 4212]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s303/f_Nagpur_2024_x/cf_superseded_tier.db"], "gold_random": [[["gold", 1040], ["silver", 4212]], [["gold", 4850], ["silver", 19320]], [["gold", 1040], ["silver", 4212]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Nagpur|2025|S_s303", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Nagpur in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 2729], ["gold", 26020], ["silver", 31700]], [["gold", 26020], ["silver", 31700]], [["bronze", 2729], ["gold", 26020], ["silver", 31700]]], "dbs_random": ["audit/dbs/S_s303/base.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_later_tier.db", "audit/dbs/S_s303/f_Nagpur_2025_x/cf_superseded_tier.db"], "gold_random": [[["bronze", 2729], ["gold", 26020], ["silver", 31700]], [["bronze", 34429], ["silver", 26020]], [["bronze", 2729], ["gold", 26020], ["silver", 31700]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F1_ordered_customers|Delhi|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[9]], [[7]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_dup_order.db"], "gold_random": [[[7]], [[5]], [[7]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[2]], [[4]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_dup_order.db"], "gold_random": [[[4]], [[6]], [[4]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Pune_x_x/cf_cancelled_orders.db"], "gold_random": [[[4]], [[3]], [[4]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[3]], [[5]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_refunds.db"], "gold_random": [[[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": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Kochi|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_adjustments.db"], "gold_random": [[[4]], [[2]], [[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": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Indore|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Indore_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[4]], [[6]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Indore_x_x/cf_dup_order.db"], "gold_random": [[[6]], [[4]], [[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": false}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Surat|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[6]], [[8]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_x_x/cf_dup_order.db"], "gold_random": [[[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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_zero_order_customers.db"], "gold_random": [[[4]], [[6]], [[4]]], "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|books|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_books/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_x_books/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[18]], [[18], [22], [32], [13]], [[18]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_books/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_x_books/cf_superseded_tier.db"], "gold_random": [[[18]], [[18], [22], [32], [13]], [[18]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_electronics/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Delhi_x_electronics/cf_refunds.db"], "cf_edits": ["cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[13], [18], [22], [32], [41], [49]], [[13], [18], [22], [32], [41], [49], [20]], [[13], [18], [22], [32], [41], [49]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_electronics/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_x_electronics/cf_refunds.db"], "gold_random": [[[13], [18], [22], [32], [41], [49]], [[13], [18], [22], [32], [41], [49], [20]], [[13], [18], [22], [32], [41], [49]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_x_grocery/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [20], [22], [32]], [[18], [20], [22], [32], [51], [52]], [[18], [20], [22], [32]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Delhi_x_grocery/cf_split_payments.db"], "gold_random": [[[18], [20], [22], [32]], [[18], [20], [22], [32], [13], [49], [41]], [[18], [20], [22], [32]]], "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|toys|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_toys/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_x_toys/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [20], [22], [32], [41], [49]], [[18], [20], [22], [32], [41], [49], [51], [52]], [[18], [20], [22], [32], [41], [49]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_toys/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_x_toys/cf_superseded_tier.db"], "gold_random": [[[18], [20], [22], [32], [41], [49]], [[18], [20], [22], [32], [41], [49], [13]], [[18], [20], [22], [32], [41], [49]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_apparel/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_x_apparel/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [22], [32], [41], [49]], [[18], [22], [32], [41], [49], [20]], [[18], [22], [32], [41], [49]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_apparel/cf_drop_customers.db", "audit/dbs/S_s304/f_Delhi_x_apparel/cf_cancelled_orders.db"], "gold_random": [[[18], [22], [32], [41], [49]], [[18], [22], [32]], [[18], [22], [32], [41], [49]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_home/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_x_home/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[13], [22], [32], [49]], [[13], [22], [32], [49], [51], [52]], [[13], [22], [32], [49]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_home/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_x_home/cf_later_tier.db"], "gold_random": [[[13], [22], [32], [49]], [[13], [22], [32], [49], [20], [41]], [[13], [22], [32], [49]]], "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|electronics|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_electronics/cf_dup_order.db", "audit/dbs/S_s304/f_Mumbai_x_electronics/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [14], [17]], [[3], [14], [17], [15]], [[3], [14], [17]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_electronics/cf_dup_order.db", "audit/dbs/S_s304/f_Mumbai_x_electronics/cf_split_payments.db"], "gold_random": [[[3], [14], [17]], [[3], [14], [17], [15]], [[3], [14], [17]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Mumbai_x_grocery/cf_drop_customers.db"], "cf_edits": ["cancelled_orders", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[14]], [[14], [15]], [[14]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_x_grocery/cf_split_payments.db"], "gold_random": [[[14]], [[14], [51], [52]], [[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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_toys/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_x_toys/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [14]], [[3], [14], [51], [52]], [[3], [14]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_toys/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_x_toys/cf_drop_customers.db"], "gold_random": [[[3], [14]], [[3], [14], [51], [52]], [[3], [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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_apparel/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_x_apparel/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [14], [15], [17]], [[3], [14], [15]], [[3], [14], [15], [17]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_apparel/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_x_apparel/cf_zero_order_customers.db"], "gold_random": [[[3], [14], [15], [17]], [[3], [14], [15], [17], [51], [52]], [[3], [14], [15], [17]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_home/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_x_home/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [14], [15]], [[3], [14], [15], [51], [52]], [[3], [14], [15]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_home/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Mumbai_x_home/cf_superseded_tier.db"], "gold_random": [[[3], [14], [15]], [[3], [14], [15], [17]], [[3], [14], [15]]], "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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Pune|books|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_books/cf_dup_order.db", "audit/dbs/S_s304/f_Pune_x_books/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[40]], [[40], [23]], [[40]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_books/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Pune_x_books/cf_superseded_tier.db"], "gold_random": [[[40]], [[40], [39]], [[40]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_electronics/cf_dup_order.db", "audit/dbs/S_s304/f_Pune_x_electronics/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[39], [40]], [[39], [40], [23]], [[39], [40]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_electronics/cf_drop_customers.db", "audit/dbs/S_s304/f_Pune_x_electronics/cf_cancelled_orders.db"], "gold_random": [[[39], [40]], [[40]], [[39], [40]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_x_grocery/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[23], [39], [40]], [[23], [39], [40], [51], [52]], [[23], [39], [40]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_grocery/cf_drop_customers.db", "audit/dbs/S_s304/f_Pune_x_grocery/cf_cancelled_orders.db"], "gold_random": [[[23], [39], [40]], [[23], [39]], [[23], [39], [40]]], "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_s304", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Pune", "category": "toys"}, "question": "Which customers (by customer_id) based in Pune 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 = 'Pune' AND p.category = 'toys'", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_toys/cf_dup_order.db", "audit/dbs/S_s304/f_Pune_x_toys/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[39], [40]], [[39], [40], [8]], [[39], [40]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_toys/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_x_toys/cf_zero_order_customers.db"], "gold_random": [[[39], [40]], [[39], [40], [51], [52]], [[39], [40]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_apparel/cf_drop_customers.db", "audit/dbs/S_s304/f_Pune_x_apparel/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [23], [39], [40]], [[8], [23], [40]], [[8], [23], [39], [40]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_apparel/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_x_apparel/cf_zero_order_customers.db"], "gold_random": [[[8], [23], [39], [40]], [[8], [23], [39], [40], [51], [52]], [[8], [23], [39], [40]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_home/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_x_home/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[40]], [[40], [51], [52]], [[40]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_home/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Pune_x_home/cf_refunds.db"], "gold_random": [[[40]], [[40], [39], [8]], [[40]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_books/cf_drop_customers.db", "audit/dbs/S_s304/f_Jaipur_x_books/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [45]], [[45]], [[9], [45]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_books/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_x_books/cf_zero_order_customers.db"], "gold_random": [[[9], [45]], [[9], [45], [51], [52]], [[9], [45]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_electronics/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_x_electronics/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [9], [45]], [[4], [9], [45], [51], [52]], [[4], [9], [45]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_electronics/cf_dup_order.db", "audit/dbs/S_s304/f_Jaipur_x_electronics/cf_later_tier.db"], "gold_random": [[[4], [9], [45]], [[4], [9], [45], [6]], [[4], [9], [45]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_x_grocery/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [45]], [[9], [45], [51], [52]], [[9], [45]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_grocery/cf_dup_order.db", "audit/dbs/S_s304/f_Jaipur_x_grocery/cf_zero_order_customers.db"], "gold_random": [[[9], [45]], [[9], [45], [30]], [[9], [45]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_toys/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Jaipur_x_toys/cf_later_tier.db"], "cf_edits": ["cancelled_orders", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[6], [9]], [[6], [9], [4], [30]], [[6], [9]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_toys/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Jaipur_x_toys/cf_split_items.db"], "gold_random": [[[6], [9]], [[6], [9], [4], [30]], [[6], [9]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_apparel/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_x_apparel/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [9], [45]], [[4], [9], [45], [51], [52]], [[4], [9], [45]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_apparel/cf_drop_customers.db", "audit/dbs/S_s304/f_Jaipur_x_apparel/cf_split_payments.db"], "gold_random": [[[4], [9], [45]], [[4], [9]], [[4], [9], [45]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_home/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_x_home/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[9], [30]], [[9], [30], [51], [52]], [[9], [30]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_home/cf_drop_customers.db", "audit/dbs/S_s304/f_Jaipur_x_home/cf_refunds.db"], "gold_random": [[[9], [30]], [[9]], [[9], [30]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_books/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_x_books/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[31]], [[31], [51], [52]], [[31]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_books/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Kochi_x_books/cf_split_items.db"], "gold_random": [[[31]], [[31], [5]], [[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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_electronics/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_x_electronics/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [31], [35]], [[2], [31], [35], [51], [52]], [[2], [31], [35]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_electronics/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Kochi_x_electronics/cf_refunds.db"], "gold_random": [[[2], [31], [35]], [[2], [31], [35], [5]], [[2], [31], [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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_x_grocery/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [5], [35]], [[2], [5], [35], [51], [52]], [[2], [5], [35]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_grocery/cf_drop_customers.db", "audit/dbs/S_s304/f_Kochi_x_grocery/cf_split_payments.db"], "gold_random": [[[2], [5], [35]], [[5], [35]], [[2], [5], [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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_toys/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Kochi_x_toys/cf_adjustments.db"], "cf_edits": ["cancelled_orders", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [31], [35]], [[2], [31], [35], [5]], [[2], [31], [35]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_toys/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_x_toys/cf_drop_customers.db"], "gold_random": [[[2], [31], [35]], [[2], [31], [35], [51], [52]], [[2], [31], [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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_apparel/cf_drop_customers.db", "audit/dbs/S_s304/f_Kochi_x_apparel/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [5], [35]], [[5], [35]], [[2], [5], [35]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_apparel/cf_dup_order.db", "audit/dbs/S_s304/f_Kochi_x_apparel/cf_superseded_tier.db"], "gold_random": [[[2], [5], [35]], [[2], [5], [35], [31]], [[2], [5], [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": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|home|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_home/cf_dup_order.db", "audit/dbs/S_s304/f_Kochi_x_home/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [31]], [[5], [31], [35]], [[5], [31]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_home/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_x_home/cf_split_payments.db"], "gold_random": [[[5], [31]], [[5], [31], [51], [52]], [[5], [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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_books/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Indore_x_books/cf_drop_customers.db"], "cf_edits": ["cancelled_orders", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[34]], [[34], [38], [1]], [[34]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_books/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_x_books/cf_split_items.db"], "gold_random": [[[34]], [[34], [51], [52]], [[34]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_electronics/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_x_electronics/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[16], [21], [34], [38]], [[16], [21], [34], [38], [51], [52]], [[16], [21], [34], [38]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_electronics/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_x_electronics/cf_adjustments.db"], "gold_random": [[[16], [21], [34], [38]], [[16], [21], [34], [38], [51], [52]], [[16], [21], [34], [38]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_grocery/cf_dup_order.db", "audit/dbs/S_s304/f_Indore_x_grocery/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[16], [21], [34], [38]], [[16], [21], [34], [38], [1]], [[16], [21], [34], [38]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_x_grocery/cf_later_tier.db"], "gold_random": [[[16], [21], [34], [38]], [[16], [21], [34], [38], [51], [52]], [[16], [21], [34], [38]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_toys/cf_dup_order.db", "audit/dbs/S_s304/f_Indore_x_toys/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [21], [38]], [[1], [21], [38], [47]], [[1], [21], [38]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_toys/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Indore_x_toys/cf_refunds.db"], "gold_random": [[[1], [21], [38]], [[1], [21], [38], [47]], [[1], [21], [38]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_apparel/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_x_apparel/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[16], [21], [38], [47]], [[16], [21], [38], [47], [51], [52]], [[16], [21], [38], [47]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_apparel/cf_dup_order.db", "audit/dbs/S_s304/f_Indore_x_apparel/cf_later_tier.db"], "gold_random": [[[16], [21], [38], [47]], [[16], [21], [38], [47], [1]], [[16], [21], [38], [47]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_home/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_x_home/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[21]], [[21], [51], [52]], [[21]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_home/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Indore_x_home/cf_zero_order_customers.db"], "gold_random": [[[21]], [[21], [38], [47]], [[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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_books/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_x_books/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[28], [36]], [[28], [36], [19], [27], [29]], [[28], [36]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_books/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Surat_x_books/cf_drop_customers.db"], "gold_random": [[[28], [36]], [[28], [36], [46], [7], [19]], [[28], [36]]], "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_s304", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "electronics"}, "question": "List the IDs of customers from Surat 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 = 'Surat' AND p.category = 'electronics'", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_electronics/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_x_electronics/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[19], [27], [28], [29], [36], [46]], [[19], [28], [36], [46]], [[19], [27], [28], [29], [36], [46]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_electronics/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_x_electronics/cf_later_tier.db"], "gold_random": [[[19], [27], [28], [29], [36], [46]], [[19], [27], [28], [29], [36], [46], [7]], [[19], [27], [28], [29], [36], [46]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_grocery/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_x_grocery/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[19], [27], [28]], [[19], [28]], [[19], [27], [28]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_grocery/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_x_grocery/cf_adjustments.db"], "gold_random": [[[19], [27], [28]], [[19], [27], [28], [46], [50], [7]], [[19], [27], [28]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_toys/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_x_toys/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[27], [28], [29], [36], [46]], [[27], [28], [29], [36], [46], [51], [52]], [[27], [28], [29], [36], [46]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_toys/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_x_toys/cf_later_tier.db"], "gold_random": [[[27], [28], [29], [36], [46]], [[27], [28], [29], [36], [46], [50], [19]], [[27], [28], [29], [36], [46]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_apparel/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_x_apparel/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [19], [27], [28], [36], [46]], [[7], [19], [27], [36]], [[7], [19], [27], [28], [36], [46]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_apparel/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_x_apparel/cf_split_payments.db"], "gold_random": [[[7], [19], [27], [28], [36], [46]], [[7], [19], [27], [36]], [[7], [19], [27], [28], [36], [46]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_home/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_x_home/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[28], [50]], [[28], [50], [46], [7], [19]], [[28], [50]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_home/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_x_home/cf_adjustments.db"], "gold_random": [[[28], [50]], [[28], [50], [51], [52]], [[28], [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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_books/cf_dup_order.db", "audit/dbs/S_s304/f_Nagpur_x_books/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[44]], [[44], [42], [33]], [[44]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_books/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Nagpur_x_books/cf_split_items.db"], "gold_random": [[[44]], [[44], [43]], [[44]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_electronics/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_x_electronics/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[33], [42], [43], [44]], [[33], [42], [43], [44], [51], [52]], [[33], [42], [43], [44]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_electronics/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_x_electronics/cf_split_items.db"], "gold_random": [[[33], [42], [43], [44]], [[33], [43], [44]], [[33], [42], [43], [44]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_x_grocery/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[33], [42], [43], [44]], [[33], [42], [43], [44], [51], [52]], [[33], [42], [43], [44]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_grocery/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_x_grocery/cf_dup_order.db"], "gold_random": [[[33], [42], [43], [44]], [[43], [44]], [[33], [42], [43], [44]]], "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_s304", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Nagpur", "category": "toys"}, "question": "Which customers (by customer_id) based in Nagpur 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 = 'Nagpur' AND p.category = 'toys'", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_toys/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_x_toys/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[33], [42], [44]], [[33], [42], [44], [51], [52]], [[33], [42], [44]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_toys/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_x_toys/cf_dup_order.db"], "gold_random": [[[33], [42], [44]], [[33], [42], [44], [51], [52]], [[33], [42], [44]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_apparel/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_x_apparel/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[33], [42], [44]], [[33], [42], [44], [51], [52]], [[33], [42], [44]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_apparel/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_x_apparel/cf_superseded_tier.db"], "gold_random": [[[33], [42], [44]], [[33], [42], [44], [51], [52]], [[33], [42], [44]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_home/cf_dup_order.db", "audit/dbs/S_s304/f_Nagpur_x_home/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[42]], [[42], [44]], [[42]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_home/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Nagpur_x_home/cf_superseded_tier.db"], "gold_random": [[[42]], [[42], [33]], [[42]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_split_items.db"], "gold_random": [[[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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_drop_customers.db"], "gold_random": [[[1]], [[2]], [[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": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Mumbai|2024|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_split_items.db"], "gold_random": [[[2]], [[1]], [[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 '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_new_customers.db"], "cf_edits": ["drop_customers", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_refunds.db"], "gold_random": [[[2]], [[1]], [[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_s304", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Pune", "year": 2024}, "question": "Count the customers in Pune 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 = 'Pune' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_dup_order.db"], "gold_random": [[[4]], [[6]], [[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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_cancelled_orders.db"], "gold_random": [[[1]], [[2]], [[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 '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_drop_customers.db"], "gold_random": [[[2]], [[3]], [[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": false, "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[2]], [[4]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_superseded_tier.db"], "gold_random": [[[4]], [[2]], [[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": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Kochi|2024|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_adjustments.db"], "gold_random": [[[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": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Kochi|2025|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_dup_order.db"], "gold_random": [[[3]], [[5]], [[3]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_adjustments.db"], "gold_random": [[[2]], [[4]], [[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": false}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Indore|2025|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_cancelled_orders.db"], "gold_random": [[[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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_later_tier.db"], "gold_random": [[[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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_adjustments.db"], "gold_random": [[[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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_zero_order_customers.db"], "gold_random": [[[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": 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_zero_order_customers.db"], "gold_random": [[[4]], [[3]], [[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": "F1_category_buyers|books|2024|S_s304", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "books", "year": 2024}, "question": "How many distinct customers bought a books product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_books/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2024_books/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_books/cf_new_customers.db", "audit/dbs/S_s304/f_x_2024_books/cf_zero_order_customers.db"], "gold_random": [[[4]], [[20]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|books|2025|S_s304", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "books", "year": 2025}, "question": "How many distinct customers bought a books product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_books/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2025_books/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[5]], [[6]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_books/cf_cancelled_orders.db", "audit/dbs/S_s304/f_x_2025_books/cf_later_tier.db"], "gold_random": [[[6]], [[23]], [[6]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'books' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|electronics|2024|S_s304", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "electronics", "year": 2024}, "question": "How many distinct customers bought a electronics product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_electronics/cf_cancelled_orders.db", "audit/dbs/S_s304/f_x_2024_electronics/cf_later_tier.db"], "cf_edits": ["cancelled_orders", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[12]], [[29]], [[12]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_electronics/cf_cancelled_orders.db", "audit/dbs/S_s304/f_x_2024_electronics/cf_refunds.db"], "gold_random": [[[12]], [[29]], [[12]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|electronics|2025|S_s304", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "electronics", "year": 2025}, "question": "How many distinct customers bought a electronics product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_electronics/cf_dup_order.db", "audit/dbs/S_s304/f_x_2025_electronics/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[21]], [[30]], [[21]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_electronics/cf_cancelled_orders.db", "audit/dbs/S_s304/f_x_2025_electronics/cf_refunds.db"], "gold_random": [[[21]], [[32]], [[21]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'electronics' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|grocery|2024|S_s304", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "grocery", "year": 2024}, "question": "How many distinct customers bought a grocery product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_x_2024_grocery/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[13]], [[29]], [[13]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_grocery/cf_dup_order.db", "audit/dbs/S_s304/f_x_2024_grocery/cf_superseded_tier.db"], "gold_random": [[[13]], [[26]], [[13]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'grocery' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|grocery|2025|S_s304", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "grocery", "year": 2025}, "question": "How many distinct customers bought a grocery product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_grocery/cf_cancelled_orders.db", "audit/dbs/S_s304/f_x_2025_grocery/cf_superseded_tier.db"], "cf_edits": ["cancelled_orders", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[12]], [[28]], [[12]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_grocery/cf_cancelled_orders.db", "audit/dbs/S_s304/f_x_2025_grocery/cf_split_payments.db"], "gold_random": [[[12]], [[28]], [[12]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|toys|2024|S_s304", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "toys", "year": 2024}, "question": "How many distinct customers bought a toys product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_toys/cf_new_customers.db", "audit/dbs/S_s304/f_x_2024_toys/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[11]], [[27]], [[11]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_toys/cf_new_customers.db", "audit/dbs/S_s304/f_x_2024_toys/cf_adjustments.db"], "gold_random": [[[11]], [[27]], [[11]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|toys|2025|S_s304", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "toys", "year": 2025}, "question": "How many distinct customers bought a toys product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_toys/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2025_toys/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[18]], [[14]], [[18]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_toys/cf_new_customers.db", "audit/dbs/S_s304/f_x_2025_toys/cf_split_payments.db"], "gold_random": [[[18]], [[34]], [[18]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'toys' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|apparel|2024|S_s304", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "apparel", "year": 2024}, "question": "How many distinct customers bought a apparel product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_apparel/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2024_apparel/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[21]], [[14]], [[21]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_apparel/cf_dup_order.db", "audit/dbs/S_s304/f_x_2024_apparel/cf_later_tier.db"], "gold_random": [[[21]], [[30]], [[21]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|apparel|2025|S_s304", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "apparel", "year": 2025}, "question": "How many distinct customers bought a apparel product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_apparel/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2025_apparel/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[18]], [[10]], [[18]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_apparel/cf_dup_order.db", "audit/dbs/S_s304/f_x_2025_apparel/cf_adjustments.db"], "gold_random": [[[18]], [[31]], [[18]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'apparel' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|home|2024|S_s304", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "home", "year": 2024}, "question": "How many distinct customers bought a home product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_home/cf_new_customers.db", "audit/dbs/S_s304/f_x_2024_home/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[23]], [[7]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_home/cf_cancelled_orders.db", "audit/dbs/S_s304/f_x_2024_home/cf_split_items.db"], "gold_random": [[[7]], [[27]], [[7]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'home' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|home|2025|S_s304", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "home", "year": 2025}, "question": "How many distinct customers bought a home product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_home/cf_new_customers.db", "audit/dbs/S_s304/f_x_2025_home/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[11]], [[27]], [[11]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_home/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2025_home/cf_later_tier.db"], "gold_random": [[[11]], [[7]], [[11]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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": "F2_paid_for_category|books|2024|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_books/cf_new_customers.db", "audit/dbs/S_s304/f_x_2024_books/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[39768]], [[129316]], [[39768]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_books/cf_new_customers.db", "audit/dbs/S_s304/f_x_2024_books/cf_split_items.db"], "gold_random": [[[39768]], [[129316]], [[39768]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_books/cf_adjustments.db", "audit/dbs/S_s304/f_x_2025_books/cf_split_items.db"], "cf_edits": ["adjustments", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[21242]], [[21668]], [[21242]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_books/cf_adjustments.db", "audit/dbs/S_s304/f_x_2025_books/cf_later_tier.db"], "gold_random": [[[21242]], [[21668]], [[21242]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_electronics/cf_dup_order.db", "audit/dbs/S_s304/f_x_2024_electronics/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[164886]], [[279284]], [[164886]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_electronics/cf_new_customers.db", "audit/dbs/S_s304/f_x_2024_electronics/cf_refunds.db"], "gold_random": [[[164886]], [[298808]], [[164886]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_electronics/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2025_electronics/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[173693]], [[137340]], [[173693]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_electronics/cf_adjustments.db", "audit/dbs/S_s304/f_x_2025_electronics/cf_zero_order_customers.db"], "gold_random": [[[173693]], [[175052]], [[173693]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_grocery/cf_dup_order.db", "audit/dbs/S_s304/f_x_2024_grocery/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[88327]], [[146423]], [[88327]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_x_2024_grocery/cf_split_payments.db"], "gold_random": [[[88327]], [[192465]], [[88327]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_grocery/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2025_grocery/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[93125]], [[74296]], [[93125]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_x_2025_grocery/cf_later_tier.db"], "gold_random": [[[93125]], [[170767]], [[93125]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_toys/cf_dup_order.db", "audit/dbs/S_s304/f_x_2024_toys/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[93667]], [[193117]], [[93667]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_toys/cf_adjustments.db", "audit/dbs/S_s304/f_x_2024_toys/cf_split_payments.db"], "gold_random": [[[93667]], [[93945]], [[93667]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_toys/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2025_toys/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[110075]], [[86168]], [[110075]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_toys/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2025_toys/cf_split_items.db"], "gold_random": [[[110075]], [[86168]], [[110075]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_apparel/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2024_apparel/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[241977]], [[161481]], [[241977]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_apparel/cf_dup_order.db", "audit/dbs/S_s304/f_x_2024_apparel/cf_later_tier.db"], "gold_random": [[[241977]], [[319238]], [[241977]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_apparel/cf_adjustments.db", "audit/dbs/S_s304/f_x_2025_apparel/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[173517]], [[174411]], [[173517]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_apparel/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2025_apparel/cf_superseded_tier.db"], "gold_random": [[[173517]], [[78447]], [[173517]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_home/cf_adjustments.db", "audit/dbs/S_s304/f_x_2024_home/cf_split_items.db"], "cf_edits": ["adjustments", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[44490]], [[44701]], [[44490]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_home/cf_adjustments.db", "audit/dbs/S_s304/f_x_2024_home/cf_split_payments.db"], "gold_random": [[[44490]], [[44701]], [[44490]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_home/cf_dup_order.db", "audit/dbs/S_s304/f_x_2025_home/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[96743]], [[216684]], [[96743]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_home/cf_adjustments.db", "audit/dbs/S_s304/f_x_2025_home/cf_cancelled_orders.db"], "gold_random": [[[96743]], [[97260]], [[96743]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[66971]], [[95081]], [[66971]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_split_items.db"], "gold_random": [[[66971]], [[32931]], [[66971]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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|Mumbai|2024|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[27223]], [[34093]], [[27223]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_cancelled_orders.db"], "gold_random": [[[27223]], [[11390]], [[27223]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[48218]], [[28719]], [[48218]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_new_customers.db"], "gold_random": [[[48218]], [[28719]], [[48218]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[82925]], [[93828]], [[82925]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_refunds.db"], "gold_random": [[[82925]], [[68575]], [[82925]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[15566]], [[31037]], [[15566]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_adjustments.db"], "gold_random": [[[15566]], [[31037]], [[15566]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[21841]], [[36481]], [[21841]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_later_tier.db"], "gold_random": [[[21841]], [[29815]], [[21841]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[25476]], [[26776]], [[25476]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_split_items.db"], "gold_random": [[[25476]], [[18967]], [[25476]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[17488]], [[21258]], [[17488]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_drop_customers.db"], "gold_random": [[[17488]], [[21258]], [[17488]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[33908]], [[55074]], [[33908]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_superseded_tier.db"], "gold_random": [[[33908]], [[42128]], [[33908]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[12291]], [[24372]], [[12291]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_zero_order_customers.db"], "gold_random": [[[12291]], [[24372]], [[12291]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[17067]], [[5987]], [[17067]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_superseded_tier.db"], "gold_random": [[[17067]], [[24353]], [[17067]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_drop_customers.db"], "cf_edits": ["dup_order", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[47901]], [[48881]], [[47901]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_later_tier.db"], "gold_random": [[[47901]], [[85961]], [[47901]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[68090]], [[60890]], [[68090]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_refunds.db"], "gold_random": [[[68090]], [[87852]], [[68090]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[19950]], [[21768]], [[19950]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_refunds.db"], "gold_random": [[[19950]], [[12296]], [[19950]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[47002]], [[35606]], [[47002]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_split_items.db"], "gold_random": [[[47002]], [[35606]], [[47002]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_x_books/cf_drop_customers.db", "audit/dbs/S_s304/f_x_x_books/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[17400]], [[null]], [[17400]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_x_books/cf_drop_customers.db", "audit/dbs/S_s304/f_x_x_books/cf_superseded_tier.db"], "gold_random": [[[17400]], [[null]], [[17400]]], "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": false}, "mutant_catchable": {"join_fanout": false}} {"id": "F2_refunded_category|electronics|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_x_electronics/cf_refunds.db", "audit/dbs/S_s304/f_x_x_electronics/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[37923]], [[121255]], [[37923]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_x_electronics/cf_new_customers.db", "audit/dbs/S_s304/f_x_x_electronics/cf_cancelled_orders.db"], "gold_random": [[[37923]], [[49125]], [[37923]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_x_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_x_x_grocery/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[7488]], [[18919]], [[7488]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_x_grocery/cf_refunds.db", "audit/dbs/S_s304/f_x_x_grocery/cf_superseded_tier.db"], "gold_random": [[[7488]], [[47395]], [[7488]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_x_toys/cf_refunds.db", "audit/dbs/S_s304/f_x_x_toys/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[41562]], [[88215]], [[41562]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_x_toys/cf_refunds.db", "audit/dbs/S_s304/f_x_x_toys/cf_zero_order_customers.db"], "gold_random": [[[41562]], [[88215]], [[41562]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_x_apparel/cf_refunds.db", "audit/dbs/S_s304/f_x_x_apparel/cf_split_payments.db"], "cf_edits": ["refunds", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[50097]], [[121856]], [[50097]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_x_apparel/cf_refunds.db", "audit/dbs/S_s304/f_x_x_apparel/cf_adjustments.db"], "gold_random": [[[50097]], [[121856]], [[50097]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_x_home/cf_refunds.db", "audit/dbs/S_s304/f_x_x_home/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8135]], [[40587]], [[8135]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_x_home/cf_new_customers.db", "audit/dbs/S_s304/f_x_x_home/cf_adjustments.db"], "gold_random": [[[8135]], [[8718]], [[8135]]], "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": "F2_units_paid|books|2024|S_s304", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "books", "year": 2024}, "question": "How many units of books products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_books/cf_dup_order.db", "audit/dbs/S_s304/f_x_2024_books/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[22]], [[7]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_books/cf_new_customers.db", "audit/dbs/S_s304/f_x_2024_books/cf_refunds.db"], "gold_random": [[[7]], [[27]], [[7]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'books' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|books|2025|S_s304", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "books", "year": 2025}, "question": "How many units of books products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_books/cf_dup_order.db", "audit/dbs/S_s304/f_x_2025_books/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[21]], [[8]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_books/cf_new_customers.db", "audit/dbs/S_s304/f_x_2025_books/cf_adjustments.db"], "gold_random": [[[8]], [[38]], [[8]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'books' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|electronics|2024|S_s304", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "electronics", "year": 2024}, "question": "How many units of electronics products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_electronics/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2024_electronics/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[22]], [[15]], [[22]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_electronics/cf_dup_order.db", "audit/dbs/S_s304/f_x_2024_electronics/cf_cancelled_orders.db"], "gold_random": [[[22]], [[46]], [[22]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'electronics' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|electronics|2025|S_s304", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "electronics", "year": 2025}, "question": "How many units of electronics products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_electronics/cf_dup_order.db", "audit/dbs/S_s304/f_x_2025_electronics/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[30]], [[60]], [[30]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_electronics/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2025_electronics/cf_split_items.db"], "gold_random": [[[30]], [[22]], [[30]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'electronics' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|grocery|2024|S_s304", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "grocery", "year": 2024}, "question": "How many units of grocery products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_x_2024_grocery/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[19]], [[44]], [[19]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_x_2024_grocery/cf_split_items.db"], "gold_random": [[[19]], [[44]], [[19]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'grocery' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|grocery|2025|S_s304", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "grocery", "year": 2025}, "question": "How many units of grocery products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_grocery/cf_new_customers.db", "audit/dbs/S_s304/f_x_2025_grocery/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[17]], [[39]], [[17]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_grocery/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2025_grocery/cf_split_payments.db"], "gold_random": [[[17]], [[12]], [[17]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'grocery' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|toys|2024|S_s304", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "toys", "year": 2024}, "question": "How many units of toys products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_toys/cf_dup_order.db", "audit/dbs/S_s304/f_x_2024_toys/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[16]], [[36]], [[16]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_toys/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2024_toys/cf_cancelled_orders.db"], "gold_random": [[[16]], [[9]], [[16]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'toys' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|toys|2025|S_s304", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "toys", "year": 2025}, "question": "How many units of toys products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_toys/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2025_toys/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[33]], [[29]], [[33]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_toys/cf_new_customers.db", "audit/dbs/S_s304/f_x_2025_toys/cf_split_items.db"], "gold_random": [[[33]], [[63]], [[33]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'toys' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|apparel|2024|S_s304", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "apparel", "year": 2024}, "question": "How many units of apparel products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_apparel/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2024_apparel/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[48]], [[35]], [[48]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_apparel/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2024_apparel/cf_zero_order_customers.db"], "gold_random": [[[48]], [[35]], [[48]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'apparel' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|apparel|2025|S_s304", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "apparel", "year": 2025}, "question": "How many units of apparel products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_apparel/cf_dup_order.db", "audit/dbs/S_s304/f_x_2025_apparel/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[35]], [[68]], [[35]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_apparel/cf_new_customers.db", "audit/dbs/S_s304/f_x_2025_apparel/cf_adjustments.db"], "gold_random": [[[35]], [[72]], [[35]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'apparel' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|home|2024|S_s304", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "home", "year": 2024}, "question": "How many units of home products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_home/cf_drop_customers.db", "audit/dbs/S_s304/f_x_2024_home/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[2]], [[5]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2024_home/cf_new_customers.db", "audit/dbs/S_s304/f_x_2024_home/cf_split_items.db"], "gold_random": [[[5]], [[26]], [[5]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'home' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|home|2025|S_s304", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "home", "year": 2025}, "question": "How many units of home products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_home/cf_new_customers.db", "audit/dbs/S_s304/f_x_2025_home/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[21]], [[40]], [[21]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_x_2025_home/cf_dup_order.db", "audit/dbs/S_s304/f_x_2025_home/cf_zero_order_customers.db"], "gold_random": [[[21]], [[44]], [[21]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'home' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F3_gross_revenue|Delhi|2024|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[83982]], [[121255]], [[83982]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_superseded_tier.db"], "gold_random": [[[83982]], [[111358]], [[83982]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[8527]], [[33926]], [[8527]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_later_tier.db"], "gold_random": [[[8527]], [[33926]], [[8527]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[27223]], [[42536]], [[27223]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_split_items.db"], "gold_random": [[[27223]], [[11390]], [[27223]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "Compute 2025 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[53118]], [[28719]], [[53118]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_later_tier.db"], "gold_random": [[[53118]], [[83506]], [[53118]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[82925]], [[93828]], [[82925]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_superseded_tier.db"], "gold_random": [[[82925]], [[68575]], [[82925]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": false}, "mutant_catchable": {"no_status_filter": true, "shipped_only": false}} {"id": "F3_gross_revenue|Pune|2025|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[24365]], [[54830]], [[24365]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_split_items.db"], "gold_random": [[[24365]], [[38655]], [[24365]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": 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|2024|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_later_tier.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_dup_order.db"], "cf_edits": ["new_customers", "later_tier", "dup_order"], "cf_kinds": ["changing", "preserving", "changing"], "gold": [[[21841]], [[36481]], [[21841]], [[39256]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_drop_customers.db"], "gold_random": [[[21841]], [[36481]], [[21841]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[25476]], [[27776]], [[25476]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_split_items.db"], "gold_random": [[[25476]], [[27776]], [[25476]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": true}, "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_s304", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "What was the gross revenue from customers in Kochi 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 = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[29334]], [[44396]], [[29334]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_split_payments.db"], "gold_random": [[[29334]], [[44396]], [[29334]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[33908]], [[51167]], [[33908]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_adjustments.db"], "gold_random": [[[33908]], [[51167]], [[33908]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": true}, "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[14251]], [[35278]], [[14251]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_drop_customers.db"], "gold_random": [[[14251]], [[35278]], [[14251]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[40308]], [[52271]], [[40308]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_superseded_tier.db"], "gold_random": [[[40308]], [[29228]], [[40308]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": 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|2024|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[57671]], [[95731]], [[57671]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_adjustments.db"], "gold_random": [[[57671]], [[73010]], [[57671]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[78540]], [[93238]], [[78540]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_refunds.db"], "gold_random": [[[78540]], [[71340]], [[78540]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[19950]], [[44790]], [[19950]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_split_payments.db"], "gold_random": [[[19950]], [[44790]], [[19950]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[47002]], [[76400]], [[47002]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_superseded_tier.db"], "gold_random": [[[47002]], [[35606]], [[47002]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[6]], [[8]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_superseded_tier.db"], "gold_random": [[[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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[6]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_superseded_tier.db"], "gold_random": [[[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": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Mumbai|2024|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_split_payments.db"], "gold_random": [[[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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[2]], [[4]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_superseded_tier.db"], "gold_random": [[[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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[9]], [[7]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_adjustments.db"], "gold_random": [[[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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_adjustments.db"], "gold_random": [[[3]], [[8]], [[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 '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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Jaipur|2024|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[5]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_later_tier.db"], "gold_random": [[[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 '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[8]], [[6]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_zero_order_customers.db"], "gold_random": [[[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": false}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Kochi|2024|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[8]], [[5]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_zero_order_customers.db"], "gold_random": [[[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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_zero_order_customers.db"], "gold_random": [[[4]], [[9]], [[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 '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[8]], [[4]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_adjustments.db"], "gold_random": [[[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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[10]], [[6]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_adjustments.db"], "gold_random": [[[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 = '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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_active_orders|Surat|2024|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[5]], [[6]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_zero_order_customers.db"], "gold_random": [[[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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[11]], [[12]], [[11]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_later_tier.db"], "gold_random": [[[11]], [[10]], [[11]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_split_items.db"], "gold_random": [[[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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[9]], [[6]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_refunds.db"], "gold_random": [[[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 = '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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[80730]], [[103350]], [[80730]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_adjustments.db"], "gold_random": [[[80730]], [[116345]], [[80730]]], "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": 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[8527]], [[23315]], [[8527]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_adjustments.db"], "gold_random": [[[8527]], [[23315]], [[8527]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[19088]], [[25958]], [[19088]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_split_items.db"], "gold_random": [[[19088]], [[3255]], [[19088]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_refunds.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[53118]], [[46743]], [[53118]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_refunds.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_adjustments.db"], "gold_random": [[[53118]], [[46743]], [[53118]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[67653]], [[53303]], [[67653]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_superseded_tier.db"], "gold_random": [[[67653]], [[53303]], [[67653]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_refunds.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[24365]], [[20386]], [[24365]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_cancelled_orders.db"], "gold_random": [[[24365]], [[50864]], [[24365]]], "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": true}, "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_cancelled_orders.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "cancelled_orders", "refunds"], "cf_kinds": ["changing", "preserving", "changing"], "gold": [[[21841]], [[36481]], [[21841]], [[14715]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_cancelled_orders.db"], "gold_random": [[[21841]], [[39256]], [[21841]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[25197]], [[18688]], [[25197]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_refunds.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_cancelled_orders.db"], "gold_random": [[[25197]], [[20461]], [[25197]]], "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_s304", "template": "F3_net_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "What was the net revenue from customers in Kochi 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 = '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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_refunds.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[29334]], [[27219]], [[29334]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_split_payments.db"], "gold_random": [[[29334]], [[44396]], [[29334]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[32030]], [[53429]], [[32030]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_cancelled_orders.db"], "gold_random": [[[32030]], [[31288]], [[32030]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_refunds.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[14251]], [[8404]], [[14251]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_split_payments.db"], "gold_random": [[[14251]], [[31483]], [[14251]]], "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": 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[36548]], [[48511]], [[36548]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_adjustments.db"], "gold_random": [[[36548]], [[48511]], [[36548]]], "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": true}, "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_refunds.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_later_tier.db"], "cf_edits": ["refunds", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[30784]], [[22697]], [[30784]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_later_tier.db"], "gold_random": [[[30784]], [[46123]], [[30784]]], "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": 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_zero_order_customers.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "zero_order_customers", "refunds"], "cf_kinds": ["changing", "preserving", "changing"], "gold": [[[78540]], [[93238]], [[78540]], [[64728]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_split_payments.db"], "gold_random": [[[78540]], [[102346]], [[78540]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_refunds.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[19950]], [[12867]], [[19950]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_split_payments.db"], "gold_random": [[[19950]], [[12296]], [[19950]]], "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": 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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[47002]], [[65608]], [[47002]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_zero_order_customers.db"], "gold_random": [[[47002]], [[35606]], [[47002]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[32, 34040], [18, 27655], [41, 9070]], [[32, 45264], [18, 27655], [41, 23289]], [[32, 34040], [18, 27655], [41, 9070]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_adjustments.db"], "gold_random": [[[32, 34040], [18, 27655], [41, 9070]], [[32, 34040], [18, 27655], [52, 19785]], [[32, 34040], [18, 27655], [41, 9070]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_dup_order.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3, 28719], [14, 19499], [15, 16290]], [[3, 33038], [17, 25753], [14, 19499]], [[3, 28719], [14, 19499], [15, 16290]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_refunds.db"], "gold_random": [[[3, 28719], [14, 19499], [15, 16290]], [[3, 28719], [17, 15833]], [[3, 28719], [14, 19499], [15, 16290]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_dup_order.db", "audit/dbs/S_s304/f_Pune_x_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[40, 36301], [8, 32435], [39, 24204]], [[8, 48239], [40, 42754], [39, 24204]], [[40, 36301], [8, 32435], [39, 24204]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_dup_order.db", "audit/dbs/S_s304/f_Pune_x_x/cf_superseded_tier.db"], "gold_random": [[[40, 36301], [8, 32435], [39, 24204]], [[8, 48239], [40, 42754], [39, 24204]], [[40, 36301], [8, 32435], [39, 24204]]], "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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Jaipur|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[45, 19220], [4, 15410], [9, 11217]], [[45, 19220], [30, 1470]], [[45, 19220], [4, 15410], [9, 11217]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_new_customers.db"], "gold_random": [[[45, 19220], [4, 15410], [9, 11217]], [[45, 19220], [30, 1470]], [[45, 19220], [4, 15410], [9, 11217]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_dup_order.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[2, 23856], [35, 16790], [31, 14498]], [[2, 38364], [31, 31795], [35, 16790]], [[2, 23856], [35, 16790], [31, 14498]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_refunds.db"], "gold_random": [[[2, 23856], [35, 16790], [31, 14498]], [[51, 40950], [2, 23856], [35, 16790]], [[2, 23856], [35, 16790], [31, 14498]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[21, 25772], [38, 11080], [16, 9540]], [[21, 25772], [52, 11210], [38, 11080]], [[21, 25772], [38, 11080], [16, 9540]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_x_x/cf_zero_order_customers.db"], "gold_random": [[[21, 25772], [38, 11080], [16, 9540]], [[21, 25772], [52, 11210], [38, 11080]], [[21, 25772], [38, 11080], [16, 9540]]], "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": true}, "mutant_caught": {"no_status_filter": true}, "mutant_catchable": {"no_status_filter": true}} {"id": "F3_top_customers|Surat|S_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_x_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[28, 48512], [36, 39051], [27, 18308]], [[28, 48512], [27, 18308], [46, 10670]], [[28, 48512], [36, 39051], [27, 18308]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_x_x/cf_adjustments.db"], "gold_random": [[[28, 48512], [36, 39051], [27, 18308]], [[28, 48512], [27, 18308], [46, 10670]], [[28, 48512], [36, 39051], [27, 18308]]], "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_s304", "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": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_dup_order.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[44, 23692], [42, 20211], [33, 19283]], [[42, 25061], [44, 23692], [33, 19283]], [[44, 23692], [42, 20211], [33, 19283]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_refunds.db"], "gold_random": [[[44, 23692], [42, 20211], [33, 19283]], [[52, 27302], [44, 23692], [42, 20211]], [[44, 23692], [42, 20211], [33, 19283]]], "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": "F3_avg_order|Delhi|2024|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Delhi", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Delhi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[10497.75]], [[10104.5833]], [[10497.75]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_cancelled_orders.db"], "gold_random": [[[10497.75]], [[9279.8333]], [[10497.75]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Delhi|2025|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Delhi", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Delhi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4263.5]], [[5654.3333]], [[4263.5]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_split_items.db"], "gold_random": [[[4263.5]], [[8195.5]], [[4263.5]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Mumbai|2024|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Mumbai? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[13611.5]], [[10634]], [[13611.5]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_split_items.db"], "gold_random": [[[13611.5]], [[11390]], [[13611.5]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Mumbai|2025|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Mumbai? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[13279.5]], [[11966.4]], [[13279.5]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_zero_order_customers.db"], "gold_random": [[[13279.5]], [[14359.5]], [[13279.5]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Pune|2024|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Pune? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[11846.4286]], [[9863.3636]], [[11846.4286]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_refunds.db"], "gold_random": [[[11846.4286]], [[10425.3333]], [[11846.4286]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Pune|2025|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Pune? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[8121.6667]], [[6853.75]], [[8121.6667]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_split_items.db"], "gold_random": [[[8121.6667]], [[6853.75]], [[8121.6667]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Jaipur|2024|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Jaipur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[10920.5]], [[7296.2]], [[10920.5]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_drop_customers.db"], "gold_random": [[[10920.5]], [[9814]], [[10920.5]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Jaipur|2025|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Jaipur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[4246]], [[4741.75]], [[4246]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_split_payments.db"], "gold_random": [[[4246]], [[3472]], [[4246]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Kochi|2024|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Kochi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5866.8]], [[5549.5]], [[5866.8]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_cancelled_orders.db"], "gold_random": [[[5866.8]], [[5309]], [[5866.8]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Kochi|2025|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Kochi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[8477]], [[10429.3333]], [[8477]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_zero_order_customers.db"], "gold_random": [[[8477]], [[8527.8333]], [[8477]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Indore|2024|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Indore? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3562.75]], [[4409.75]], [[3562.75]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_drop_customers.db"], "gold_random": [[[3562.75]], [[4409.75]], [[3562.75]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Indore|2025|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Indore", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Indore? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[6718]], [[5227.1]], [[6718]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_refunds.db"], "gold_random": [[[6718]], [[5845.6]], [[6718]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Surat|2024|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Surat? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[9611.8333]], [[11014.2]], [[9611.8333]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_superseded_tier.db"], "gold_random": [[[9611.8333]], [[10636.7778]], [[9611.8333]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Surat|2025|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Surat? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[7140]], [[7769.8333]], [[7140]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_refunds.db"], "gold_random": [[[7140]], [[7769.8333]], [[7140]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Nagpur|2024|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Nagpur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[6650]], [[6148]], [[6650]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_later_tier.db"], "gold_random": [[[6650]], [[6148]], [[6650]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Nagpur|2025|S_s304", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Nagpur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7833.6667]], [[7492.8889]], [[7833.6667]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_refunds.db"], "gold_random": [[[7833.6667]], [[7492.8889]], [[7833.6667]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F4_current_tier_count|Delhi|bronze|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "bronze"}, "question": "How many customers from Delhi are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_adjustments.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Delhi|silver|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "silver"}, "question": "How many customers from Delhi are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[6]], [[5]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_cancelled_orders.db"], "gold_random": [[[5]], [[3]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Delhi|gold|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "gold"}, "question": "How many customers from Delhi are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_zero_order_customers.db"], "cf_edits": ["later_tier", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_drop_customers.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|bronze|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "bronze"}, "question": "How many customers from Mumbai are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_zero_order_customers.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_adjustments.db"], "cf_edits": ["zero_order_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_superseded_tier.db"], "gold_random": [[[2]], [[1]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|silver|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "silver"}, "question": "How many customers from Mumbai are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_refunds.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|gold|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "gold"}, "question": "How many customers from Mumbai are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_adjustments.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Pune|bronze|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "bronze"}, "question": "How many customers from Pune are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Pune_x_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[0]], [[1]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_zero_order_customers.db", "audit/dbs/S_s304/f_Pune_x_x/cf_new_customers.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Pune|silver|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "silver"}, "question": "How many customers from Pune are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_x_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_x_x/cf_zero_order_customers.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Pune|gold|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "gold"}, "question": "How many customers from Pune are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Pune_x_x/cf_drop_customers.db"], "cf_edits": ["later_tier", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[0]], [[1]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Pune_x_x/cf_cancelled_orders.db"], "gold_random": [[[1]], [[0]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|bronze|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "bronze"}, "question": "How many customers from Jaipur are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_drop_customers.db"], "cf_edits": ["later_tier", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_drop_customers.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|silver|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "silver"}, "question": "How many customers from Jaipur are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_dup_order.db"], "cf_edits": ["later_tier", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[0]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_zero_order_customers.db"], "gold_random": [[[2]], [[0]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|gold|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "gold"}, "question": "How many customers from Jaipur are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_adjustments.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|bronze|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "bronze"}, "question": "How many customers from Kochi are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_new_customers.db"], "cf_edits": ["later_tier", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_new_customers.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|silver|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "silver"}, "question": "How many customers from Kochi are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_refunds.db"], "cf_edits": ["zero_order_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_cancelled_orders.db"], "gold_random": [[[3]], [[4]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|gold|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "gold"}, "question": "How many customers from Kochi are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_split_items.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Indore|bronze|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "bronze"}, "question": "How many customers from Indore are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Indore_x_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_x_x/cf_dup_order.db"], "gold_random": [[[3]], [[4]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Indore|silver|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "silver"}, "question": "How many customers from Indore are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Indore_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Indore_x_x/cf_refunds.db"], "gold_random": [[[3]], [[2]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Surat|bronze|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "bronze"}, "question": "How many customers from Surat are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_x_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[3]], [[5]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Surat_x_x/cf_refunds.db"], "gold_random": [[[5]], [[1]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Surat|gold|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "gold"}, "question": "How many customers from Surat are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Surat_x_x/cf_dup_order.db"], "cf_edits": ["later_tier", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[5]], [[1]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Surat_x_x/cf_dup_order.db"], "gold_random": [[[1]], [[5]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": false, "first_row": true}, "mutant_catchable": {"any_row": false, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|bronze|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "bronze"}, "question": "How many customers from Nagpur are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_split_items.db"], "cf_edits": ["later_tier", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[2]], [[5]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_adjustments.db"], "gold_random": [[[5]], [[6]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|silver|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "silver"}, "question": "How many customers from Nagpur are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_split_items.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|gold|S_s304", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "gold"}, "question": "How many customers from Nagpur are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_cancelled_orders.db"], "cf_edits": ["zero_order_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_superseded_tier.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_list|Delhi|bronze|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "bronze"}, "question": "List the IDs of customers from Delhi whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_adjustments.db"], "cf_edits": ["later_tier", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[22], [32]], [[22], [20], [18]], [[22], [32]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_adjustments.db"], "gold_random": [[[22], [32]], [[22], [20], [18]], [[22], [32]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Delhi|silver|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "silver"}, "question": "List the IDs of customers from Delhi whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[13], [18], [20], [26], [41]], [[13], [18], [20], [26], [41], [52]], [[13], [18], [20], [26], [41]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_split_payments.db"], "gold_random": [[[13], [18], [20], [26], [41]], [[13], [18], [20], [26], [41], [52]], [[13], [18], [20], [26], [41]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Delhi|gold|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "gold"}, "question": "List the IDs of customers from Delhi whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[49]], [[49], [51]], [[49]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_x_x/cf_refunds.db"], "gold_random": [[[49]], [[49], [51]], [[49]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|bronze|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "bronze"}, "question": "List the IDs of customers from Mumbai whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [25]], [[15], [3]], [[15], [25]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_adjustments.db"], "gold_random": [[[15], [25]], [[25]], [[15], [25]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|silver|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "silver"}, "question": "List the IDs of customers from Mumbai whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3], [14]], [[14]], [[3], [14]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_superseded_tier.db"], "gold_random": [[[3], [14]], [[3]], [[3], [14]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|gold|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "gold"}, "question": "List the IDs of customers from Mumbai whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_zero_order_customers.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_adjustments.db"], "cf_edits": ["zero_order_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[17]], [[17], [52]], [[17]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_x_x/cf_split_payments.db"], "gold_random": [[[17]], [[17], [52]], [[17]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Pune|bronze|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "bronze"}, "question": "List the IDs of customers from Pune whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Pune_x_x/cf_new_customers.db"], "cf_edits": ["later_tier", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[39]], [], [[39]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_zero_order_customers.db", "audit/dbs/S_s304/f_Pune_x_x/cf_cancelled_orders.db"], "gold_random": [[[39]], [[39], [51]], [[39]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Pune|silver|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "silver"}, "question": "List the IDs of customers from Pune whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Pune_x_x/cf_dup_order.db"], "cf_edits": ["later_tier", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [23]], [[8], [23], [40], [39]], [[8], [23]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_x_x/cf_split_items.db"], "gold_random": [[[8], [23]], [[8], [23], [52]], [[8], [23]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Pune|gold|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "gold"}, "question": "List the IDs of customers from Pune whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Pune_x_x/cf_refunds.db"], "cf_edits": ["later_tier", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[40]], [], [[40]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_x_x/cf_split_items.db"], "gold_random": [[[40]], [[40], [51]], [[40]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|bronze|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "bronze"}, "question": "List the IDs of customers from Jaipur whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[6], [52]], [[6]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_dup_order.db"], "gold_random": [[[6]], [[6], [51], [52]], [[6]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|silver|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "silver"}, "question": "List the IDs of customers from Jaipur whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_new_customers.db"], "cf_edits": ["later_tier", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [9]], [], [[4], [9]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_dup_order.db"], "gold_random": [[[4], [9]], [], [[4], [9]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|gold|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "gold"}, "question": "List the IDs of customers from Jaipur whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[30], [45]], [[30], [45], [51]], [[30], [45]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_x_x/cf_later_tier.db"], "gold_random": [[[30], [45]], [[30], [45], [51]], [[30], [45]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|bronze|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "bronze"}, "question": "List the IDs of customers from Kochi whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_drop_customers.db"], "cf_edits": ["zero_order_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[10], [52]], [[10]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_split_items.db"], "gold_random": [[[10]], [[10], [31]], [[10]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|silver|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "silver"}, "question": "List the IDs of customers from Kochi whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [5], [35]], [[2], [5]], [[2], [5], [35]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_split_items.db"], "gold_random": [[[2], [5], [35]], [[2], [5]], [[2], [5], [35]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|gold|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "gold"}, "question": "List the IDs of customers from Kochi whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_adjustments.db"], "cf_edits": ["later_tier", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[31]], [[35]], [[31]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_x_x/cf_refunds.db"], "gold_random": [[[31]], [[31], [51]], [[31]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Indore|bronze|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "bronze"}, "question": "List the IDs of customers from Indore whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_zero_order_customers.db", "audit/dbs/S_s304/f_Indore_x_x/cf_dup_order.db"], "cf_edits": ["zero_order_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[34], [38], [47]], [[34], [38], [47], [52]], [[34], [38], [47]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_x_x/cf_adjustments.db"], "gold_random": [[[34], [38], [47]], [[34], [38], [47], [51]], [[34], [38], [47]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Indore|silver|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "silver"}, "question": "List the IDs of customers from Indore whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Indore_x_x/cf_cancelled_orders.db"], "cf_edits": ["later_tier", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [21], [24]], [[21], [47]], [[1], [21], [24]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Indore_x_x/cf_split_items.db"], "gold_random": [[[1], [21], [24]], [[1], [24]], [[1], [21], [24]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Indore|gold|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "gold"}, "question": "List the IDs of customers from Indore whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Indore_x_x/cf_drop_customers.db"], "cf_edits": ["later_tier", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[16], [37]], [[37], [1]], [[16], [37]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Indore_x_x/cf_zero_order_customers.db"], "gold_random": [[[16], [37]], [[37], [1]], [[16], [37]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Surat|bronze|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "bronze"}, "question": "List the IDs of customers from Surat whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Surat_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[7], [28], [29], [36], [46]], [[28], [29], [46]], [[7], [28], [29], [36], [46]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_x/cf_zero_order_customers.db", "audit/dbs/S_s304/f_Surat_x_x/cf_split_payments.db"], "gold_random": [[[7], [28], [29], [36], [46]], [[7], [28], [29], [36], [46], [51], [52]], [[7], [28], [29], [36], [46]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Surat|gold|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "gold"}, "question": "List the IDs of customers from Surat whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Surat_x_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[27]], [[27], [28], [36], [46], [7]], [[27]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Surat_x_x/cf_dup_order.db"], "gold_random": [[[27]], [[27], [28], [36], [46], [7]], [[27]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": false}, "mutant_catchable": {"any_row": false}} {"id": "F4_current_tier_list|Nagpur|bronze|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "bronze"}, "question": "List the IDs of customers from Nagpur whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_split_items.db"], "cf_edits": ["zero_order_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[11], [12], [33], [43], [48]], [[11], [12], [33], [43], [48], [52]], [[11], [12], [33], [43], [48]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_adjustments.db"], "gold_random": [[[11], [12], [33], [43], [48]], [[11], [43]], [[11], [12], [33], [43], [48]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|silver|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "silver"}, "question": "List the IDs of customers from Nagpur whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[42]], [[42], [44]], [[42]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_superseded_tier.db"], "gold_random": [[[42]], [[42], [51]], [[42]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|gold|S_s304", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "gold"}, "question": "List the IDs of customers from Nagpur whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_new_customers.db"], "cf_edits": ["later_tier", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[44]], [[12], [48], [33]], [[44]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s304/f_Nagpur_x_x/cf_dup_order.db"], "gold_random": [[[44]], [[12], [48], [33]], [[44]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_net_invoice|Delhi|2024|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_adjustments.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[68724]], [[69182]], [[68724]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_refunds.db"], "gold_random": [[[68724]], [[96834]], [[68724]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Mumbai|2024|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_adjustments.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[27223]], [[27511]], [[27223]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_superseded_tier.db"], "gold_random": [[[27223]], [[34093]], [[27223]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Mumbai|2025|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_adjustments.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[48218]], [[48401]], [[48218]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_adjustments.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_later_tier.db"], "gold_random": [[[48218]], [[48401]], [[48218]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Pune|2024|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_adjustments.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_cancelled_orders.db"], "cf_edits": ["adjustments", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[82998]], [[83360]], [[82998]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_split_payments.db"], "gold_random": [[[82998]], [[108570]], [[82998]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Pune|2025|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_adjustments.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[15566]], [[15582]], [[15566]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_adjustments.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_split_items.db"], "gold_random": [[[15566]], [[15582]], [[15566]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Jaipur|2024|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_adjustments.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[21841]], [[21963]], [[21841]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_adjustments.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_superseded_tier.db"], "gold_random": [[[21841]], [[21963]], [[21841]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Jaipur|2025|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_adjustments.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[25476]], [[25692]], [[25476]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_later_tier.db"], "gold_random": [[[25476]], [[18967]], [[25476]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Kochi|2024|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[16978]], [[20748]], [[16978]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_adjustments.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_cancelled_orders.db"], "gold_random": [[[16978]], [[17077]], [[16978]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Kochi|2025|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_adjustments.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[33908]], [[34306]], [[33908]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_refunds.db"], "gold_random": [[[33908]], [[55074]], [[33908]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Indore|2024|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_adjustments.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_superseded_tier.db"], "cf_edits": ["adjustments", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[12291]], [[12485]], [[12291]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_adjustments.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_later_tier.db"], "gold_random": [[[12291]], [[12485]], [[12291]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Indore|2025|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_adjustments.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[16833]], [[17364]], [[16833]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_split_items.db"], "gold_random": [[[16833]], [[24119]], [[16833]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Surat|2024|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[48856]], [[49836]], [[48856]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_drop_customers.db"], "gold_random": [[[48856]], [[86916]], [[48856]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Surat|2025|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_adjustments.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_zero_order_customers.db"], "cf_edits": ["adjustments", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[68090]], [[68487]], [[68090]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_adjustments.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_split_items.db"], "gold_random": [[[68090]], [[68487]], [[68090]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Nagpur|2024|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[19950]], [[21804]], [[19950]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_split_payments.db"], "gold_random": [[[19950]], [[43102]], [[19950]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Nagpur|2025|S_s304", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[47002]], [[65178]], [[47002]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_split_items.db"], "gold_random": [[[47002]], [[35606]], [[47002]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_revenue_by_current_tier|Delhi|2024|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Delhi in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 34040], ["gold", 7941], ["silver", 42001]], [["bronze", 34040], ["gold", 7941], ["silver", 79274]], [["bronze", 34040], ["gold", 7941], ["silver", 42001]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_later_tier.db", "audit/dbs/S_s304/f_Delhi_2024_x/cf_adjustments.db"], "gold_random": [[["bronze", 34040], ["gold", 7941], ["silver", 42001]], [["bronze", 7941], ["gold", 34040], ["silver", 42001]], [["bronze", 34040], ["gold", 7941], ["silver", 42001]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Delhi|2025|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Delhi in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["silver", 8527]], [["bronze", 11490], ["gold", 15566], ["silver", 22117]], [["silver", 8527]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Delhi_2025_x/cf_zero_order_customers.db"], "gold_random": [[["silver", 8527]], [["bronze", 11490], ["gold", 15566], ["silver", 22117]], [["silver", 8527]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Mumbai|2024|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Mumbai in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 11390], ["gold", 15833]], [["bronze", 11390]], [["bronze", 11390], ["gold", 15833]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_later_tier.db", "audit/dbs/S_s304/f_Mumbai_2024_x/cf_superseded_tier.db"], "gold_random": [[["bronze", 11390], ["gold", 15833]], [["bronze", 27223]], [["bronze", 11390], ["gold", 15833]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Mumbai|2025|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Mumbai in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 4900], ["silver", 48218]], [["bronze", 4900], ["gold", 6714], ["silver", 48218]], [["bronze", 4900], ["silver", 48218]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Mumbai_2025_x/cf_split_items.db"], "gold_random": [[["bronze", 4900], ["silver", 48218]], [["bronze", 4900], ["gold", 6714], ["silver", 48218]], [["bronze", 4900], ["silver", 48218]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Pune|2024|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Pune in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 24204], ["gold", 11936], ["silver", 46785]], [["bronze", 39224], ["gold", 22488], ["silver", 46785]], [["bronze", 24204], ["gold", 11936], ["silver", 46785]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Pune_2024_x/cf_zero_order_customers.db"], "gold_random": [[["bronze", 24204], ["gold", 11936], ["silver", 46785]], [["bronze", 39224], ["gold", 22488], ["silver", 46785]], [["bronze", 24204], ["gold", 11936], ["silver", 46785]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Pune|2025|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Pune in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 24365]], [["bronze", 8890], ["gold", 29765]], [["gold", 24365]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_later_tier.db", "audit/dbs/S_s304/f_Pune_2025_x/cf_refunds.db"], "gold_random": [[["gold", 24365]], [["bronze", 24365]], [["gold", 24365]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Jaipur|2024|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Jaipur in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 14181], ["silver", 7660]], [["bronze", 11380], ["gold", 14181], ["silver", 10920]], [["gold", 14181], ["silver", 7660]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_2024_x/cf_adjustments.db"], "gold_random": [[["gold", 14181], ["silver", 7660]], [["bronze", 11380], ["gold", 14181], ["silver", 10920]], [["gold", 14181], ["silver", 7660]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Jaipur|2025|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Jaipur in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_later_tier.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_split_items.db"], "cf_edits": ["later_tier", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 6509], ["silver", 18967]], [["bronze", 7750], ["gold", 17726]], [["gold", 6509], ["silver", 18967]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Jaipur_2025_x/cf_superseded_tier.db"], "gold_random": [[["gold", 6509], ["silver", 18967]], [["bronze", 15465], ["gold", 11289], ["silver", 18967]], [["gold", 6509], ["silver", 18967]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Kochi|2024|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Kochi in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[["silver", 29334]], [["gold", 8008], ["silver", 34932]], [["silver", 29334]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Kochi_2024_x/cf_refunds.db"], "gold_random": [[["silver", 29334]], [["gold", 8008], ["silver", 34932]], [["silver", 29334]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": true}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Kochi|2025|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Kochi in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_later_tier.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["later_tier", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 14498], ["silver", 19410]], [["bronze", 2620], ["gold", 14498], ["silver", 16790]], [["gold", 14498], ["silver", 19410]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Kochi_2025_x/cf_zero_order_customers.db"], "gold_random": [[["gold", 14498], ["silver", 19410]], [["gold", 14498], ["silver", 47570]], [["gold", 14498], ["silver", 19410]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Indore|2024|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Indore in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 1960], ["gold", 8430], ["silver", 3861]], [["bronze", 1960], ["gold", 8430], ["silver", 24888]], [["bronze", 1960], ["gold", 8430], ["silver", 3861]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2024_x/cf_adjustments.db"], "gold_random": [[["bronze", 1960], ["gold", 8430], ["silver", 3861]], [["bronze", 1960], ["gold", 8430], ["silver", 24888]], [["bronze", 1960], ["gold", 8430], ["silver", 3861]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Indore|2025|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Indore in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 16990], ["gold", 1110], ["silver", 22208]], [["bronze", 16990], ["gold", 1110], ["silver", 34171]], [["bronze", 16990], ["gold", 1110], ["silver", 22208]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Indore_2025_x/cf_adjustments.db"], "gold_random": [[["bronze", 16990], ["gold", 1110], ["silver", 22208]], [["bronze", 51531], ["gold", 1110], ["silver", 28098]], [["bronze", 16990], ["gold", 1110], ["silver", 22208]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Surat|2024|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Surat in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 47781], ["gold", 7290], ["silver", 2600]], [["bronze", 85841], ["gold", 7290], ["silver", 2600]], [["bronze", 47781], ["gold", 7290], ["silver", 2600]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_2024_x/cf_cancelled_orders.db"], "gold_random": [[["bronze", 47781], ["gold", 7290], ["silver", 2600]], [["bronze", 60160], ["gold", 10250], ["silver", 2600]], [["bronze", 47781], ["gold", 7290], ["silver", 2600]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Surat|2025|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Surat in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 63132], ["gold", 11018], ["silver", 4390]], [["bronze", 78488], ["gold", 18358], ["silver", 5500]], [["bronze", 63132], ["gold", 11018], ["silver", 4390]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s304/f_Surat_2025_x/cf_zero_order_customers.db"], "gold_random": [[["bronze", 63132], ["gold", 11018], ["silver", 4390]], [["bronze", 77830], ["gold", 11018], ["silver", 4390]], [["bronze", 63132], ["gold", 11018], ["silver", 4390]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Nagpur|2024|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Nagpur in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 12296], ["silver", 7654]], [["gold", 12296]], [["gold", 12296], ["silver", 7654]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s304/f_Nagpur_2024_x/cf_zero_order_customers.db"], "gold_random": [[["gold", 12296], ["silver", 7654]], [["gold", 41841], ["silver", 23574]], [["gold", 12296], ["silver", 7654]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Nagpur|2025|S_s304", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Nagpur in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_later_tier.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_split_items.db"], "cf_edits": ["later_tier", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 23049], ["gold", 11396], ["silver", 12557]], [["bronze", 30679], ["silver", 16323]], [["bronze", 23049], ["gold", 11396], ["silver", 12557]]], "dbs_random": ["audit/dbs/S_s304/base.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_later_tier.db", "audit/dbs/S_s304/f_Nagpur_2025_x/cf_split_items.db"], "gold_random": [[["bronze", 23049], ["gold", 11396], ["silver", 12557]], [["bronze", 30679], ["silver", 16323]], [["bronze", 23049], ["gold", 11396], ["silver", 12557]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F1_ordered_customers|Delhi|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[7]], [[5]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_split_items.db"], "gold_random": [[[5]], [[7]], [[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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_cancelled_orders.db"], "gold_random": [[[4]], [[3]], [[4]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[11]], [[8]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_x_x/cf_cancelled_orders.db"], "gold_random": [[[8]], [[11]], [[8]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[9]], [[12]], [[9]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_later_tier.db"], "gold_random": [[[9]], [[12]], [[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": true}, "mutant_caught": {"count_rows": true, "all_customers": true}, "mutant_catchable": {"count_rows": true, "all_customers": true}} {"id": "F1_ordered_customers|Kochi|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[13]], [[10]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_refunds.db"], "gold_random": [[[10]], [[7]], [[10]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Indore_x_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Indore_x_x/cf_adjustments.db"], "gold_random": [[[2]], [[1]], [[2]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Surat_x_x/cf_later_tier.db"], "gold_random": [[[3]], [[2]], [[3]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_cancelled_orders.db"], "gold_random": [[[4]], [[6]], [[4]]], "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|electronics|2024|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[6]], [[7]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_superseded_tier.db"], "gold_random": [[[7]], [[6]], [[7]]], "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|electronics|2025|S_s305", "template": "F1_products_sold", "family": "F1", "split": "train", "params": {"category": "electronics", "year": 2025}, "question": "In 2025, 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[6]], [[7]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_cancelled_orders.db"], "gold_random": [[[7]], [[6]], [[7]]], "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 '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 = 'electronics' 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 = 'electronics' 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_books/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_x_books/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[22], [46]], [[22], [46], [51], [52]], [[22], [46]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_books/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_x_books/cf_split_items.db"], "gold_random": [[[22], [46]], [[22], [46], [51], [52]], [[22], [46]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_electronics/cf_drop_customers.db", "audit/dbs/S_s305/f_Delhi_x_electronics/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [22], [25], [45], [46]], [[12], [22], [45]], [[12], [22], [25], [45], [46]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_electronics/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_x_electronics/cf_refunds.db"], "gold_random": [[[12], [22], [25], [45], [46]], [[12], [22], [25], [45], [46], [51], [52]], [[12], [22], [25], [45], [46]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Delhi_x_grocery/cf_adjustments.db"], "cf_edits": ["cancelled_orders", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [46]], [[12], [46], [22]], [[12], [46]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Delhi_x_grocery/cf_zero_order_customers.db"], "gold_random": [[[12], [46]], [[12], [46], [22]], [[12], [46]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_toys/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_x_toys/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[46]], [[46], [51], [52]], [[46]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_toys/cf_drop_customers.db", "audit/dbs/S_s305/f_Delhi_x_toys/cf_split_payments.db"], "gold_random": [[[46]], [], [[46]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_apparel/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_x_apparel/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [45]], [[12], [45], [51], [52]], [[12], [45]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_apparel/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Delhi_x_apparel/cf_split_payments.db"], "gold_random": [[[12], [45]], [[12], [45], [46]], [[12], [45]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_home/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_x_home/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[22], [45]], [[22], [45], [51], [52]], [[22], [45]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_home/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Delhi_x_home/cf_split_payments.db"], "gold_random": [[[22], [45]], [[22], [45], [25], [12]], [[22], [45]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_books/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_x_books/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[33]], [[33], [51], [52]], [[33]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_books/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_x_books/cf_refunds.db"], "gold_random": [[[33]], [[33], [51], [52]], [[33]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_electronics/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_x_electronics/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[33], [34], [38], [41]], [[33], [34], [38], [41], [51], [52]], [[33], [34], [38], [41]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_electronics/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_x_electronics/cf_zero_order_customers.db"], "gold_random": [[[33], [34], [38], [41]], [[33], [34], [38], [41], [51], [52]], [[33], [34], [38], [41]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_grocery/cf_dup_order.db", "audit/dbs/S_s305/f_Mumbai_x_grocery/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[38]], [[38], [33], [41]], [[38]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_grocery/cf_dup_order.db", "audit/dbs/S_s305/f_Mumbai_x_grocery/cf_split_items.db"], "gold_random": [[[38]], [[38], [33], [41]], [[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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_toys/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_x_toys/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[33], [34], [38], [41]], [[33], [34], [38], [41], [51], [52]], [[33], [34], [38], [41]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_toys/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_x_toys/cf_later_tier.db"], "gold_random": [[[33], [34], [38], [41]], [[33], [34], [38], [41], [51], [52]], [[33], [34], [38], [41]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_apparel/cf_dup_order.db", "audit/dbs/S_s305/f_Mumbai_x_apparel/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[38]], [[38], [33]], [[38]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_apparel/cf_dup_order.db", "audit/dbs/S_s305/f_Mumbai_x_apparel/cf_drop_customers.db"], "gold_random": [[[38]], [[38], [33]], [[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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_home/cf_drop_customers.db", "audit/dbs/S_s305/f_Mumbai_x_home/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[33], [34], [38], [41]], [[34], [38], [41]], [[33], [34], [38], [41]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_home/cf_drop_customers.db", "audit/dbs/S_s305/f_Mumbai_x_home/cf_refunds.db"], "gold_random": [[[33], [34], [38], [41]], [[34], [38], [41]], [[33], [34], [38], [41]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_books/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Pune_x_books/cf_superseded_tier.db"], "cf_edits": ["cancelled_orders", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [20], [27], [47]], [[15], [20], [27], [47], [21]], [[15], [20], [27], [47]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_books/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Pune_x_books/cf_zero_order_customers.db"], "gold_random": [[[15], [20], [27], [47]], [[15], [20], [27], [47], [21]], [[15], [20], [27], [47]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_electronics/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_x_electronics/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [20], [21], [24], [27], [30], [32], [47]], [[15], [20], [21], [24], [27], [30], [32], [47], [51], [52], [53]], [[15], [20], [21], [24], [27], [30], [32], [47]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_electronics/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_x_electronics/cf_adjustments.db"], "gold_random": [[[15], [20], [21], [24], [27], [30], [32], [47]], [[15], [20], [21], [24], [27], [30], [32], [47], [51], [52], [53]], [[15], [20], [21], [24], [27], [30], [32], [47]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_grocery/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_x_grocery/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [20], [21]], [[15], [20], [21], [51], [52], [53]], [[15], [20], [21]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Pune_x_grocery/cf_later_tier.db"], "gold_random": [[[15], [20], [21]], [[15], [20], [21], [24], [30], [27]], [[15], [20], [21]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_toys/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_x_toys/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [24], [30], [47]], [[15], [24], [30]], [[15], [24], [30], [47]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_toys/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_x_toys/cf_superseded_tier.db"], "gold_random": [[[15], [24], [30], [47]], [[15], [24], [30], [47], [51], [52], [53]], [[15], [24], [30], [47]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_apparel/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Pune_x_apparel/cf_later_tier.db"], "cf_edits": ["cancelled_orders", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [21], [30], [47]], [[15], [21], [30], [47], [24], [32]], [[15], [21], [30], [47]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_apparel/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_x_apparel/cf_superseded_tier.db"], "gold_random": [[[15], [21], [30], [47]], [[15], [21], [30], [47], [51], [52], [53]], [[15], [21], [30], [47]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_home/cf_dup_order.db", "audit/dbs/S_s305/f_Pune_x_home/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[24], [27], [47]], [[24], [27], [47], [20], [30]], [[24], [27], [47]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_home/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_x_home/cf_superseded_tier.db"], "gold_random": [[[24], [27], [47]], [[24], [27]], [[24], [27], [47]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_books/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_x_books/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[13], [23], [40]], [[13], [23]], [[13], [23], [40]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_books/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_x_books/cf_split_payments.db"], "gold_random": [[[13], [23], [40]], [[13], [23], [40], [51], [52], [53]], [[13], [23], [40]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_electronics/cf_dup_order.db", "audit/dbs/S_s305/f_Jaipur_x_electronics/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [5], [11], [23], [35], [40], [48]], [[4], [5], [11], [23], [35], [40], [48], [17]], [[4], [5], [11], [23], [35], [40], [48]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_electronics/cf_dup_order.db", "audit/dbs/S_s305/f_Jaipur_x_electronics/cf_split_items.db"], "gold_random": [[[4], [5], [11], [23], [35], [40], [48]], [[4], [5], [11], [23], [35], [40], [48], [17]], [[4], [5], [11], [23], [35], [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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_grocery/cf_dup_order.db", "audit/dbs/S_s305/f_Jaipur_x_grocery/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [5], [17], [40]], [[4], [5], [17], [40], [11], [13]], [[4], [5], [17], [40]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_grocery/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_x_grocery/cf_split_payments.db"], "gold_random": [[[4], [5], [17], [40]], [[5], [17]], [[4], [5], [17], [40]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_toys/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Jaipur_x_toys/cf_split_items.db"], "cf_edits": ["cancelled_orders", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [5], [11], [13], [23], [48]], [[4], [5], [11], [13], [23], [48], [40], [17]], [[4], [5], [11], [13], [23], [48]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_toys/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_x_toys/cf_split_payments.db"], "gold_random": [[[4], [5], [11], [13], [23], [48]], [[5], [11], [23]], [[4], [5], [11], [13], [23], [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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_apparel/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_x_apparel/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[17], [40], [48]], [[17], [48]], [[17], [40], [48]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_apparel/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Jaipur_x_apparel/cf_split_items.db"], "gold_random": [[[17], [40], [48]], [[17], [40], [48], [4], [5], [35]], [[17], [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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_home/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_x_home/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [11], [13], [23], [40], [48]], [[4], [11], [13], [23], [40], [48], [51], [52], [53]], [[4], [11], [13], [23], [40], [48]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_home/cf_dup_order.db", "audit/dbs/S_s305/f_Jaipur_x_home/cf_later_tier.db"], "gold_random": [[[4], [11], [13], [23], [40], [48]], [[4], [11], [13], [23], [40], [48], [35]], [[4], [11], [13], [23], [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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_books/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Kochi_x_books/cf_adjustments.db"], "cf_edits": ["cancelled_orders", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [6], [7], [9], [19], [44]], [[1], [6], [7], [9], [19], [44], [37]], [[1], [6], [7], [9], [19], [44]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_books/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_x_books/cf_split_payments.db"], "gold_random": [[[1], [6], [7], [9], [19], [44]], [[1], [6], [19], [44]], [[1], [6], [7], [9], [19], [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": false}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Kochi|electronics|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_electronics/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Kochi_x_electronics/cf_split_payments.db"], "cf_edits": ["cancelled_orders", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [2], [6], [7], [19], [37], [44]], [[1], [2], [6], [7], [19], [37], [44], [36]], [[1], [2], [6], [7], [19], [37], [44]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_electronics/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_x_electronics/cf_refunds.db"], "gold_random": [[[1], [2], [6], [7], [19], [37], [44]], [[1], [2], [6], [7], [19], [37], [44], [51], [52], [53]], [[1], [2], [6], [7], [19], [37], [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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_grocery/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_x_grocery/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [6], [7], [19], [36], [44]], [[2], [6], [7], [19], [36], [44], [9]], [[2], [6], [7], [19], [36], [44]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_grocery/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_x_grocery/cf_zero_order_customers.db"], "gold_random": [[[2], [6], [7], [19], [36], [44]], [[2], [6], [7], [19], [36], [44], [51], [52], [53]], [[2], [6], [7], [19], [36], [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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_toys/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_x_toys/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [6], [7], [9], [19], [37], [44]], [[7], [9], [19], [44]], [[2], [6], [7], [9], [19], [37], [44]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_toys/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_x_toys/cf_superseded_tier.db"], "gold_random": [[[2], [6], [7], [9], [19], [37], [44]], [[7], [9], [19], [44]], [[2], [6], [7], [9], [19], [37], [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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_apparel/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_x_apparel/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [7], [19], [36], [44]], [[7], [19], [36]], [[2], [7], [19], [36], [44]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_apparel/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_x_apparel/cf_split_payments.db"], "gold_random": [[[2], [7], [19], [36], [44]], [[7], [19], [36]], [[2], [7], [19], [36], [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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_home/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_x_home/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [3], [6], [7], [9], [19], [44]], [[2], [3], [6], [7], [9], [44]], [[2], [3], [6], [7], [9], [19], [44]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_home/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_x_home/cf_split_payments.db"], "gold_random": [[[2], [3], [6], [7], [9], [19], [44]], [[2], [3], [6], [7], [9], [44]], [[2], [3], [6], [7], [9], [19], [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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_books/cf_new_customers.db", "audit/dbs/S_s305/f_Indore_x_books/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[28]], [[28], [51], [52]], [[28]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_books/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Indore_x_books/cf_zero_order_customers.db"], "gold_random": [[[28]], [[28], [10]], [[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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Indore|electronics|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_electronics/cf_new_customers.db", "audit/dbs/S_s305/f_Indore_x_electronics/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[10], [28]], [[10], [28], [51], [52]], [[10], [28]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_electronics/cf_drop_customers.db", "audit/dbs/S_s305/f_Indore_x_electronics/cf_superseded_tier.db"], "gold_random": [[[10], [28]], [[28]], [[10], [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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_grocery/cf_dup_order.db", "audit/dbs/S_s305/f_Indore_x_grocery/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[10], [28]], [[10]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_grocery/cf_dup_order.db", "audit/dbs/S_s305/f_Indore_x_grocery/cf_drop_customers.db"], "gold_random": [[[10]], [[10], [28]], [[10]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_toys/cf_new_customers.db", "audit/dbs/S_s305/f_Indore_x_toys/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[28]], [[28], [51], [52]], [[28]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_toys/cf_drop_customers.db", "audit/dbs/S_s305/f_Indore_x_toys/cf_split_payments.db"], "gold_random": [[[28]], [], [[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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Surat|electronics|S_s305", "template": "F1_customer_list", "family": "F1", "split": "train", "params": {"city": "Surat", "category": "electronics"}, "question": "List the IDs of customers from Surat 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 = 'Surat' AND p.category = 'electronics'", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_electronics/cf_drop_customers.db", "audit/dbs/S_s305/f_Surat_x_electronics/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [16], [50]], [[8], [50]], [[8], [16], [50]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_electronics/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_x_electronics/cf_cancelled_orders.db"], "gold_random": [[[8], [16], [50]], [[8], [16], [50], [51], [52]], [[8], [16], [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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Surat_x_grocery/cf_zero_order_customers.db"], "cf_edits": ["cancelled_orders", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[16]], [[16], [50]], [[16]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Surat_x_grocery/cf_zero_order_customers.db"], "gold_random": [[[16]], [[16], [50]], [[16]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_toys/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_x_toys/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[16], [50]], [[16], [50], [8]], [[16], [50]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_toys/cf_drop_customers.db", "audit/dbs/S_s305/f_Surat_x_toys/cf_later_tier.db"], "gold_random": [[[16], [50]], [[50]], [[16], [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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_apparel/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_x_apparel/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [16], [50]], [[8], [16], [50], [51], [52]], [[8], [16], [50]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_apparel/cf_drop_customers.db", "audit/dbs/S_s305/f_Surat_x_apparel/cf_dup_order.db"], "gold_random": [[[8], [16], [50]], [[16], [50]], [[8], [16], [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|Surat|home|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_home/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Surat_x_home/cf_split_payments.db"], "cf_edits": ["cancelled_orders", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[50]], [[50], [16]], [[50]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_home/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_x_home/cf_adjustments.db"], "gold_random": [[[50]], [[50], [51], [52]], [[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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_books/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Nagpur_x_books/cf_dup_order.db"], "cf_edits": ["cancelled_orders", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [26], [39]], [[18], [26], [39], [43]], [[18], [26], [39]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_books/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_x_books/cf_superseded_tier.db"], "gold_random": [[[18], [26], [39]], [[18], [26], [39], [51], [52]], [[18], [26], [39]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_electronics/cf_dup_order.db", "audit/dbs/S_s305/f_Nagpur_x_electronics/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [39], [43]], [[18], [39], [43], [26]], [[18], [39], [43]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_electronics/cf_dup_order.db", "audit/dbs/S_s305/f_Nagpur_x_electronics/cf_split_items.db"], "gold_random": [[[18], [39], [43]], [[18], [39], [43], [26]], [[18], [39], [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": true}, "mutant_caught": {"no_distinct": true}, "mutant_catchable": {"no_distinct": true}} {"id": "F1_customer_list|Nagpur|grocery|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Nagpur_x_grocery/cf_superseded_tier.db"], "cf_edits": ["cancelled_orders", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[39]], [[39], [43], [18]], [[39]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_grocery/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Nagpur_x_grocery/cf_superseded_tier.db"], "gold_random": [[[39]], [[39], [43], [18]], [[39]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_toys/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_x_toys/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [39]], [[18], [39], [51], [52]], [[18], [39]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_toys/cf_dup_order.db", "audit/dbs/S_s305/f_Nagpur_x_toys/cf_refunds.db"], "gold_random": [[[18], [39]], [[18], [39], [26]], [[18], [39]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_apparel/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_x_apparel/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[18], [26], [39], [43]], [[18], [26], [39], [43], [51], [52]], [[18], [26], [39], [43]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_apparel/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_x_apparel/cf_adjustments.db"], "gold_random": [[[18], [26], [39], [43]], [[26], [43]], [[18], [26], [39], [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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_home/cf_cancelled_orders.db", "audit/dbs/S_s305/f_Nagpur_x_home/cf_adjustments.db"], "cf_edits": ["cancelled_orders", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[26]], [[26], [39]], [[26]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_home/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_x_home/cf_split_payments.db"], "gold_random": [[[26]], [[26], [51], [52]], [[26]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_zero_order_customers.db"], "gold_random": [[[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": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_paying_customers|Delhi|2025|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[2]], [[4]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_superseded_tier.db"], "gold_random": [[[4]], [[5]], [[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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_refunds.db"], "gold_random": [[[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 '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[4]], [[3]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_later_tier.db"], "gold_random": [[[3]], [[4]], [[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 '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": true}, "mutant_caught": {"count_rows": true, "count_orders": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_paying_customers|Pune|2024|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_later_tier.db"], "gold_random": [[[4]], [[3]], [[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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[4]], [[6]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_zero_order_customers.db"], "gold_random": [[[6]], [[4]], [[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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[5]], [[3]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_split_items.db"], "gold_random": [[[3]], [[5]], [[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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Jaipur|2025|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[5]], [[6]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_superseded_tier.db"], "gold_random": [[[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 '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_later_tier.db"], "gold_random": [[[4]], [[6]], [[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 '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[8]], [[9]], [[8]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_superseded_tier.db"], "gold_random": [[[8]], [[10]], [[8]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_split_payments.db"], "gold_random": [[[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|Surat|2024|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_later_tier.db"], "gold_random": [[[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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_split_items.db"], "gold_random": [[[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 '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_s305", "template": "F1_paying_customers", "family": "F1", "split": "train", "params": {"city": "Nagpur", "year": 2024}, "question": "How many distinct customers from Nagpur 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 = 'Nagpur' AND substr(pay.paid_date, 1, 4) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[1]], [[3]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_dup_order.db"], "gold_random": [[[3]], [[5]], [[3]]], "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": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_paying_customers|Nagpur|2025|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_later_tier.db"], "gold_random": [[[1]], [[0]], [[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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_category_buyers|books|2024|S_s305", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "books", "year": 2024}, "question": "How many distinct customers bought a books product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_books/cf_new_customers.db", "audit/dbs/S_s305/f_x_2024_books/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[20]], [[4]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_books/cf_new_customers.db", "audit/dbs/S_s305/f_x_2024_books/cf_later_tier.db"], "gold_random": [[[4]], [[20]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_category_buyers|books|2025|S_s305", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "books", "year": 2025}, "question": "How many distinct customers bought a books product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_books/cf_cancelled_orders.db", "audit/dbs/S_s305/f_x_2025_books/cf_zero_order_customers.db"], "cf_edits": ["cancelled_orders", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[16]], [[33]], [[16]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_books/cf_cancelled_orders.db", "audit/dbs/S_s305/f_x_2025_books/cf_adjustments.db"], "gold_random": [[[16]], [[33]], [[16]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'books' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|electronics|2024|S_s305", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "electronics", "year": 2024}, "question": "How many distinct customers bought a electronics product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_dup_order.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[23]], [[36]], [[23]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_new_customers.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_split_payments.db"], "gold_random": [[[23]], [[39]], [[23]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|electronics|2025|S_s305", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "electronics", "year": 2025}, "question": "How many distinct customers bought a electronics product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_new_customers.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[30]], [[46]], [[30]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_dup_order.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_superseded_tier.db"], "gold_random": [[[30]], [[40]], [[30]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'electronics' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|grocery|2024|S_s305", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "grocery", "year": 2024}, "question": "How many distinct customers bought a grocery product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_grocery/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2024_grocery/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[7]], [[10]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_grocery/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2024_grocery/cf_refunds.db"], "gold_random": [[[10]], [[7]], [[10]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'grocery' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|grocery|2025|S_s305", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "grocery", "year": 2025}, "question": "How many distinct customers bought a grocery product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_grocery/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2025_grocery/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[14]], [[10]], [[14]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_grocery/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2025_grocery/cf_zero_order_customers.db"], "gold_random": [[[14]], [[10]], [[14]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|toys|2024|S_s305", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "toys", "year": 2024}, "question": "How many distinct customers bought a toys product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_toys/cf_dup_order.db", "audit/dbs/S_s305/f_x_2024_toys/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[13]], [[27]], [[13]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_toys/cf_cancelled_orders.db", "audit/dbs/S_s305/f_x_2024_toys/cf_later_tier.db"], "gold_random": [[[13]], [[28]], [[13]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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": true, "count_orders": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_category_buyers|toys|2025|S_s305", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "toys", "year": 2025}, "question": "How many distinct customers bought a toys product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_toys/cf_cancelled_orders.db", "audit/dbs/S_s305/f_x_2025_toys/cf_split_payments.db"], "cf_edits": ["cancelled_orders", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[18]], [[27]], [[18]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_toys/cf_new_customers.db", "audit/dbs/S_s305/f_x_2025_toys/cf_later_tier.db"], "gold_random": [[[18]], [[34]], [[18]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'toys' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|apparel|2024|S_s305", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "apparel", "year": 2024}, "question": "How many distinct customers bought a apparel product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_apparel/cf_new_customers.db", "audit/dbs/S_s305/f_x_2024_apparel/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[11]], [[27]], [[11]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_apparel/cf_new_customers.db", "audit/dbs/S_s305/f_x_2024_apparel/cf_superseded_tier.db"], "gold_random": [[[11]], [[27]], [[11]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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_category_buyers|apparel|2025|S_s305", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "apparel", "year": 2025}, "question": "How many distinct customers bought a apparel product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_apparel/cf_cancelled_orders.db", "audit/dbs/S_s305/f_x_2025_apparel/cf_superseded_tier.db"], "cf_edits": ["cancelled_orders", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[15]], [[31]], [[15]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_apparel/cf_dup_order.db", "audit/dbs/S_s305/f_x_2025_apparel/cf_split_items.db"], "gold_random": [[[15]], [[32]], [[15]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'apparel' AND substr(o.order_date, 1, 4) = '2025'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|home|2024|S_s305", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "home", "year": 2024}, "question": "How many distinct customers bought a home product in 2024? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_home/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2024_home/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[11]], [[10]], [[11]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_home/cf_dup_order.db", "audit/dbs/S_s305/f_x_2024_home/cf_zero_order_customers.db"], "gold_random": [[[11]], [[24]], [[11]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 = 'home' AND substr(o.order_date, 1, 4) = '2024'", "count_orders": "SELECT COUNT(DISTINCT o.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) = '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_category_buyers|home|2025|S_s305", "template": "F1_category_buyers", "family": "F1", "split": "test", "params": {"category": "home", "year": 2025}, "question": "How many distinct customers bought a home product in 2025? Count orders of any status.", "gold_sql": "SELECT COUNT(DISTINCT o.customer_id) 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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_home/cf_new_customers.db", "audit/dbs/S_s305/f_x_2025_home/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[15]], [[31]], [[15]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_home/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2025_home/cf_superseded_tier.db"], "gold_random": [[[15]], [[11]], [[15]]], "paraphrases": ["SELECT COUNT(*) FROM customers c WHERE EXISTS (SELECT 1 FROM orders o JOIN order_items oi ON oi.order_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' AND 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 o.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": "F2_paid_for_category|books|2024|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_books/cf_dup_order.db", "audit/dbs/S_s305/f_x_2024_books/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[41492]], [[186303]], [[41492]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_books/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2024_books/cf_split_payments.db"], "gold_random": [[[41492]], [[25664]], [[41492]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_books/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2025_books/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[131960]], [[71698]], [[131960]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_books/cf_dup_order.db", "audit/dbs/S_s305/f_x_2025_books/cf_zero_order_customers.db"], "gold_random": [[[131960]], [[265057]], [[131960]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[261961]], [[137307]], [[261961]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_refunds.db"], "gold_random": [[[261961]], [[137307]], [[261961]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_adjustments.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_superseded_tier.db"], "cf_edits": ["adjustments", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[344531]], [[346361]], [[344531]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_dup_order.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_split_payments.db"], "gold_random": [[[344531]], [[439842]], [[344531]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_grocery/cf_new_customers.db", "audit/dbs/S_s305/f_x_2024_grocery/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[141149]], [[307129]], [[141149]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_grocery/cf_dup_order.db", "audit/dbs/S_s305/f_x_2024_grocery/cf_later_tier.db"], "gold_random": [[[141149]], [[260061]], [[141149]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_grocery/cf_adjustments.db", "audit/dbs/S_s305/f_x_2025_grocery/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[202040]], [[202706]], [[202040]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_grocery/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2025_grocery/cf_refunds.db"], "gold_random": [[[202040]], [[144307]], [[202040]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_toys/cf_new_customers.db", "audit/dbs/S_s305/f_x_2024_toys/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[157075]], [[331788]], [[157075]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_toys/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2024_toys/cf_cancelled_orders.db"], "gold_random": [[[157075]], [[70217]], [[157075]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_toys/cf_new_customers.db", "audit/dbs/S_s305/f_x_2025_toys/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[155788]], [[369516]], [[155788]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_toys/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2025_toys/cf_cancelled_orders.db"], "gold_random": [[[155788]], [[116340]], [[155788]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_apparel/cf_dup_order.db", "audit/dbs/S_s305/f_x_2024_apparel/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[139130]], [[264518]], [[139130]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_apparel/cf_adjustments.db", "audit/dbs/S_s305/f_x_2024_apparel/cf_zero_order_customers.db"], "gold_random": [[[139130]], [[139421]], [[139130]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_apparel/cf_new_customers.db", "audit/dbs/S_s305/f_x_2025_apparel/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[149785]], [[355106]], [[149785]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_apparel/cf_new_customers.db", "audit/dbs/S_s305/f_x_2025_apparel/cf_superseded_tier.db"], "gold_random": [[[149785]], [[355106]], [[149785]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_home/cf_new_customers.db", "audit/dbs/S_s305/f_x_2024_home/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[147093]], [[339274]], [[147093]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_home/cf_dup_order.db", "audit/dbs/S_s305/f_x_2024_home/cf_cancelled_orders.db"], "gold_random": [[[147093]], [[327876]], [[147093]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_home/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2025_home/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[181870]], [[122853]], [[181870]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_home/cf_dup_order.db", "audit/dbs/S_s305/f_x_2025_home/cf_superseded_tier.db"], "gold_random": [[[181870]], [[293573]], [[181870]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[22597]], [[35697]], [[22597]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_cancelled_orders.db"], "gold_random": [[[22597]], [[35697]], [[22597]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[38157]], [[21130]], [[38157]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_cancelled_orders.db"], "gold_random": [[[38157]], [[41388]], [[38157]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[47086]], [[91316]], [[47086]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_refunds.db"], "gold_random": [[[47086]], [[76683]], [[47086]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[26602]], [[17832]], [[26602]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_dup_order.db"], "gold_random": [[[26602]], [[30292]], [[26602]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[73130]], [[78480]], [[73130]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_cancelled_orders.db"], "gold_random": [[[73130]], [[54312]], [[73130]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[85336]], [[47341]], [[85336]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_cancelled_orders.db"], "gold_random": [[[85336]], [[98876]], [[85336]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[50953]], [[78932]], [[50953]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_zero_order_customers.db"], "gold_random": [[[50953]], [[72391]], [[50953]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[110816]], [[114256]], [[110816]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_split_payments.db"], "gold_random": [[[110816]], [[167012]], [[110816]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[48735]], [[95897]], [[48735]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_zero_order_customers.db"], "gold_random": [[[48735]], [[39435]], [[48735]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[174416]], [[91948]], [[174416]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_refunds.db"], "gold_random": [[[174416]], [[189527]], [[174416]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_split_items.db"], "cf_edits": ["drop_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[25337]], [[15824]], [[25337]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_split_items.db"], "gold_random": [[[25337]], [[47507]], [[25337]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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|Surat|2024|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[57557]], [[80007]], [[57557]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_superseded_tier.db"], "gold_random": [[[57557]], [[80007]], [[57557]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[19182]], [[50684]], [[19182]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_split_payments.db"], "gold_random": [[[19182]], [[50684]], [[19182]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[33815]], [[40035]], [[33815]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_zero_order_customers.db"], "gold_random": [[[33815]], [[4230]], [[33815]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4460]], [[56953]], [[4460]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_zero_order_customers.db"], "gold_random": [[[4460]], [[null]], [[4460]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_x_books/cf_refunds.db", "audit/dbs/S_s305/f_x_x_books/cf_split_items.db"], "cf_edits": ["refunds", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[20692]], [[44097]], [[20692]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_x_books/cf_refunds.db", "audit/dbs/S_s305/f_x_x_books/cf_split_items.db"], "gold_random": [[[20692]], [[44097]], [[20692]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_x_electronics/cf_refunds.db", "audit/dbs/S_s305/f_x_x_electronics/cf_zero_order_customers.db"], "cf_edits": ["refunds", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[44165]], [[181417]], [[44165]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_x_electronics/cf_new_customers.db", "audit/dbs/S_s305/f_x_x_electronics/cf_split_payments.db"], "gold_random": [[[44165]], [[52224]], [[44165]]], "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": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_refunded_category|grocery|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_x_grocery/cf_new_customers.db", "audit/dbs/S_s305/f_x_x_grocery/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[28096]], [[28619]], [[28096]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_x_grocery/cf_drop_customers.db", "audit/dbs/S_s305/f_x_x_grocery/cf_superseded_tier.db"], "gold_random": [[[28096]], [[2510]], [[28096]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_x_toys/cf_dup_order.db", "audit/dbs/S_s305/f_x_x_toys/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[14258]], [[21625]], [[14258]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_x_toys/cf_dup_order.db", "audit/dbs/S_s305/f_x_x_toys/cf_cancelled_orders.db"], "gold_random": [[[14258]], [[21625]], [[14258]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_x_apparel/cf_dup_order.db", "audit/dbs/S_s305/f_x_x_apparel/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[6000]], [[15453]], [[6000]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_x_apparel/cf_dup_order.db", "audit/dbs/S_s305/f_x_x_apparel/cf_drop_customers.db"], "gold_random": [[[6000]], [[15453]], [[6000]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_x_home/cf_refunds.db", "audit/dbs/S_s305/f_x_x_home/cf_split_payments.db"], "cf_edits": ["refunds", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[33985]], [[69170]], [[33985]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_x_home/cf_drop_customers.db", "audit/dbs/S_s305/f_x_x_home/cf_adjustments.db"], "gold_random": [[[33985]], [[31943]], [[33985]]], "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": "F2_units_paid|books|2024|S_s305", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "books", "year": 2024}, "question": "How many units of books products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_books/cf_dup_order.db", "audit/dbs/S_s305/f_x_2024_books/cf_superseded_tier.db"], "cf_edits": ["dup_order", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[17]], [[3]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_books/cf_new_customers.db", "audit/dbs/S_s305/f_x_2024_books/cf_drop_customers.db"], "gold_random": [[[3]], [[18]], [[3]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'books' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|books|2025|S_s305", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "books", "year": 2025}, "question": "How many units of books products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_books/cf_new_customers.db", "audit/dbs/S_s305/f_x_2025_books/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[19]], [[51]], [[19]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_books/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2025_books/cf_cancelled_orders.db"], "gold_random": [[[19]], [[8]], [[19]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'books' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'books' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|electronics|2024|S_s305", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "electronics", "year": 2024}, "question": "How many units of electronics products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_dup_order.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[40]], [[51]], [[40]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_dup_order.db", "audit/dbs/S_s305/f_x_2024_electronics/cf_cancelled_orders.db"], "gold_random": [[[40]], [[51]], [[40]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'electronics' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|electronics|2025|S_s305", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "electronics", "year": 2025}, "question": "How many units of electronics products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_new_customers.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[60]], [[85]], [[60]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2025_electronics/cf_split_items.db"], "gold_random": [[[60]], [[47]], [[60]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'electronics' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'electronics' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|grocery|2024|S_s305", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "grocery", "year": 2024}, "question": "How many units of grocery products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_grocery/cf_new_customers.db", "audit/dbs/S_s305/f_x_2024_grocery/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[17]], [[40]], [[17]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_grocery/cf_dup_order.db", "audit/dbs/S_s305/f_x_2024_grocery/cf_zero_order_customers.db"], "gold_random": [[[17]], [[35]], [[17]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'grocery' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|grocery|2025|S_s305", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "grocery", "year": 2025}, "question": "How many units of grocery products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_grocery/cf_dup_order.db", "audit/dbs/S_s305/f_x_2025_grocery/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[26]], [[45]], [[26]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_grocery/cf_dup_order.db", "audit/dbs/S_s305/f_x_2025_grocery/cf_later_tier.db"], "gold_random": [[[26]], [[45]], [[26]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'grocery' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'grocery' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|toys|2024|S_s305", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "toys", "year": 2024}, "question": "How many units of toys products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_toys/cf_dup_order.db", "audit/dbs/S_s305/f_x_2024_toys/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[16]], [[32]], [[16]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_toys/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2024_toys/cf_refunds.db"], "gold_random": [[[16]], [[8]], [[16]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'toys' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|toys|2025|S_s305", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "toys", "year": 2025}, "question": "How many units of toys products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_toys/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2025_toys/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[18]], [[14]], [[18]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_toys/cf_new_customers.db", "audit/dbs/S_s305/f_x_2025_toys/cf_superseded_tier.db"], "gold_random": [[[18]], [[62]], [[18]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'toys' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'toys' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|apparel|2024|S_s305", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "apparel", "year": 2024}, "question": "How many units of apparel products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_apparel/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2024_apparel/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[16]], [[8]], [[16]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_apparel/cf_new_customers.db", "audit/dbs/S_s305/f_x_2024_apparel/cf_refunds.db"], "gold_random": [[[16]], [[51]], [[16]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'apparel' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|apparel|2025|S_s305", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "apparel", "year": 2025}, "question": "How many units of apparel products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_apparel/cf_dup_order.db", "audit/dbs/S_s305/f_x_2025_apparel/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[26]], [[38]], [[26]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_apparel/cf_dup_order.db", "audit/dbs/S_s305/f_x_2025_apparel/cf_adjustments.db"], "gold_random": [[[26]], [[38]], [[26]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'apparel' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'apparel' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|home|2024|S_s305", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "home", "year": 2024}, "question": "How many units of home products were in orders that received a payment in 2024 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2024')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_home/cf_new_customers.db", "audit/dbs/S_s305/f_x_2024_home/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[16]], [[39]], [[16]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2024_home/cf_new_customers.db", "audit/dbs/S_s305/f_x_2024_home/cf_refunds.db"], "gold_random": [[[16]], [[39]], [[16]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2024-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'home' AND substr(pay.paid_date, 1, 4) = '2024'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|home|2025|S_s305", "template": "F2_units_paid", "family": "F2", "split": "test", "params": {"category": "home", "year": 2025}, "question": "How many units of home products were in orders that received a payment in 2025 (by payment date)?", "gold_sql": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND oi.order_id IN (SELECT pay.order_id FROM payments pay WHERE substr(pay.paid_date, 1, 4) = '2025')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_home/cf_drop_customers.db", "audit/dbs/S_s305/f_x_2025_home/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[23]], [[18]], [[23]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_x_2025_home/cf_dup_order.db", "audit/dbs/S_s305/f_x_2025_home/cf_zero_order_customers.db"], "gold_random": [[[23]], [[44]], [[23]]], "paraphrases": ["SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id WHERE p.category = 'home' AND EXISTS (SELECT 1 FROM payments pay WHERE pay.order_id = oi.order_id AND pay.paid_date LIKE '2025-%')"], "mutants": {"join_fanout": "SELECT SUM(oi.quantity) FROM order_items oi JOIN products p ON p.product_id = oi.product_id JOIN payments pay ON pay.order_id = oi.order_id WHERE p.category = 'home' AND substr(pay.paid_date, 1, 4) = '2025'"}, "mutant_blind": {"join_fanout": false}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F3_gross_revenue|Delhi|2024|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[22597]], [[43774]], [[22597]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_later_tier.db"], "gold_random": [[[22597]], [[43774]], [[22597]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[48449]], [[57858]], [[48449]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_split_items.db"], "gold_random": [[[48449]], [[57858]], [[48449]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[60528]], [[104758]], [[60528]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_adjustments.db"], "gold_random": [[[60528]], [[104758]], [[60528]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Mumbai", "year": 2025}, "question": "Compute 2025 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) = '2025'", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[26602]], [[47718]], [[26602]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_split_payments.db"], "gold_random": [[[26602]], [[38642]], [[26602]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[73130]], [[143258]], [[73130]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_cancelled_orders.db"], "gold_random": [[[73130]], [[54312]], [[73130]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_zero_order_customers.db"], "cf_edits": ["dup_order", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[140886]], [[165631]], [[140886]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_cancelled_orders.db"], "gold_random": [[[140886]], [[81611]], [[140886]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[50953]], [[92506]], [[50953]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_split_items.db"], "gold_random": [[[50953]], [[92506]], [[50953]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[130646]], [[105326]], [[130646]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_zero_order_customers.db"], "gold_random": [[[130646]], [[155766]], [[130646]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "template": "F3_gross_revenue", "family": "F3", "split": "train", "params": {"city": "Kochi", "year": 2024}, "question": "What was the gross revenue from customers in Kochi 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 = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024'", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[48735]], [[96950]], [[48735]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_zero_order_customers.db"], "gold_random": [[[48735]], [[39435]], [[48735]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[212676]], [[129408]], [[212676]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_split_items.db"], "gold_random": [[[212676]], [[253630]], [[212676]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[25337]], [[51097]], [[25337]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_superseded_tier.db"], "gold_random": [[[25337]], [[15824]], [[25337]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[57557]], [[88857]], [[57557]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_adjustments.db"], "gold_random": [[[57557]], [[88857]], [[57557]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[19182]], [[29182]], [[19182]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_adjustments.db"], "gold_random": [[[19182]], [[50684]], [[19182]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[72143]], [[94542]], [[72143]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_superseded_tier.db"], "gold_random": [[[72143]], [[4230]], [[72143]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[36868]], [[92311]], [[36868]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_zero_order_customers.db"], "gold_random": [[[36868]], [[92311]], [[36868]]], "paraphrases": ["SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_refunds.db"], "gold_random": [[[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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_adjustments.db"], "cf_edits": ["drop_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[4]], [[7]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_cancelled_orders.db"], "gold_random": [[[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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[9]], [[7]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_adjustments.db"], "gold_random": [[[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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[1]], [[3]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_refunds.db"], "gold_random": [[[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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[6]], [[13]], [[6]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_cancelled_orders.db"], "gold_random": [[[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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[12]], [[17]], [[12]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_cancelled_orders.db"], "gold_random": [[[12]], [[17]], [[12]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[6]], [[3]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_adjustments.db"], "gold_random": [[[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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[12]], [[17]], [[12]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_cancelled_orders.db"], "gold_random": [[[12]], [[10]], [[12]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[7]], [[6]], [[7]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_split_payments.db"], "gold_random": [[[7]], [[12]], [[7]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[15]], [[20]], [[15]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_split_items.db"], "gold_random": [[[15]], [[10]], [[15]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[1]], [[2]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_refunds.db"], "gold_random": [[[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 = '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|Surat|2024|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_later_tier.db"], "cf_edits": ["dup_order", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[6]], [[4]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_superseded_tier.db"], "gold_random": [[[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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_drop_customers.db"], "gold_random": [[[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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[8]], [[5]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_split_items.db"], "gold_random": [[[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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[9]], [[5]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_cancelled_orders.db"], "gold_random": [[[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 = '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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_refunds.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[22597]], [[16769]], [[22597]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_refunds.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_split_payments.db"], "gold_random": [[[22597]], [[16769]], [[22597]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[46527]], [[59648]], [[46527]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_cancelled_orders.db"], "gold_random": [[[46527]], [[19906]], [[46527]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[57547]], [[101777]], [[57547]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_cancelled_orders.db"], "gold_random": [[[57547]], [[87144]], [[57547]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_refunds.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_superseded_tier.db"], "cf_edits": ["refunds", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[26602]], [[26007]], [[26602]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_cancelled_orders.db"], "gold_random": [[[26602]], [[17832]], [[26602]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[64186]], [[134314]], [[64186]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_refunds.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_split_items.db"], "gold_random": [[[64186]], [[53327]], [[64186]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_refunds.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_split_payments.db"], "cf_edits": ["refunds", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[140886]], [[114139]], [[140886]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_adjustments.db"], "gold_random": [[[140886]], [[179638]], [[140886]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_refunds.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[50953]], [[46897]], [[50953]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_zero_order_customers.db"], "gold_random": [[[50953]], [[null]], [[50953]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_refunds.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[111558]], [[101284]], [[111558]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_later_tier.db"], "gold_random": [[[111558]], [[86238]], [[111558]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[38780]], [[86138]], [[38780]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_cancelled_orders.db"], "gold_random": [[[38780]], [[94958]], [[38780]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[207162]], [[248116]], [[207162]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_refunds.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_zero_order_customers.db"], "gold_random": [[[207162]], [[175588]], [[207162]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[12605]], [[31598]], [[12605]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_refunds.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_later_tier.db"], "gold_random": [[[12605]], [[11143]], [[12605]]], "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|Surat|2024|S_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_refunds.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_adjustments.db"], "cf_edits": ["refunds", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[57557]], [[41972]], [[57557]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_drop_customers.db"], "gold_random": [[[57557]], [[88857]], [[57557]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[19182]], [[32990]], [[19182]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_zero_order_customers.db"], "gold_random": [[[19182]], [[29182]], [[19182]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[67312]], [[89711]], [[67312]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_later_tier.db"], "gold_random": [[[67312]], [[89711]], [[67312]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_refunds.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["refunds", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[36868]], [[34522]], [[36868]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_refunds.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_cancelled_orders.db"], "gold_random": [[[36868]], [[34522]], [[36868]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[12, 28993], [45, 17659], [46, 12754]], [[12, 28993], [46, 12754], [25, 1980]], [[12, 28993], [45, 17659], [46, 12754]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_later_tier.db"], "gold_random": [[[12, 28993], [45, 17659], [46, 12754]], [[12, 28993], [46, 12754], [25, 1980]], [[12, 28993], [45, 17659], [46, 12754]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_dup_order.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[38, 50688], [33, 25298], [41, 11144]], [[38, 50688], [33, 38078], [34, 11806]], [[38, 50688], [33, 25298], [41, 11144]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_dup_order.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_refunds.db"], "gold_random": [[[38, 50688], [33, 25298], [41, 11144]], [[38, 50688], [33, 38078], [34, 11806]], [[38, 50688], [33, 25298], [41, 11144]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_dup_order.db", "audit/dbs/S_s305/f_Pune_x_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[15, 50388], [21, 46650], [47, 30974]], [[15, 62068], [21, 49360], [47, 31774]], [[15, 50388], [21, 46650], [47, 30974]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_x_x/cf_superseded_tier.db"], "gold_random": [[[15, 50388], [21, 46650], [47, 30974]], [[47, 30974], [30, 28301], [20, 27975]], [[15, 50388], [21, 46650], [47, 30974]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_dup_order.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_refunds.db"], "cf_edits": ["dup_order", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[40, 51437], [48, 25240], [17, 25151]], [[40, 55697], [4, 45576], [48, 25240]], [[40, 51437], [48, 25240], [17, 25151]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_dup_order.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_superseded_tier.db"], "gold_random": [[[40, 51437], [48, 25240], [17, 25151]], [[40, 55697], [4, 45576], [48, 25240]], [[40, 51437], [48, 25240], [17, 25151]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[6, 65651], [19, 59457], [2, 33800]], [[6, 65651], [19, 59457], [51, 45318]], [[6, 65651], [19, 59457], [2, 33800]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_split_payments.db"], "gold_random": [[[6, 65651], [19, 59457], [2, 33800]], [[19, 69085], [6, 65651], [2, 33800]], [[6, 65651], [19, 59457], [2, 33800]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_x/cf_dup_order.db", "audit/dbs/S_s305/f_Indore_x_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[28, 15824], [10, 9513]], [[10, 34233], [28, 15824]], [[28, 15824], [10, 9513]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Indore_x_x/cf_superseded_tier.db"], "gold_random": [[[28, 15824], [10, 9513]], [[51, 18466], [52, 17979], [28, 15824]], [[28, 15824], [10, 9513]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_x_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[16, 42548], [50, 34191]], [[16, 59208], [50, 34191], [8, 12727]], [[16, 42548], [50, 34191]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_x_x/cf_later_tier.db"], "gold_random": [[[16, 42548], [50, 34191]], [[16, 59208], [50, 34191], [8, 12727]], [[16, 42548], [50, 34191]]], "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_s305", "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": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[39, 55868], [26, 29713], [18, 14740]], [[26, 29713], [18, 14740], [43, 8690]], [[39, 55868], [26, 29713], [18, 14740]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_split_items.db"], "gold_random": [[[39, 55868], [26, 29713], [18, 14740]], [[26, 29713], [18, 14740], [43, 8690]], [[39, 55868], [26, 29713], [18, 14740]]], "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": "F3_avg_order|Delhi|2024|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Delhi", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Delhi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[11298.5]], [[10943.5]], [[11298.5]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_superseded_tier.db"], "gold_random": [[[11298.5]], [[10943.5]], [[11298.5]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Delhi|2025|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Delhi", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Delhi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[6921.2857]], [[6428.6667]], [[6921.2857]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_zero_order_customers.db"], "gold_random": [[[6921.2857]], [[6428.6667]], [[6921.2857]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Mumbai|2024|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Mumbai? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[8646.8571]], [[10475.8]], [[8646.8571]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_drop_customers.db"], "gold_random": [[[8646.8571]], [[10475.8]], [[8646.8571]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Mumbai|2025|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Mumbai? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[8867.3333]], [[17832]], [[8867.3333]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_later_tier.db"], "gold_random": [[[8867.3333]], [[7728.4]], [[8867.3333]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Pune|2024|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Pune? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[12188.3333]], [[11019.8462]], [[12188.3333]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_split_payments.db"], "gold_random": [[[12188.3333]], [[11019.8462]], [[12188.3333]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Pune|2025|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Pune? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[11740.5]], [[10566.9412]], [[11740.5]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_later_tier.db"], "gold_random": [[[11740.5]], [[10351.9375]], [[11740.5]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Jaipur|2024|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Jaipur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[16984.3333]], [[15417.6667]], [[16984.3333]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_superseded_tier.db"], "gold_random": [[[16984.3333]], [[null]], [[16984.3333]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Jaipur|2025|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Jaipur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[10887.1667]], [[10532.6]], [[10887.1667]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_superseded_tier.db"], "gold_random": [[[10887.1667]], [[10532.6]], [[10887.1667]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Kochi|2024|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Kochi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[6962.1429]], [[6572.5]], [[6962.1429]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_refunds.db"], "gold_random": [[[6962.1429]], [[8742.75]], [[6962.1429]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Kochi|2025|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Kochi? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[14178.4]], [[12940.8]], [[14178.4]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_superseded_tier.db"], "gold_random": [[[14178.4]], [[12681.5]], [[14178.4]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Indore|2024|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Indore? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[12668.5]], [[15824]], [[12668.5]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_refunds.db"], "gold_random": [[[12668.5]], [[15824]], [[12668.5]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Surat|2024|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Surat? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[14389.25]], [[11809.5]], [[14389.25]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_zero_order_customers.db"], "gold_random": [[[14389.25]], [[11809.5]], [[14389.25]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": false, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Surat|2025|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Surat? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_superseded_tier.db"], "cf_edits": ["new_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[9591]], [[12671]], [[9591]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_later_tier.db"], "gold_random": [[[9591]], [[12671]], [[9591]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Nagpur|2024|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "What is the average gross value of active orders placed in 2024 by customers in Nagpur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[14428.6]], [[11817.75]], [[14428.6]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_adjustments.db"], "gold_random": [[[14428.6]], [[12025.5714]], [[14428.6]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2024' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2024'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F3_avg_order|Nagpur|2025|S_s305", "template": "F3_avg_order", "family": "F3", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "What is the average gross value of active orders placed in 2025 by customers in Nagpur? An order's gross value is the sum of quantity \u00d7 unit price over its items.", "gold_sql": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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' AND substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[7373.6]], [[10256.7778]], [[7373.6]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_split_items.db"], "gold_random": [[[7373.6]], [[8102]], [[7373.6]]], "paraphrases": ["SELECT CAST(SUM(oi.quantity * oi.unit_price) AS REAL) / COUNT(DISTINCT o.order_id) 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 IN ('placed', 'shipped') AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"no_status_filter": "SELECT AVG(t.v) FROM (SELECT o.order_id, SUM(oi.quantity * oi.unit_price) AS v 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 substr(o.order_date, 1, 4) = '2025' GROUP BY o.order_id) t", "item_level_avg": "SELECT AVG(oi.quantity * oi.unit_price) 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' AND substr(o.order_date, 1, 4) = '2025'"}, "mutant_blind": {"no_status_filter": true, "item_level_avg": false}, "mutant_caught": {"no_status_filter": true, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": true, "item_level_avg": true}} {"id": "F4_current_tier_count|Delhi|bronze|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "bronze"}, "question": "How many customers from Delhi are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_cancelled_orders.db"], "cf_edits": ["zero_order_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_new_customers.db"], "gold_random": [[[2]], [[1]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Delhi|silver|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "silver"}, "question": "How many customers from Delhi are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[0]], [[1]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_later_tier.db"], "gold_random": [[[1]], [[0]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Delhi|gold|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "gold"}, "question": "How many customers from Delhi are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_superseded_tier.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|bronze|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "bronze"}, "question": "How many customers from Mumbai are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[0]], [[3]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_split_payments.db"], "gold_random": [[[3]], [[2]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|silver|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "silver"}, "question": "How many customers from Mumbai are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[3]], [[2]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_split_items.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Mumbai|gold|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "gold"}, "question": "How many customers from Mumbai are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_split_payments.db"], "cf_edits": ["zero_order_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_drop_customers.db"], "gold_random": [[[1]], [[3]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": false, "first_row": true}, "mutant_catchable": {"any_row": false, "first_row": true}} {"id": "F4_current_tier_count|Pune|bronze|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "bronze"}, "question": "How many customers from Pune are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Pune_x_x/cf_new_customers.db"], "cf_edits": ["zero_order_customers", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[2]], [[4]], [[2]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Pune_x_x/cf_dup_order.db"], "gold_random": [[[2]], [[3]], [[2]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Pune|silver|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "silver"}, "question": "How many customers from Pune are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_x_x/cf_dup_order.db"], "cf_edits": ["drop_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_x_x/cf_superseded_tier.db"], "gold_random": [[[3]], [[2]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Pune|gold|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "gold"}, "question": "How many customers from Pune are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_x_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Pune_x_x/cf_split_payments.db"], "gold_random": [[[4]], [[1]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|bronze|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "bronze"}, "question": "How many customers from Jaipur are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_split_payments.db"], "gold_random": [[[3]], [[1]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|silver|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "silver"}, "question": "How many customers from Jaipur are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[6]], [[5]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_dup_order.db"], "gold_random": [[[5]], [[8]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|gold|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "gold"}, "question": "How many customers from Jaipur are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_cancelled_orders.db"], "cf_edits": ["new_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_cancelled_orders.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|bronze|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "bronze"}, "question": "How many customers from Kochi are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[5]], [[3]], [[5]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_superseded_tier.db"], "gold_random": [[[5]], [[7]], [[5]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": false}, "mutant_catchable": {"any_row": true, "first_row": false}} {"id": "F4_current_tier_count|Kochi|silver|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "silver"}, "question": "How many customers from Kochi are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[4]], [[3]], [[4]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_refunds.db"], "gold_random": [[[4]], [[3]], [[4]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|gold|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "gold"}, "question": "How many customers from Kochi are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_cancelled_orders.db"], "cf_edits": ["later_tier", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_drop_customers.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Indore|bronze|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "bronze"}, "question": "How many customers from Indore are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Indore_x_x/cf_adjustments.db"], "cf_edits": ["zero_order_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Indore_x_x/cf_adjustments.db"], "gold_random": [[[1]], [[3]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Indore|silver|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "silver"}, "question": "How many customers from Indore are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Indore_x_x/cf_new_customers.db"], "cf_edits": ["drop_customers", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[0]], [[1]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Indore_x_x/cf_zero_order_customers.db"], "gold_random": [[[1]], [[0]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Surat|bronze|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "bronze"}, "question": "How many customers from Surat are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Surat_x_x/cf_later_tier.db"], "cf_edits": ["drop_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_x_x/cf_adjustments.db"], "gold_random": [[[3]], [[4]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Surat|silver|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "silver"}, "question": "How many customers from Surat are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Surat_x_x/cf_later_tier.db"], "cf_edits": ["zero_order_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[3]], [[1]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Surat_x_x/cf_drop_customers.db"], "gold_random": [[[1]], [[3]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|bronze|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "bronze"}, "question": "How many customers from Nagpur are currently in the bronze tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[2]], [[3]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_new_customers.db"], "gold_random": [[[3]], [[4]], [[3]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|silver|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "silver"}, "question": "How many customers from Nagpur are currently in the silver tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_superseded_tier.db"], "cf_edits": ["drop_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[0]], [[1]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_later_tier.db"], "gold_random": [[[1]], [[0]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": false, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|gold|S_s305", "template": "F4_current_tier_count", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "gold"}, "question": "How many customers from Nagpur are currently in the gold tier?", "gold_sql": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_later_tier.db"], "cf_edits": ["zero_order_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[1]], [[2]], [[1]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_cancelled_orders.db"], "gold_random": [[[1]], [[2]], [[1]]], "paraphrases": ["SELECT COUNT(*) FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT COUNT(DISTINCT t.customer_id) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold'", "first_row": "SELECT COUNT(*) FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MIN(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)"}, "mutant_blind": {"any_row": true, "first_row": false}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_list|Delhi|bronze|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "bronze"}, "question": "List the IDs of customers from Delhi whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[22], [25]], [[25]], [[22], [25]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_dup_order.db"], "gold_random": [[[22], [25]], [[22], [25], [52]], [[22], [25]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Delhi|silver|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "silver"}, "question": "List the IDs of customers from Delhi whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_superseded_tier.db"], "cf_edits": ["zero_order_customers", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[45]], [[45], [51]], [[45]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_refunds.db"], "gold_random": [[[45]], [[45], [51]], [[45]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Delhi|gold|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Delhi", "tier": "gold"}, "question": "List the IDs of customers from Delhi whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_split_items.db"], "cf_edits": ["later_tier", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[12], [46]], [[12], [25]], [[12], [46]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Delhi_x_x/cf_zero_order_customers.db"], "gold_random": [[[12], [46]], [[12], [25]], [[12], [46]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Delhi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Delhi' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|bronze|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "bronze"}, "question": "List the IDs of customers from Mumbai whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_dup_order.db"], "cf_edits": ["zero_order_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[33], [41], [42]], [[33], [41], [42], [51]], [[33], [41], [42]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_split_items.db"], "gold_random": [[[33], [41], [42]], [], [[33], [41], [42]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|silver|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "silver"}, "question": "List the IDs of customers from Mumbai whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[34], [38]], [[34], [38], [52]], [[34], [38]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_refunds.db"], "gold_random": [[[34], [38]], [[34], [38], [33]], [[34], [38]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Mumbai|gold|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Mumbai", "tier": "gold"}, "question": "List the IDs of customers from Mumbai whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_superseded_tier.db"], "cf_edits": ["later_tier", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[14]], [[14], [42], [41]], [[14]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Mumbai_x_x/cf_adjustments.db"], "gold_random": [[[14]], [[14], [42], [41]], [[14]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Mumbai'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Mumbai' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": false}, "mutant_catchable": {"any_row": false}} {"id": "F4_current_tier_list|Pune|bronze|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "bronze"}, "question": "List the IDs of customers from Pune whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Pune_x_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[15], [47]], [[15], [27], [32]], [[15], [47]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Pune_x_x/cf_superseded_tier.db"], "gold_random": [[[15], [47]], [[15], [27], [32]], [[15], [47]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Pune|silver|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "silver"}, "question": "List the IDs of customers from Pune whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Pune_x_x/cf_zero_order_customers.db"], "cf_edits": ["later_tier", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[20], [21], [29]], [[20], [21], [29], [30], [47]], [[20], [21], [29]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_x_x/cf_split_payments.db"], "gold_random": [[[20], [21], [29]], [[20], [21], [29], [51], [53]], [[20], [21], [29]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Pune|gold|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Pune", "tier": "gold"}, "question": "List the IDs of customers from Pune whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Pune_x_x/cf_dup_order.db"], "cf_edits": ["zero_order_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[24], [27], [30], [32]], [[24], [27], [30], [32], [52]], [[24], [27], [30], [32]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Pune_x_x/cf_refunds.db"], "gold_random": [[[24], [27], [30], [32]], [[24]], [[24], [27], [30], [32]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Pune'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Pune' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|bronze|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "bronze"}, "question": "List the IDs of customers from Jaipur whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[5], [23], [40]], [[23], [40]], [[5], [23], [40]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_refunds.db"], "gold_random": [[[5], [23], [40]], [[35]], [[5], [23], [40]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|silver|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "silver"}, "question": "List the IDs of customers from Jaipur whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_split_payments.db"], "cf_edits": ["drop_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[4], [11], [13], [17], [35]], [[4], [11], [17]], [[4], [11], [13], [17], [35]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_split_payments.db"], "gold_random": [[[4], [11], [13], [17], [35]], [[4], [11], [17]], [[4], [11], [13], [17], [35]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Jaipur|gold|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Jaipur", "tier": "gold"}, "question": "List the IDs of customers from Jaipur whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_split_items.db"], "cf_edits": ["later_tier", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[48]], [[48], [5]], [[48]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_x_x/cf_drop_customers.db"], "gold_random": [[[48]], [[48], [51], [52]], [[48]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Jaipur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Jaipur' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|bronze|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "bronze"}, "question": "List the IDs of customers from Kochi whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[1], [6], [7], [9], [36]], [[1], [7], [36]], [[1], [6], [7], [9], [36]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_superseded_tier.db"], "gold_random": [[[1], [6], [7], [9], [36]], [[1], [6], [7], [9], [36], [51], [52]], [[1], [6], [7], [9], [36]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|silver|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "silver"}, "question": "List the IDs of customers from Kochi whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_split_payments.db"], "cf_edits": ["later_tier", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[2], [19], [37], [44]], [[2], [6], [7]], [[2], [19], [37], [44]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_superseded_tier.db"], "gold_random": [[[2], [19], [37], [44]], [[2], [6], [7]], [[2], [19], [37], [44]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Kochi|gold|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Kochi", "tier": "gold"}, "question": "List the IDs of customers from Kochi whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_drop_customers.db"], "cf_edits": ["new_customers", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[3]], [[3], [53]], [[3]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_x_x/cf_cancelled_orders.db"], "gold_random": [[[3]], [[3], [53]], [[3]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Kochi'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Kochi' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Indore|bronze|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "bronze"}, "question": "List the IDs of customers from Indore whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Indore_x_x/cf_dup_order.db"], "cf_edits": ["zero_order_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[10]], [[10], [51], [52]], [[10]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Indore_x_x/cf_refunds.db"], "gold_random": [[[10]], [[10], [51], [52]], [[10]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Indore|silver|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Indore", "tier": "silver"}, "question": "List the IDs of customers from Indore whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Indore_x_x/cf_zero_order_customers.db"], "cf_edits": ["drop_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[28]], [], [[28]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Indore_x_x/cf_zero_order_customers.db"], "gold_random": [[[28]], [], [[28]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Indore'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Indore' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Surat|bronze|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "bronze"}, "question": "List the IDs of customers from Surat whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Surat_x_x/cf_adjustments.db"], "cf_edits": ["later_tier", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[[8], [16], [50]], [[8], [16], [31]], [[8], [16], [50]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Surat_x_x/cf_split_payments.db"], "gold_random": [[[8], [16], [50]], [[8], [16], [31]], [[8], [16], [50]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Surat|silver|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Surat", "tier": "silver"}, "question": "List the IDs of customers from Surat whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Surat_x_x/cf_split_items.db"], "cf_edits": ["zero_order_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[31]], [[31], [51], [52]], [[31]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Surat_x_x/cf_cancelled_orders.db"], "gold_random": [[[31]], [[50]], [[31]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Surat'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Surat' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|bronze|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "bronze"}, "question": "List the IDs of customers from Nagpur whose current tier is bronze.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_zero_order_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_split_payments.db"], "cf_edits": ["zero_order_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[26], [39], [43]], [[26], [39], [43], [52]], [[26], [39], [43]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_dup_order.db"], "gold_random": [[[26], [39], [43]], [[26], [43]], [[26], [39], [43]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'bronze' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'bronze'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|silver|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "silver"}, "question": "List the IDs of customers from Nagpur whose current tier is silver.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_refunds.db"], "cf_edits": ["drop_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[49]], [], [[49]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_dup_order.db"], "gold_random": [[[49]], [], [[49]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'silver' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'silver'"}, "mutant_blind": {"any_row": false}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|gold|S_s305", "template": "F4_current_tier_list", "family": "F4", "split": "test", "params": {"city": "Nagpur", "tier": "gold"}, "question": "List the IDs of customers from Nagpur whose current tier is gold.", "gold_sql": "SELECT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id)", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_new_customers.db"], "cf_edits": ["later_tier", "new_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[18]], [[49]], [[18]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_later_tier.db", "audit/dbs/S_s305/f_Nagpur_x_x/cf_drop_customers.db"], "gold_random": [[[18]], [[49]], [[18]]], "paraphrases": ["SELECT x.customer_id FROM (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x JOIN customers c ON c.customer_id = x.customer_id WHERE x.rn = 1 AND x.tier = 'gold' AND c.city = 'Nagpur'"], "mutants": {"any_row": "SELECT DISTINCT t.customer_id FROM tier_history t JOIN customers c ON c.customer_id = t.customer_id WHERE c.city = 'Nagpur' AND t.tier = 'gold'"}, "mutant_blind": {"any_row": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_net_invoice|Delhi|2024|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_adjustments.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_drop_customers.db"], "cf_edits": ["adjustments", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[22597]], [[22705]], [[22597]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_superseded_tier.db"], "gold_random": [[[22597]], [[35697]], [[22597]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Delhi|2025|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_adjustments.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_superseded_tier.db"], "cf_edits": ["adjustments", "superseded_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[38157]], [[38435]], [[38157]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_cancelled_orders.db"], "gold_random": [[[38157]], [[21130]], [[38157]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Mumbai|2024|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_adjustments.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_later_tier.db"], "cf_edits": ["adjustments", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[47086]], [[47315]], [[47086]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_cancelled_orders.db"], "gold_random": [[[47086]], [[91316]], [[47086]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Mumbai|2025|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_adjustments.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["adjustments", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[[26602]], [[26722]], [[26602]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_split_items.db"], "gold_random": [[[26602]], [[30292]], [[26602]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Pune|2024|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_later_tier.db"], "cf_edits": ["new_customers", "later_tier"], "cf_kinds": ["changing", "preserving"], "gold": [[[71974]], [[141211]], [[71974]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_superseded_tier.db"], "gold_random": [[[71974]], [[53156]], [[71974]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Pune|2025|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[85336]], [[99161]], [[85336]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_adjustments.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_cancelled_orders.db"], "gold_random": [[[85336]], [[85817]], [[85336]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Jaipur|2024|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_adjustments.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[50953]], [[51239]], [[50953]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_superseded_tier.db"], "gold_random": [[[50953]], [[null]], [[50953]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Jaipur|2025|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_adjustments.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[110816]], [[111737]], [[110816]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_adjustments.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_split_payments.db"], "gold_random": [[[110816]], [[111737]], [[110816]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Kochi|2024|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_cancelled_orders.db"], "cf_edits": ["dup_order", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[48828]], [[70238]], [[48828]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_adjustments.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_zero_order_customers.db"], "gold_random": [[[48828]], [[49228]], [[48828]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Kochi|2025|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_adjustments.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_cancelled_orders.db"], "cf_edits": ["adjustments", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[[177268]], [[178144]], [[177268]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_adjustments.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_split_items.db"], "gold_random": [[[177268]], [[178144]], [[177268]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Indore|2024|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_dup_order.db"], "cf_edits": ["new_customers", "dup_order"], "cf_kinds": ["changing", "preserving"], "gold": [[[25052]], [[47412]], [[25052]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_cancelled_orders.db"], "gold_random": [[[25052]], [[47412]], [[25052]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Surat|2024|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_adjustments.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_zero_order_customers.db"], "cf_edits": ["adjustments", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[57557]], [[57984]], [[57557]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_adjustments.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_later_tier.db"], "gold_random": [[[57557]], [[57984]], [[57557]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Surat|2025|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_adjustments.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_drop_customers.db"], "cf_edits": ["adjustments", "drop_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[[19182]], [[19232]], [[19182]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_dup_order.db"], "gold_random": [[[19182]], [[50684]], [[19182]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Nagpur|2024|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "What is the total net invoice amount of shipped orders placed in 2024 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2024') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_adjustments.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_split_items.db"], "cf_edits": ["adjustments", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[[33815]], [[34076]], [[33815]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_adjustments.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_split_payments.db"], "gold_random": [[[33815]], [[34076]], [[33815]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2024'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": true}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Nagpur|2025|S_s305", "template": "F4_net_invoice", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "What is the total net invoice amount of shipped orders placed in 2025 by customers from 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 = 'shipped' AND substr(o.order_date, 1, 4) = '2025') + (SELECT COALESCE(SUM(a.amount), 0) FROM invoice_adjustments a JOIN orders o ON o.order_id = a.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')", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_adjustments.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_refunds.db"], "cf_edits": ["adjustments", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[[4816]], [[5027]], [[4816]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_split_payments.db"], "gold_random": [[[4816]], [[55813]], [[4816]]], "paraphrases": ["SELECT SUM(pay.amount) FROM payments 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 o.status = 'shipped' AND substr(o.order_date, 1, 4) = '2025'"], "mutants": {"ignore_adjustments": "SELECT SUM(oi.quantity * oi.unit_price) FROM order_items 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": {"ignore_adjustments": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_revenue_by_current_tier|Delhi|2024|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Delhi in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_later_tier.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_adjustments.db"], "cf_edits": ["later_tier", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 22597]], [["gold", 9843], ["silver", 12754]], [["gold", 22597]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Delhi_2024_x/cf_refunds.db"], "gold_random": [[["gold", 22597]], [["bronze", 4709], ["gold", 39065]], [["gold", 22597]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Delhi|2025|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Delhi", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Delhi in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 11640], ["gold", 19150], ["silver", 17659]], [["bronze", 24761], ["gold", 19150], ["silver", 17659]], [["bronze", 11640], ["gold", 19150], ["silver", 17659]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_later_tier.db", "audit/dbs/S_s305/f_Delhi_2025_x/cf_cancelled_orders.db"], "gold_random": [[["bronze", 11640], ["gold", 19150], ["silver", 17659]], [["bronze", 1980], ["gold", 28810], ["silver", 17659]], [["bronze", 11640], ["gold", 19150], ["silver", 17659]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Delhi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Mumbai|2024|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Mumbai in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_split_items.db"], "cf_edits": ["new_customers", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 27672], ["silver", 32856]], [["bronze", 42332], ["silver", 62426]], [["bronze", 27672], ["silver", 32856]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Mumbai_2024_x/cf_zero_order_customers.db"], "gold_random": [[["bronze", 27672], ["silver", 32856]], [["bronze", 35092], ["silver", 55033]], [["bronze", 27672], ["silver", 32856]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": true}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Mumbai|2025|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Mumbai", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Mumbai in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 8770], ["silver", 17832]], [["bronze", 8770], ["gold", 12040], ["silver", 17832]], [["bronze", 8770], ["silver", 17832]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Mumbai_2025_x/cf_adjustments.db"], "gold_random": [[["bronze", 8770], ["silver", 17832]], [["bronze", 8770], ["gold", 12040], ["silver", 17832]], [["bronze", 8770], ["silver", 17832]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Mumbai' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": true}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Pune|2024|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Pune in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_adjustments.db"], "cf_edits": ["new_customers", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 24300], ["gold", 29728], ["silver", 19102]], [["bronze", 81405], ["gold", 42751], ["silver", 19102]], [["bronze", 24300], ["gold", 29728], ["silver", 19102]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_later_tier.db", "audit/dbs/S_s305/f_Pune_2024_x/cf_refunds.db"], "gold_random": [[["bronze", 24300], ["gold", 29728], ["silver", 19102]], [["bronze", 43402], ["gold", 2990], ["silver", 26738]], [["bronze", 24300], ["gold", 29728], ["silver", 19102]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Pune|2025|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Pune", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Pune in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 57062], ["gold", 28301], ["silver", 55523]], [["bronze", 26088], ["silver", 55523]], [["bronze", 57062], ["gold", 28301], ["silver", 55523]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_later_tier.db", "audit/dbs/S_s305/f_Pune_2025_x/cf_superseded_tier.db"], "gold_random": [[["bronze", 57062], ["gold", 28301], ["silver", 55523]], [["bronze", 30974], ["gold", 63262], ["silver", 46650]], [["bronze", 57062], ["gold", 28301], ["silver", 55523]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Pune' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Jaipur|2024|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Jaipur in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_split_payments.db"], "cf_edits": ["new_customers", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[["gold", 25240], ["silver", 25713]], [["bronze", 15538], ["gold", 45355], ["silver", 31613]], [["gold", 25240], ["silver", 25713]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_2024_x/cf_adjustments.db"], "gold_random": [[["gold", 25240], ["silver", 25713]], [], [["gold", 25240], ["silver", 25713]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Jaipur|2025|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Jaipur", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Jaipur in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_cancelled_orders.db"], "cf_edits": ["drop_customers", "cancelled_orders"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 88039], ["silver", 42607]], [["bronze", 68209], ["silver", 37117]], [["bronze", 88039], ["silver", 42607]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Jaipur_2025_x/cf_split_payments.db"], "gold_random": [[["bronze", 88039], ["silver", 42607]], [["bronze", 146872], ["gold", 32752], ["silver", 42607]], [["bronze", 88039], ["silver", 42607]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Jaipur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Kochi|2024|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Kochi in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_refunds.db"], "cf_edits": ["new_customers", "refunds"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 8670], ["gold", 3440], ["silver", 36625]], [["bronze", 54230], ["gold", 3440], ["silver", 39280]], [["bronze", 8670], ["gold", 3440], ["silver", 36625]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_drop_customers.db", "audit/dbs/S_s305/f_Kochi_2024_x/cf_refunds.db"], "gold_random": [[["bronze", 8670], ["gold", 3440], ["silver", 36625]], [["bronze", 8670], ["gold", 3440], ["silver", 27325]], [["bronze", 8670], ["gold", 3440], ["silver", 36625]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Kochi|2025|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Kochi", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Kochi in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_zero_order_customers.db"], "cf_edits": ["new_customers", "zero_order_customers"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 126737], ["silver", 85939]], [["bronze", 186461], ["silver", 85939]], [["bronze", 126737], ["silver", 85939]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Kochi_2025_x/cf_superseded_tier.db"], "gold_random": [[["bronze", 126737], ["silver", 85939]], [["bronze", 150000], ["silver", 103630]], [["bronze", 126737], ["silver", 85939]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Kochi' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Indore|2024|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Indore", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Indore in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_split_payments.db"], "cf_edits": ["dup_order", "split_payments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 9513], ["silver", 15824]], [["bronze", 16133], ["silver", 15824]], [["bronze", 9513], ["silver", 15824]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Indore_2024_x/cf_zero_order_customers.db"], "gold_random": [[["bronze", 9513], ["silver", 15824]], [["bronze", 16133], ["silver", 15824]], [["bronze", 9513], ["silver", 15824]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Indore' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Surat|2024|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Surat in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_later_tier.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_adjustments.db"], "cf_edits": ["later_tier", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 57557]], [["gold", 35033], ["silver", 22524]], [["bronze", 57557]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_later_tier.db", "audit/dbs/S_s305/f_Surat_2024_x/cf_drop_customers.db"], "gold_random": [[["bronze", 57557]], [["gold", 35033], ["silver", 22524]], [["bronze", 57557]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Surat|2025|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Surat", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Surat in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 19182]], [["bronze", 29182]], [["bronze", 19182]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_new_customers.db", "audit/dbs/S_s305/f_Surat_2025_x/cf_split_items.db"], "gold_random": [[["bronze", 19182]], [["bronze", 19182], ["gold", 31502]], [["bronze", 19182]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Surat' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Nagpur|2024|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2024}, "question": "For each current customer tier, what was the gross revenue from customers in Nagpur in 2024? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_dup_order.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_split_items.db"], "cf_edits": ["dup_order", "split_items"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 72143]], [["bronze", 78363], ["gold", 5816]], [["bronze", 72143]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_later_tier.db", "audit/dbs/S_s305/f_Nagpur_2024_x/cf_split_payments.db"], "gold_random": [[["bronze", 72143]], [["bronze", 29713], ["gold", 4230], ["silver", 38200]], [["bronze", 72143]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2024' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Nagpur|2025|S_s305", "template": "F4_revenue_by_current_tier", "family": "F4", "split": "test", "params": {"city": "Nagpur", "year": 2025}, "question": "For each current customer tier, what was the gross revenue from customers in Nagpur in 2025? Return tier and revenue.", "gold_sql": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' AND t.valid_from = (SELECT MAX(t2.valid_from) FROM tier_history t2 WHERE t2.customer_id = t.customer_id) GROUP BY t.tier", "ordered": false, "dbs": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_dup_order.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_adjustments.db"], "cf_edits": ["dup_order", "adjustments"], "cf_kinds": ["changing", "preserving"], "gold": [[["bronze", 22128], ["gold", 14740]], [["bronze", 44537], ["gold", 14740]], [["bronze", 22128], ["gold", 14740]]], "dbs_random": ["audit/dbs/S_s305/base.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_later_tier.db", "audit/dbs/S_s305/f_Nagpur_2025_x/cf_split_payments.db"], "gold_random": [[["bronze", 22128], ["gold", 14740]], [["bronze", 4460], ["gold", 14740], ["silver", 17668]], [["bronze", 22128], ["gold", 14740]]], "paraphrases": ["SELECT x.tier, SUM(oi.quantity * oi.unit_price) 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 (SELECT th.customer_id, th.tier, ROW_NUMBER() OVER (PARTITION BY th.customer_id ORDER BY th.valid_from DESC) AS rn FROM tier_history th) x ON x.customer_id = o.customer_id AND x.rn = 1 WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY x.tier"], "mutants": {"all_tier_rows": "SELECT t.tier, SUM(oi.quantity * oi.unit_price) 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 tier_history t ON t.customer_id = o.customer_id WHERE c.city = 'Nagpur' AND o.status <> 'cancelled' AND substr(o.order_date, 1, 4) = '2025' GROUP BY t.tier"}, "mutant_blind": {"all_tier_rows": false}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}}