TabQueryBench commited on
Commit
ea04f35
·
verified ·
1 Parent(s): 3aa29ff

Add files using upload-large-folder tool

Browse files
Query/sql/v2/runs/v2_cli_20260502_081223_b/m6/artifacts/v2q_m6_192ebb2a85e19ace/final_answer.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ {"row_count": null, "preview_rows": [{"ProductRelated_Duration": "0", "support": 755, "avg_response": 0.26258278145695363}, {"ProductRelated_Duration": "17", "support": 21, "avg_response": 6.845238095238095}, {"ProductRelated_Duration": "11", "support": 17, "avg_response": 0.0}, {"ProductRelated_Duration": "8", "support": 17, "avg_response": 0.0}, {"ProductRelated_Duration": "15", "support": 16, "avg_response": 0.0}]}
Query/sql/v2/runs/v2_cli_20260502_081223_b/m6/artifacts/v2q_m6_192ebb2a85e19ace/generated_sql.sql ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ -- sql_source_version: v2
2
+ -- sql_source_label: v2_current
3
+ -- sql_source_run_id: v2_cli_20260502_081223_b
4
+ -- sql_source_dataset_id: m6
5
+ -- family_id: cardinality_structure
6
+ -- canonical_subitem_id: high_cardinality_response_stability
7
+ -- intended_facet_id: target_cardinality_cross_section
8
+ -- variant_semantic_role: focused_target_view
9
+ -- template_id: tpl_cardinality_high_card_response_stability
10
+ -- query_record_id: v2q_m6_192ebb2a85e19ace
11
+ -- problem_id: v2p_m6_8c0483ddeb2c3769
12
+ -- realization_mode: deterministic
13
+ -- source_kind: deterministic
14
+ SELECT
15
+ "ProductRelated_Duration",
16
+ COUNT(*) AS support,
17
+ AVG("Informational_Duration") AS avg_response
18
+ FROM "m6"
19
+ GROUP BY "ProductRelated_Duration"
20
+ HAVING COUNT(*) >= 5.0
21
+ ORDER BY support DESC, avg_response DESC;
Query/sql/v2/runs/v2_cli_20260502_081223_b/m6/artifacts/v2q_m6_192ebb2a85e19ace/query_results.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"node_name": "v2_template", "tool_name": "sqlite_query", "query": "-- sql_source_version: v2\n-- sql_source_label: v2_current\n-- sql_source_run_id: v2_cli_20260502_081223_b\n-- sql_source_dataset_id: m6\n-- family_id: cardinality_structure\n-- canonical_subitem_id: high_cardinality_response_stability\n-- intended_facet_id: target_cardinality_cross_section\n-- variant_semantic_role: focused_target_view\n-- template_id: tpl_cardinality_high_card_response_stability\n-- query_record_id: v2q_m6_192ebb2a85e19ace\n-- problem_id: v2p_m6_8c0483ddeb2c3769\n-- realization_mode: deterministic\n-- source_kind: deterministic\nSELECT\n \"ProductRelated_Duration\",\n COUNT(*) AS support,\n AVG(\"Informational_Duration\") AS avg_response\nFROM \"m6\"\nGROUP BY \"ProductRelated_Duration\"\nHAVING COUNT(*) >= 5.0\nORDER BY support DESC, avg_response DESC;", "result": "{\"query\": \"-- sql_source_version: v2\\n-- sql_source_label: v2_current\\n-- sql_source_run_id: v2_cli_20260502_081223_b\\n-- sql_source_dataset_id: m6\\n-- family_id: cardinality_structure\\n-- canonical_subitem_id: high_cardinality_response_stability\\n-- intended_facet_id: target_cardinality_cross_section\\n-- variant_semantic_role: focused_target_view\\n-- template_id: tpl_cardinality_high_card_response_stability\\n-- query_record_id: v2q_m6_192ebb2a85e19ace\\n-- problem_id: v2p_m6_8c0483ddeb2c3769\\n-- realization_mode: deterministic\\n-- source_kind: deterministic\\nSELECT\\n \\\"ProductRelated_Duration\\\",\\n COUNT(*) AS support,\\n AVG(\\\"Informational_Duration\\\") AS avg_response\\nFROM \\\"m6\\\"\\nGROUP BY \\\"ProductRelated_Duration\\\"\\nHAVING COUNT(*) >= 5.0\\nORDER BY support DESC, avg_response DESC;\", \"columns\": [\"ProductRelated_Duration\", \"support\", \"avg_response\"], \"rows\": [{\"ProductRelated_Duration\": \"0\", \"support\": 755, \"avg_response\": 0.26258278145695363}, {\"ProductRelated_Duration\": \"17\", \"support\": 21, \"avg_response\": 6.845238095238095}, {\"ProductRelated_Duration\": \"11\", \"support\": 17, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"8\", \"support\": 17, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"15\", \"support\": 16, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"19\", \"support\": 15, \"avg_response\": 0.26666666666666666}, {\"ProductRelated_Duration\": \"12\", \"support\": 15, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"22\", \"support\": 15, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"13\", \"support\": 14, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"7\", \"support\": 14, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"5\", \"support\": 13, \"avg_response\": 2.1846153846153844}, {\"ProductRelated_Duration\": \"14\", \"support\": 13, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"24\", \"support\": 13, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"34\", \"support\": 12, \"avg_response\": 10.416666666666666}, {\"ProductRelated_Duration\": \"25\", \"support\": 12, \"avg_response\": 0.5}, {\"ProductRelated_Duration\": \"59\", \"support\": 12, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"36\", \"support\": 11, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"50\", \"support\": 11, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"64\", \"support\": 10, \"avg_response\": 3.3}, {\"ProductRelated_Duration\": \"96\", \"support\": 10, \"avg_response\": 2.7}, {\"ProductRelated_Duration\": \"108\", \"support\": 10, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"20\", \"support\": 10, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"26\", \"support\": 10, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"4\", \"support\": 10, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"44\", \"support\": 10, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"47\", \"support\": 9, \"avg_response\": 3.4444444444444446}, {\"ProductRelated_Duration\": \"95\", \"support\": 9, \"avg_response\": 2.138888888888889}, {\"ProductRelated_Duration\": \"23\", \"support\": 9, \"avg_response\": 0.7777777777777778}, {\"ProductRelated_Duration\": \"18\", \"support\": 9, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"21\", \"support\": 9, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"28\", \"support\": 9, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"55\", \"support\": 9, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"57\", \"support\": 9, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"60\", \"support\": 9, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"63\", \"support\": 9, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"10\", \"support\": 8, \"avg_response\": 14.6}, {\"ProductRelated_Duration\": \"48\", \"support\": 8, \"avg_response\": 6.5}, {\"ProductRelated_Duration\": \"46\", \"support\": 8, \"avg_response\": 6.25}, {\"ProductRelated_Duration\": \"67\", \"support\": 8, \"avg_response\": 4.0625}, {\"ProductRelated_Duration\": \"105\", \"support\": 8, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"117\", \"support\": 8, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"125\", \"support\": 8, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"16\", \"support\": 8, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"203\", \"support\": 8, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"224\", \"support\": 8, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"42\", \"support\": 8, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"56\", \"support\": 8, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"58\", \"support\": 8, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"62\", \"support\": 8, \"avg_response\": 0.0}, {\"ProductRelated_Duration\": \"65\", \"support\": 8, \"avg_response\": 0.0}], \"row_count_returned\": 50, \"row_limit\": 50, \"truncated\": true, \"elapsed_ms\": 8.46}"}
Query/sql/v2/runs/v2_cli_20260502_081223_b/m6/artifacts/v2q_m6_f712928cb64b5f12/run_manifest.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run_id": "v2_cli_20260502_081223_b",
3
+ "dataset_id": "m6",
4
+ "started_at": "2026-05-19T15:59:46.176503+00:00",
5
+ "ended_at": "2026-05-19T15:59:55.043870+00:00",
6
+ "status": "completed",
7
+ "engine": "cli",
8
+ "question_record": {
9
+ "query_record_id": "v2q_m6_f712928cb64b5f12",
10
+ "problem_id": "v2p_m6_f2a409ace5dd9ded",
11
+ "dataset_id": "m6",
12
+ "template_id": "tpl_m4_group_condition_rate",
13
+ "template_name": "Grouped Condition Rate",
14
+ "family_id": "conditional_dependency_structure",
15
+ "canonical_subitem_id": "direction_consistency",
16
+ "intended_facet_id": "conditional_rate_shift",
17
+ "variant_semantic_role": "within_group_proportion",
18
+ "subitem_assignment_source": "planner_selected",
19
+ "source_kind": "agent",
20
+ "realization_mode": "agent",
21
+ "gate_priority": "primary",
22
+ "extended_family": false,
23
+ "question": "Use template Grouped Condition Rate to probe direction_consistency with semantic role within_group_proportion. Focus on group_col=Weekend, condition_col=VisitorType.",
24
+ "bindings": {
25
+ "group_col": "Weekend",
26
+ "condition_col": "VisitorType",
27
+ "condition_value": "New_Visitor",
28
+ "positive_value": "Returning_Visitor",
29
+ "negative_value": "New_Visitor",
30
+ "top_k": 17,
31
+ "top_n": 5,
32
+ "num_tiles": 10,
33
+ "percentile_value": 0.95,
34
+ "z_threshold": 2.0,
35
+ "fraction_threshold": 0.05,
36
+ "baseline_multiplier": 1.75,
37
+ "baseline_fraction": 0.1,
38
+ "min_group_size": 5,
39
+ "min_support": 4,
40
+ "measure_threshold": 4.0,
41
+ "time_grain": "month",
42
+ "lookback_rows": 3,
43
+ "current_period_start": "'2024-01-01'",
44
+ "current_period_end": "'2024-04-01'",
45
+ "previous_period_start": "'2023-10-01'",
46
+ "previous_period_end": "'2024-01-01'",
47
+ "drift_ratio_threshold": 0.8
48
+ },
49
+ "binding_roles": [
50
+ "group_col",
51
+ "condition_col"
52
+ ],
53
+ "coverage_target_min": "5",
54
+ "runtime_sql_skeleton": "SELECT {group_col},\n AVG(CASE WHEN {condition_col} = {condition_value} THEN 1 ELSE 0 END) AS condition_rate\nFROM {table}\nGROUP BY {group_col}\nORDER BY condition_rate DESC;",
55
+ "notes": [
56
+ "default_facets=conditional_rate_shift",
57
+ "template_selection_mode=rule",
58
+ "problem_index_within_template=2",
59
+ "sql_variant_index=2/2",
60
+ "binding_index=97"
61
+ ],
62
+ "template_selection_mode": "rule",
63
+ "selected_template_rank": 9,
64
+ "problem_index_within_template": 2,
65
+ "sql_variant_index": 2,
66
+ "sql_variant_total": 2
67
+ },
68
+ "mode": "subitem_workload_v2",
69
+ "sql_source_version": "v2",
70
+ "sql_source_label": "v2_current",
71
+ "generated_sql_path": "/data/jialinzhang/TabQueryBench/sql_workloads/v2_current/runs_and_launches/runs/v2_cli_20260502_081223_b/m6/sql/v2q_m6_f712928cb64b5f12.sql",
72
+ "usage_summary": {
73
+ "dataset_id": "m6",
74
+ "model": "v2-cli:codex",
75
+ "run_id": "v2q_m6_f712928cb64b5f12",
76
+ "api_calls": 0,
77
+ "input_tokens": 15003,
78
+ "cached_input_tokens": 12032,
79
+ "output_tokens": 330,
80
+ "total_tokens": 15333,
81
+ "cost_usd": 0.0,
82
+ "ai_cli_calls": 1,
83
+ "estimated_input_tokens": 0,
84
+ "estimated_output_tokens": 0,
85
+ "estimated_total_tokens": 0,
86
+ "usage_source": "ai_cli_json_usage",
87
+ "cli_elapsed_ms_total": 8854.41,
88
+ "sql_execution_elapsed_ms_total": 7.06,
89
+ "conversation_log_path": "/data/jialinzhang/TabQueryBench/sql_workloads/v2_current/runs_and_launches/runs/v2_cli_20260502_081223_b/m6/artifacts/v2q_m6_f712928cb64b5f12/cli/conversation.jsonl",
90
+ "note": "Executed through a local AI CLI with structured usage metadata."
91
+ }
92
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/m6/artifacts/v2q_m6_f712928cb64b5f12/usage_summary.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "m6",
3
+ "model": "v2-cli:codex",
4
+ "run_id": "v2q_m6_f712928cb64b5f12",
5
+ "api_calls": 0,
6
+ "input_tokens": 15003,
7
+ "cached_input_tokens": 12032,
8
+ "output_tokens": 330,
9
+ "total_tokens": 15333,
10
+ "cost_usd": 0.0,
11
+ "ai_cli_calls": 1,
12
+ "estimated_input_tokens": 0,
13
+ "estimated_output_tokens": 0,
14
+ "estimated_total_tokens": 0,
15
+ "usage_source": "ai_cli_json_usage",
16
+ "cli_elapsed_ms_total": 8854.41,
17
+ "sql_execution_elapsed_ms_total": 7.06,
18
+ "conversation_log_path": "/data/jialinzhang/TabQueryBench/sql_workloads/v2_current/runs_and_launches/runs/v2_cli_20260502_081223_b/m6/artifacts/v2q_m6_f712928cb64b5f12/cli/conversation.jsonl",
19
+ "note": "Executed through a local AI CLI with structured usage metadata."
20
+ }