{"id": "F1_category_buyers|books|2024|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[19]], [[14]], [[23]], [[19]], [[19]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[19]], [[14]], [[23]], [[19]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[17]], [[13]], [[23]], [[17]], [[17]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[17]], [[13]], [[23]], [[17]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[15]], [[9]], [[15]], [[15]], [[15]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[15]], [[9]], [[15]], [[15]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[15]], [[21]], [[20]], [[15]], [[15]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[15]], [[21]], [[20]], [[15]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[18]], [[9]], [[21]], [[18]], [[18]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[18]], [[9]], [[21]], [[18]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[9]], [[8]], [[10]], [[9]], [[9]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[9]], [[8]], [[10]], [[9]], [[9]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[18]], [[16]], [[23]], [[18]], [[18]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[18]], [[16]], [[23]], [[18]], [[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 '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[27]], [[20]], [[33]], [[27]], [[27]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[27]], [[20]], [[33]], [[27]], [[27]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "preserving"], "gold": [[[7]], [[7]], [[8]], [[7]], [[7]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[7]], [[7]], [[8]], [[7]], [[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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "preserving"], "gold": [[[6]], [[6]], [[7]], [[6]], [[6]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[6]], [[6]], [[7]], [[6]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[12]], [[10]], [[14]], [[12]], [[12]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[12]], [[10]], [[14]], [[12]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[15]], [[14]], [[18]], [[15]], [[15]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[15]], [[14]], [[18]], [[15]], [[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_units_paid|books|2024|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[21]], [[9]], [[22]], [[21]], [[21]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[21]], [[9]], [[22]], [[21]], [[21]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[30]], [[24]], [[39]], [[30]], [[30]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[30]], [[24]], [[39]], [[30]], [[30]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[21]], [[11]], [[21]], [[21]], [[21]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[21]], [[11]], [[21]], [[21]], [[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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[29]], [[31]], [[36]], [[29]], [[29]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[29]], [[31]], [[36]], [[29]], [[29]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[21]], [[4]], [[21]], [[21]], [[21]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[21]], [[4]], [[21]], [[21]], [[21]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[12]], [[10]], [[12]], [[12]], [[12]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[12]], [[10]], [[12]], [[12]], [[12]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[21]], [[16]], [[27]], [[21]], [[21]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[21]], [[16]], [[27]], [[21]], [[21]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[60]], [[49]], [[66]], [[60]], [[60]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[60]], [[49]], [[66]], [[60]], [[60]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "preserving"], "gold": [[[5]], [[5]], [[7]], [[5]], [[5]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[5]], [[5]], [[7]], [[5]], [[5]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[10]], [[9]], [[10]], [[10]], [[10]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[10]], [[9]], [[10]], [[10]], [[10]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[14]], [[8]], [[14]], [[14]], [[14]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[14]], [[8]], [[14]], [[14]], [[14]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[19]], [[21]], [[21]], [[19]], [[19]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[19]], [[21]], [[21]], [[19]], [[19]]], "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_avg_order|Delhi|2024|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[[12498.5714]], [[12628]], [[13027.1111]], [[12638.75]], [[12498.5714]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[12498.5714]], [[12628]], [[13027.1111]], [[12638.75]], [[12498.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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[[7007.8]], [[7551.5]], [[7156.625]], [[7297.25]], [[7007.8]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[7007.8]], [[7551.5]], [[7156.625]], [[7297.25]], [[7007.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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[12504]], [[13046]], [[10808]], [[12504]], [[12504]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[12504]], [[13046]], [[10808]], [[12504]], [[12504]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[12259.25]], [[6642.4]], [[12259.25]], [[13085.6667]], [[12259.25]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[12259.25]], [[6642.4]], [[12259.25]], [[13085.6667]], [[12259.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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[26885.5]], [[13430]], [[26885.5]], [[26885.5]], [[26885.5]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[26885.5]], [[13430]], [[26885.5]], [[26885.5]], [[26885.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) = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[11284.6667]], [[10825]], [[11284.6667]], [[8473.3333]], [[11284.6667]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[11284.6667]], [[10825]], [[11284.6667]], [[8473.3333]], [[11284.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": 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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[8439.6]], [[10325.5]], [[8439.6]], [[7170]], [[8439.6]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[8439.6]], [[10325.5]], [[8439.6]], [[7170]], [[8439.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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[9488.4]], [[12172.6667]], [[9488.4]], [[8753.6667]], [[9488.4]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[9488.4]], [[12172.6667]], [[9488.4]], [[8753.6667]], [[9488.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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[10167.4]], [[7353.3333]], [[9181.2857]], [[10167.4]], [[10167.4]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[10167.4]], [[7353.3333]], [[9181.2857]], [[10167.4]], [[10167.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) = '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": false, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": false, "item_level_avg": true}} {"id": "F3_avg_order|Kochi|2025|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[8574]], [[7958]], [[8857.875]], [[8574]], [[8574]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[8574]], [[7958]], [[8857.875]], [[8574]], [[8574]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[13233]], [[12396.4]], [[13233]], [[18486]], [[13233]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[13233]], [[12396.4]], [[13233]], [[18486]], [[13233]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[[4815.5714]], [[7740.5714]], [[6268.4]], [[7383.5714]], [[4815.5714]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[4815.5714]], [[7740.5714]], [[6268.4]], [[7383.5714]], [[4815.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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[[8951.5455]], [[9256.6667]], [[8081.9286]], [[8807.125]], [[8951.5455]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[8951.5455]], [[9256.6667]], [[8081.9286]], [[8807.125]], [[8951.5455]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[[10336.6]], [[10110.5]], [[9486]], [[9850.7]], [[10336.6]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[10336.6]], [[10110.5]], [[9486]], [[9850.7]], [[10336.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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[10174.4286]], [[11861]], [[10174.4286]], [[10362.125]], [[10174.4286]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[10174.4286]], [[11861]], [[10174.4286]], [[10362.125]], [[10174.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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "changing", "preserving"], "gold": [[[6421.4]], [[6421.4]], [[6026.7143]], [[6303.5714]], [[6421.4]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[6421.4]], [[6421.4]], [[6026.7143]], [[6303.5714]], [[6421.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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[2]], [[4]], [[3]], [[2]], [[2]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[2]], [[4]], [[3]], [[2]], [[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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[3]], [[1]], [[4]], [[3]], [[3]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[3]], [[1]], [[4]], [[3]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "preserving"], "gold": [[[1]], [[1]], [[2]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[2]], [[1]], [[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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[3]], [[2]], [[4]], [[3]], [[3]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[3]], [[2]], [[4]], [[3]], [[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": 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|silver|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[1]], [[2]], [[1]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[1]], [[2]], [[1]], [[1]], [[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|Pune|bronze|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[1]], [[1]], [[1]], [[1]], [[3]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[1]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[3]], [[1]], [[3]], [[3]], [[1]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[3]], [[1]], [[3]], [[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 = '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": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Pune|gold|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "preserving"], "gold": [[[1]], [[1]], [[1]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[1]], [[1]], [[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": 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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[1]], [[2]], [[1]], [[1]], [[2]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[1]], [[2]], [[1]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[4]], [[3]], [[5]], [[4]], [[3]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[4]], [[3]], [[5]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "preserving"], "gold": [[[1]], [[1]], [[1]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[1]], [[1]], [[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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[4]], [[2]], [[5]], [[4]], [[2]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[4]], [[2]], [[5]], [[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 = '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": 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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[4]], [[5]], [[5]], [[4]], [[5]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[4]], [[5]], [[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 = '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": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|gold|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[1]], [[0]], [[1]], [[1]], [[2]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[1]], [[0]], [[1]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "preserving"], "gold": [[[3]], [[3]], [[3]], [[3]], [[3]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[3]], [[3]], [[3]], [[3]], [[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|gold|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[1]], [[2]], [[2]], [[1]], [[0]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[1]], [[2]], [[2]], [[1]], [[0]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[2]], [[3]], [[2]], [[2]], [[1]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[2]], [[3]], [[2]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "changing"], "gold": [[[8]], [[8]], [[11]], [[8]], [[7]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[8]], [[8]], [[11]], [[8]], [[7]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[1]], [[0]], [[1]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[1]], [[0]], [[1]], [[1]], [[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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "changing"], "gold": [[[5]], [[5]], [[6]], [[5]], [[4]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[5]], [[5]], [[6]], [[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 = '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": true, "first_row": false}, "mutant_caught": {"any_row": false, "first_row": true}, "mutant_catchable": {"any_row": false, "first_row": true}} {"id": "F4_current_tier_list|Delhi|bronze|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[21], [399]], [[21], [47], [266], [399]], [[21], [399], [482]], [[21], [399]], [[21], [446]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[21], [399]], [[21], [47], [266], [399]], [[21], [399], [482]], [[21], [399]], [[21], [446]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[405], [423], [446]], [[405]], [[405], [423], [446], [478]], [[405], [423], [446]], [[399], [405], [423]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[405], [423], [446]], [[405]], [[405], [423], [446], [478]], [[405], [423], [446]], [[399], [405], [423]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "preserving"], "gold": [[[329]], [[329]], [[329], [487]], [[329]], [[329]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[329]], [[329]], [[329], [487]], [[329]], [[329]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[136], [206], [222]], [[61], [176]], [[136], [206], [222], [479]], [[136], [206], [222]], [[136], [206], [222]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[136], [206], [222]], [[61], [176]], [[136], [206], [222], [479]], [[136], [206], [222]], [[136], [206], [222]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[392]], [[171], [430]], [[392]], [[392]], [[392]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[392]], [[171], [430]], [[392]], [[392]], [[392]]], "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|Pune|bronze|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[185]], [[185]], [[185]], [[185]], [[18], [114], [185]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[185]], [[185]], [[185]], [[185]], [[18], [114], [185]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[18], [114], [115]], [[114]], [[18], [114], [115]], [[18], [114], [115]], [[115]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[18], [114], [115]], [[114]], [[18], [114], [115]], [[18], [114], [115]], [[115]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[103]], [[298]], [[103]], [[103]], [[103]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[103]], [[298]], [[103]], [[103]], [[103]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[244]], [[184], [244]], [[244]], [[244]], [[244], [422]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[244]], [[184], [244]], [[244]], [[244]], [[244], [422]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[235], [282], [422], [439]], [[150], [282], [439]], [[235], [282], [422], [439], [480]], [[235], [282], [422], [439]], [[235], [282], [439]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[235], [282], [422], [439]], [[150], [282], [439]], [[235], [282], [422], [439], [480]], [[235], [282], [422], [439]], [[235], [282], [439]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "preserving"], "gold": [[[454]], [[454]], [[454]], [[454]], [[454]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[454]], [[454]], [[454]], [[454]], [[454]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[44], [237], [333], [336]], [[225], [336]], [[44], [237], [333], [336], [485]], [[44], [237], [333], [336]], [[237], [336]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[44], [237], [333], [336]], [[225], [336]], [[44], [237], [333], [336], [485]], [[44], [237], [333], [336]], [[237], [336]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[97], [202], [311], [413]], [[97], [202], [271], [291], [413]], [[97], [202], [311], [413], [486]], [[97], [202], [311], [413]], [[97], [202], [311], [333], [413]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[97], [202], [311], [413]], [[97], [202], [271], [291], [413]], [[97], [202], [311], [413], [486]], [[97], [202], [311], [413]], [[97], [202], [311], [333], [413]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[437]], [], [[437]], [[437]], [[44], [437]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[437]], [], [[437]], [[437]], [[44], [437]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[17], [117], [157]], [[157], [300], [361]], [[17], [117], [157]], [[17], [117], [157]], [[17], [157], [229]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[17], [117], [157]], [[157], [300], [361]], [[17], [117], [157]], [[17], [117], [157]], [[17], [157], [229]]], "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|gold|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[229]], [[8], [496]], [[229], [484]], [[229]], []], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[229]], [[8], [496]], [[229], [484]], [[229]], []], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[24], [165]], [[24], [165], [485]], [[24], [165]], [[24], [165]], [[24]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[24], [165]], [[24], [165], [485]], [[24], [165]], [[24], [165]], [[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 = '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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[124], [220], [327], [340], [358], [387], [420], [475]], [[85], [220], [275], [358], [387], [396], [420], [475]], [[124], [220], [327], [340], [358], [387], [420], [475], [476], [481], [483]], [[124], [220], [327], [340], [358], [387], [420], [475]], [[124], [220], [327], [340], [358], [387], [475]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[124], [220], [327], [340], [358], [387], [420], [475]], [[85], [220], [275], [358], [387], [396], [420], [475]], [[124], [220], [327], [340], [358], [387], [420], [475], [476], [481], [483]], [[124], [220], [327], [340], [358], [387], [420], [475]], [[124], [220], [327], [340], [358], [387], [475]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[433]], [], [[433]], [[433]], [[354]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[433]], [], [[433]], [[433]], [[354]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[41], [122], [169], [354], [372]], [[41], [169], [354], [373], [493]], [[41], [122], [169], [354], [372], [477]], [[41], [122], [169], [354], [372]], [[41], [122], [169], [433]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[41], [122], [169], [354], [372]], [[41], [169], [354], [373], [493]], [[41], [122], [169], [354], [372], [477]], [[41], [122], [169], [354], [372]], [[41], [122], [169], [433]]], "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": true}, "mutant_caught": {"any_row": false}, "mutant_catchable": {"any_row": false}} {"id": "F4_net_invoice|Delhi|2024|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[48992]], [[31268]], [[68966]], [[48992]], [[48992]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[48992]], [[31268]], [[68966]], [[48992]], [[48992]]], "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|Delhi|2025|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[22214]], [[30206]], [[44428]], [[22214]], [[22214]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[22214]], [[30206]], [[44428]], [[22214]], [[22214]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Mumbai|2024|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[37512]], [[20240]], [[43232]], [[37512]], [[37512]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[37512]], [[20240]], [[43232]], [[37512]], [[37512]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Mumbai|2025|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[39438]], [[25772]], [[39438]], [[39438]], [[39438]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[39438]], [[25772]], [[39438]], [[39438]], [[39438]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[53771]], [[26510]], [[53771]], [[53771]], [[53771]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[53771]], [[26510]], [[53771]], [[53771]], [[53771]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[18270]], [[13270]], [[18270]], [[18270]], [[18270]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[18270]], [[13270]], [[18270]], [[18270]], [[18270]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Jaipur|2024|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[26826]], [[25930]], [[26826]], [[26826]], [[26826]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[26826]], [[25930]], [[26826]], [[26826]], [[26826]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Jaipur|2025|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[46232]], [[36518]], [[46232]], [[46232]], [[46232]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[46232]], [[36518]], [[46232]], [[46232]], [[46232]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[38815]], [[21800]], [[40225]], [[38815]], [[38815]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[38815]], [[21800]], [[40225]], [[38815]], [[38815]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Kochi|2025|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[60064]], [[39790]], [[70909]], [[60064]], [[60064]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[60064]], [[39790]], [[70909]], [[60064]], [[60064]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[36972]], [[28362]], [[36972]], [[36972]], [[36972]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[36972]], [[28362]], [[36972]], [[36972]], [[36972]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Indore|2025|S_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[24790]], [[38608]], [[45725]], [[24790]], [[24790]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[24790]], [[38608]], [[45725]], [[24790]], [[24790]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[58853]], [[32920]], [[61283]], [[58853]], [[58853]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[58853]], [[32920]], [[61283]], [[58853]], [[58853]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[68010]], [[76371]], [[69170]], [[68010]], [[68010]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[68010]], [[76371]], [[69170]], [[68010]], [[68010]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[70710]], [[35072]], [[70710]], [[70710]], [[70710]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[70710]], [[35072]], [[70710]], [[70710]], [[70710]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "preserving"], "gold": [[[10527]], [[10527]], [[20607]], [[10527]], [[10527]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[[10527]], [[10527]], [[20607]], [[10527]], [[10527]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "changing"], "gold": [[["bronze", 44694], ["gold", 9780], ["silver", 33016]], [["bronze", 65988], ["gold", 9780]], [["bronze", 64668], ["gold", 19560], ["silver", 33016]], [["bronze", 58314], ["gold", 9780], ["silver", 33016]], [["bronze", 44068], ["gold", 9780], ["silver", 33642]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 44694], ["gold", 9780], ["silver", 33016]], [["bronze", 65988], ["gold", 9780]], [["bronze", 64668], ["gold", 19560], ["silver", 33016]], [["bronze", 58314], ["gold", 9780], ["silver", 33016]], [["bronze", 44068], ["gold", 9780], ["silver", 33642]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "changing"], "gold": [[["gold", 8226], ["silver", 26813]], [["bronze", 7992], ["gold", 8226], ["silver", 13988]], [["gold", 16452], ["silver", 40801]], [["gold", 8226], ["silver", 20963]], [["bronze", 5850], ["gold", 8226], ["silver", 20963]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["gold", 8226], ["silver", 26813]], [["bronze", 7992], ["gold", 8226], ["silver", 13988]], [["gold", 16452], ["silver", 40801]], [["gold", 8226], ["silver", 20963]], [["bronze", 5850], ["gold", 8226], ["silver", 20963]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[["bronze", 20470], ["silver", 17042]], [["bronze", 18898], ["silver", 20240]], [["bronze", 26190], ["silver", 17042]], [["bronze", 20470], ["silver", 17042]], [["bronze", 20470], ["silver", 17042]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 20470], ["silver", 17042]], [["bronze", 18898], ["silver", 20240]], [["bronze", 26190], ["silver", 17042]], [["bronze", 20470], ["silver", 17042]], [["bronze", 20470], ["silver", 17042]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[["bronze", 39117], ["silver", 9920]], [["bronze", 12543], ["silver", 20669]], [["bronze", 39117], ["silver", 9920]], [["bronze", 29337], ["silver", 9920]], [["bronze", 39117], ["silver", 9920]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 39117], ["silver", 9920]], [["bronze", 12543], ["silver", 20669]], [["bronze", 39117], ["silver", 9920]], [["bronze", 29337], ["silver", 9920]], [["bronze", 39117], ["silver", 9920]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[["bronze", 21860], ["silver", 31911]], [["bronze", 21860], ["gold", 5000]], [["bronze", 21860], ["silver", 31911]], [["bronze", 21860], ["silver", 31911]], [["bronze", 53771]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 21860], ["silver", 31911]], [["bronze", 21860], ["gold", 5000]], [["bronze", 21860], ["silver", 31911]], [["bronze", 21860], ["silver", 31911]], [["bronze", 53771]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "changing"], "gold": [[["bronze", 13270], ["gold", 5000], ["silver", 15584]], [["bronze", 13270], ["gold", 8380]], [["bronze", 13270], ["gold", 5000], ["silver", 15584]], [["bronze", 13270], ["gold", 5000], ["silver", 7150]], [["bronze", 28854], ["gold", 5000]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 13270], ["gold", 5000], ["silver", 15584]], [["bronze", 13270], ["gold", 8380]], [["bronze", 13270], ["gold", 5000], ["silver", 15584]], [["bronze", 13270], ["gold", 5000], ["silver", 7150]], [["bronze", 28854], ["gold", 5000]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "changing"], "gold": [[["bronze", 1854], ["silver", 40344]], [["bronze", 1854], ["silver", 39448]], [["bronze", 1854], ["silver", 40344]], [["bronze", 1854], ["silver", 26826]], [["bronze", 4842], ["silver", 37356]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 1854], ["silver", 40344]], [["bronze", 1854], ["silver", 39448]], [["bronze", 1854], ["silver", 40344]], [["bronze", 1854], ["silver", 26826]], [["bronze", 4842], ["silver", 37356]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "changing"], "gold": [[["bronze", 12320], ["silver", 35122]], [["bronze", 36086], ["silver", 432]], [["bronze", 12320], ["silver", 35122]], [["bronze", 12320], ["gold", 5080], ["silver", 35122]], [["bronze", 26502], ["silver", 20940]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 12320], ["silver", 35122]], [["bronze", 36086], ["silver", 432]], [["bronze", 12320], ["silver", 35122]], [["bronze", 12320], ["gold", 5080], ["silver", 35122]], [["bronze", 26502], ["silver", 20940]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[["bronze", 13432], ["gold", 6876], ["silver", 30529]], [["bronze", 150], ["silver", 43970]], [["bronze", 26864], ["gold", 6876], ["silver", 30529]], [["bronze", 13432], ["gold", 6876], ["silver", 30529]], [["bronze", 13432], ["gold", 6876], ["silver", 30529]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 13432], ["gold", 6876], ["silver", 30529]], [["bronze", 150], ["silver", 43970]], [["bronze", 26864], ["gold", 6876], ["silver", 30529]], [["bronze", 13432], ["gold", 6876], ["silver", 30529]], [["bronze", 13432], ["gold", 6876], ["silver", 30529]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[["bronze", 10845], ["silver", 49173]], [["silver", 39790]], [["bronze", 21690], ["silver", 49173]], [["bronze", 10845], ["silver", 49173]], [["bronze", 10845], ["silver", 49173]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 10845], ["silver", 49173]], [["silver", 39790]], [["bronze", 21690], ["silver", 49173]], [["bronze", 10845], ["silver", 49173]], [["bronze", 10845], ["silver", 49173]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "changing"], "gold": [[["bronze", 39699]], [["bronze", 34282], ["silver", 27700]], [["bronze", 39699]], [["bronze", 36972]], [["bronze", 36972], ["silver", 2727]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 39699]], [["bronze", 34282], ["silver", 27700]], [["bronze", 39699]], [["bronze", 36972]], [["bronze", 36972], ["silver", 2727]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "changing"], "gold": [[["bronze", 4734], ["gold", 28975]], [["bronze", 19020], ["gold", 26624], ["silver", 8540]], [["bronze", 4734], ["gold", 57950]], [["bronze", 22710], ["gold", 28975]], [["bronze", 29839], ["silver", 3870]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 4734], ["gold", 28975]], [["bronze", 19020], ["gold", 26624], ["silver", 8540]], [["bronze", 4734], ["gold", 57950]], [["bronze", 22710], ["gold", 28975]], [["bronze", 29839], ["silver", 3870]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "changing"], "gold": [[["bronze", 16092], ["silver", 82375]], [["bronze", 16092], ["silver", 39448]], [["bronze", 16092], ["silver", 97055]], [["bronze", 16092], ["silver", 54365]], [["gold", 19522], ["silver", 78945]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 16092], ["silver", 82375]], [["bronze", 16092], ["silver", 39448]], [["bronze", 16092], ["silver", 97055]], [["bronze", 16092], ["silver", 54365]], [["gold", 19522], ["silver", 78945]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "changing"], "gold": [[["bronze", 21498], ["silver", 81868]], [["bronze", 31418], ["silver", 89908]], [["bronze", 21498], ["silver", 92334]], [["bronze", 2178], ["silver", 96329]], [["bronze", 19320], ["gold", 12644], ["silver", 71402]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 21498], ["silver", 81868]], [["bronze", 31418], ["silver", 89908]], [["bronze", 21498], ["silver", 92334]], [["bronze", 2178], ["silver", 96329]], [["bronze", 19320], ["gold", 12644], ["silver", 71402]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "changing"], "gold": [[["bronze", 12620], ["silver", 58601]], [["silver", 35583]], [["bronze", 12620], ["silver", 58601]], [["bronze", 24296], ["silver", 58601]], [["bronze", 30948], ["gold", 14544], ["silver", 25729]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["bronze", 12620], ["silver", 58601]], [["silver", 35583]], [["bronze", 12620], ["silver", 58601]], [["bronze", 24296], ["silver", 58601]], [["bronze", 30948], ["gold", 14544], ["silver", 25729]]], "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_s501", "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": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "changing", "preserving"], "gold": [[["silver", 32107]], [["silver", 32107]], [["silver", 42187]], [["silver", 44125]], [["silver", 32107]]], "dbs_random": ["test/dbs/S_s501/base.db", "test/dbs/S_s501/t_resample.db", "test/dbs/S_s501/t_clone.db", "test/dbs/S_s501/t_flip_status.db", "test/dbs/S_s501/t_relabel_tier.db"], "gold_random": [[["silver", 32107]], [["silver", 32107]], [["silver", 42187]], [["silver", 44125]], [["silver", 32107]]], "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_category_buyers|books|2024|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[12]], [[16]], [[17]], [[12]], [[12]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[12]], [[16]], [[17]], [[12]], [[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 = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[22]], [[25]], [[27]], [[22]], [[22]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[22]], [[25]], [[27]], [[22]], [[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 '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "preserving"], "gold": [[[12]], [[12]], [[14]], [[12]], [[12]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[12]], [[12]], [[14]], [[12]], [[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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[21]], [[20]], [[27]], [[21]], [[21]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[21]], [[20]], [[27]], [[21]], [[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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[10]], [[9]], [[13]], [[10]], [[10]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[10]], [[9]], [[13]], [[10]], [[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": true}, "mutant_caught": {"count_rows": true, "count_orders": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_category_buyers|grocery|2025|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[10]], [[12]], [[14]], [[10]], [[10]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[10]], [[12]], [[14]], [[10]], [[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 '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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F1_category_buyers|toys|2024|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[4]], [[6]], [[6]], [[4]], [[4]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[4]], [[6]], [[6]], [[4]], [[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 = '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": false, "count_orders": false}, "mutant_catchable": {"count_rows": false, "count_orders": false}} {"id": "F1_category_buyers|toys|2025|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[11]], [[12]], [[15]], [[11]], [[11]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[11]], [[12]], [[15]], [[11]], [[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 '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[11]], [[14]], [[15]], [[11]], [[11]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[11]], [[14]], [[15]], [[11]], [[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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[14]], [[16]], [[18]], [[14]], [[14]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[14]], [[16]], [[18]], [[14]], [[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 = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[11]], [[7]], [[14]], [[11]], [[11]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[11]], [[7]], [[14]], [[11]], [[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": true}, "mutant_caught": {"count_rows": true, "count_orders": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_category_buyers|home|2025|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[9]], [[11]], [[11]], [[9]], [[9]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[9]], [[11]], [[11]], [[9]], [[9]]], "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": true}, "mutant_caught": {"count_rows": true, "count_orders": true}, "mutant_catchable": {"count_rows": true, "count_orders": true}} {"id": "F2_units_paid|books|2024|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[20]], [[30]], [[30]], [[20]], [[20]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[20]], [[30]], [[30]], [[20]], [[20]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[20]], [[50]], [[25]], [[20]], [[20]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[20]], [[50]], [[25]], [[20]], [[20]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[20]], [[14]], [[25]], [[20]], [[20]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[20]], [[14]], [[25]], [[20]], [[20]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[34]], [[38]], [[49]], [[34]], [[34]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[34]], [[38]], [[49]], [[34]], [[34]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[5]], [[7]], [[5]], [[5]], [[5]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[5]], [[7]], [[5]], [[5]], [[5]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[13]], [[18]], [[22]], [[13]], [[13]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[13]], [[18]], [[22]], [[13]], [[13]]], "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": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|toys|2024|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[4]], [[7]], [[5]], [[4]], [[4]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[4]], [[7]], [[5]], [[4]], [[4]]], "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": true}, "mutant_caught": {"join_fanout": true}, "mutant_catchable": {"join_fanout": true}} {"id": "F2_units_paid|toys|2025|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[23]], [[26]], [[30]], [[23]], [[23]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[23]], [[26]], [[30]], [[23]], [[23]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[13]], [[22]], [[17]], [[13]], [[13]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[13]], [[22]], [[17]], [[13]], [[13]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[9]], [[35]], [[12]], [[9]], [[9]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[9]], [[35]], [[12]], [[9]], [[9]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[15]], [[6]], [[17]], [[15]], [[15]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[15]], [[6]], [[17]], [[15]], [[15]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[13]], [[18]], [[14]], [[13]], [[13]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[13]], [[18]], [[14]], [[13]], [[13]]], "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_avg_order|Delhi|2024|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[7105.5714]], [[5463.2857]], [[6501.2]], [[7105.5714]], [[7105.5714]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[7105.5714]], [[5463.2857]], [[6501.2]], [[7105.5714]], [[7105.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 = '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": false, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": false, "item_level_avg": true}} {"id": "F3_avg_order|Delhi|2025|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[[10691.5]], [[10241.6667]], [[10121.6429]], [[10464.375]], [[10691.5]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[10691.5]], [[10241.6667]], [[10121.6429]], [[10464.375]], [[10691.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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[6803.2857]], [[4576.8]], [[6872.1667]], [[6803.2857]], [[6803.2857]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[6803.2857]], [[4576.8]], [[6872.1667]], [[6803.2857]], [[6803.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 = '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": false, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": false, "item_level_avg": true}} {"id": "F3_avg_order|Mumbai|2025|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[[10239.6]], [[3992.6667]], [[9831.1429]], [[8792]], [[10239.6]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[10239.6]], [[3992.6667]], [[9831.1429]], [[8792]], [[10239.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 = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[6496.8]], [[7712]], [[6496.8]], [[6496.8]], [[6496.8]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[6496.8]], [[7712]], [[6496.8]], [[6496.8]], [[6496.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 = '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": false, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": false, "item_level_avg": true}} {"id": "F3_avg_order|Pune|2025|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[9036.3333]], [[8567.0588]], [[9036.3333]], [[6974.4]], [[9036.3333]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[9036.3333]], [[8567.0588]], [[9036.3333]], [[6974.4]], [[9036.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) = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[9773.5714]], [[10348.5]], [[9773.5714]], [[9247.8333]], [[9773.5714]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[9773.5714]], [[10348.5]], [[9773.5714]], [[9247.8333]], [[9773.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 = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[5498.3333]], [[10452.5]], [[5498.3333]], [[5522.6667]], [[5498.3333]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[5498.3333]], [[10452.5]], [[5498.3333]], [[5522.6667]], [[5498.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) = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[4368.75]], [[7524.6667]], [[4368.75]], [[5849]], [[4368.75]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[4368.75]], [[7524.6667]], [[4368.75]], [[5849]], [[4368.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 = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[9172.5]], [[7880.4]], [[9172.5]], [[11180]], [[9172.5]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[9172.5]], [[7880.4]], [[9172.5]], [[11180]], [[9172.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 = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[11072.6667]], [[8775.6]], [[11369]], [[11072.6667]], [[11072.6667]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[11072.6667]], [[8775.6]], [[11369]], [[11072.6667]], [[11072.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": 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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[[11811.25]], [[14224.6667]], [[11764.3333]], [[13069]], [[11811.25]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[11811.25]], [[14224.6667]], [[11764.3333]], [[13069]], [[11811.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 = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[3330]], [[6088.25]], [[3330]], [[3330]], [[3330]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[3330]], [[6088.25]], [[3330]], [[3330]], [[3330]]], "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": false, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": false, "item_level_avg": true}} {"id": "F3_avg_order|Surat|2025|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[[7208.2727]], [[9539.75]], [[7544.6923]], [[7655.7]], [[7208.2727]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[7208.2727]], [[9539.75]], [[7544.6923]], [[7655.7]], [[7208.2727]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[15173.5]], [[11871.5]], [[15173.5]], [[18085]], [[15173.5]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[15173.5]], [[11871.5]], [[15173.5]], [[18085]], [[15173.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 = '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": "F4_current_tier_count|Delhi|bronze|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[3]], [[2]], [[4]], [[3]], [[4]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[3]], [[2]], [[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 = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[5]], [[6]], [[6]], [[5]], [[3]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[5]], [[6]], [[6]], [[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 = '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|bronze|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[5]], [[2]], [[8]], [[5]], [[3]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[5]], [[2]], [[8]], [[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": 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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[4]], [[3]], [[6]], [[4]], [[2]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[4]], [[3]], [[6]], [[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 = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[1]], [[1]], [[1]], [[1]], [[5]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[1]], [[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 = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[2]], [[3]], [[3]], [[2]], [[2]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[2]], [[3]], [[3]], [[2]], [[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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[3]], [[4]], [[3]], [[3]], [[3]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[3]], [[4]], [[3]], [[3]], [[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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "preserving"], "gold": [[[1]], [[1]], [[1]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[1]], [[1]], [[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": false, "first_row": true}, "mutant_catchable": {"any_row": false, "first_row": true}} {"id": "F4_current_tier_count|Jaipur|bronze|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[1]], [[1]], [[1]], [[1]], [[0]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[1]], [[1]], [[0]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[2]], [[3]], [[2]], [[2]], [[2]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[2]], [[3]], [[2]], [[2]], [[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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[2]], [[3]], [[2]], [[2]], [[3]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[2]], [[3]], [[2]], [[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 = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[2]], [[2]], [[2]], [[2]], [[3]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[2]], [[2]], [[2]], [[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": 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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[1]], [[1]], [[1]], [[1]], [[2]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[1]], [[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 = '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": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Kochi|gold|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[2]], [[2]], [[2]], [[2]], [[0]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[2]], [[2]], [[2]], [[2]], [[0]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "preserving"], "gold": [[[1]], [[1]], [[1]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[1]], [[1]], [[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": 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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "preserving"], "gold": [[[3]], [[3]], [[5]], [[3]], [[3]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[3]], [[3]], [[5]], [[3]], [[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|Indore|gold|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "preserving"], "gold": [[[1]], [[1]], [[1]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[1]], [[1]], [[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 = '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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[3]], [[1]], [[4]], [[3]], [[2]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[3]], [[1]], [[4]], [[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": true}, "mutant_caught": {"any_row": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Surat|silver|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[3]], [[3]], [[3]], [[3]], [[2]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[3]], [[3]], [[3]], [[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|Surat|gold|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[2]], [[2]], [[2]], [[2]], [[4]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[2]], [[2]], [[2]], [[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 = '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": true, "first_row": true}, "mutant_catchable": {"any_row": true, "first_row": true}} {"id": "F4_current_tier_count|Nagpur|bronze|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[1]], [[3]], [[1]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[1]], [[3]], [[1]], [[1]], [[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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "preserving"], "gold": [[[1]], [[1]], [[1]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[1]], [[1]], [[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": 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|gold|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "preserving"], "gold": [[[1]], [[1]], [[2]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[2]], [[1]], [[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": false, "first_row": true}, "mutant_catchable": {"any_row": false, "first_row": true}} {"id": "F4_current_tier_list|Delhi|bronze|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[94], [449], [491]], [[94], [491]], [[94], [449], [491], [498]], [[94], [449], [491]], [[157], [239], [449], [491]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[94], [449], [491]], [[94], [491]], [[94], [449], [491], [498]], [[94], [449], [491]], [[157], [239], [449], [491]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[122], [157], [239], [294], [466]], [[122], [157], [239], [294], [398], [466]], [[122], [157], [239], [294], [466], [495]], [[122], [157], [239], [294], [466]], [[94], [122], [466]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[122], [157], [239], [294], [466]], [[122], [157], [239], [294], [398], [466]], [[122], [157], [239], [294], [466], [495]], [[122], [157], [239], [294], [466]], [[94], [122], [466]]], "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|bronze|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[11], [114], [358], [473], [487]], [[182], [405]], [[11], [114], [358], [473], [487], [493], [496], [497]], [[11], [114], [358], [473], [487]], [[114], [358], [473]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[11], [114], [358], [473], [487]], [[182], [405]], [[11], [114], [358], [473], [487], [493], [496], [497]], [[11], [114], [358], [473], [487]], [[114], [358], [473]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[80], [129], [313], [434]], [[128], [129], [434]], [[80], [129], [313], [434], [494], [500]], [[80], [129], [313], [434]], [[80], [129]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[80], [129], [313], [434]], [[128], [129], [434]], [[80], [129], [313], [434], [494], [500]], [[80], [129], [313], [434]], [[80], [129]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[162]], [[162]], [[162]], [[162]], [[11], [162], [313], [434], [487]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[162]], [[162]], [[162]], [[162]], [[11], [162], [313], [434], [487]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[59], [456]], [[185], [226], [456]], [[59], [456], [503]], [[59], [456]], [[402], [456]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[59], [456]], [[185], [226], [456]], [[59], [456], [503]], [[59], [456]], [[402], [456]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[95], [222], [402]], [[95], [222], [303], [402]], [[95], [222], [402]], [[95], [222], [402]], [[59], [95], [222]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[95], [222], [402]], [[95], [222], [303], [402]], [[95], [222], [402]], [[95], [222], [402]], [[59], [95], [222]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[30]], [[186]], [[30]], [[30]], [[30]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[30]], [[186]], [[30]], [[30]], [[30]]], "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": false}, "mutant_catchable": {"any_row": false}} {"id": "F4_current_tier_list|Jaipur|bronze|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[142]], [[178]], [[142]], [[142]], []], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[142]], [[178]], [[142]], [[142]], []], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[362], [385]], [[58], [209], [362]], [[362], [385]], [[362], [385]], [[362], [385]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[362], [385]], [[58], [209], [362]], [[362], [385]], [[362], [385]], [[362], [385]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[27], [430]], [[27], [307], [430]], [[27], [430]], [[27], [430]], [[27], [142], [430]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[27], [430]], [[27], [307], [430]], [[27], [430]], [[27], [430]], [[27], [142], [430]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[264], [351]], [[351], [409]], [[264], [351]], [[264], [351]], [[98], [264], [351]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[264], [351]], [[351], [409]], [[264], [351]], [[264], [351]], [[98], [264], [351]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[333]], [[370]], [[333]], [[333]], [[143], [333]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[333]], [[370]], [[333]], [[333]], [[143], [333]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[98], [143]], [[44], [136]], [[98], [143]], [[98], [143]], []], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[98], [143]], [[44], [136]], [[98], [143]], [[98], [143]], []], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[348]], [[348]], [[348]], [[348]], [[437]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[348]], [[348]], [[348]], [[348]], [[437]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[12], [196], [437]], [[10], [241], [418]], [[12], [196], [437], [492], [501]], [[12], [196], [437]], [[12], [196], [348]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[12], [196], [437]], [[10], [241], [418]], [[12], [196], [437], [492], [501]], [[12], [196], [437]], [[12], [196], [348]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "preserving"], "gold": [[[236]], [[236]], [[236]], [[236]], [[236]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[236]], [[236]], [[236]], [[236]], [[236]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[172], [224], [371]], [[224]], [[172], [224], [371], [499]], [[172], [224], [371]], [[167], [172]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[172], [224], [371]], [[224]], [[172], [224], [371], [499]], [[172], [224], [371]], [[167], [172]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[55], [165], [167]], [[167], [352], [480]], [[55], [165], [167]], [[55], [165], [167]], [[55], [165]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[55], [165], [167]], [[167], [352], [480]], [[55], [165], [167]], [[55], [165], [167]], [[55], [165]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[40], [253]], [[40], [109]], [[40], [253]], [[40], [253]], [[40], [224], [253], [371]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[40], [253]], [[40], [109]], [[40], [253]], [[40], [253]], [[40], [224], [253], [371]]], "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": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|bronze|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[339]], [[339], [349], [410]], [[339]], [[339]], [[339]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[339]], [[339], [349], [410]], [[339]], [[339]], [[339]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "preserving"], "gold": [[[225]], [[225]], [[225]], [[225]], [[225]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[225]], [[225]], [[225]], [[225]], [[225]]], "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": true}, "mutant_caught": {"any_row": true}, "mutant_catchable": {"any_row": true}} {"id": "F4_current_tier_list|Nagpur|gold|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[159]], [[397]], [[159], [502]], [[159]], [[159]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[159]], [[397]], [[159], [502]], [[159]], [[159]]], "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": false}, "mutant_catchable": {"any_row": false}} {"id": "F4_net_invoice|Delhi|2024|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[45757]], [[34261]], [[61030]], [[45757]], [[45757]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[45757]], [[34261]], [[61030]], [[45757]], [[45757]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Delhi|2025|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "preserving"], "gold": [[[51188]], [[51188]], [[77516]], [[51188]], [[51188]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[51188]], [[51188]], [[77516]], [[51188]], [[51188]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Mumbai|2024|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[47796]], [[23057]], [[82812]], [[47796]], [[47796]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[47796]], [[23057]], [[82812]], [[47796]], [[47796]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[21680]], [[11368]], [[39300]], [[21680]], [[21680]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[21680]], [[11368]], [[39300]], [[21680]], [[21680]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Pune|2024|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[32484]], [[38560]], [[32484]], [[32484]], [[32484]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[32484]], [[38560]], [[32484]], [[32484]], [[32484]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Pune|2025|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[23826]], [[130682]], [[23826]], [[23826]], [[23826]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[23826]], [[130682]], [[23826]], [[23826]], [[23826]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[47741]], [[41417]], [[47741]], [[47741]], [[47741]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[47741]], [[41417]], [[47741]], [[47741]], [[47741]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Jaipur|2025|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[21183]], [[113623]], [[21183]], [[21183]], [[21183]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[21183]], [[113623]], [[21183]], [[21183]], [[21183]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[13655]], [[14414]], [[13655]], [[13655]], [[13655]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[13655]], [[14414]], [[13655]], [[13655]], [[13655]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Kochi|2025|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[33540]], [[36252]], [[33540]], [[33540]], [[33540]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[33540]], [[36252]], [[33540]], [[33540]], [[33540]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Indore|2024|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[20960]], [[36502]], [[20960]], [[20960]], [[20960]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[20960]], [[36502]], [[20960]], [[20960]], [[20960]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Indore|2025|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[37215]], [[66116]], [[50526]], [[37215]], [[37215]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[37215]], [[66116]], [[50526]], [[37215]], [[37215]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Surat|2024|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[6763]], [[24456]], [[6763]], [[6763]], [[6763]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[6763]], [[24456]], [[6763]], [[6763]], [[6763]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[64393]], [[38586]], [[82063]], [[64393]], [[64393]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[64393]], [[38586]], [[82063]], [[64393]], [[64393]]], "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": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Nagpur|2024|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[18085]], [[36352]], [[36170]], [[18085]], [[18085]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[[18085]], [[36352]], [[36170]], [[18085]], [[18085]]], "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_revenue_by_current_tier|Delhi|2024|S_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[["bronze", 37407], ["silver", 12332]], [["bronze", 17613], ["silver", 20630]], [["bronze", 48800], ["silver", 16212]], [["bronze", 37407], ["silver", 12332]], [["bronze", 39639], ["gold", 3880], ["silver", 6220]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["bronze", 37407], ["silver", 12332]], [["bronze", 17613], ["silver", 20630]], [["bronze", 48800], ["silver", 16212]], [["bronze", 37407], ["silver", 12332]], [["bronze", 39639], ["gold", 3880], ["silver", 6220]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "changing"], "gold": [[["bronze", 41308], ["silver", 65607]], [["bronze", 26568], ["silver", 65607]], [["bronze", 67366], ["silver", 74337]], [["bronze", 26568], ["silver", 57147]], [["bronze", 84568], ["gold", 8730], ["silver", 13617]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["bronze", 41308], ["silver", 65607]], [["bronze", 26568], ["silver", 65607]], [["bronze", 67366], ["silver", 74337]], [["bronze", 26568], ["silver", 57147]], [["bronze", 84568], ["gold", 8730], ["silver", 13617]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[["bronze", 17800], ["silver", 29823]], [["bronze", 9380], ["silver", 13504]], [["bronze", 28360], ["silver", 54106]], [["bronze", 17800], ["silver", 29823]], [["bronze", 7240], ["gold", 32419], ["silver", 7964]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["bronze", 17800], ["silver", 29823]], [["bronze", 9380], ["silver", 13504]], [["bronze", 28360], ["silver", 54106]], [["bronze", 17800], ["silver", 29823]], [["bronze", 7240], ["gold", 32419], ["silver", 7964]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "changing"], "gold": [[["bronze", 45198], ["gold", 4060], ["silver", 1940]], [["bronze", 610], ["gold", 4060], ["silver", 7308]], [["bronze", 60878], ["gold", 4060], ["silver", 3880]], [["bronze", 29168], ["gold", 4060], ["silver", 1940]], [["bronze", 45198], ["gold", 6000]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["bronze", 45198], ["gold", 4060], ["silver", 1940]], [["bronze", 610], ["gold", 4060], ["silver", 7308]], [["bronze", 60878], ["gold", 4060], ["silver", 3880]], [["bronze", 29168], ["gold", 4060], ["silver", 1940]], [["bronze", 45198], ["gold", 6000]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[["bronze", 8720], ["gold", 11044], ["silver", 12720]], [["bronze", 25840], ["silver", 12720]], [["bronze", 8720], ["gold", 11044], ["silver", 12720]], [["bronze", 8720], ["gold", 11044], ["silver", 12720]], [["bronze", 12720], ["gold", 11044], ["silver", 8720]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["bronze", 8720], ["gold", 11044], ["silver", 12720]], [["bronze", 25840], ["silver", 12720]], [["bronze", 8720], ["gold", 11044], ["silver", 12720]], [["bronze", 8720], ["gold", 11044], ["silver", 12720]], [["bronze", 12720], ["gold", 11044], ["silver", 8720]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "changing"], "gold": [[["bronze", 3040], ["gold", 19346], ["silver", 31832]], [["bronze", 29684], ["gold", 36651], ["silver", 79305]], [["bronze", 3040], ["gold", 19346], ["silver", 31832]], [["bronze", 3040], ["silver", 31832]], [["bronze", 23013], ["gold", 19346], ["silver", 11859]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["bronze", 3040], ["gold", 19346], ["silver", 31832]], [["bronze", 29684], ["gold", 36651], ["silver", 79305]], [["bronze", 3040], ["gold", 19346], ["silver", 31832]], [["bronze", 3040], ["silver", 31832]], [["bronze", 23013], ["gold", 19346], ["silver", 11859]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[["gold", 25466], ["silver", 42949]], [["gold", 40622], ["silver", 21469]], [["gold", 25466], ["silver", 42949]], [["gold", 25466], ["silver", 30021]], [["gold", 25466], ["silver", 42949]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["gold", 25466], ["silver", 42949]], [["gold", 40622], ["silver", 21469]], [["gold", 25466], ["silver", 42949]], [["gold", 25466], ["silver", 30021]], [["gold", 25466], ["silver", 42949]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "changing"], "gold": [[["bronze", 1200], ["gold", 10000], ["silver", 21790]], [["bronze", 60103], ["gold", 15433], ["silver", 49894]], [["bronze", 1200], ["gold", 10000], ["silver", 21790]], [["bronze", 1200], ["gold", 10146], ["silver", 21790]], [["gold", 11200], ["silver", 21790]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["bronze", 1200], ["gold", 10000], ["silver", 21790]], [["bronze", 60103], ["gold", 15433], ["silver", 49894]], [["bronze", 1200], ["gold", 10000], ["silver", 21790]], [["bronze", 1200], ["gold", 10146], ["silver", 21790]], [["gold", 11200], ["silver", 21790]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "changing"], "gold": [[["bronze", 9820], ["gold", 4495], ["silver", 3160]], [["gold", 560], ["silver", 22014]], [["bronze", 9820], ["gold", 4495], ["silver", 3160]], [["bronze", 9820], ["gold", 4495], ["silver", 14930]], [["bronze", 13640], ["silver", 3835]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["bronze", 9820], ["gold", 4495], ["silver", 3160]], [["gold", 560], ["silver", 22014]], [["bronze", 9820], ["gold", 4495], ["silver", 3160]], [["bronze", 9820], ["gold", 4495], ["silver", 14930]], [["bronze", 13640], ["silver", 3835]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "changing"], "gold": [[["bronze", 5920], ["gold", 14070], ["silver", 16700]], [["bronze", 31262], ["gold", 8140]], [["bronze", 5920], ["gold", 14070], ["silver", 16700]], [["bronze", 2770], ["gold", 14070], ["silver", 16700]], [["bronze", 19990], ["silver", 16700]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["bronze", 5920], ["gold", 14070], ["silver", 16700]], [["bronze", 31262], ["gold", 8140]], [["bronze", 5920], ["gold", 14070], ["silver", 16700]], [["bronze", 2770], ["gold", 14070], ["silver", 16700]], [["bronze", 19990], ["silver", 16700]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[["gold", 20760], ["silver", 12458]], [["gold", 20760], ["silver", 23118]], [["gold", 20760], ["silver", 24716]], [["gold", 20760], ["silver", 12458]], [["bronze", 200], ["gold", 20760], ["silver", 12258]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["gold", 20760], ["silver", 12458]], [["gold", 20760], ["silver", 23118]], [["gold", 20760], ["silver", 24716]], [["gold", 20760], ["silver", 12458]], [["bronze", 200], ["gold", 20760], ["silver", 12258]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "changing"], "gold": [[["silver", 47245]], [["silver", 85348]], [["silver", 70586]], [["silver", 65345]], [["bronze", 23904], ["silver", 23341]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["silver", 47245]], [["silver", 85348]], [["silver", 70586]], [["silver", 65345]], [["bronze", 23904], ["silver", 23341]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[["gold", 2070], ["silver", 4590]], [["gold", 5733], ["silver", 18620]], [["gold", 2070], ["silver", 4590]], [["gold", 2070], ["silver", 4590]], [["gold", 2070], ["silver", 4590]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["gold", 2070], ["silver", 4590]], [["gold", 5733], ["silver", 18620]], [["gold", 2070], ["silver", 4590]], [["gold", 2070], ["silver", 4590]], [["gold", 2070], ["silver", 4590]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "changing"], "gold": [[["bronze", 53299], ["gold", 11570], ["silver", 14422]], [["bronze", 26104], ["silver", 12055]], [["bronze", 72089], ["gold", 11570], ["silver", 14422]], [["bronze", 52695], ["gold", 12620], ["silver", 11242]], [["bronze", 18790], ["gold", 46079], ["silver", 14422]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["bronze", 53299], ["gold", 11570], ["silver", 14422]], [["bronze", 26104], ["silver", 12055]], [["bronze", 72089], ["gold", 11570], ["silver", 14422]], [["bronze", 52695], ["gold", 12620], ["silver", 11242]], [["bronze", 18790], ["gold", 46079], ["silver", 14422]]], "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_s502", "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": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[["gold", 30347]], [["bronze", 36500], ["gold", 10986]], [["gold", 60694]], [["gold", 18085]], [["gold", 30347]]], "dbs_random": ["test/dbs/S_s502/base.db", "test/dbs/S_s502/t_resample.db", "test/dbs/S_s502/t_clone.db", "test/dbs/S_s502/t_flip_status.db", "test/dbs/S_s502/t_relabel_tier.db"], "gold_random": [[["gold", 30347]], [["bronze", 36500], ["gold", 10986]], [["gold", 60694]], [["gold", 18085]], [["gold", 30347]]], "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": "F1_category_buyers|books|2024|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[7]], [[9]], [[10]], [[7]], [[7]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[7]], [[9]], [[10]], [[7]], [[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 = '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": false, "count_orders": false}, "mutant_catchable": {"count_rows": false, "count_orders": false}} {"id": "F1_category_buyers|books|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "preserving"], "gold": [[[15]], [[15]], [[18]], [[15]], [[15]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[15]], [[15]], [[18]], [[15]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[4]], [[7]], [[6]], [[4]], [[4]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[4]], [[7]], [[6]], [[4]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[17]], [[19]], [[22]], [[17]], [[17]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[17]], [[19]], [[22]], [[17]], [[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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[10]], [[7]], [[12]], [[10]], [[10]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[10]], [[7]], [[12]], [[10]], [[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": true}, "mutant_caught": {"count_rows": true, "count_orders": false}, "mutant_catchable": {"count_rows": true, "count_orders": false}} {"id": "F1_category_buyers|grocery|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[19]], [[22]], [[24]], [[19]], [[19]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[19]], [[22]], [[24]], [[19]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[10]], [[9]], [[15]], [[10]], [[10]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[10]], [[9]], [[15]], [[10]], [[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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[14]], [[16]], [[18]], [[14]], [[14]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[14]], [[16]], [[18]], [[14]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[6]], [[5]], [[8]], [[6]], [[6]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[6]], [[5]], [[8]], [[6]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[14]], [[17]], [[19]], [[14]], [[14]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[14]], [[17]], [[19]], [[14]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[8]], [[10]], [[13]], [[8]], [[8]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[8]], [[10]], [[13]], [[8]], [[8]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[23]], [[17]], [[30]], [[23]], [[23]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[23]], [[17]], [[30]], [[23]], [[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 = '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_units_paid|books|2024|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[7]], [[9]], [[10]], [[7]], [[7]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[7]], [[9]], [[10]], [[7]], [[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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[21]], [[19]], [[21]], [[21]], [[21]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[21]], [[19]], [[21]], [[21]], [[21]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[4]], [[8]], [[7]], [[4]], [[4]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[4]], [[8]], [[7]], [[4]], [[4]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[26]], [[33]], [[38]], [[26]], [[26]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[26]], [[33]], [[38]], [[26]], [[26]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[15]], [[12]], [[20]], [[15]], [[15]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[15]], [[12]], [[20]], [[15]], [[15]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[22]], [[19]], [[26]], [[22]], [[22]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[22]], [[19]], [[26]], [[22]], [[22]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[15]], [[12]], [[20]], [[15]], [[15]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[15]], [[12]], [[20]], [[15]], [[15]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[20]], [[22]], [[28]], [[20]], [[20]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[20]], [[22]], [[28]], [[20]], [[20]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[4]], [[5]], [[6]], [[4]], [[4]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[4]], [[5]], [[6]], [[4]], [[4]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[21]], [[25]], [[30]], [[21]], [[21]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[21]], [[25]], [[30]], [[21]], [[21]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[10]], [[12]], [[17]], [[10]], [[10]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[10]], [[12]], [[17]], [[10]], [[10]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[45]], [[38]], [[60]], [[45]], [[45]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[45]], [[38]], [[60]], [[45]], [[45]]], "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_avg_order|Delhi|2024|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[9125]], [[5171]], [[9125]], [[11416.6667]], [[9125]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[9125]], [[5171]], [[9125]], [[11416.6667]], [[9125]]], "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|Delhi|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[9566.375]], [[7656.8571]], [[9566.375]], [[7420]], [[9566.375]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[9566.375]], [[7656.8571]], [[9566.375]], [[7420]], [[9566.375]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[[11736.25]], [[12766.8]], [[10352.5]], [[10461.1667]], [[11736.25]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[11736.25]], [[12766.8]], [[10352.5]], [[10461.1667]], [[11736.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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[9174]], [[9533.1429]], [[9519.1818]], [[9174]], [[9174]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[9174]], [[9533.1429]], [[9519.1818]], [[9174]], [[9174]]], "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|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[14651]], [[11658]], [[14651]], [[12314]], [[14651]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[14651]], [[11658]], [[14651]], [[12314]], [[14651]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[[3784]], [[6914]], [[3784]], [[5133]], [[3784]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[3784]], [[6914]], [[3784]], [[5133]], [[3784]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[8170.6667]], [[12821.6667]], [[8170.6667]], [[8170.6667]], [[8170.6667]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[8170.6667]], [[12821.6667]], [[8170.6667]], [[8170.6667]], [[8170.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": 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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[12831.5]], [[7843.2]], [[12831.5]], [[12831.5]], [[12831.5]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[12831.5]], [[7843.2]], [[12831.5]], [[12831.5]], [[12831.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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[13895]], [[6036]], [[13895]], [[13895]], [[13895]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[13895]], [[6036]], [[13895]], [[13895]], [[13895]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[[12020.1429]], [[14346.75]], [[12107.0769]], [[10859]], [[12020.1429]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[12020.1429]], [[14346.75]], [[12107.0769]], [[10859]], [[12020.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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[9489]], [[8088.75]], [[9489]], [[9489]], [[9489]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[9489]], [[8088.75]], [[9489]], [[9489]], [[9489]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[[7654.9375]], [[11399.5]], [[8684.15]], [[7516.5625]], [[7654.9375]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[7654.9375]], [[11399.5]], [[8684.15]], [[7516.5625]], [[7654.9375]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[6213.8]], [[9195]], [[5153.5]], [[6213.8]], [[6213.8]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[6213.8]], [[9195]], [[5153.5]], [[6213.8]], [[6213.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 = '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": false, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": false, "item_level_avg": true}} {"id": "F3_avg_order|Nagpur|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[9542]], [[9188.3333]], [[9807.25]], [[9542]], [[9542]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[9542]], [[9188.3333]], [[9807.25]], [[9542]], [[9542]]], "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": false, "item_level_avg": true}, "mutant_catchable": {"no_status_filter": false, "item_level_avg": true}} {"id": "F4_current_tier_count|Delhi|bronze|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[7]], [[5]], [[7]], [[7]], [[4]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[7]], [[5]], [[7]], [[7]], [[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": 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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[2]], [[1]], [[2]], [[2]], [[2]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[2]], [[1]], [[2]], [[2]], [[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 = '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|Mumbai|bronze|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[3]], [[3]], [[3]], [[3]], [[2]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[3]], [[3]], [[3]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[3]], [[2]], [[5]], [[3]], [[3]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[3]], [[2]], [[5]], [[3]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "changing"], "gold": [[[1]], [[1]], [[2]], [[1]], [[2]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[1]], [[4]], [[1]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[1]], [[4]], [[1]], [[1]], [[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": true}, "mutant_caught": {"any_row": true, "first_row": false}, "mutant_catchable": {"any_row": true, "first_row": false}} {"id": "F4_current_tier_count|Pune|silver|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[1]], [[3]], [[1]], [[1]], [[0]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[1]], [[3]], [[1]], [[1]], [[0]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[1]], [[1]], [[1]], [[1]], [[2]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[1]], [[1]], [[1]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[2]], [[1]], [[2]], [[2]], [[3]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[2]], [[1]], [[2]], [[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 = '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": true}, "mutant_caught": {"any_row": true, "first_row": false}, "mutant_catchable": {"any_row": true, "first_row": false}} {"id": "F4_current_tier_count|Jaipur|silver|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[1]], [[2]], [[1]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[1]], [[2]], [[1]], [[1]], [[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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[2]], [[1]], [[2]], [[2]], [[1]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[2]], [[1]], [[2]], [[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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[1]], [[0]], [[1]], [[1]], [[1]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[1]], [[0]], [[1]], [[1]], [[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": 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|Indore|bronze|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[4]], [[1]], [[6]], [[4]], [[3]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[4]], [[1]], [[6]], [[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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[2]], [[5]], [[4]], [[2]], [[2]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[2]], [[5]], [[4]], [[2]], [[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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[4]], [[3]], [[4]], [[4]], [[4]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[4]], [[3]], [[4]], [[4]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "changing", "preserving", "changing"], "gold": [[[6]], [[6]], [[9]], [[6]], [[5]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[6]], [[6]], [[9]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[4]], [[3]], [[5]], [[4]], [[2]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[4]], [[3]], [[5]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[4]], [[4]], [[4]], [[4]], [[5]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[4]], [[4]], [[4]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[1]], [[0]], [[2]], [[1]], [[2]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[1]], [[0]], [[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": 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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[232], [243], [282], [295], [397], [432], [499]], [[113], [215], [295], [306], [499]], [[232], [243], [282], [295], [397], [432], [499]], [[232], [243], [282], [295], [397], [432], [499]], [[282], [397], [432], [499]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[232], [243], [282], [295], [397], [432], [499]], [[113], [215], [295], [306], [499]], [[232], [243], [282], [295], [397], [432], [499]], [[232], [243], [282], [295], [397], [432], [499]], [[282], [397], [432], [499]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[2], [58]], [[2]], [[2], [58]], [[2], [58]], [[2], [243]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[2], [58]], [[2]], [[2], [58]], [[2], [58]], [[2], [243]]], "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|bronze|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[27], [156], [421]], [[48], [156], [170]], [[27], [156], [421]], [[27], [156], [421]], [[156], [421]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[27], [156], [421]], [[48], [156], [170]], [[27], [156], [421]], [[27], [156], [421]], [[156], [421]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[227], [378], [390]], [[227], [378]], [[227], [378], [390], [501], [507]], [[227], [378], [390]], [[227], [378], [390]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[227], [378], [390]], [[227], [378]], [[227], [378], [390], [501], [507]], [[227], [378], [390]], [[227], [378], [390]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[476]], [[76]], [[476], [502]], [[476]], [[27], [476]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[476]], [[76]], [[476], [502]], [[476]], [[27], [476]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[16]], [[60], [425], [426], [446]], [[16]], [[16]], [[16]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[16]], [[60], [425], [426], [446]], [[16]], [[16]], [[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 = '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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[225]], [[162], [184], [400]], [[225]], [[225]], []], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[225]], [[162], [184], [400]], [[225]], [[225]], []], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[33]], [[33]], [[33]], [[33]], [[33], [225]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[33]], [[33]], [[33]], [[33]], [[33], [225]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[194], [247]], [[194]], [[194], [247]], [[194], [247]], [[174], [194], [247]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[194], [247]], [[194]], [[194], [247]], [[194], [247]], [[174], [194], [247]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[174]], [[252], [308]], [[174]], [[174]], [[348]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[174]], [[252], [308]], [[174]], [[174]], [[348]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[348], [381]], [[381]], [[348], [381]], [[348], [381]], [[381]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[348], [381]], [[381]], [[348], [381]], [[348], [381]], [[381]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[124]], [], [[124]], [[124]], [[124]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[124]], [], [[124]], [[124]], [[124]]], "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|Indore|bronze|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[63], [67], [272], [317]], [[272]], [[63], [67], [272], [317], [500], [508]], [[63], [67], [272], [317]], [[67], [272], [317]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[63], [67], [272], [317]], [[272]], [[63], [67], [272], [317], [500], [508]], [[63], [67], [272], [317]], [[67], [272], [317]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[105], [270]], [[19], [105], [169], [280], [394]], [[105], [270], [503], [511]], [[105], [270]], [[63], [105]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[105], [270]], [[19], [105], [169], [280], [394]], [[105], [270], [503], [511]], [[105], [270]], [[63], [105]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[[118], [136], [204], [311]], [[6], [136], [311]], [[118], [136], [204], [311]], [[118], [136], [204], [311]], [[118], [136], [311], [328]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[118], [136], [204], [311]], [[6], [136], [311]], [[118], [136], [204], [311]], [[118], [136], [204], [311]], [[118], [136], [311], [328]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[78], [265], [328], [351], [408], [444]], [[78], [108], [265], [351], [408], [444]], [[78], [265], [328], [351], [408], [444], [505], [506], [510]], [[78], [265], [328], [351], [408], [444]], [[78], [265], [351], [408], [444]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[78], [265], [328], [351], [408], [444]], [[78], [108], [265], [351], [408], [444]], [[78], [265], [328], [351], [408], [444], [505], [506], [510]], [[78], [265], [328], [351], [408], [444]], [[78], [265], [351], [408], [444]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[86], [102], [111], [407]], [[86], [102], [407]], [[86], [102], [111], [407], [504]], [[86], [102], [111], [407]], [[107], [407]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[86], [102], [111], [407]], [[86], [102], [407]], [[86], [102], [111], [407], [504]], [[86], [102], [111], [407]], [[107], [407]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["preserving", "preserving", "preserving", "changing"], "gold": [[[21], [228], [300], [339]], [[21], [228], [300], [339]], [[21], [228], [300], [339]], [[21], [228], [300], [339]], [[21], [86], [111], [228], [300]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[21], [228], [300], [339]], [[21], [228], [300], [339]], [[21], [228], [300], [339]], [[21], [228], [300], [339]], [[21], [86], [111], [228], [300]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[[107]], [], [[107], [509]], [[107]], [[102], [339]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[107]], [], [[107], [509]], [[107]], [[102], [339]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[32743]], [[20684]], [[32743]], [[32743]], [[32743]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[32743]], [[20684]], [[32743]], [[32743]], [[32743]]], "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|Delhi|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[39520]], [[26315]], [[39520]], [[39520]], [[39520]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[39520]], [[26315]], [[39520]], [[39520]], [[39520]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Mumbai|2024|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[47532]], [[53358]], [[62702]], [[47532]], [[47532]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[47532]], [[53358]], [[62702]], [[47532]], [[47532]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[73549]], [[54422]], [[104868]], [[73549]], [[73549]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[73549]], [[54422]], [[104868]], [[73549]], [[73549]]], "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|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[29302]], [[76766]], [[29302]], [[29302]], [[29302]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[29302]], [[76766]], [[29302]], [[29302]], [[29302]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Jaipur|2024|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[8372]], [[6914]], [[8372]], [[8372]], [[8372]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[8372]], [[6914]], [[8372]], [[8372]], [[8372]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Jaipur|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[10748]], [[23499]], [[10748]], [[10748]], [[10748]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[10748]], [[23499]], [[10748]], [[10748]], [[10748]]], "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|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[[25663]], [[39216]], [[25663]], [[25663]], [[25663]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[25663]], [[39216]], [[25663]], [[25663]], [[25663]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Indore|2024|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[27790]], [[29610]], [[55580]], [[27790]], [[27790]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[27790]], [[29610]], [[55580]], [[27790]], [[27790]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Indore|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[46903]], [[20482]], [[82916]], [[46903]], [[46903]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[46903]], [[20482]], [[82916]], [[46903]], [[46903]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Surat|2024|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[28467]], [[32355]], [[56934]], [[28467]], [[28467]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[28467]], [[32355]], [[56934]], [[28467]], [[28467]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Surat|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[88654]], [[58515]], [[113362]], [[88654]], [[88654]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[88654]], [[58515]], [[113362]], [[88654]], [[88654]]], "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": false}, "mutant_caught": {"ignore_adjustments": true}, "mutant_catchable": {"ignore_adjustments": true}} {"id": "F4_net_invoice|Nagpur|2024|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[24949]], [[12270]], [[28988]], [[24949]], [[24949]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[24949]], [[12270]], [[28988]], [[24949]], [[24949]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_net_invoice|Nagpur|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[[66794]], [[55130]], [[78458]], [[66794]], [[66794]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[[66794]], [[55130]], [[78458]], [[66794]], [[66794]]], "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": false}, "mutant_catchable": {"ignore_adjustments": false}} {"id": "F4_revenue_by_current_tier|Delhi|2024|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "changing"], "gold": [[["bronze", 36500]], [["bronze", 20684]], [["bronze", 36500]], [["bronze", 34250]], [["bronze", 18840], ["gold", 17660]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["bronze", 36500]], [["bronze", 20684]], [["bronze", 36500]], [["bronze", 34250]], [["bronze", 18840], ["gold", 17660]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "changing"], "gold": [[["bronze", 76531]], [["bronze", 53598]], [["bronze", 76531]], [["bronze", 51940]], [["bronze", 18687], ["silver", 57844]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["bronze", 76531]], [["bronze", 53598]], [["bronze", 76531]], [["bronze", 51940]], [["bronze", 18687], ["silver", 57844]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "preserving"], "gold": [[["bronze", 31775], ["silver", 15170]], [["bronze", 48664], ["silver", 15170]], [["bronze", 31775], ["silver", 30340]], [["bronze", 47597], ["silver", 15170]], [["bronze", 31775], ["silver", 15170]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["bronze", 31775], ["silver", 15170]], [["bronze", 48664], ["silver", 15170]], [["bronze", 31775], ["silver", 30340]], [["bronze", 47597], ["silver", 15170]], [["bronze", 31775], ["silver", 15170]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[["bronze", 20707], ["silver", 52685]], [["bronze", 12310], ["gold", 23103], ["silver", 31319]], [["bronze", 20707], ["silver", 84004]], [["bronze", 20707], ["silver", 52685]], [["bronze", 13297], ["gold", 7410], ["silver", 52685]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["bronze", 20707], ["silver", 52685]], [["bronze", 12310], ["gold", 23103], ["silver", 31319]], [["bronze", 20707], ["silver", 84004]], [["bronze", 20707], ["silver", 52685]], [["bronze", 13297], ["gold", 7410], ["silver", 52685]]], "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|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "preserving"], "gold": [[["bronze", 8712], ["gold", 20590]], [["bronze", 40780], ["gold", 20590], ["silver", 20236]], [["bronze", 8712], ["gold", 20590]], [["bronze", 16352], ["gold", 20590]], [["bronze", 8712], ["gold", 20590]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["bronze", 8712], ["gold", 20590]], [["bronze", 40780], ["gold", 20590], ["silver", 20236]], [["bronze", 8712], ["gold", 20590]], [["bronze", 16352], ["gold", 20590]], [["bronze", 8712], ["gold", 20590]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "changing", "changing"], "gold": [[["bronze", 9894], ["silver", 1458]], [["bronze", 6914]], [["bronze", 9894], ["silver", 1458]], [["bronze", 9894], ["gold", 9180], ["silver", 1458]], [["bronze", 11352]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["bronze", 9894], ["silver", 1458]], [["bronze", 6914]], [["bronze", 9894], ["silver", 1458]], [["bronze", 9894], ["gold", 9180], ["silver", 1458]], [["bronze", 11352]]], "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": true}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Jaipur|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "changing"], "gold": [[["gold", 24082], ["silver", 430]], [["gold", 10422], ["silver", 28043]], [["gold", 24082], ["silver", 430]], [["gold", 24082], ["silver", 430]], [["bronze", 430], ["gold", 10422], ["silver", 13660]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["gold", 24082], ["silver", 430]], [["gold", 10422], ["silver", 28043]], [["gold", 24082], ["silver", 430]], [["gold", 24082], ["silver", 430]], [["bronze", 430], ["gold", 10422], ["silver", 13660]]], "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|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "preserving", "preserving", "preserving"], "gold": [[["bronze", 25663]], [["gold", 39216]], [["bronze", 25663]], [["bronze", 25663]], [["bronze", 25663]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["bronze", 25663]], [["gold", 39216]], [["bronze", 25663]], [["bronze", 25663]], [["bronze", 25663]]], "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": true}, "mutant_caught": {"all_tier_rows": true}, "mutant_catchable": {"all_tier_rows": true}} {"id": "F4_revenue_by_current_tier|Indore|2024|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[["bronze", 25590], ["silver", 2200]], [["bronze", 25590], ["silver", 4590]], [["bronze", 51180], ["silver", 4400]], [["bronze", 25590], ["silver", 2200]], [["bronze", 25590], ["gold", 2200]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["bronze", 25590], ["silver", 2200]], [["bronze", 25590], ["silver", 4590]], [["bronze", 51180], ["silver", 4400]], [["bronze", 25590], ["silver", 2200]], [["bronze", 25590], ["gold", 2200]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "changing"], "gold": [[["bronze", 46903], ["silver", 37238]], [["silver", 57387]], [["bronze", 82916], ["silver", 74476]], [["bronze", 48383], ["silver", 49348]], [["bronze", 10890], ["gold", 29108], ["silver", 44143]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["bronze", 46903], ["silver", 37238]], [["silver", 57387]], [["bronze", 82916], ["silver", 74476]], [["bronze", 48383], ["silver", 49348]], [["bronze", 10890], ["gold", 29108], ["silver", 44143]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "preserving"], "gold": [[["silver", 28467]], [["silver", 32355]], [["silver", 56934]], [["silver", 28467]], [["silver", 28467]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["silver", 28467]], [["silver", 32355]], [["silver", 56934]], [["silver", 28467]], [["silver", 28467]]], "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": true}, "mutant_caught": {"all_tier_rows": false}, "mutant_catchable": {"all_tier_rows": false}} {"id": "F4_revenue_by_current_tier|Surat|2025|S_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "changing", "changing"], "gold": [[["bronze", 33753], ["silver", 88726]], [["bronze", 38168], ["gold", 22240], ["silver", 76386]], [["bronze", 33753], ["silver", 139930]], [["bronze", 28668], ["silver", 91597]], [["bronze", 26145], ["gold", 19948], ["silver", 76386]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["bronze", 33753], ["silver", 88726]], [["bronze", 38168], ["gold", 22240], ["silver", 76386]], [["bronze", 33753], ["silver", 139930]], [["bronze", 28668], ["silver", 91597]], [["bronze", 26145], ["gold", 19948], ["silver", 76386]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[["bronze", 14760], ["gold", 4039], ["silver", 12270]], [["bronze", 6120], ["silver", 12270]], [["bronze", 20880], ["gold", 8078], ["silver", 12270]], [["bronze", 14760], ["gold", 4039], ["silver", 12270]], [["bronze", 4039], ["gold", 18390], ["silver", 8640]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["bronze", 14760], ["gold", 4039], ["silver", 12270]], [["bronze", 6120], ["silver", 12270]], [["bronze", 20880], ["gold", 8078], ["silver", 12270]], [["bronze", 14760], ["gold", 4039], ["silver", 12270]], [["bronze", 4039], ["gold", 18390], ["silver", 8640]]], "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_s503", "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": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "cf_edits": ["resample", "clone", "flip_status", "relabel_tier"], "cf_kinds": ["changing", "changing", "preserving", "changing"], "gold": [[["bronze", 23690], ["gold", 11664], ["silver", 31440]], [["bronze", 23690], ["silver", 31440]], [["bronze", 23690], ["gold", 23328], ["silver", 31440]], [["bronze", 23690], ["gold", 11664], ["silver", 31440]], [["bronze", 11664], ["gold", 3215], ["silver", 51915]]], "dbs_random": ["test/dbs/S_s503/base.db", "test/dbs/S_s503/t_resample.db", "test/dbs/S_s503/t_clone.db", "test/dbs/S_s503/t_flip_status.db", "test/dbs/S_s503/t_relabel_tier.db"], "gold_random": [[["bronze", 23690], ["gold", 11664], ["silver", 31440]], [["bronze", 23690], ["silver", 31440]], [["bronze", 23690], ["gold", 23328], ["silver", 31440]], [["bronze", 23690], ["gold", 11664], ["silver", 31440]], [["bronze", 11664], ["gold", 3215], ["silver", 51915]]], "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}}