TabQueryBench commited on
Commit
be9e353
·
verified ·
1 Parent(s): 7f47b61

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_02e5a59d1fa96e13/run_manifest.json +72 -0
  2. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_02e5a59d1fa96e13/trace.jsonl +2 -0
  3. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/conversation.jsonl +2 -0
  4. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/session_summary.json +25 -0
  5. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/sql_attempt_1.metadata.json +45 -0
  6. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/sql_prompt_attempt_1.txt +1126 -0
  7. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/sql_response_attempt_1.raw.txt +8 -0
  8. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/sql_response_attempt_1.txt +1 -0
  9. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/sql_stderr_attempt_1.txt +0 -0
  10. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/conversation.jsonl +2 -0
  11. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/session_summary.json +25 -0
  12. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/sql_attempt_1.metadata.json +45 -0
  13. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/sql_prompt_attempt_1.txt +1128 -0
  14. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/sql_response_attempt_1.raw.txt +4 -0
  15. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/sql_response_attempt_1.txt +1 -0
  16. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/sql_stderr_attempt_1.txt +0 -0
  17. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_attempt_1.metadata.json +43 -0
  18. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_attempt_2.metadata.json +43 -0
  19. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_prompt_attempt_1.txt +1128 -0
  20. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_prompt_attempt_2.txt +1128 -0
  21. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_response_attempt_1.raw.txt +4 -0
  22. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_response_attempt_1.txt +4 -0
  23. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_response_attempt_2.raw.txt +4 -0
  24. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_response_attempt_2.txt +4 -0
  25. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_stderr_attempt_1.txt +0 -0
  26. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_stderr_attempt_2.txt +0 -0
  27. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/conversation.jsonl +2 -0
  28. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/session_summary.json +25 -0
  29. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/sql_attempt_1.metadata.json +45 -0
  30. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/sql_prompt_attempt_1.txt +1130 -0
  31. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/sql_response_attempt_1.raw.txt +5 -0
  32. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/sql_response_attempt_1.txt +1 -0
  33. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/sql_stderr_attempt_1.txt +0 -0
  34. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/conversation.jsonl +2 -0
  35. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/session_summary.json +25 -0
  36. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/sql_attempt_1.metadata.json +45 -0
  37. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/sql_prompt_attempt_1.txt +1128 -0
  38. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/sql_response_attempt_1.raw.txt +4 -0
  39. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/sql_response_attempt_1.txt +1 -0
  40. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/sql_stderr_attempt_1.txt +0 -0
  41. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/conversation.jsonl +2 -0
  42. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/session_summary.json +25 -0
  43. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/sql_attempt_1.metadata.json +45 -0
  44. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/sql_prompt_attempt_1.txt +1126 -0
  45. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/sql_response_attempt_1.raw.txt +6 -0
  46. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/sql_response_attempt_1.txt +1 -0
  47. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/sql_stderr_attempt_1.txt +0 -0
  48. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0b5e53ef206a67da/cli/conversation.jsonl +2 -0
  49. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0b5e53ef206a67da/cli/session_summary.json +25 -0
  50. Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0b5e53ef206a67da/cli/sql_attempt_1.metadata.json +45 -0
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_02e5a59d1fa96e13/run_manifest.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run_id": "v2_cli_20260502_081223_b",
3
+ "dataset_id": "n15",
4
+ "started_at": "2026-05-19T16:06:58.471350+00:00",
5
+ "ended_at": "2026-05-19T16:07:05.398137+00:00",
6
+ "status": "failed",
7
+ "engine": "cli",
8
+ "question_record": {
9
+ "query_record_id": "v2q_n15_02e5a59d1fa96e13",
10
+ "problem_id": "v2p_n15_5bdffdfad8513f6a",
11
+ "dataset_id": "n15",
12
+ "template_id": "tpl_m4_group_condition_rate",
13
+ "template_name": "Grouped Condition Rate",
14
+ "family_id": "conditional_dependency_structure",
15
+ "canonical_subitem_id": "dependency_strength_similarity",
16
+ "intended_facet_id": "pairwise_conditional_dependency",
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 dependency_strength_similarity with semantic role within_group_proportion. Focus on group_col=MFALLEEN, condition_col=MGEMOMV.",
24
+ "bindings": {
25
+ "group_col": "MFALLEEN",
26
+ "condition_col": "MGEMOMV",
27
+ "condition_value": "3",
28
+ "positive_value": "3",
29
+ "negative_value": "2",
30
+ "top_k": 13,
31
+ "top_n": 5,
32
+ "num_tiles": 10,
33
+ "percentile_value": 0.95,
34
+ "z_threshold": 2.0,
35
+ "fraction_threshold": 0.1,
36
+ "baseline_multiplier": 1.5,
37
+ "baseline_fraction": 0.1,
38
+ "min_group_size": 5,
39
+ "min_support": 5,
40
+ "measure_threshold": 3.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=pairwise_conditional_dependency",
57
+ "template_selection_mode=rule",
58
+ "problem_index_within_template=3",
59
+ "sql_variant_index=1/2",
60
+ "binding_index=98"
61
+ ],
62
+ "template_selection_mode": "rule",
63
+ "selected_template_rank": 9,
64
+ "problem_index_within_template": 3,
65
+ "sql_variant_index": 1,
66
+ "sql_variant_total": 2
67
+ },
68
+ "mode": "subitem_workload_v2",
69
+ "sql_source_version": "v2",
70
+ "sql_source_label": "v2_current",
71
+ "error": "AI CLI command failed with exit code 1: "
72
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_02e5a59d1fa96e13/trace.jsonl ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"timestamp": "2026-05-19T16:07:01.473545+00:00", "event_type": "ai_cli_sql_generation_error", "engine": "v2-cli:codex", "attempt": 1, "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -", "returncode": 1, "elapsed_ms": 2997.78, "started_at": "2026-05-19T16:06:58.474775+00:00", "ended_at": "2026-05-19T16:07:01.472595+00:00", "prompt_metrics": {"chars": 33332, "bytes_utf8": 33332, "lines": 1131, "estimated_tokens": null}, "response_metrics": {"chars": 280, "bytes_utf8": 280, "lines": 4, "estimated_tokens": null}, "usage": {}, "stderr_preview": "", "stdout_preview": "{\"type\":\"thread.started\",\"thread_id\":\"019e40fd-8bae-7303-b022-7b13734aa804\"}\n{\"type\":\"turn.started\"}\n{\"type\":\"error\",\"message\":\"Quota exceeded. Check your plan and billing details.\"}\n{\"type\":\"turn.failed\",\"error\":{\"message\":\"Quota exceeded. Check your plan and billing details.\"}}", "error": "AI CLI command failed with exit code 1: "}
2
+ {"timestamp": "2026-05-19T16:07:05.398052+00:00", "event_type": "ai_cli_sql_generation_error", "engine": "v2-cli:codex", "attempt": 2, "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -", "returncode": 1, "elapsed_ms": 2922.16, "started_at": "2026-05-19T16:07:02.475071+00:00", "ended_at": "2026-05-19T16:07:05.397266+00:00", "prompt_metrics": {"chars": 33332, "bytes_utf8": 33332, "lines": 1131, "estimated_tokens": null}, "response_metrics": {"chars": 280, "bytes_utf8": 280, "lines": 4, "estimated_tokens": null}, "usage": {}, "stderr_preview": "", "stdout_preview": "{\"type\":\"thread.started\",\"thread_id\":\"019e40fd-9b47-7351-a78e-566c4c6652a0\"}\n{\"type\":\"turn.started\"}\n{\"type\":\"error\",\"message\":\"Quota exceeded. Check your plan and billing details.\"}\n{\"type\":\"turn.failed\",\"error\":{\"message\":\"Quota exceeded. Check your plan and billing details.\"}}", "error": "AI CLI command failed with exit code 1: "}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/conversation.jsonl ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"attempt": 1, "phase": "sql_generation", "role": "user", "content_path": "cli/sql_prompt_attempt_1.txt", "metrics": {"chars": 32994, "bytes_utf8": 32994, "lines": 1126, "estimated_tokens": null}}
2
+ {"attempt": 1, "phase": "sql_generation", "role": "assistant", "content_path": "cli/sql_response_attempt_1.txt", "raw_content_path": "cli/sql_response_attempt_1.raw.txt", "stderr_path": "cli/sql_stderr_attempt_1.txt", "metrics": {"chars": 277, "bytes_utf8": 277, "lines": 1, "estimated_tokens": null}, "usage": {"input_tokens": 22979, "cached_input_tokens": 21888, "output_tokens": 285, "reasoning_output_tokens": 210}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/session_summary.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "engine": "v2-cli:codex",
3
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
4
+ "ai_cli_calls": 1,
5
+ "usage_summary": {
6
+ "dataset_id": "n15",
7
+ "model": "v2-cli:codex",
8
+ "run_id": "v2q_n15_054d762b56fc12de",
9
+ "api_calls": 0,
10
+ "input_tokens": 22979,
11
+ "cached_input_tokens": 21888,
12
+ "output_tokens": 285,
13
+ "total_tokens": 23264,
14
+ "cost_usd": 0.0,
15
+ "ai_cli_calls": 1,
16
+ "estimated_input_tokens": 0,
17
+ "estimated_output_tokens": 0,
18
+ "estimated_total_tokens": 0,
19
+ "usage_source": "ai_cli_json_usage",
20
+ "cli_elapsed_ms_total": 21971.16,
21
+ "sql_execution_elapsed_ms_total": 4.29,
22
+ "conversation_log_path": "/data/jialinzhang/TabQueryBench/sql_workloads/v2_current/runs_and_launches/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/conversation.jsonl",
23
+ "note": "Executed through a local AI CLI with structured usage metadata."
24
+ }
25
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/sql_attempt_1.metadata.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attempt": 1,
3
+ "phase": "sql_generation",
4
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
5
+ "started_at": "2026-05-19T15:32:27.342011+00:00",
6
+ "ended_at": "2026-05-19T15:32:49.313191+00:00",
7
+ "elapsed_ms": 21971.16,
8
+ "prompt_metrics": {
9
+ "chars": 32994,
10
+ "bytes_utf8": 32994,
11
+ "lines": 1126,
12
+ "estimated_tokens": null
13
+ },
14
+ "stdout_metrics": {
15
+ "chars": 1955,
16
+ "bytes_utf8": 1955,
17
+ "lines": 8,
18
+ "estimated_tokens": null
19
+ },
20
+ "stderr_metrics": {
21
+ "chars": 0,
22
+ "bytes_utf8": 0,
23
+ "lines": 0,
24
+ "estimated_tokens": null
25
+ },
26
+ "parsed_output": {
27
+ "format": "jsonl_events",
28
+ "text_metrics": {
29
+ "chars": 277,
30
+ "bytes_utf8": 277,
31
+ "lines": 1,
32
+ "estimated_tokens": null
33
+ },
34
+ "usage": {
35
+ "input_tokens": 22979,
36
+ "cached_input_tokens": 21888,
37
+ "output_tokens": 285,
38
+ "reasoning_output_tokens": 210
39
+ }
40
+ },
41
+ "prompt_path": "cli/sql_prompt_attempt_1.txt",
42
+ "response_path": "cli/sql_response_attempt_1.txt",
43
+ "raw_response_path": "cli/sql_response_attempt_1.raw.txt",
44
+ "stderr_path": "cli/sql_stderr_attempt_1.txt"
45
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/sql_prompt_attempt_1.txt ADDED
@@ -0,0 +1,1126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are generating one SQLite SELECT query for a single-table SQL QA task.
2
+ Return strict JSON only, with this schema: {"sql": "...", "notes": "..."}.
3
+ Rules:
4
+ - Use only the provided table and columns.
5
+ - Do not write INSERT, UPDATE, DELETE, DROP, ALTER, CREATE, PRAGMA, ATTACH, DETACH, or VACUUM.
6
+ - Prefer the planned template and bound roles when provided.
7
+ - Add a leading SQL comment exactly like: -- template_id: <planned_template_id>.
8
+ - Generate SQLite-compatible SQL. SQLite does not support PERCENTILE_CONT or STDDEV.
9
+ - Quote identifiers with double quotes.
10
+ - Return no markdown and no extra prose.
11
+
12
+ Dataset context:
13
+ Dataset context for SQL QA:
14
+ - dataset_id: n15
15
+ - dataset_name: N15
16
+ - table_name: n15
17
+ - table_layout: single-table dataset (do not assume joins).
18
+ - row_semantics: One row is one tabular observation with 85 feature columns and target `ABYSTAND`.
19
+ - task_type: classification
20
+ - target_column: ABYSTAND
21
+ - main_row_count: 9822
22
+ - important_fields:
23
+ - MOSTYPE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSTYPE.
24
+ - MAANTHUI: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAANTHUI.
25
+ - MGEMOMV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMOMV.
26
+ - MGEMLEEF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMLEEF.
27
+ - MOSHOOFD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSHOOFD.
28
+ - MGODRK: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODRK.
29
+ - MGODPR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODPR.
30
+ - MGODOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODOV.
31
+ - MGODGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODGE.
32
+ - MRELGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELGE.
33
+ - MRELSA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELSA.
34
+ - MRELOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELOV.
35
+ - MFALLEEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFALLEEN.
36
+ - MFGEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFGEKIND.
37
+ - MFWEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFWEKIND.
38
+ - MOPLHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLHOOG.
39
+ - MOPLMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLMIDD.
40
+ - MOPLLAAG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLLAAG.
41
+ - MBERHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERHOOG.
42
+ - MBERZELF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERZELF.
43
+ - MBERBOER: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERBOER.
44
+ - MBERMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERMIDD.
45
+ - MBERARBG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBG.
46
+ - MBERARBO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBO.
47
+ - MSKA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKA.
48
+ - MSKB1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB1.
49
+ - MSKB2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB2.
50
+ - MSKC: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKC.
51
+ - MSKD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKD.
52
+ - MHHUUR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHHUUR.
53
+ - MHKOOP: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHKOOP.
54
+ - MAUT1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT1.
55
+ - MAUT2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT2.
56
+ - MAUT0: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT0.
57
+ - MZFONDS: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZFONDS.
58
+ - MZPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZPART.
59
+ - MINKM30: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKM30.
60
+ - MINK3045: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK3045.
61
+ - MINK4575: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK4575.
62
+ - MINK7512: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK7512.
63
+ - MINK123M: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK123M.
64
+ - MINKGEM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKGEM.
65
+ - MKOOPKLA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MKOOPKLA.
66
+ - PWAPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWAPART.
67
+ - PWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWABEDR.
68
+ - PWALAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWALAND.
69
+ - PPERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PPERSAUT.
70
+ - PBESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBESAUT.
71
+ - PMOTSCO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PMOTSCO.
72
+ - PVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PVRAAUT.
73
+ - PAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PAANHANG.
74
+ - PTRACTOR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PTRACTOR.
75
+ - PWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWERKT.
76
+ - PBROM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBROM.
77
+ - PLEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PLEVEN.
78
+ - PPERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPERSONG.
79
+ - PGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PGEZONG.
80
+ - PWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWAOREG.
81
+ - PBRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBRAND.
82
+ - PZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PZEILPL.
83
+ - PPLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPLEZIER.
84
+ - PFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PFIETS.
85
+ - PINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PINBOED.
86
+ - PBYSTAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBYSTAND.
87
+ - AWAPART: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAPART.
88
+ - AWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWABEDR.
89
+ - AWALAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWALAND.
90
+ - APERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for APERSAUT.
91
+ - ABESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABESAUT.
92
+ - AMOTSCO: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AMOTSCO.
93
+ - AVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AVRAAUT.
94
+ - AAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AAANHANG.
95
+ - ATRACTOR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ATRACTOR.
96
+ - AWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWERKT.
97
+ - ABROM: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABROM.
98
+ - ALEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ALEVEN.
99
+ - APERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APERSONG.
100
+ - AGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AGEZONG.
101
+ - AWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAOREG.
102
+ - ABRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ABRAND.
103
+ - AZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AZEILPL.
104
+ - APLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APLEZIER.
105
+ - AFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AFIETS.
106
+ - AINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AINBOED.
107
+ - ABYSTAND: role=target, type=binary_target. tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for ABYSTAND.
108
+ - CARAVAN: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for CARAVAN.
109
+ - useful_field_combinations: [['MOSTYPE', 'MAANTHUI', 'ABYSTAND'], ['MOSTYPE', 'MOSTYPE', 'ABYSTAND']]
110
+ - fields_requiring_caution: ['ABYSTAND']
111
+ - source_url: https://www.openml.org/d/298
112
+
113
+ SQLite schema snapshot:
114
+ {
115
+ "table_name": "n15",
116
+ "quoted_table_name": "\"n15\"",
117
+ "row_count": 9822,
118
+ "columns": [
119
+ {
120
+ "name": "MOSTYPE",
121
+ "type": "TEXT",
122
+ "notnull": false,
123
+ "pk": false
124
+ },
125
+ {
126
+ "name": "MAANTHUI",
127
+ "type": "TEXT",
128
+ "notnull": false,
129
+ "pk": false
130
+ },
131
+ {
132
+ "name": "MGEMOMV",
133
+ "type": "TEXT",
134
+ "notnull": false,
135
+ "pk": false
136
+ },
137
+ {
138
+ "name": "MGEMLEEF",
139
+ "type": "TEXT",
140
+ "notnull": false,
141
+ "pk": false
142
+ },
143
+ {
144
+ "name": "MOSHOOFD",
145
+ "type": "TEXT",
146
+ "notnull": false,
147
+ "pk": false
148
+ },
149
+ {
150
+ "name": "MGODRK",
151
+ "type": "TEXT",
152
+ "notnull": false,
153
+ "pk": false
154
+ },
155
+ {
156
+ "name": "MGODPR",
157
+ "type": "TEXT",
158
+ "notnull": false,
159
+ "pk": false
160
+ },
161
+ {
162
+ "name": "MGODOV",
163
+ "type": "TEXT",
164
+ "notnull": false,
165
+ "pk": false
166
+ },
167
+ {
168
+ "name": "MGODGE",
169
+ "type": "TEXT",
170
+ "notnull": false,
171
+ "pk": false
172
+ },
173
+ {
174
+ "name": "MRELGE",
175
+ "type": "TEXT",
176
+ "notnull": false,
177
+ "pk": false
178
+ },
179
+ {
180
+ "name": "MRELSA",
181
+ "type": "TEXT",
182
+ "notnull": false,
183
+ "pk": false
184
+ },
185
+ {
186
+ "name": "MRELOV",
187
+ "type": "TEXT",
188
+ "notnull": false,
189
+ "pk": false
190
+ },
191
+ {
192
+ "name": "MFALLEEN",
193
+ "type": "TEXT",
194
+ "notnull": false,
195
+ "pk": false
196
+ },
197
+ {
198
+ "name": "MFGEKIND",
199
+ "type": "TEXT",
200
+ "notnull": false,
201
+ "pk": false
202
+ },
203
+ {
204
+ "name": "MFWEKIND",
205
+ "type": "TEXT",
206
+ "notnull": false,
207
+ "pk": false
208
+ },
209
+ {
210
+ "name": "MOPLHOOG",
211
+ "type": "TEXT",
212
+ "notnull": false,
213
+ "pk": false
214
+ },
215
+ {
216
+ "name": "MOPLMIDD",
217
+ "type": "TEXT",
218
+ "notnull": false,
219
+ "pk": false
220
+ },
221
+ {
222
+ "name": "MOPLLAAG",
223
+ "type": "TEXT",
224
+ "notnull": false,
225
+ "pk": false
226
+ },
227
+ {
228
+ "name": "MBERHOOG",
229
+ "type": "TEXT",
230
+ "notnull": false,
231
+ "pk": false
232
+ },
233
+ {
234
+ "name": "MBERZELF",
235
+ "type": "TEXT",
236
+ "notnull": false,
237
+ "pk": false
238
+ },
239
+ {
240
+ "name": "MBERBOER",
241
+ "type": "TEXT",
242
+ "notnull": false,
243
+ "pk": false
244
+ },
245
+ {
246
+ "name": "MBERMIDD",
247
+ "type": "TEXT",
248
+ "notnull": false,
249
+ "pk": false
250
+ },
251
+ {
252
+ "name": "MBERARBG",
253
+ "type": "TEXT",
254
+ "notnull": false,
255
+ "pk": false
256
+ },
257
+ {
258
+ "name": "MBERARBO",
259
+ "type": "TEXT",
260
+ "notnull": false,
261
+ "pk": false
262
+ },
263
+ {
264
+ "name": "MSKA",
265
+ "type": "TEXT",
266
+ "notnull": false,
267
+ "pk": false
268
+ },
269
+ {
270
+ "name": "MSKB1",
271
+ "type": "TEXT",
272
+ "notnull": false,
273
+ "pk": false
274
+ },
275
+ {
276
+ "name": "MSKB2",
277
+ "type": "TEXT",
278
+ "notnull": false,
279
+ "pk": false
280
+ },
281
+ {
282
+ "name": "MSKC",
283
+ "type": "TEXT",
284
+ "notnull": false,
285
+ "pk": false
286
+ },
287
+ {
288
+ "name": "MSKD",
289
+ "type": "TEXT",
290
+ "notnull": false,
291
+ "pk": false
292
+ },
293
+ {
294
+ "name": "MHHUUR",
295
+ "type": "TEXT",
296
+ "notnull": false,
297
+ "pk": false
298
+ },
299
+ {
300
+ "name": "MHKOOP",
301
+ "type": "TEXT",
302
+ "notnull": false,
303
+ "pk": false
304
+ },
305
+ {
306
+ "name": "MAUT1",
307
+ "type": "TEXT",
308
+ "notnull": false,
309
+ "pk": false
310
+ },
311
+ {
312
+ "name": "MAUT2",
313
+ "type": "TEXT",
314
+ "notnull": false,
315
+ "pk": false
316
+ },
317
+ {
318
+ "name": "MAUT0",
319
+ "type": "TEXT",
320
+ "notnull": false,
321
+ "pk": false
322
+ },
323
+ {
324
+ "name": "MZFONDS",
325
+ "type": "TEXT",
326
+ "notnull": false,
327
+ "pk": false
328
+ },
329
+ {
330
+ "name": "MZPART",
331
+ "type": "TEXT",
332
+ "notnull": false,
333
+ "pk": false
334
+ },
335
+ {
336
+ "name": "MINKM30",
337
+ "type": "TEXT",
338
+ "notnull": false,
339
+ "pk": false
340
+ },
341
+ {
342
+ "name": "MINK3045",
343
+ "type": "TEXT",
344
+ "notnull": false,
345
+ "pk": false
346
+ },
347
+ {
348
+ "name": "MINK4575",
349
+ "type": "TEXT",
350
+ "notnull": false,
351
+ "pk": false
352
+ },
353
+ {
354
+ "name": "MINK7512",
355
+ "type": "TEXT",
356
+ "notnull": false,
357
+ "pk": false
358
+ },
359
+ {
360
+ "name": "MINK123M",
361
+ "type": "TEXT",
362
+ "notnull": false,
363
+ "pk": false
364
+ },
365
+ {
366
+ "name": "MINKGEM",
367
+ "type": "TEXT",
368
+ "notnull": false,
369
+ "pk": false
370
+ },
371
+ {
372
+ "name": "MKOOPKLA",
373
+ "type": "TEXT",
374
+ "notnull": false,
375
+ "pk": false
376
+ },
377
+ {
378
+ "name": "PWAPART",
379
+ "type": "TEXT",
380
+ "notnull": false,
381
+ "pk": false
382
+ },
383
+ {
384
+ "name": "PWABEDR",
385
+ "type": "TEXT",
386
+ "notnull": false,
387
+ "pk": false
388
+ },
389
+ {
390
+ "name": "PWALAND",
391
+ "type": "TEXT",
392
+ "notnull": false,
393
+ "pk": false
394
+ },
395
+ {
396
+ "name": "PPERSAUT",
397
+ "type": "TEXT",
398
+ "notnull": false,
399
+ "pk": false
400
+ },
401
+ {
402
+ "name": "PBESAUT",
403
+ "type": "TEXT",
404
+ "notnull": false,
405
+ "pk": false
406
+ },
407
+ {
408
+ "name": "PMOTSCO",
409
+ "type": "TEXT",
410
+ "notnull": false,
411
+ "pk": false
412
+ },
413
+ {
414
+ "name": "PVRAAUT",
415
+ "type": "TEXT",
416
+ "notnull": false,
417
+ "pk": false
418
+ },
419
+ {
420
+ "name": "PAANHANG",
421
+ "type": "TEXT",
422
+ "notnull": false,
423
+ "pk": false
424
+ },
425
+ {
426
+ "name": "PTRACTOR",
427
+ "type": "TEXT",
428
+ "notnull": false,
429
+ "pk": false
430
+ },
431
+ {
432
+ "name": "PWERKT",
433
+ "type": "TEXT",
434
+ "notnull": false,
435
+ "pk": false
436
+ },
437
+ {
438
+ "name": "PBROM",
439
+ "type": "TEXT",
440
+ "notnull": false,
441
+ "pk": false
442
+ },
443
+ {
444
+ "name": "PLEVEN",
445
+ "type": "TEXT",
446
+ "notnull": false,
447
+ "pk": false
448
+ },
449
+ {
450
+ "name": "PPERSONG",
451
+ "type": "TEXT",
452
+ "notnull": false,
453
+ "pk": false
454
+ },
455
+ {
456
+ "name": "PGEZONG",
457
+ "type": "TEXT",
458
+ "notnull": false,
459
+ "pk": false
460
+ },
461
+ {
462
+ "name": "PWAOREG",
463
+ "type": "TEXT",
464
+ "notnull": false,
465
+ "pk": false
466
+ },
467
+ {
468
+ "name": "PBRAND",
469
+ "type": "TEXT",
470
+ "notnull": false,
471
+ "pk": false
472
+ },
473
+ {
474
+ "name": "PZEILPL",
475
+ "type": "TEXT",
476
+ "notnull": false,
477
+ "pk": false
478
+ },
479
+ {
480
+ "name": "PPLEZIER",
481
+ "type": "TEXT",
482
+ "notnull": false,
483
+ "pk": false
484
+ },
485
+ {
486
+ "name": "PFIETS",
487
+ "type": "TEXT",
488
+ "notnull": false,
489
+ "pk": false
490
+ },
491
+ {
492
+ "name": "PINBOED",
493
+ "type": "TEXT",
494
+ "notnull": false,
495
+ "pk": false
496
+ },
497
+ {
498
+ "name": "PBYSTAND",
499
+ "type": "TEXT",
500
+ "notnull": false,
501
+ "pk": false
502
+ },
503
+ {
504
+ "name": "AWAPART",
505
+ "type": "TEXT",
506
+ "notnull": false,
507
+ "pk": false
508
+ },
509
+ {
510
+ "name": "AWABEDR",
511
+ "type": "TEXT",
512
+ "notnull": false,
513
+ "pk": false
514
+ },
515
+ {
516
+ "name": "AWALAND",
517
+ "type": "TEXT",
518
+ "notnull": false,
519
+ "pk": false
520
+ },
521
+ {
522
+ "name": "APERSAUT",
523
+ "type": "TEXT",
524
+ "notnull": false,
525
+ "pk": false
526
+ },
527
+ {
528
+ "name": "ABESAUT",
529
+ "type": "TEXT",
530
+ "notnull": false,
531
+ "pk": false
532
+ },
533
+ {
534
+ "name": "AMOTSCO",
535
+ "type": "TEXT",
536
+ "notnull": false,
537
+ "pk": false
538
+ },
539
+ {
540
+ "name": "AVRAAUT",
541
+ "type": "TEXT",
542
+ "notnull": false,
543
+ "pk": false
544
+ },
545
+ {
546
+ "name": "AAANHANG",
547
+ "type": "TEXT",
548
+ "notnull": false,
549
+ "pk": false
550
+ },
551
+ {
552
+ "name": "ATRACTOR",
553
+ "type": "TEXT",
554
+ "notnull": false,
555
+ "pk": false
556
+ },
557
+ {
558
+ "name": "AWERKT",
559
+ "type": "TEXT",
560
+ "notnull": false,
561
+ "pk": false
562
+ },
563
+ {
564
+ "name": "ABROM",
565
+ "type": "TEXT",
566
+ "notnull": false,
567
+ "pk": false
568
+ },
569
+ {
570
+ "name": "ALEVEN",
571
+ "type": "TEXT",
572
+ "notnull": false,
573
+ "pk": false
574
+ },
575
+ {
576
+ "name": "APERSONG",
577
+ "type": "TEXT",
578
+ "notnull": false,
579
+ "pk": false
580
+ },
581
+ {
582
+ "name": "AGEZONG",
583
+ "type": "TEXT",
584
+ "notnull": false,
585
+ "pk": false
586
+ },
587
+ {
588
+ "name": "AWAOREG",
589
+ "type": "TEXT",
590
+ "notnull": false,
591
+ "pk": false
592
+ },
593
+ {
594
+ "name": "ABRAND",
595
+ "type": "TEXT",
596
+ "notnull": false,
597
+ "pk": false
598
+ },
599
+ {
600
+ "name": "AZEILPL",
601
+ "type": "TEXT",
602
+ "notnull": false,
603
+ "pk": false
604
+ },
605
+ {
606
+ "name": "APLEZIER",
607
+ "type": "TEXT",
608
+ "notnull": false,
609
+ "pk": false
610
+ },
611
+ {
612
+ "name": "AFIETS",
613
+ "type": "TEXT",
614
+ "notnull": false,
615
+ "pk": false
616
+ },
617
+ {
618
+ "name": "AINBOED",
619
+ "type": "TEXT",
620
+ "notnull": false,
621
+ "pk": false
622
+ },
623
+ {
624
+ "name": "ABYSTAND",
625
+ "type": "TEXT",
626
+ "notnull": false,
627
+ "pk": false
628
+ },
629
+ {
630
+ "name": "CARAVAN",
631
+ "type": "TEXT",
632
+ "notnull": false,
633
+ "pk": false
634
+ }
635
+ ],
636
+ "sample_rows": [
637
+ {
638
+ "MOSTYPE": "33",
639
+ "MAANTHUI": "1",
640
+ "MGEMOMV": "3",
641
+ "MGEMLEEF": "2",
642
+ "MOSHOOFD": "8",
643
+ "MGODRK": "0",
644
+ "MGODPR": "5",
645
+ "MGODOV": "1",
646
+ "MGODGE": "3",
647
+ "MRELGE": "7",
648
+ "MRELSA": "0",
649
+ "MRELOV": "2",
650
+ "MFALLEEN": "1",
651
+ "MFGEKIND": "2",
652
+ "MFWEKIND": "6",
653
+ "MOPLHOOG": "1",
654
+ "MOPLMIDD": "2",
655
+ "MOPLLAAG": "7",
656
+ "MBERHOOG": "1",
657
+ "MBERZELF": "0",
658
+ "MBERBOER": "1",
659
+ "MBERMIDD": "2",
660
+ "MBERARBG": "5",
661
+ "MBERARBO": "2",
662
+ "MSKA": "1",
663
+ "MSKB1": "1",
664
+ "MSKB2": "2",
665
+ "MSKC": "6",
666
+ "MSKD": "1",
667
+ "MHHUUR": "1",
668
+ "MHKOOP": "8",
669
+ "MAUT1": "8",
670
+ "MAUT2": "0",
671
+ "MAUT0": "1",
672
+ "MZFONDS": "8",
673
+ "MZPART": "1",
674
+ "MINKM30": "0",
675
+ "MINK3045": "4",
676
+ "MINK4575": "5",
677
+ "MINK7512": "0",
678
+ "MINK123M": "0",
679
+ "MINKGEM": "4",
680
+ "MKOOPKLA": "3",
681
+ "PWAPART": "0",
682
+ "PWABEDR": "0",
683
+ "PWALAND": "0",
684
+ "PPERSAUT": "6",
685
+ "PBESAUT": "0",
686
+ "PMOTSCO": "0",
687
+ "PVRAAUT": "0",
688
+ "PAANHANG": "0",
689
+ "PTRACTOR": "0",
690
+ "PWERKT": "0",
691
+ "PBROM": "0",
692
+ "PLEVEN": "0",
693
+ "PPERSONG": "0",
694
+ "PGEZONG": "0",
695
+ "PWAOREG": "0",
696
+ "PBRAND": "5",
697
+ "PZEILPL": "0",
698
+ "PPLEZIER": "0",
699
+ "PFIETS": "0",
700
+ "PINBOED": "0",
701
+ "PBYSTAND": "0",
702
+ "AWAPART": "0",
703
+ "AWABEDR": "0",
704
+ "AWALAND": "0",
705
+ "APERSAUT": "1",
706
+ "ABESAUT": "0",
707
+ "AMOTSCO": "0",
708
+ "AVRAAUT": "0",
709
+ "AAANHANG": "0",
710
+ "ATRACTOR": "0",
711
+ "AWERKT": "0",
712
+ "ABROM": "0",
713
+ "ALEVEN": "0",
714
+ "APERSONG": "0",
715
+ "AGEZONG": "0",
716
+ "AWAOREG": "0",
717
+ "ABRAND": "1",
718
+ "AZEILPL": "0",
719
+ "APLEZIER": "0",
720
+ "AFIETS": "0",
721
+ "AINBOED": "0",
722
+ "ABYSTAND": "0",
723
+ "CARAVAN": "0"
724
+ },
725
+ {
726
+ "MOSTYPE": "37",
727
+ "MAANTHUI": "1",
728
+ "MGEMOMV": "2",
729
+ "MGEMLEEF": "2",
730
+ "MOSHOOFD": "8",
731
+ "MGODRK": "1",
732
+ "MGODPR": "4",
733
+ "MGODOV": "1",
734
+ "MGODGE": "4",
735
+ "MRELGE": "6",
736
+ "MRELSA": "2",
737
+ "MRELOV": "2",
738
+ "MFALLEEN": "0",
739
+ "MFGEKIND": "4",
740
+ "MFWEKIND": "5",
741
+ "MOPLHOOG": "0",
742
+ "MOPLMIDD": "5",
743
+ "MOPLLAAG": "4",
744
+ "MBERHOOG": "0",
745
+ "MBERZELF": "0",
746
+ "MBERBOER": "0",
747
+ "MBERMIDD": "5",
748
+ "MBERARBG": "0",
749
+ "MBERARBO": "4",
750
+ "MSKA": "0",
751
+ "MSKB1": "2",
752
+ "MSKB2": "3",
753
+ "MSKC": "5",
754
+ "MSKD": "0",
755
+ "MHHUUR": "2",
756
+ "MHKOOP": "7",
757
+ "MAUT1": "7",
758
+ "MAUT2": "1",
759
+ "MAUT0": "2",
760
+ "MZFONDS": "6",
761
+ "MZPART": "3",
762
+ "MINKM30": "2",
763
+ "MINK3045": "0",
764
+ "MINK4575": "5",
765
+ "MINK7512": "2",
766
+ "MINK123M": "0",
767
+ "MINKGEM": "5",
768
+ "MKOOPKLA": "4",
769
+ "PWAPART": "2",
770
+ "PWABEDR": "0",
771
+ "PWALAND": "0",
772
+ "PPERSAUT": "0",
773
+ "PBESAUT": "0",
774
+ "PMOTSCO": "0",
775
+ "PVRAAUT": "0",
776
+ "PAANHANG": "0",
777
+ "PTRACTOR": "0",
778
+ "PWERKT": "0",
779
+ "PBROM": "0",
780
+ "PLEVEN": "0",
781
+ "PPERSONG": "0",
782
+ "PGEZONG": "0",
783
+ "PWAOREG": "0",
784
+ "PBRAND": "2",
785
+ "PZEILPL": "0",
786
+ "PPLEZIER": "0",
787
+ "PFIETS": "0",
788
+ "PINBOED": "0",
789
+ "PBYSTAND": "0",
790
+ "AWAPART": "2",
791
+ "AWABEDR": "0",
792
+ "AWALAND": "0",
793
+ "APERSAUT": "0",
794
+ "ABESAUT": "0",
795
+ "AMOTSCO": "0",
796
+ "AVRAAUT": "0",
797
+ "AAANHANG": "0",
798
+ "ATRACTOR": "0",
799
+ "AWERKT": "0",
800
+ "ABROM": "0",
801
+ "ALEVEN": "0",
802
+ "APERSONG": "0",
803
+ "AGEZONG": "0",
804
+ "AWAOREG": "0",
805
+ "ABRAND": "1",
806
+ "AZEILPL": "0",
807
+ "APLEZIER": "0",
808
+ "AFIETS": "0",
809
+ "AINBOED": "0",
810
+ "ABYSTAND": "0",
811
+ "CARAVAN": "0"
812
+ },
813
+ {
814
+ "MOSTYPE": "37",
815
+ "MAANTHUI": "1",
816
+ "MGEMOMV": "2",
817
+ "MGEMLEEF": "2",
818
+ "MOSHOOFD": "8",
819
+ "MGODRK": "0",
820
+ "MGODPR": "4",
821
+ "MGODOV": "2",
822
+ "MGODGE": "4",
823
+ "MRELGE": "3",
824
+ "MRELSA": "2",
825
+ "MRELOV": "4",
826
+ "MFALLEEN": "4",
827
+ "MFGEKIND": "4",
828
+ "MFWEKIND": "2",
829
+ "MOPLHOOG": "0",
830
+ "MOPLMIDD": "5",
831
+ "MOPLLAAG": "4",
832
+ "MBERHOOG": "0",
833
+ "MBERZELF": "0",
834
+ "MBERBOER": "0",
835
+ "MBERMIDD": "7",
836
+ "MBERARBG": "0",
837
+ "MBERARBO": "2",
838
+ "MSKA": "0",
839
+ "MSKB1": "5",
840
+ "MSKB2": "0",
841
+ "MSKC": "4",
842
+ "MSKD": "0",
843
+ "MHHUUR": "7",
844
+ "MHKOOP": "2",
845
+ "MAUT1": "7",
846
+ "MAUT2": "0",
847
+ "MAUT0": "2",
848
+ "MZFONDS": "9",
849
+ "MZPART": "0",
850
+ "MINKM30": "4",
851
+ "MINK3045": "5",
852
+ "MINK4575": "0",
853
+ "MINK7512": "0",
854
+ "MINK123M": "0",
855
+ "MINKGEM": "3",
856
+ "MKOOPKLA": "4",
857
+ "PWAPART": "2",
858
+ "PWABEDR": "0",
859
+ "PWALAND": "0",
860
+ "PPERSAUT": "6",
861
+ "PBESAUT": "0",
862
+ "PMOTSCO": "0",
863
+ "PVRAAUT": "0",
864
+ "PAANHANG": "0",
865
+ "PTRACTOR": "0",
866
+ "PWERKT": "0",
867
+ "PBROM": "0",
868
+ "PLEVEN": "0",
869
+ "PPERSONG": "0",
870
+ "PGEZONG": "0",
871
+ "PWAOREG": "0",
872
+ "PBRAND": "2",
873
+ "PZEILPL": "0",
874
+ "PPLEZIER": "0",
875
+ "PFIETS": "0",
876
+ "PINBOED": "0",
877
+ "PBYSTAND": "0",
878
+ "AWAPART": "1",
879
+ "AWABEDR": "0",
880
+ "AWALAND": "0",
881
+ "APERSAUT": "1",
882
+ "ABESAUT": "0",
883
+ "AMOTSCO": "0",
884
+ "AVRAAUT": "0",
885
+ "AAANHANG": "0",
886
+ "ATRACTOR": "0",
887
+ "AWERKT": "0",
888
+ "ABROM": "0",
889
+ "ALEVEN": "0",
890
+ "APERSONG": "0",
891
+ "AGEZONG": "0",
892
+ "AWAOREG": "0",
893
+ "ABRAND": "1",
894
+ "AZEILPL": "0",
895
+ "APLEZIER": "0",
896
+ "AFIETS": "0",
897
+ "AINBOED": "0",
898
+ "ABYSTAND": "0",
899
+ "CARAVAN": "0"
900
+ },
901
+ {
902
+ "MOSTYPE": "9",
903
+ "MAANTHUI": "1",
904
+ "MGEMOMV": "3",
905
+ "MGEMLEEF": "3",
906
+ "MOSHOOFD": "3",
907
+ "MGODRK": "2",
908
+ "MGODPR": "3",
909
+ "MGODOV": "2",
910
+ "MGODGE": "4",
911
+ "MRELGE": "5",
912
+ "MRELSA": "2",
913
+ "MRELOV": "2",
914
+ "MFALLEEN": "2",
915
+ "MFGEKIND": "3",
916
+ "MFWEKIND": "4",
917
+ "MOPLHOOG": "3",
918
+ "MOPLMIDD": "4",
919
+ "MOPLLAAG": "2",
920
+ "MBERHOOG": "4",
921
+ "MBERZELF": "0",
922
+ "MBERBOER": "0",
923
+ "MBERMIDD": "3",
924
+ "MBERARBG": "1",
925
+ "MBERARBO": "2",
926
+ "MSKA": "3",
927
+ "MSKB1": "2",
928
+ "MSKB2": "1",
929
+ "MSKC": "4",
930
+ "MSKD": "0",
931
+ "MHHUUR": "5",
932
+ "MHKOOP": "4",
933
+ "MAUT1": "9",
934
+ "MAUT2": "0",
935
+ "MAUT0": "0",
936
+ "MZFONDS": "7",
937
+ "MZPART": "2",
938
+ "MINKM30": "1",
939
+ "MINK3045": "5",
940
+ "MINK4575": "3",
941
+ "MINK7512": "0",
942
+ "MINK123M": "0",
943
+ "MINKGEM": "4",
944
+ "MKOOPKLA": "4",
945
+ "PWAPART": "0",
946
+ "PWABEDR": "0",
947
+ "PWALAND": "0",
948
+ "PPERSAUT": "6",
949
+ "PBESAUT": "0",
950
+ "PMOTSCO": "0",
951
+ "PVRAAUT": "0",
952
+ "PAANHANG": "0",
953
+ "PTRACTOR": "0",
954
+ "PWERKT": "0",
955
+ "PBROM": "0",
956
+ "PLEVEN": "0",
957
+ "PPERSONG": "0",
958
+ "PGEZONG": "0",
959
+ "PWAOREG": "0",
960
+ "PBRAND": "2",
961
+ "PZEILPL": "0",
962
+ "PPLEZIER": "0",
963
+ "PFIETS": "0",
964
+ "PINBOED": "0",
965
+ "PBYSTAND": "0",
966
+ "AWAPART": "0",
967
+ "AWABEDR": "0",
968
+ "AWALAND": "0",
969
+ "APERSAUT": "1",
970
+ "ABESAUT": "0",
971
+ "AMOTSCO": "0",
972
+ "AVRAAUT": "0",
973
+ "AAANHANG": "0",
974
+ "ATRACTOR": "0",
975
+ "AWERKT": "0",
976
+ "ABROM": "0",
977
+ "ALEVEN": "0",
978
+ "APERSONG": "0",
979
+ "AGEZONG": "0",
980
+ "AWAOREG": "0",
981
+ "ABRAND": "1",
982
+ "AZEILPL": "0",
983
+ "APLEZIER": "0",
984
+ "AFIETS": "0",
985
+ "AINBOED": "0",
986
+ "ABYSTAND": "0",
987
+ "CARAVAN": "0"
988
+ },
989
+ {
990
+ "MOSTYPE": "40",
991
+ "MAANTHUI": "1",
992
+ "MGEMOMV": "4",
993
+ "MGEMLEEF": "2",
994
+ "MOSHOOFD": "10",
995
+ "MGODRK": "1",
996
+ "MGODPR": "4",
997
+ "MGODOV": "1",
998
+ "MGODGE": "4",
999
+ "MRELGE": "7",
1000
+ "MRELSA": "1",
1001
+ "MRELOV": "2",
1002
+ "MFALLEEN": "2",
1003
+ "MFGEKIND": "4",
1004
+ "MFWEKIND": "4",
1005
+ "MOPLHOOG": "5",
1006
+ "MOPLMIDD": "4",
1007
+ "MOPLLAAG": "0",
1008
+ "MBERHOOG": "0",
1009
+ "MBERZELF": "5",
1010
+ "MBERBOER": "4",
1011
+ "MBERMIDD": "0",
1012
+ "MBERARBG": "0",
1013
+ "MBERARBO": "0",
1014
+ "MSKA": "9",
1015
+ "MSKB1": "0",
1016
+ "MSKB2": "0",
1017
+ "MSKC": "0",
1018
+ "MSKD": "0",
1019
+ "MHHUUR": "4",
1020
+ "MHKOOP": "5",
1021
+ "MAUT1": "6",
1022
+ "MAUT2": "2",
1023
+ "MAUT0": "1",
1024
+ "MZFONDS": "5",
1025
+ "MZPART": "4",
1026
+ "MINKM30": "0",
1027
+ "MINK3045": "0",
1028
+ "MINK4575": "9",
1029
+ "MINK7512": "0",
1030
+ "MINK123M": "0",
1031
+ "MINKGEM": "6",
1032
+ "MKOOPKLA": "3",
1033
+ "PWAPART": "0",
1034
+ "PWABEDR": "0",
1035
+ "PWALAND": "0",
1036
+ "PPERSAUT": "0",
1037
+ "PBESAUT": "0",
1038
+ "PMOTSCO": "0",
1039
+ "PVRAAUT": "0",
1040
+ "PAANHANG": "0",
1041
+ "PTRACTOR": "0",
1042
+ "PWERKT": "0",
1043
+ "PBROM": "0",
1044
+ "PLEVEN": "0",
1045
+ "PPERSONG": "0",
1046
+ "PGEZONG": "0",
1047
+ "PWAOREG": "0",
1048
+ "PBRAND": "6",
1049
+ "PZEILPL": "0",
1050
+ "PPLEZIER": "0",
1051
+ "PFIETS": "0",
1052
+ "PINBOED": "0",
1053
+ "PBYSTAND": "0",
1054
+ "AWAPART": "0",
1055
+ "AWABEDR": "0",
1056
+ "AWALAND": "0",
1057
+ "APERSAUT": "0",
1058
+ "ABESAUT": "0",
1059
+ "AMOTSCO": "0",
1060
+ "AVRAAUT": "0",
1061
+ "AAANHANG": "0",
1062
+ "ATRACTOR": "0",
1063
+ "AWERKT": "0",
1064
+ "ABROM": "0",
1065
+ "ALEVEN": "0",
1066
+ "APERSONG": "0",
1067
+ "AGEZONG": "0",
1068
+ "AWAOREG": "0",
1069
+ "ABRAND": "1",
1070
+ "AZEILPL": "0",
1071
+ "APLEZIER": "0",
1072
+ "AFIETS": "0",
1073
+ "AINBOED": "0",
1074
+ "ABYSTAND": "0",
1075
+ "CARAVAN": "0"
1076
+ }
1077
+ ]
1078
+ }
1079
+
1080
+ Shortlisted templates:
1081
+ [
1082
+ {
1083
+ "template_id": "tpl_clickbench_group_count",
1084
+ "template_name": "Grouped Count by Category",
1085
+ "primary_family": "subgroup_structure",
1086
+ "portability": "yes",
1087
+ "sql_skeleton": "SELECT {group_col}, COUNT(*) AS row_count\nFROM {table}\nGROUP BY {group_col}\nORDER BY row_count DESC;",
1088
+ "required_roles": [
1089
+ "group_col"
1090
+ ]
1091
+ }
1092
+ ]
1093
+
1094
+ Problem instance:
1095
+ {
1096
+ "dataset_id": "n15",
1097
+ "question": "Use template Grouped Count by Category to probe subgroup_size_stability with semantic role count_distribution. Focus on group_col=MFALLEEN.",
1098
+ "planned_template_id": "tpl_clickbench_group_count",
1099
+ "bindings": {
1100
+ "group_col": "MFALLEEN",
1101
+ "top_k": 12,
1102
+ "top_n": 3,
1103
+ "num_tiles": 10,
1104
+ "percentile_value": 0.95,
1105
+ "z_threshold": 2.0,
1106
+ "fraction_threshold": 0.1,
1107
+ "baseline_multiplier": 1.5,
1108
+ "baseline_fraction": 0.1,
1109
+ "min_group_size": 5,
1110
+ "min_support": 5,
1111
+ "measure_threshold": 3.0,
1112
+ "time_grain": "month",
1113
+ "lookback_rows": 3,
1114
+ "current_period_start": "'2024-01-01'",
1115
+ "current_period_end": "'2024-04-01'",
1116
+ "previous_period_start": "'2023-10-01'",
1117
+ "previous_period_end": "'2024-01-01'",
1118
+ "drift_ratio_threshold": 0.8
1119
+ },
1120
+ "can_vary": [],
1121
+ "must_fix": [],
1122
+ "runtime_sql_skeleton": "SELECT {group_col}, COUNT(*) AS row_count\nFROM {table}\nGROUP BY {group_col}\nORDER BY row_count DESC;"
1123
+ }
1124
+
1125
+ Repair context:
1126
+ {}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/sql_response_attempt_1.raw.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {"type":"thread.started","thread_id":"019e40dd-f158-70e2-b6a0-e4e001647534"}
2
+ {"type":"turn.started"}
3
+ {"type":"error","message":"Reconnecting... 2/5 (stream disconnected before completion: Rate limit reached for gpt-5.4 in organization org-yXK0mBGOR7eXhtGEx8v7e3bf on tokens per min (TPM): Limit 2000000, Used 1994930, Requested 23614. Please try again in 556ms. Visit https://platform.openai.com/account/rate-limits to learn more.)"}
4
+ {"type":"error","message":"Reconnecting... 3/5 (stream disconnected before completion: Rate limit reached for gpt-5.4 in organization org-yXK0mBGOR7eXhtGEx8v7e3bf on tokens per min (TPM): Limit 2000000, Used 1993195, Requested 23614. Please try again in 504ms. Visit https://platform.openai.com/account/rate-limits to learn more.)"}
5
+ {"type":"error","message":"Reconnecting... 4/5 (stream disconnected before completion: Rate limit reached for gpt-5.4 in organization org-yXK0mBGOR7eXhtGEx8v7e3bf on tokens per min (TPM): Limit 2000000, Used 1985719, Requested 23614. Please try again in 279ms. Visit https://platform.openai.com/account/rate-limits to learn more.)"}
6
+ {"type":"error","message":"Reconnecting... 5/5 (stream disconnected before completion: Rate limit reached for gpt-5.4 in organization org-yXK0mBGOR7eXhtGEx8v7e3bf on tokens per min (TPM): Limit 2000000, Used 1986724, Requested 23614. Please try again in 310ms. Visit https://platform.openai.com/account/rate-limits to learn more.)"}
7
+ {"type":"item.completed","item":{"id":"item_0","type":"agent_message","text":"{\"sql\":\"-- template_id: tpl_clickbench_group_count\\nSELECT \\\"MFALLEEN\\\", COUNT(*) AS row_count\\nFROM \\\"n15\\\"\\nGROUP BY \\\"MFALLEEN\\\"\\nORDER BY row_count DESC;\",\"notes\":\"Grouped count by category on \\\"MFALLEEN\\\" using the planned template to inspect subgroup size distribution.\"}"}}
8
+ {"type":"turn.completed","usage":{"input_tokens":22979,"cached_input_tokens":21888,"output_tokens":285,"reasoning_output_tokens":210}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/sql_response_attempt_1.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ {"sql":"-- template_id: tpl_clickbench_group_count\nSELECT \"MFALLEEN\", COUNT(*) AS row_count\nFROM \"n15\"\nGROUP BY \"MFALLEEN\"\nORDER BY row_count DESC;","notes":"Grouped count by category on \"MFALLEEN\" using the planned template to inspect subgroup size distribution."}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_054d762b56fc12de/cli/sql_stderr_attempt_1.txt ADDED
File without changes
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/conversation.jsonl ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"attempt": 1, "phase": "sql_generation", "role": "user", "content_path": "cli/sql_prompt_attempt_1.txt", "metrics": {"chars": 33635, "bytes_utf8": 33635, "lines": 1128, "estimated_tokens": null}}
2
+ {"attempt": 1, "phase": "sql_generation", "role": "assistant", "content_path": "cli/sql_response_attempt_1.txt", "raw_content_path": "cli/sql_response_attempt_1.raw.txt", "stderr_path": "cli/sql_stderr_attempt_1.txt", "metrics": {"chars": 721, "bytes_utf8": 721, "lines": 1, "estimated_tokens": null}, "usage": {"input_tokens": 23150, "cached_input_tokens": 21888, "output_tokens": 632, "reasoning_output_tokens": 414}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/session_summary.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "engine": "v2-cli:codex",
3
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
4
+ "ai_cli_calls": 1,
5
+ "usage_summary": {
6
+ "dataset_id": "n15",
7
+ "model": "v2-cli:codex",
8
+ "run_id": "v2q_n15_0863509a7e30be1f",
9
+ "api_calls": 0,
10
+ "input_tokens": 23150,
11
+ "cached_input_tokens": 21888,
12
+ "output_tokens": 632,
13
+ "total_tokens": 23782,
14
+ "cost_usd": 0.0,
15
+ "ai_cli_calls": 1,
16
+ "estimated_input_tokens": 0,
17
+ "estimated_output_tokens": 0,
18
+ "estimated_total_tokens": 0,
19
+ "usage_source": "ai_cli_json_usage",
20
+ "cli_elapsed_ms_total": 17670.87,
21
+ "sql_execution_elapsed_ms_total": 11.63,
22
+ "conversation_log_path": "/data/jialinzhang/TabQueryBench/sql_workloads/v2_current/runs_and_launches/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/conversation.jsonl",
23
+ "note": "Executed through a local AI CLI with structured usage metadata."
24
+ }
25
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/sql_attempt_1.metadata.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attempt": 1,
3
+ "phase": "sql_generation",
4
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
5
+ "started_at": "2026-05-19T15:49:42.707193+00:00",
6
+ "ended_at": "2026-05-19T15:50:00.378107+00:00",
7
+ "elapsed_ms": 17670.87,
8
+ "prompt_metrics": {
9
+ "chars": 33635,
10
+ "bytes_utf8": 33635,
11
+ "lines": 1128,
12
+ "estimated_tokens": null
13
+ },
14
+ "stdout_metrics": {
15
+ "chars": 1141,
16
+ "bytes_utf8": 1141,
17
+ "lines": 4,
18
+ "estimated_tokens": null
19
+ },
20
+ "stderr_metrics": {
21
+ "chars": 0,
22
+ "bytes_utf8": 0,
23
+ "lines": 0,
24
+ "estimated_tokens": null
25
+ },
26
+ "parsed_output": {
27
+ "format": "jsonl_events",
28
+ "text_metrics": {
29
+ "chars": 721,
30
+ "bytes_utf8": 721,
31
+ "lines": 1,
32
+ "estimated_tokens": null
33
+ },
34
+ "usage": {
35
+ "input_tokens": 23150,
36
+ "cached_input_tokens": 21888,
37
+ "output_tokens": 632,
38
+ "reasoning_output_tokens": 414
39
+ }
40
+ },
41
+ "prompt_path": "cli/sql_prompt_attempt_1.txt",
42
+ "response_path": "cli/sql_response_attempt_1.txt",
43
+ "raw_response_path": "cli/sql_response_attempt_1.raw.txt",
44
+ "stderr_path": "cli/sql_stderr_attempt_1.txt"
45
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/sql_prompt_attempt_1.txt ADDED
@@ -0,0 +1,1128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are generating one SQLite SELECT query for a single-table SQL QA task.
2
+ Return strict JSON only, with this schema: {"sql": "...", "notes": "..."}.
3
+ Rules:
4
+ - Use only the provided table and columns.
5
+ - Do not write INSERT, UPDATE, DELETE, DROP, ALTER, CREATE, PRAGMA, ATTACH, DETACH, or VACUUM.
6
+ - Prefer the planned template and bound roles when provided.
7
+ - Add a leading SQL comment exactly like: -- template_id: <planned_template_id>.
8
+ - Generate SQLite-compatible SQL. SQLite does not support PERCENTILE_CONT or STDDEV.
9
+ - Quote identifiers with double quotes.
10
+ - Return no markdown and no extra prose.
11
+
12
+ Dataset context:
13
+ Dataset context for SQL QA:
14
+ - dataset_id: n15
15
+ - dataset_name: N15
16
+ - table_name: n15
17
+ - table_layout: single-table dataset (do not assume joins).
18
+ - row_semantics: One row is one tabular observation with 85 feature columns and target `ABYSTAND`.
19
+ - task_type: classification
20
+ - target_column: ABYSTAND
21
+ - main_row_count: 9822
22
+ - important_fields:
23
+ - MOSTYPE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSTYPE.
24
+ - MAANTHUI: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAANTHUI.
25
+ - MGEMOMV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMOMV.
26
+ - MGEMLEEF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMLEEF.
27
+ - MOSHOOFD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSHOOFD.
28
+ - MGODRK: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODRK.
29
+ - MGODPR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODPR.
30
+ - MGODOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODOV.
31
+ - MGODGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODGE.
32
+ - MRELGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELGE.
33
+ - MRELSA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELSA.
34
+ - MRELOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELOV.
35
+ - MFALLEEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFALLEEN.
36
+ - MFGEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFGEKIND.
37
+ - MFWEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFWEKIND.
38
+ - MOPLHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLHOOG.
39
+ - MOPLMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLMIDD.
40
+ - MOPLLAAG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLLAAG.
41
+ - MBERHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERHOOG.
42
+ - MBERZELF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERZELF.
43
+ - MBERBOER: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERBOER.
44
+ - MBERMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERMIDD.
45
+ - MBERARBG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBG.
46
+ - MBERARBO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBO.
47
+ - MSKA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKA.
48
+ - MSKB1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB1.
49
+ - MSKB2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB2.
50
+ - MSKC: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKC.
51
+ - MSKD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKD.
52
+ - MHHUUR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHHUUR.
53
+ - MHKOOP: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHKOOP.
54
+ - MAUT1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT1.
55
+ - MAUT2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT2.
56
+ - MAUT0: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT0.
57
+ - MZFONDS: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZFONDS.
58
+ - MZPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZPART.
59
+ - MINKM30: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKM30.
60
+ - MINK3045: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK3045.
61
+ - MINK4575: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK4575.
62
+ - MINK7512: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK7512.
63
+ - MINK123M: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK123M.
64
+ - MINKGEM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKGEM.
65
+ - MKOOPKLA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MKOOPKLA.
66
+ - PWAPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWAPART.
67
+ - PWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWABEDR.
68
+ - PWALAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWALAND.
69
+ - PPERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PPERSAUT.
70
+ - PBESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBESAUT.
71
+ - PMOTSCO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PMOTSCO.
72
+ - PVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PVRAAUT.
73
+ - PAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PAANHANG.
74
+ - PTRACTOR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PTRACTOR.
75
+ - PWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWERKT.
76
+ - PBROM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBROM.
77
+ - PLEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PLEVEN.
78
+ - PPERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPERSONG.
79
+ - PGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PGEZONG.
80
+ - PWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWAOREG.
81
+ - PBRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBRAND.
82
+ - PZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PZEILPL.
83
+ - PPLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPLEZIER.
84
+ - PFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PFIETS.
85
+ - PINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PINBOED.
86
+ - PBYSTAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBYSTAND.
87
+ - AWAPART: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAPART.
88
+ - AWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWABEDR.
89
+ - AWALAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWALAND.
90
+ - APERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for APERSAUT.
91
+ - ABESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABESAUT.
92
+ - AMOTSCO: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AMOTSCO.
93
+ - AVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AVRAAUT.
94
+ - AAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AAANHANG.
95
+ - ATRACTOR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ATRACTOR.
96
+ - AWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWERKT.
97
+ - ABROM: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABROM.
98
+ - ALEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ALEVEN.
99
+ - APERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APERSONG.
100
+ - AGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AGEZONG.
101
+ - AWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAOREG.
102
+ - ABRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ABRAND.
103
+ - AZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AZEILPL.
104
+ - APLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APLEZIER.
105
+ - AFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AFIETS.
106
+ - AINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AINBOED.
107
+ - ABYSTAND: role=target, type=binary_target. tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for ABYSTAND.
108
+ - CARAVAN: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for CARAVAN.
109
+ - useful_field_combinations: [['MOSTYPE', 'MAANTHUI', 'ABYSTAND'], ['MOSTYPE', 'MOSTYPE', 'ABYSTAND']]
110
+ - fields_requiring_caution: ['ABYSTAND']
111
+ - source_url: https://www.openml.org/d/298
112
+
113
+ SQLite schema snapshot:
114
+ {
115
+ "table_name": "n15",
116
+ "quoted_table_name": "\"n15\"",
117
+ "row_count": 9822,
118
+ "columns": [
119
+ {
120
+ "name": "MOSTYPE",
121
+ "type": "TEXT",
122
+ "notnull": false,
123
+ "pk": false
124
+ },
125
+ {
126
+ "name": "MAANTHUI",
127
+ "type": "TEXT",
128
+ "notnull": false,
129
+ "pk": false
130
+ },
131
+ {
132
+ "name": "MGEMOMV",
133
+ "type": "TEXT",
134
+ "notnull": false,
135
+ "pk": false
136
+ },
137
+ {
138
+ "name": "MGEMLEEF",
139
+ "type": "TEXT",
140
+ "notnull": false,
141
+ "pk": false
142
+ },
143
+ {
144
+ "name": "MOSHOOFD",
145
+ "type": "TEXT",
146
+ "notnull": false,
147
+ "pk": false
148
+ },
149
+ {
150
+ "name": "MGODRK",
151
+ "type": "TEXT",
152
+ "notnull": false,
153
+ "pk": false
154
+ },
155
+ {
156
+ "name": "MGODPR",
157
+ "type": "TEXT",
158
+ "notnull": false,
159
+ "pk": false
160
+ },
161
+ {
162
+ "name": "MGODOV",
163
+ "type": "TEXT",
164
+ "notnull": false,
165
+ "pk": false
166
+ },
167
+ {
168
+ "name": "MGODGE",
169
+ "type": "TEXT",
170
+ "notnull": false,
171
+ "pk": false
172
+ },
173
+ {
174
+ "name": "MRELGE",
175
+ "type": "TEXT",
176
+ "notnull": false,
177
+ "pk": false
178
+ },
179
+ {
180
+ "name": "MRELSA",
181
+ "type": "TEXT",
182
+ "notnull": false,
183
+ "pk": false
184
+ },
185
+ {
186
+ "name": "MRELOV",
187
+ "type": "TEXT",
188
+ "notnull": false,
189
+ "pk": false
190
+ },
191
+ {
192
+ "name": "MFALLEEN",
193
+ "type": "TEXT",
194
+ "notnull": false,
195
+ "pk": false
196
+ },
197
+ {
198
+ "name": "MFGEKIND",
199
+ "type": "TEXT",
200
+ "notnull": false,
201
+ "pk": false
202
+ },
203
+ {
204
+ "name": "MFWEKIND",
205
+ "type": "TEXT",
206
+ "notnull": false,
207
+ "pk": false
208
+ },
209
+ {
210
+ "name": "MOPLHOOG",
211
+ "type": "TEXT",
212
+ "notnull": false,
213
+ "pk": false
214
+ },
215
+ {
216
+ "name": "MOPLMIDD",
217
+ "type": "TEXT",
218
+ "notnull": false,
219
+ "pk": false
220
+ },
221
+ {
222
+ "name": "MOPLLAAG",
223
+ "type": "TEXT",
224
+ "notnull": false,
225
+ "pk": false
226
+ },
227
+ {
228
+ "name": "MBERHOOG",
229
+ "type": "TEXT",
230
+ "notnull": false,
231
+ "pk": false
232
+ },
233
+ {
234
+ "name": "MBERZELF",
235
+ "type": "TEXT",
236
+ "notnull": false,
237
+ "pk": false
238
+ },
239
+ {
240
+ "name": "MBERBOER",
241
+ "type": "TEXT",
242
+ "notnull": false,
243
+ "pk": false
244
+ },
245
+ {
246
+ "name": "MBERMIDD",
247
+ "type": "TEXT",
248
+ "notnull": false,
249
+ "pk": false
250
+ },
251
+ {
252
+ "name": "MBERARBG",
253
+ "type": "TEXT",
254
+ "notnull": false,
255
+ "pk": false
256
+ },
257
+ {
258
+ "name": "MBERARBO",
259
+ "type": "TEXT",
260
+ "notnull": false,
261
+ "pk": false
262
+ },
263
+ {
264
+ "name": "MSKA",
265
+ "type": "TEXT",
266
+ "notnull": false,
267
+ "pk": false
268
+ },
269
+ {
270
+ "name": "MSKB1",
271
+ "type": "TEXT",
272
+ "notnull": false,
273
+ "pk": false
274
+ },
275
+ {
276
+ "name": "MSKB2",
277
+ "type": "TEXT",
278
+ "notnull": false,
279
+ "pk": false
280
+ },
281
+ {
282
+ "name": "MSKC",
283
+ "type": "TEXT",
284
+ "notnull": false,
285
+ "pk": false
286
+ },
287
+ {
288
+ "name": "MSKD",
289
+ "type": "TEXT",
290
+ "notnull": false,
291
+ "pk": false
292
+ },
293
+ {
294
+ "name": "MHHUUR",
295
+ "type": "TEXT",
296
+ "notnull": false,
297
+ "pk": false
298
+ },
299
+ {
300
+ "name": "MHKOOP",
301
+ "type": "TEXT",
302
+ "notnull": false,
303
+ "pk": false
304
+ },
305
+ {
306
+ "name": "MAUT1",
307
+ "type": "TEXT",
308
+ "notnull": false,
309
+ "pk": false
310
+ },
311
+ {
312
+ "name": "MAUT2",
313
+ "type": "TEXT",
314
+ "notnull": false,
315
+ "pk": false
316
+ },
317
+ {
318
+ "name": "MAUT0",
319
+ "type": "TEXT",
320
+ "notnull": false,
321
+ "pk": false
322
+ },
323
+ {
324
+ "name": "MZFONDS",
325
+ "type": "TEXT",
326
+ "notnull": false,
327
+ "pk": false
328
+ },
329
+ {
330
+ "name": "MZPART",
331
+ "type": "TEXT",
332
+ "notnull": false,
333
+ "pk": false
334
+ },
335
+ {
336
+ "name": "MINKM30",
337
+ "type": "TEXT",
338
+ "notnull": false,
339
+ "pk": false
340
+ },
341
+ {
342
+ "name": "MINK3045",
343
+ "type": "TEXT",
344
+ "notnull": false,
345
+ "pk": false
346
+ },
347
+ {
348
+ "name": "MINK4575",
349
+ "type": "TEXT",
350
+ "notnull": false,
351
+ "pk": false
352
+ },
353
+ {
354
+ "name": "MINK7512",
355
+ "type": "TEXT",
356
+ "notnull": false,
357
+ "pk": false
358
+ },
359
+ {
360
+ "name": "MINK123M",
361
+ "type": "TEXT",
362
+ "notnull": false,
363
+ "pk": false
364
+ },
365
+ {
366
+ "name": "MINKGEM",
367
+ "type": "TEXT",
368
+ "notnull": false,
369
+ "pk": false
370
+ },
371
+ {
372
+ "name": "MKOOPKLA",
373
+ "type": "TEXT",
374
+ "notnull": false,
375
+ "pk": false
376
+ },
377
+ {
378
+ "name": "PWAPART",
379
+ "type": "TEXT",
380
+ "notnull": false,
381
+ "pk": false
382
+ },
383
+ {
384
+ "name": "PWABEDR",
385
+ "type": "TEXT",
386
+ "notnull": false,
387
+ "pk": false
388
+ },
389
+ {
390
+ "name": "PWALAND",
391
+ "type": "TEXT",
392
+ "notnull": false,
393
+ "pk": false
394
+ },
395
+ {
396
+ "name": "PPERSAUT",
397
+ "type": "TEXT",
398
+ "notnull": false,
399
+ "pk": false
400
+ },
401
+ {
402
+ "name": "PBESAUT",
403
+ "type": "TEXT",
404
+ "notnull": false,
405
+ "pk": false
406
+ },
407
+ {
408
+ "name": "PMOTSCO",
409
+ "type": "TEXT",
410
+ "notnull": false,
411
+ "pk": false
412
+ },
413
+ {
414
+ "name": "PVRAAUT",
415
+ "type": "TEXT",
416
+ "notnull": false,
417
+ "pk": false
418
+ },
419
+ {
420
+ "name": "PAANHANG",
421
+ "type": "TEXT",
422
+ "notnull": false,
423
+ "pk": false
424
+ },
425
+ {
426
+ "name": "PTRACTOR",
427
+ "type": "TEXT",
428
+ "notnull": false,
429
+ "pk": false
430
+ },
431
+ {
432
+ "name": "PWERKT",
433
+ "type": "TEXT",
434
+ "notnull": false,
435
+ "pk": false
436
+ },
437
+ {
438
+ "name": "PBROM",
439
+ "type": "TEXT",
440
+ "notnull": false,
441
+ "pk": false
442
+ },
443
+ {
444
+ "name": "PLEVEN",
445
+ "type": "TEXT",
446
+ "notnull": false,
447
+ "pk": false
448
+ },
449
+ {
450
+ "name": "PPERSONG",
451
+ "type": "TEXT",
452
+ "notnull": false,
453
+ "pk": false
454
+ },
455
+ {
456
+ "name": "PGEZONG",
457
+ "type": "TEXT",
458
+ "notnull": false,
459
+ "pk": false
460
+ },
461
+ {
462
+ "name": "PWAOREG",
463
+ "type": "TEXT",
464
+ "notnull": false,
465
+ "pk": false
466
+ },
467
+ {
468
+ "name": "PBRAND",
469
+ "type": "TEXT",
470
+ "notnull": false,
471
+ "pk": false
472
+ },
473
+ {
474
+ "name": "PZEILPL",
475
+ "type": "TEXT",
476
+ "notnull": false,
477
+ "pk": false
478
+ },
479
+ {
480
+ "name": "PPLEZIER",
481
+ "type": "TEXT",
482
+ "notnull": false,
483
+ "pk": false
484
+ },
485
+ {
486
+ "name": "PFIETS",
487
+ "type": "TEXT",
488
+ "notnull": false,
489
+ "pk": false
490
+ },
491
+ {
492
+ "name": "PINBOED",
493
+ "type": "TEXT",
494
+ "notnull": false,
495
+ "pk": false
496
+ },
497
+ {
498
+ "name": "PBYSTAND",
499
+ "type": "TEXT",
500
+ "notnull": false,
501
+ "pk": false
502
+ },
503
+ {
504
+ "name": "AWAPART",
505
+ "type": "TEXT",
506
+ "notnull": false,
507
+ "pk": false
508
+ },
509
+ {
510
+ "name": "AWABEDR",
511
+ "type": "TEXT",
512
+ "notnull": false,
513
+ "pk": false
514
+ },
515
+ {
516
+ "name": "AWALAND",
517
+ "type": "TEXT",
518
+ "notnull": false,
519
+ "pk": false
520
+ },
521
+ {
522
+ "name": "APERSAUT",
523
+ "type": "TEXT",
524
+ "notnull": false,
525
+ "pk": false
526
+ },
527
+ {
528
+ "name": "ABESAUT",
529
+ "type": "TEXT",
530
+ "notnull": false,
531
+ "pk": false
532
+ },
533
+ {
534
+ "name": "AMOTSCO",
535
+ "type": "TEXT",
536
+ "notnull": false,
537
+ "pk": false
538
+ },
539
+ {
540
+ "name": "AVRAAUT",
541
+ "type": "TEXT",
542
+ "notnull": false,
543
+ "pk": false
544
+ },
545
+ {
546
+ "name": "AAANHANG",
547
+ "type": "TEXT",
548
+ "notnull": false,
549
+ "pk": false
550
+ },
551
+ {
552
+ "name": "ATRACTOR",
553
+ "type": "TEXT",
554
+ "notnull": false,
555
+ "pk": false
556
+ },
557
+ {
558
+ "name": "AWERKT",
559
+ "type": "TEXT",
560
+ "notnull": false,
561
+ "pk": false
562
+ },
563
+ {
564
+ "name": "ABROM",
565
+ "type": "TEXT",
566
+ "notnull": false,
567
+ "pk": false
568
+ },
569
+ {
570
+ "name": "ALEVEN",
571
+ "type": "TEXT",
572
+ "notnull": false,
573
+ "pk": false
574
+ },
575
+ {
576
+ "name": "APERSONG",
577
+ "type": "TEXT",
578
+ "notnull": false,
579
+ "pk": false
580
+ },
581
+ {
582
+ "name": "AGEZONG",
583
+ "type": "TEXT",
584
+ "notnull": false,
585
+ "pk": false
586
+ },
587
+ {
588
+ "name": "AWAOREG",
589
+ "type": "TEXT",
590
+ "notnull": false,
591
+ "pk": false
592
+ },
593
+ {
594
+ "name": "ABRAND",
595
+ "type": "TEXT",
596
+ "notnull": false,
597
+ "pk": false
598
+ },
599
+ {
600
+ "name": "AZEILPL",
601
+ "type": "TEXT",
602
+ "notnull": false,
603
+ "pk": false
604
+ },
605
+ {
606
+ "name": "APLEZIER",
607
+ "type": "TEXT",
608
+ "notnull": false,
609
+ "pk": false
610
+ },
611
+ {
612
+ "name": "AFIETS",
613
+ "type": "TEXT",
614
+ "notnull": false,
615
+ "pk": false
616
+ },
617
+ {
618
+ "name": "AINBOED",
619
+ "type": "TEXT",
620
+ "notnull": false,
621
+ "pk": false
622
+ },
623
+ {
624
+ "name": "ABYSTAND",
625
+ "type": "TEXT",
626
+ "notnull": false,
627
+ "pk": false
628
+ },
629
+ {
630
+ "name": "CARAVAN",
631
+ "type": "TEXT",
632
+ "notnull": false,
633
+ "pk": false
634
+ }
635
+ ],
636
+ "sample_rows": [
637
+ {
638
+ "MOSTYPE": "33",
639
+ "MAANTHUI": "1",
640
+ "MGEMOMV": "3",
641
+ "MGEMLEEF": "2",
642
+ "MOSHOOFD": "8",
643
+ "MGODRK": "0",
644
+ "MGODPR": "5",
645
+ "MGODOV": "1",
646
+ "MGODGE": "3",
647
+ "MRELGE": "7",
648
+ "MRELSA": "0",
649
+ "MRELOV": "2",
650
+ "MFALLEEN": "1",
651
+ "MFGEKIND": "2",
652
+ "MFWEKIND": "6",
653
+ "MOPLHOOG": "1",
654
+ "MOPLMIDD": "2",
655
+ "MOPLLAAG": "7",
656
+ "MBERHOOG": "1",
657
+ "MBERZELF": "0",
658
+ "MBERBOER": "1",
659
+ "MBERMIDD": "2",
660
+ "MBERARBG": "5",
661
+ "MBERARBO": "2",
662
+ "MSKA": "1",
663
+ "MSKB1": "1",
664
+ "MSKB2": "2",
665
+ "MSKC": "6",
666
+ "MSKD": "1",
667
+ "MHHUUR": "1",
668
+ "MHKOOP": "8",
669
+ "MAUT1": "8",
670
+ "MAUT2": "0",
671
+ "MAUT0": "1",
672
+ "MZFONDS": "8",
673
+ "MZPART": "1",
674
+ "MINKM30": "0",
675
+ "MINK3045": "4",
676
+ "MINK4575": "5",
677
+ "MINK7512": "0",
678
+ "MINK123M": "0",
679
+ "MINKGEM": "4",
680
+ "MKOOPKLA": "3",
681
+ "PWAPART": "0",
682
+ "PWABEDR": "0",
683
+ "PWALAND": "0",
684
+ "PPERSAUT": "6",
685
+ "PBESAUT": "0",
686
+ "PMOTSCO": "0",
687
+ "PVRAAUT": "0",
688
+ "PAANHANG": "0",
689
+ "PTRACTOR": "0",
690
+ "PWERKT": "0",
691
+ "PBROM": "0",
692
+ "PLEVEN": "0",
693
+ "PPERSONG": "0",
694
+ "PGEZONG": "0",
695
+ "PWAOREG": "0",
696
+ "PBRAND": "5",
697
+ "PZEILPL": "0",
698
+ "PPLEZIER": "0",
699
+ "PFIETS": "0",
700
+ "PINBOED": "0",
701
+ "PBYSTAND": "0",
702
+ "AWAPART": "0",
703
+ "AWABEDR": "0",
704
+ "AWALAND": "0",
705
+ "APERSAUT": "1",
706
+ "ABESAUT": "0",
707
+ "AMOTSCO": "0",
708
+ "AVRAAUT": "0",
709
+ "AAANHANG": "0",
710
+ "ATRACTOR": "0",
711
+ "AWERKT": "0",
712
+ "ABROM": "0",
713
+ "ALEVEN": "0",
714
+ "APERSONG": "0",
715
+ "AGEZONG": "0",
716
+ "AWAOREG": "0",
717
+ "ABRAND": "1",
718
+ "AZEILPL": "0",
719
+ "APLEZIER": "0",
720
+ "AFIETS": "0",
721
+ "AINBOED": "0",
722
+ "ABYSTAND": "0",
723
+ "CARAVAN": "0"
724
+ },
725
+ {
726
+ "MOSTYPE": "37",
727
+ "MAANTHUI": "1",
728
+ "MGEMOMV": "2",
729
+ "MGEMLEEF": "2",
730
+ "MOSHOOFD": "8",
731
+ "MGODRK": "1",
732
+ "MGODPR": "4",
733
+ "MGODOV": "1",
734
+ "MGODGE": "4",
735
+ "MRELGE": "6",
736
+ "MRELSA": "2",
737
+ "MRELOV": "2",
738
+ "MFALLEEN": "0",
739
+ "MFGEKIND": "4",
740
+ "MFWEKIND": "5",
741
+ "MOPLHOOG": "0",
742
+ "MOPLMIDD": "5",
743
+ "MOPLLAAG": "4",
744
+ "MBERHOOG": "0",
745
+ "MBERZELF": "0",
746
+ "MBERBOER": "0",
747
+ "MBERMIDD": "5",
748
+ "MBERARBG": "0",
749
+ "MBERARBO": "4",
750
+ "MSKA": "0",
751
+ "MSKB1": "2",
752
+ "MSKB2": "3",
753
+ "MSKC": "5",
754
+ "MSKD": "0",
755
+ "MHHUUR": "2",
756
+ "MHKOOP": "7",
757
+ "MAUT1": "7",
758
+ "MAUT2": "1",
759
+ "MAUT0": "2",
760
+ "MZFONDS": "6",
761
+ "MZPART": "3",
762
+ "MINKM30": "2",
763
+ "MINK3045": "0",
764
+ "MINK4575": "5",
765
+ "MINK7512": "2",
766
+ "MINK123M": "0",
767
+ "MINKGEM": "5",
768
+ "MKOOPKLA": "4",
769
+ "PWAPART": "2",
770
+ "PWABEDR": "0",
771
+ "PWALAND": "0",
772
+ "PPERSAUT": "0",
773
+ "PBESAUT": "0",
774
+ "PMOTSCO": "0",
775
+ "PVRAAUT": "0",
776
+ "PAANHANG": "0",
777
+ "PTRACTOR": "0",
778
+ "PWERKT": "0",
779
+ "PBROM": "0",
780
+ "PLEVEN": "0",
781
+ "PPERSONG": "0",
782
+ "PGEZONG": "0",
783
+ "PWAOREG": "0",
784
+ "PBRAND": "2",
785
+ "PZEILPL": "0",
786
+ "PPLEZIER": "0",
787
+ "PFIETS": "0",
788
+ "PINBOED": "0",
789
+ "PBYSTAND": "0",
790
+ "AWAPART": "2",
791
+ "AWABEDR": "0",
792
+ "AWALAND": "0",
793
+ "APERSAUT": "0",
794
+ "ABESAUT": "0",
795
+ "AMOTSCO": "0",
796
+ "AVRAAUT": "0",
797
+ "AAANHANG": "0",
798
+ "ATRACTOR": "0",
799
+ "AWERKT": "0",
800
+ "ABROM": "0",
801
+ "ALEVEN": "0",
802
+ "APERSONG": "0",
803
+ "AGEZONG": "0",
804
+ "AWAOREG": "0",
805
+ "ABRAND": "1",
806
+ "AZEILPL": "0",
807
+ "APLEZIER": "0",
808
+ "AFIETS": "0",
809
+ "AINBOED": "0",
810
+ "ABYSTAND": "0",
811
+ "CARAVAN": "0"
812
+ },
813
+ {
814
+ "MOSTYPE": "37",
815
+ "MAANTHUI": "1",
816
+ "MGEMOMV": "2",
817
+ "MGEMLEEF": "2",
818
+ "MOSHOOFD": "8",
819
+ "MGODRK": "0",
820
+ "MGODPR": "4",
821
+ "MGODOV": "2",
822
+ "MGODGE": "4",
823
+ "MRELGE": "3",
824
+ "MRELSA": "2",
825
+ "MRELOV": "4",
826
+ "MFALLEEN": "4",
827
+ "MFGEKIND": "4",
828
+ "MFWEKIND": "2",
829
+ "MOPLHOOG": "0",
830
+ "MOPLMIDD": "5",
831
+ "MOPLLAAG": "4",
832
+ "MBERHOOG": "0",
833
+ "MBERZELF": "0",
834
+ "MBERBOER": "0",
835
+ "MBERMIDD": "7",
836
+ "MBERARBG": "0",
837
+ "MBERARBO": "2",
838
+ "MSKA": "0",
839
+ "MSKB1": "5",
840
+ "MSKB2": "0",
841
+ "MSKC": "4",
842
+ "MSKD": "0",
843
+ "MHHUUR": "7",
844
+ "MHKOOP": "2",
845
+ "MAUT1": "7",
846
+ "MAUT2": "0",
847
+ "MAUT0": "2",
848
+ "MZFONDS": "9",
849
+ "MZPART": "0",
850
+ "MINKM30": "4",
851
+ "MINK3045": "5",
852
+ "MINK4575": "0",
853
+ "MINK7512": "0",
854
+ "MINK123M": "0",
855
+ "MINKGEM": "3",
856
+ "MKOOPKLA": "4",
857
+ "PWAPART": "2",
858
+ "PWABEDR": "0",
859
+ "PWALAND": "0",
860
+ "PPERSAUT": "6",
861
+ "PBESAUT": "0",
862
+ "PMOTSCO": "0",
863
+ "PVRAAUT": "0",
864
+ "PAANHANG": "0",
865
+ "PTRACTOR": "0",
866
+ "PWERKT": "0",
867
+ "PBROM": "0",
868
+ "PLEVEN": "0",
869
+ "PPERSONG": "0",
870
+ "PGEZONG": "0",
871
+ "PWAOREG": "0",
872
+ "PBRAND": "2",
873
+ "PZEILPL": "0",
874
+ "PPLEZIER": "0",
875
+ "PFIETS": "0",
876
+ "PINBOED": "0",
877
+ "PBYSTAND": "0",
878
+ "AWAPART": "1",
879
+ "AWABEDR": "0",
880
+ "AWALAND": "0",
881
+ "APERSAUT": "1",
882
+ "ABESAUT": "0",
883
+ "AMOTSCO": "0",
884
+ "AVRAAUT": "0",
885
+ "AAANHANG": "0",
886
+ "ATRACTOR": "0",
887
+ "AWERKT": "0",
888
+ "ABROM": "0",
889
+ "ALEVEN": "0",
890
+ "APERSONG": "0",
891
+ "AGEZONG": "0",
892
+ "AWAOREG": "0",
893
+ "ABRAND": "1",
894
+ "AZEILPL": "0",
895
+ "APLEZIER": "0",
896
+ "AFIETS": "0",
897
+ "AINBOED": "0",
898
+ "ABYSTAND": "0",
899
+ "CARAVAN": "0"
900
+ },
901
+ {
902
+ "MOSTYPE": "9",
903
+ "MAANTHUI": "1",
904
+ "MGEMOMV": "3",
905
+ "MGEMLEEF": "3",
906
+ "MOSHOOFD": "3",
907
+ "MGODRK": "2",
908
+ "MGODPR": "3",
909
+ "MGODOV": "2",
910
+ "MGODGE": "4",
911
+ "MRELGE": "5",
912
+ "MRELSA": "2",
913
+ "MRELOV": "2",
914
+ "MFALLEEN": "2",
915
+ "MFGEKIND": "3",
916
+ "MFWEKIND": "4",
917
+ "MOPLHOOG": "3",
918
+ "MOPLMIDD": "4",
919
+ "MOPLLAAG": "2",
920
+ "MBERHOOG": "4",
921
+ "MBERZELF": "0",
922
+ "MBERBOER": "0",
923
+ "MBERMIDD": "3",
924
+ "MBERARBG": "1",
925
+ "MBERARBO": "2",
926
+ "MSKA": "3",
927
+ "MSKB1": "2",
928
+ "MSKB2": "1",
929
+ "MSKC": "4",
930
+ "MSKD": "0",
931
+ "MHHUUR": "5",
932
+ "MHKOOP": "4",
933
+ "MAUT1": "9",
934
+ "MAUT2": "0",
935
+ "MAUT0": "0",
936
+ "MZFONDS": "7",
937
+ "MZPART": "2",
938
+ "MINKM30": "1",
939
+ "MINK3045": "5",
940
+ "MINK4575": "3",
941
+ "MINK7512": "0",
942
+ "MINK123M": "0",
943
+ "MINKGEM": "4",
944
+ "MKOOPKLA": "4",
945
+ "PWAPART": "0",
946
+ "PWABEDR": "0",
947
+ "PWALAND": "0",
948
+ "PPERSAUT": "6",
949
+ "PBESAUT": "0",
950
+ "PMOTSCO": "0",
951
+ "PVRAAUT": "0",
952
+ "PAANHANG": "0",
953
+ "PTRACTOR": "0",
954
+ "PWERKT": "0",
955
+ "PBROM": "0",
956
+ "PLEVEN": "0",
957
+ "PPERSONG": "0",
958
+ "PGEZONG": "0",
959
+ "PWAOREG": "0",
960
+ "PBRAND": "2",
961
+ "PZEILPL": "0",
962
+ "PPLEZIER": "0",
963
+ "PFIETS": "0",
964
+ "PINBOED": "0",
965
+ "PBYSTAND": "0",
966
+ "AWAPART": "0",
967
+ "AWABEDR": "0",
968
+ "AWALAND": "0",
969
+ "APERSAUT": "1",
970
+ "ABESAUT": "0",
971
+ "AMOTSCO": "0",
972
+ "AVRAAUT": "0",
973
+ "AAANHANG": "0",
974
+ "ATRACTOR": "0",
975
+ "AWERKT": "0",
976
+ "ABROM": "0",
977
+ "ALEVEN": "0",
978
+ "APERSONG": "0",
979
+ "AGEZONG": "0",
980
+ "AWAOREG": "0",
981
+ "ABRAND": "1",
982
+ "AZEILPL": "0",
983
+ "APLEZIER": "0",
984
+ "AFIETS": "0",
985
+ "AINBOED": "0",
986
+ "ABYSTAND": "0",
987
+ "CARAVAN": "0"
988
+ },
989
+ {
990
+ "MOSTYPE": "40",
991
+ "MAANTHUI": "1",
992
+ "MGEMOMV": "4",
993
+ "MGEMLEEF": "2",
994
+ "MOSHOOFD": "10",
995
+ "MGODRK": "1",
996
+ "MGODPR": "4",
997
+ "MGODOV": "1",
998
+ "MGODGE": "4",
999
+ "MRELGE": "7",
1000
+ "MRELSA": "1",
1001
+ "MRELOV": "2",
1002
+ "MFALLEEN": "2",
1003
+ "MFGEKIND": "4",
1004
+ "MFWEKIND": "4",
1005
+ "MOPLHOOG": "5",
1006
+ "MOPLMIDD": "4",
1007
+ "MOPLLAAG": "0",
1008
+ "MBERHOOG": "0",
1009
+ "MBERZELF": "5",
1010
+ "MBERBOER": "4",
1011
+ "MBERMIDD": "0",
1012
+ "MBERARBG": "0",
1013
+ "MBERARBO": "0",
1014
+ "MSKA": "9",
1015
+ "MSKB1": "0",
1016
+ "MSKB2": "0",
1017
+ "MSKC": "0",
1018
+ "MSKD": "0",
1019
+ "MHHUUR": "4",
1020
+ "MHKOOP": "5",
1021
+ "MAUT1": "6",
1022
+ "MAUT2": "2",
1023
+ "MAUT0": "1",
1024
+ "MZFONDS": "5",
1025
+ "MZPART": "4",
1026
+ "MINKM30": "0",
1027
+ "MINK3045": "0",
1028
+ "MINK4575": "9",
1029
+ "MINK7512": "0",
1030
+ "MINK123M": "0",
1031
+ "MINKGEM": "6",
1032
+ "MKOOPKLA": "3",
1033
+ "PWAPART": "0",
1034
+ "PWABEDR": "0",
1035
+ "PWALAND": "0",
1036
+ "PPERSAUT": "0",
1037
+ "PBESAUT": "0",
1038
+ "PMOTSCO": "0",
1039
+ "PVRAAUT": "0",
1040
+ "PAANHANG": "0",
1041
+ "PTRACTOR": "0",
1042
+ "PWERKT": "0",
1043
+ "PBROM": "0",
1044
+ "PLEVEN": "0",
1045
+ "PPERSONG": "0",
1046
+ "PGEZONG": "0",
1047
+ "PWAOREG": "0",
1048
+ "PBRAND": "6",
1049
+ "PZEILPL": "0",
1050
+ "PPLEZIER": "0",
1051
+ "PFIETS": "0",
1052
+ "PINBOED": "0",
1053
+ "PBYSTAND": "0",
1054
+ "AWAPART": "0",
1055
+ "AWABEDR": "0",
1056
+ "AWALAND": "0",
1057
+ "APERSAUT": "0",
1058
+ "ABESAUT": "0",
1059
+ "AMOTSCO": "0",
1060
+ "AVRAAUT": "0",
1061
+ "AAANHANG": "0",
1062
+ "ATRACTOR": "0",
1063
+ "AWERKT": "0",
1064
+ "ABROM": "0",
1065
+ "ALEVEN": "0",
1066
+ "APERSONG": "0",
1067
+ "AGEZONG": "0",
1068
+ "AWAOREG": "0",
1069
+ "ABRAND": "1",
1070
+ "AZEILPL": "0",
1071
+ "APLEZIER": "0",
1072
+ "AFIETS": "0",
1073
+ "AINBOED": "0",
1074
+ "ABYSTAND": "0",
1075
+ "CARAVAN": "0"
1076
+ }
1077
+ ]
1078
+ }
1079
+
1080
+ Shortlisted templates:
1081
+ [
1082
+ {
1083
+ "template_id": "tpl_tpch_relative_total_threshold",
1084
+ "template_name": "Relative-to-Total Extreme Threshold",
1085
+ "primary_family": "tail_rarity_structure",
1086
+ "portability": "partial",
1087
+ "sql_skeleton": "WITH grouped AS (\n SELECT {group_col}, SUM({measure_col}) AS group_value\n FROM {table}\n GROUP BY {group_col}\n), total AS (\n SELECT SUM(group_value) AS total_value\n FROM grouped\n)\nSELECT g.{group_col}, g.group_value\nFROM grouped AS g\nCROSS JOIN total AS t\nWHERE g.group_value > t.total_value * {fraction_threshold}\nORDER BY g.group_value DESC;",
1088
+ "required_roles": [
1089
+ "group_col",
1090
+ "measure_col"
1091
+ ]
1092
+ }
1093
+ ]
1094
+
1095
+ Problem instance:
1096
+ {
1097
+ "dataset_id": "n15",
1098
+ "question": "Use template Relative-to-Total Extreme Threshold to probe tail_mass_similarity with semantic role filtered_stable_view. Focus on group_col=AWERKT, measure_col=MBERZELF.",
1099
+ "planned_template_id": "tpl_tpch_relative_total_threshold",
1100
+ "bindings": {
1101
+ "group_col": "AWERKT",
1102
+ "measure_col": "MBERZELF",
1103
+ "top_k": 13,
1104
+ "top_n": 4,
1105
+ "num_tiles": 10,
1106
+ "percentile_value": 0.9,
1107
+ "z_threshold": 2.0,
1108
+ "fraction_threshold": 0.1,
1109
+ "baseline_multiplier": 1.5,
1110
+ "baseline_fraction": 0.1,
1111
+ "min_group_size": 5,
1112
+ "min_support": 5,
1113
+ "measure_threshold": 4.0,
1114
+ "time_grain": "month",
1115
+ "lookback_rows": 3,
1116
+ "current_period_start": "'2024-01-01'",
1117
+ "current_period_end": "'2024-04-01'",
1118
+ "previous_period_start": "'2023-10-01'",
1119
+ "previous_period_end": "'2024-01-01'",
1120
+ "drift_ratio_threshold": 0.8
1121
+ },
1122
+ "can_vary": [],
1123
+ "must_fix": [],
1124
+ "runtime_sql_skeleton": "WITH grouped AS (\n SELECT {group_col}, SUM({measure_col}) AS group_value\n FROM {table}\n GROUP BY {group_col}\n), total AS (\n SELECT SUM(group_value) AS total_value\n FROM grouped\n)\nSELECT g.{group_col}, g.group_value\nFROM grouped AS g\nCROSS JOIN total AS t\nWHERE g.group_value > t.total_value * {fraction_threshold}\nORDER BY g.group_value DESC;"
1125
+ }
1126
+
1127
+ Repair context:
1128
+ {}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/sql_response_attempt_1.raw.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {"type":"thread.started","thread_id":"019e40ed-bddb-7e62-9475-32f4078f22c3"}
2
+ {"type":"turn.started"}
3
+ {"type":"item.completed","item":{"id":"item_0","type":"agent_message","text":"{\"sql\":\"-- template_id: tpl_tpch_relative_total_threshold\\nWITH \\\"grouped\\\" AS (\\n SELECT\\n \\\"AWERKT\\\",\\n SUM(CAST(\\\"MBERZELF\\\" AS REAL)) AS \\\"group_value\\\"\\n FROM \\\"n15\\\"\\n GROUP BY \\\"AWERKT\\\"\\n),\\n\\\"total\\\" AS (\\n SELECT SUM(\\\"group_value\\\") AS \\\"total_value\\\"\\n FROM \\\"grouped\\\"\\n)\\nSELECT\\n g.\\\"AWERKT\\\",\\n g.\\\"group_value\\\"\\nFROM \\\"grouped\\\" AS g\\nCROSS JOIN \\\"total\\\" AS t\\nWHERE g.\\\"group_value\\\" > t.\\\"total_value\\\" * 0.1\\nORDER BY g.\\\"group_value\\\" DESC;\",\"notes\":\"Applied the provided Relative-to-Total Extreme Threshold template with group_col=\\\"AWERKT\\\", measure_col=\\\"MBERZELF\\\", and fraction_threshold=0.1. CAST to REAL is used because the schema stores columns as TEXT.\"}"}}
4
+ {"type":"turn.completed","usage":{"input_tokens":23150,"cached_input_tokens":21888,"output_tokens":632,"reasoning_output_tokens":414}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/sql_response_attempt_1.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ {"sql":"-- template_id: tpl_tpch_relative_total_threshold\nWITH \"grouped\" AS (\n SELECT\n \"AWERKT\",\n SUM(CAST(\"MBERZELF\" AS REAL)) AS \"group_value\"\n FROM \"n15\"\n GROUP BY \"AWERKT\"\n),\n\"total\" AS (\n SELECT SUM(\"group_value\") AS \"total_value\"\n FROM \"grouped\"\n)\nSELECT\n g.\"AWERKT\",\n g.\"group_value\"\nFROM \"grouped\" AS g\nCROSS JOIN \"total\" AS t\nWHERE g.\"group_value\" > t.\"total_value\" * 0.1\nORDER BY g.\"group_value\" DESC;","notes":"Applied the provided Relative-to-Total Extreme Threshold template with group_col=\"AWERKT\", measure_col=\"MBERZELF\", and fraction_threshold=0.1. CAST to REAL is used because the schema stores columns as TEXT."}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0863509a7e30be1f/cli/sql_stderr_attempt_1.txt ADDED
File without changes
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_attempt_1.metadata.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attempt": 1,
3
+ "phase": "sql_generation",
4
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
5
+ "started_at": "2026-05-19T16:04:16.105106+00:00",
6
+ "ended_at": "2026-05-19T16:04:19.570762+00:00",
7
+ "elapsed_ms": 3465.63,
8
+ "returncode": 1,
9
+ "prompt_metrics": {
10
+ "chars": 33259,
11
+ "bytes_utf8": 33259,
12
+ "lines": 1128,
13
+ "estimated_tokens": null
14
+ },
15
+ "stdout_metrics": {
16
+ "chars": 281,
17
+ "bytes_utf8": 281,
18
+ "lines": 4,
19
+ "estimated_tokens": null
20
+ },
21
+ "stderr_metrics": {
22
+ "chars": 0,
23
+ "bytes_utf8": 0,
24
+ "lines": 0,
25
+ "estimated_tokens": null
26
+ },
27
+ "parsed_output": {
28
+ "format": "jsonl_events",
29
+ "text_metrics": {
30
+ "chars": 280,
31
+ "bytes_utf8": 280,
32
+ "lines": 4,
33
+ "estimated_tokens": null
34
+ },
35
+ "usage": {}
36
+ },
37
+ "status": "failed",
38
+ "error": "AI CLI command failed with exit code 1: ",
39
+ "prompt_path": "cli/sql_prompt_attempt_1.txt",
40
+ "response_path": "cli/sql_response_attempt_1.txt",
41
+ "raw_response_path": "cli/sql_response_attempt_1.raw.txt",
42
+ "stderr_path": "cli/sql_stderr_attempt_1.txt"
43
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_attempt_2.metadata.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attempt": 2,
3
+ "phase": "sql_generation",
4
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
5
+ "started_at": "2026-05-19T16:04:20.573026+00:00",
6
+ "ended_at": "2026-05-19T16:04:23.710190+00:00",
7
+ "elapsed_ms": 3137.13,
8
+ "returncode": 1,
9
+ "prompt_metrics": {
10
+ "chars": 33259,
11
+ "bytes_utf8": 33259,
12
+ "lines": 1128,
13
+ "estimated_tokens": null
14
+ },
15
+ "stdout_metrics": {
16
+ "chars": 281,
17
+ "bytes_utf8": 281,
18
+ "lines": 4,
19
+ "estimated_tokens": null
20
+ },
21
+ "stderr_metrics": {
22
+ "chars": 0,
23
+ "bytes_utf8": 0,
24
+ "lines": 0,
25
+ "estimated_tokens": null
26
+ },
27
+ "parsed_output": {
28
+ "format": "jsonl_events",
29
+ "text_metrics": {
30
+ "chars": 280,
31
+ "bytes_utf8": 280,
32
+ "lines": 4,
33
+ "estimated_tokens": null
34
+ },
35
+ "usage": {}
36
+ },
37
+ "status": "failed",
38
+ "error": "AI CLI command failed with exit code 1: ",
39
+ "prompt_path": "cli/sql_prompt_attempt_2.txt",
40
+ "response_path": "cli/sql_response_attempt_2.txt",
41
+ "raw_response_path": "cli/sql_response_attempt_2.raw.txt",
42
+ "stderr_path": "cli/sql_stderr_attempt_2.txt"
43
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_prompt_attempt_1.txt ADDED
@@ -0,0 +1,1128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are generating one SQLite SELECT query for a single-table SQL QA task.
2
+ Return strict JSON only, with this schema: {"sql": "...", "notes": "..."}.
3
+ Rules:
4
+ - Use only the provided table and columns.
5
+ - Do not write INSERT, UPDATE, DELETE, DROP, ALTER, CREATE, PRAGMA, ATTACH, DETACH, or VACUUM.
6
+ - Prefer the planned template and bound roles when provided.
7
+ - Add a leading SQL comment exactly like: -- template_id: <planned_template_id>.
8
+ - Generate SQLite-compatible SQL. SQLite does not support PERCENTILE_CONT or STDDEV.
9
+ - Quote identifiers with double quotes.
10
+ - Return no markdown and no extra prose.
11
+
12
+ Dataset context:
13
+ Dataset context for SQL QA:
14
+ - dataset_id: n15
15
+ - dataset_name: N15
16
+ - table_name: n15
17
+ - table_layout: single-table dataset (do not assume joins).
18
+ - row_semantics: One row is one tabular observation with 85 feature columns and target `ABYSTAND`.
19
+ - task_type: classification
20
+ - target_column: ABYSTAND
21
+ - main_row_count: 9822
22
+ - important_fields:
23
+ - MOSTYPE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSTYPE.
24
+ - MAANTHUI: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAANTHUI.
25
+ - MGEMOMV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMOMV.
26
+ - MGEMLEEF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMLEEF.
27
+ - MOSHOOFD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSHOOFD.
28
+ - MGODRK: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODRK.
29
+ - MGODPR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODPR.
30
+ - MGODOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODOV.
31
+ - MGODGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODGE.
32
+ - MRELGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELGE.
33
+ - MRELSA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELSA.
34
+ - MRELOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELOV.
35
+ - MFALLEEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFALLEEN.
36
+ - MFGEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFGEKIND.
37
+ - MFWEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFWEKIND.
38
+ - MOPLHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLHOOG.
39
+ - MOPLMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLMIDD.
40
+ - MOPLLAAG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLLAAG.
41
+ - MBERHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERHOOG.
42
+ - MBERZELF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERZELF.
43
+ - MBERBOER: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERBOER.
44
+ - MBERMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERMIDD.
45
+ - MBERARBG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBG.
46
+ - MBERARBO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBO.
47
+ - MSKA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKA.
48
+ - MSKB1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB1.
49
+ - MSKB2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB2.
50
+ - MSKC: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKC.
51
+ - MSKD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKD.
52
+ - MHHUUR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHHUUR.
53
+ - MHKOOP: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHKOOP.
54
+ - MAUT1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT1.
55
+ - MAUT2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT2.
56
+ - MAUT0: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT0.
57
+ - MZFONDS: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZFONDS.
58
+ - MZPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZPART.
59
+ - MINKM30: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKM30.
60
+ - MINK3045: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK3045.
61
+ - MINK4575: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK4575.
62
+ - MINK7512: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK7512.
63
+ - MINK123M: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK123M.
64
+ - MINKGEM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKGEM.
65
+ - MKOOPKLA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MKOOPKLA.
66
+ - PWAPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWAPART.
67
+ - PWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWABEDR.
68
+ - PWALAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWALAND.
69
+ - PPERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PPERSAUT.
70
+ - PBESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBESAUT.
71
+ - PMOTSCO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PMOTSCO.
72
+ - PVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PVRAAUT.
73
+ - PAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PAANHANG.
74
+ - PTRACTOR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PTRACTOR.
75
+ - PWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWERKT.
76
+ - PBROM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBROM.
77
+ - PLEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PLEVEN.
78
+ - PPERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPERSONG.
79
+ - PGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PGEZONG.
80
+ - PWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWAOREG.
81
+ - PBRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBRAND.
82
+ - PZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PZEILPL.
83
+ - PPLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPLEZIER.
84
+ - PFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PFIETS.
85
+ - PINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PINBOED.
86
+ - PBYSTAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBYSTAND.
87
+ - AWAPART: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAPART.
88
+ - AWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWABEDR.
89
+ - AWALAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWALAND.
90
+ - APERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for APERSAUT.
91
+ - ABESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABESAUT.
92
+ - AMOTSCO: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AMOTSCO.
93
+ - AVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AVRAAUT.
94
+ - AAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AAANHANG.
95
+ - ATRACTOR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ATRACTOR.
96
+ - AWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWERKT.
97
+ - ABROM: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABROM.
98
+ - ALEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ALEVEN.
99
+ - APERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APERSONG.
100
+ - AGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AGEZONG.
101
+ - AWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAOREG.
102
+ - ABRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ABRAND.
103
+ - AZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AZEILPL.
104
+ - APLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APLEZIER.
105
+ - AFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AFIETS.
106
+ - AINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AINBOED.
107
+ - ABYSTAND: role=target, type=binary_target. tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for ABYSTAND.
108
+ - CARAVAN: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for CARAVAN.
109
+ - useful_field_combinations: [['MOSTYPE', 'MAANTHUI', 'ABYSTAND'], ['MOSTYPE', 'MOSTYPE', 'ABYSTAND']]
110
+ - fields_requiring_caution: ['ABYSTAND']
111
+ - source_url: https://www.openml.org/d/298
112
+
113
+ SQLite schema snapshot:
114
+ {
115
+ "table_name": "n15",
116
+ "quoted_table_name": "\"n15\"",
117
+ "row_count": 9822,
118
+ "columns": [
119
+ {
120
+ "name": "MOSTYPE",
121
+ "type": "TEXT",
122
+ "notnull": false,
123
+ "pk": false
124
+ },
125
+ {
126
+ "name": "MAANTHUI",
127
+ "type": "TEXT",
128
+ "notnull": false,
129
+ "pk": false
130
+ },
131
+ {
132
+ "name": "MGEMOMV",
133
+ "type": "TEXT",
134
+ "notnull": false,
135
+ "pk": false
136
+ },
137
+ {
138
+ "name": "MGEMLEEF",
139
+ "type": "TEXT",
140
+ "notnull": false,
141
+ "pk": false
142
+ },
143
+ {
144
+ "name": "MOSHOOFD",
145
+ "type": "TEXT",
146
+ "notnull": false,
147
+ "pk": false
148
+ },
149
+ {
150
+ "name": "MGODRK",
151
+ "type": "TEXT",
152
+ "notnull": false,
153
+ "pk": false
154
+ },
155
+ {
156
+ "name": "MGODPR",
157
+ "type": "TEXT",
158
+ "notnull": false,
159
+ "pk": false
160
+ },
161
+ {
162
+ "name": "MGODOV",
163
+ "type": "TEXT",
164
+ "notnull": false,
165
+ "pk": false
166
+ },
167
+ {
168
+ "name": "MGODGE",
169
+ "type": "TEXT",
170
+ "notnull": false,
171
+ "pk": false
172
+ },
173
+ {
174
+ "name": "MRELGE",
175
+ "type": "TEXT",
176
+ "notnull": false,
177
+ "pk": false
178
+ },
179
+ {
180
+ "name": "MRELSA",
181
+ "type": "TEXT",
182
+ "notnull": false,
183
+ "pk": false
184
+ },
185
+ {
186
+ "name": "MRELOV",
187
+ "type": "TEXT",
188
+ "notnull": false,
189
+ "pk": false
190
+ },
191
+ {
192
+ "name": "MFALLEEN",
193
+ "type": "TEXT",
194
+ "notnull": false,
195
+ "pk": false
196
+ },
197
+ {
198
+ "name": "MFGEKIND",
199
+ "type": "TEXT",
200
+ "notnull": false,
201
+ "pk": false
202
+ },
203
+ {
204
+ "name": "MFWEKIND",
205
+ "type": "TEXT",
206
+ "notnull": false,
207
+ "pk": false
208
+ },
209
+ {
210
+ "name": "MOPLHOOG",
211
+ "type": "TEXT",
212
+ "notnull": false,
213
+ "pk": false
214
+ },
215
+ {
216
+ "name": "MOPLMIDD",
217
+ "type": "TEXT",
218
+ "notnull": false,
219
+ "pk": false
220
+ },
221
+ {
222
+ "name": "MOPLLAAG",
223
+ "type": "TEXT",
224
+ "notnull": false,
225
+ "pk": false
226
+ },
227
+ {
228
+ "name": "MBERHOOG",
229
+ "type": "TEXT",
230
+ "notnull": false,
231
+ "pk": false
232
+ },
233
+ {
234
+ "name": "MBERZELF",
235
+ "type": "TEXT",
236
+ "notnull": false,
237
+ "pk": false
238
+ },
239
+ {
240
+ "name": "MBERBOER",
241
+ "type": "TEXT",
242
+ "notnull": false,
243
+ "pk": false
244
+ },
245
+ {
246
+ "name": "MBERMIDD",
247
+ "type": "TEXT",
248
+ "notnull": false,
249
+ "pk": false
250
+ },
251
+ {
252
+ "name": "MBERARBG",
253
+ "type": "TEXT",
254
+ "notnull": false,
255
+ "pk": false
256
+ },
257
+ {
258
+ "name": "MBERARBO",
259
+ "type": "TEXT",
260
+ "notnull": false,
261
+ "pk": false
262
+ },
263
+ {
264
+ "name": "MSKA",
265
+ "type": "TEXT",
266
+ "notnull": false,
267
+ "pk": false
268
+ },
269
+ {
270
+ "name": "MSKB1",
271
+ "type": "TEXT",
272
+ "notnull": false,
273
+ "pk": false
274
+ },
275
+ {
276
+ "name": "MSKB2",
277
+ "type": "TEXT",
278
+ "notnull": false,
279
+ "pk": false
280
+ },
281
+ {
282
+ "name": "MSKC",
283
+ "type": "TEXT",
284
+ "notnull": false,
285
+ "pk": false
286
+ },
287
+ {
288
+ "name": "MSKD",
289
+ "type": "TEXT",
290
+ "notnull": false,
291
+ "pk": false
292
+ },
293
+ {
294
+ "name": "MHHUUR",
295
+ "type": "TEXT",
296
+ "notnull": false,
297
+ "pk": false
298
+ },
299
+ {
300
+ "name": "MHKOOP",
301
+ "type": "TEXT",
302
+ "notnull": false,
303
+ "pk": false
304
+ },
305
+ {
306
+ "name": "MAUT1",
307
+ "type": "TEXT",
308
+ "notnull": false,
309
+ "pk": false
310
+ },
311
+ {
312
+ "name": "MAUT2",
313
+ "type": "TEXT",
314
+ "notnull": false,
315
+ "pk": false
316
+ },
317
+ {
318
+ "name": "MAUT0",
319
+ "type": "TEXT",
320
+ "notnull": false,
321
+ "pk": false
322
+ },
323
+ {
324
+ "name": "MZFONDS",
325
+ "type": "TEXT",
326
+ "notnull": false,
327
+ "pk": false
328
+ },
329
+ {
330
+ "name": "MZPART",
331
+ "type": "TEXT",
332
+ "notnull": false,
333
+ "pk": false
334
+ },
335
+ {
336
+ "name": "MINKM30",
337
+ "type": "TEXT",
338
+ "notnull": false,
339
+ "pk": false
340
+ },
341
+ {
342
+ "name": "MINK3045",
343
+ "type": "TEXT",
344
+ "notnull": false,
345
+ "pk": false
346
+ },
347
+ {
348
+ "name": "MINK4575",
349
+ "type": "TEXT",
350
+ "notnull": false,
351
+ "pk": false
352
+ },
353
+ {
354
+ "name": "MINK7512",
355
+ "type": "TEXT",
356
+ "notnull": false,
357
+ "pk": false
358
+ },
359
+ {
360
+ "name": "MINK123M",
361
+ "type": "TEXT",
362
+ "notnull": false,
363
+ "pk": false
364
+ },
365
+ {
366
+ "name": "MINKGEM",
367
+ "type": "TEXT",
368
+ "notnull": false,
369
+ "pk": false
370
+ },
371
+ {
372
+ "name": "MKOOPKLA",
373
+ "type": "TEXT",
374
+ "notnull": false,
375
+ "pk": false
376
+ },
377
+ {
378
+ "name": "PWAPART",
379
+ "type": "TEXT",
380
+ "notnull": false,
381
+ "pk": false
382
+ },
383
+ {
384
+ "name": "PWABEDR",
385
+ "type": "TEXT",
386
+ "notnull": false,
387
+ "pk": false
388
+ },
389
+ {
390
+ "name": "PWALAND",
391
+ "type": "TEXT",
392
+ "notnull": false,
393
+ "pk": false
394
+ },
395
+ {
396
+ "name": "PPERSAUT",
397
+ "type": "TEXT",
398
+ "notnull": false,
399
+ "pk": false
400
+ },
401
+ {
402
+ "name": "PBESAUT",
403
+ "type": "TEXT",
404
+ "notnull": false,
405
+ "pk": false
406
+ },
407
+ {
408
+ "name": "PMOTSCO",
409
+ "type": "TEXT",
410
+ "notnull": false,
411
+ "pk": false
412
+ },
413
+ {
414
+ "name": "PVRAAUT",
415
+ "type": "TEXT",
416
+ "notnull": false,
417
+ "pk": false
418
+ },
419
+ {
420
+ "name": "PAANHANG",
421
+ "type": "TEXT",
422
+ "notnull": false,
423
+ "pk": false
424
+ },
425
+ {
426
+ "name": "PTRACTOR",
427
+ "type": "TEXT",
428
+ "notnull": false,
429
+ "pk": false
430
+ },
431
+ {
432
+ "name": "PWERKT",
433
+ "type": "TEXT",
434
+ "notnull": false,
435
+ "pk": false
436
+ },
437
+ {
438
+ "name": "PBROM",
439
+ "type": "TEXT",
440
+ "notnull": false,
441
+ "pk": false
442
+ },
443
+ {
444
+ "name": "PLEVEN",
445
+ "type": "TEXT",
446
+ "notnull": false,
447
+ "pk": false
448
+ },
449
+ {
450
+ "name": "PPERSONG",
451
+ "type": "TEXT",
452
+ "notnull": false,
453
+ "pk": false
454
+ },
455
+ {
456
+ "name": "PGEZONG",
457
+ "type": "TEXT",
458
+ "notnull": false,
459
+ "pk": false
460
+ },
461
+ {
462
+ "name": "PWAOREG",
463
+ "type": "TEXT",
464
+ "notnull": false,
465
+ "pk": false
466
+ },
467
+ {
468
+ "name": "PBRAND",
469
+ "type": "TEXT",
470
+ "notnull": false,
471
+ "pk": false
472
+ },
473
+ {
474
+ "name": "PZEILPL",
475
+ "type": "TEXT",
476
+ "notnull": false,
477
+ "pk": false
478
+ },
479
+ {
480
+ "name": "PPLEZIER",
481
+ "type": "TEXT",
482
+ "notnull": false,
483
+ "pk": false
484
+ },
485
+ {
486
+ "name": "PFIETS",
487
+ "type": "TEXT",
488
+ "notnull": false,
489
+ "pk": false
490
+ },
491
+ {
492
+ "name": "PINBOED",
493
+ "type": "TEXT",
494
+ "notnull": false,
495
+ "pk": false
496
+ },
497
+ {
498
+ "name": "PBYSTAND",
499
+ "type": "TEXT",
500
+ "notnull": false,
501
+ "pk": false
502
+ },
503
+ {
504
+ "name": "AWAPART",
505
+ "type": "TEXT",
506
+ "notnull": false,
507
+ "pk": false
508
+ },
509
+ {
510
+ "name": "AWABEDR",
511
+ "type": "TEXT",
512
+ "notnull": false,
513
+ "pk": false
514
+ },
515
+ {
516
+ "name": "AWALAND",
517
+ "type": "TEXT",
518
+ "notnull": false,
519
+ "pk": false
520
+ },
521
+ {
522
+ "name": "APERSAUT",
523
+ "type": "TEXT",
524
+ "notnull": false,
525
+ "pk": false
526
+ },
527
+ {
528
+ "name": "ABESAUT",
529
+ "type": "TEXT",
530
+ "notnull": false,
531
+ "pk": false
532
+ },
533
+ {
534
+ "name": "AMOTSCO",
535
+ "type": "TEXT",
536
+ "notnull": false,
537
+ "pk": false
538
+ },
539
+ {
540
+ "name": "AVRAAUT",
541
+ "type": "TEXT",
542
+ "notnull": false,
543
+ "pk": false
544
+ },
545
+ {
546
+ "name": "AAANHANG",
547
+ "type": "TEXT",
548
+ "notnull": false,
549
+ "pk": false
550
+ },
551
+ {
552
+ "name": "ATRACTOR",
553
+ "type": "TEXT",
554
+ "notnull": false,
555
+ "pk": false
556
+ },
557
+ {
558
+ "name": "AWERKT",
559
+ "type": "TEXT",
560
+ "notnull": false,
561
+ "pk": false
562
+ },
563
+ {
564
+ "name": "ABROM",
565
+ "type": "TEXT",
566
+ "notnull": false,
567
+ "pk": false
568
+ },
569
+ {
570
+ "name": "ALEVEN",
571
+ "type": "TEXT",
572
+ "notnull": false,
573
+ "pk": false
574
+ },
575
+ {
576
+ "name": "APERSONG",
577
+ "type": "TEXT",
578
+ "notnull": false,
579
+ "pk": false
580
+ },
581
+ {
582
+ "name": "AGEZONG",
583
+ "type": "TEXT",
584
+ "notnull": false,
585
+ "pk": false
586
+ },
587
+ {
588
+ "name": "AWAOREG",
589
+ "type": "TEXT",
590
+ "notnull": false,
591
+ "pk": false
592
+ },
593
+ {
594
+ "name": "ABRAND",
595
+ "type": "TEXT",
596
+ "notnull": false,
597
+ "pk": false
598
+ },
599
+ {
600
+ "name": "AZEILPL",
601
+ "type": "TEXT",
602
+ "notnull": false,
603
+ "pk": false
604
+ },
605
+ {
606
+ "name": "APLEZIER",
607
+ "type": "TEXT",
608
+ "notnull": false,
609
+ "pk": false
610
+ },
611
+ {
612
+ "name": "AFIETS",
613
+ "type": "TEXT",
614
+ "notnull": false,
615
+ "pk": false
616
+ },
617
+ {
618
+ "name": "AINBOED",
619
+ "type": "TEXT",
620
+ "notnull": false,
621
+ "pk": false
622
+ },
623
+ {
624
+ "name": "ABYSTAND",
625
+ "type": "TEXT",
626
+ "notnull": false,
627
+ "pk": false
628
+ },
629
+ {
630
+ "name": "CARAVAN",
631
+ "type": "TEXT",
632
+ "notnull": false,
633
+ "pk": false
634
+ }
635
+ ],
636
+ "sample_rows": [
637
+ {
638
+ "MOSTYPE": "33",
639
+ "MAANTHUI": "1",
640
+ "MGEMOMV": "3",
641
+ "MGEMLEEF": "2",
642
+ "MOSHOOFD": "8",
643
+ "MGODRK": "0",
644
+ "MGODPR": "5",
645
+ "MGODOV": "1",
646
+ "MGODGE": "3",
647
+ "MRELGE": "7",
648
+ "MRELSA": "0",
649
+ "MRELOV": "2",
650
+ "MFALLEEN": "1",
651
+ "MFGEKIND": "2",
652
+ "MFWEKIND": "6",
653
+ "MOPLHOOG": "1",
654
+ "MOPLMIDD": "2",
655
+ "MOPLLAAG": "7",
656
+ "MBERHOOG": "1",
657
+ "MBERZELF": "0",
658
+ "MBERBOER": "1",
659
+ "MBERMIDD": "2",
660
+ "MBERARBG": "5",
661
+ "MBERARBO": "2",
662
+ "MSKA": "1",
663
+ "MSKB1": "1",
664
+ "MSKB2": "2",
665
+ "MSKC": "6",
666
+ "MSKD": "1",
667
+ "MHHUUR": "1",
668
+ "MHKOOP": "8",
669
+ "MAUT1": "8",
670
+ "MAUT2": "0",
671
+ "MAUT0": "1",
672
+ "MZFONDS": "8",
673
+ "MZPART": "1",
674
+ "MINKM30": "0",
675
+ "MINK3045": "4",
676
+ "MINK4575": "5",
677
+ "MINK7512": "0",
678
+ "MINK123M": "0",
679
+ "MINKGEM": "4",
680
+ "MKOOPKLA": "3",
681
+ "PWAPART": "0",
682
+ "PWABEDR": "0",
683
+ "PWALAND": "0",
684
+ "PPERSAUT": "6",
685
+ "PBESAUT": "0",
686
+ "PMOTSCO": "0",
687
+ "PVRAAUT": "0",
688
+ "PAANHANG": "0",
689
+ "PTRACTOR": "0",
690
+ "PWERKT": "0",
691
+ "PBROM": "0",
692
+ "PLEVEN": "0",
693
+ "PPERSONG": "0",
694
+ "PGEZONG": "0",
695
+ "PWAOREG": "0",
696
+ "PBRAND": "5",
697
+ "PZEILPL": "0",
698
+ "PPLEZIER": "0",
699
+ "PFIETS": "0",
700
+ "PINBOED": "0",
701
+ "PBYSTAND": "0",
702
+ "AWAPART": "0",
703
+ "AWABEDR": "0",
704
+ "AWALAND": "0",
705
+ "APERSAUT": "1",
706
+ "ABESAUT": "0",
707
+ "AMOTSCO": "0",
708
+ "AVRAAUT": "0",
709
+ "AAANHANG": "0",
710
+ "ATRACTOR": "0",
711
+ "AWERKT": "0",
712
+ "ABROM": "0",
713
+ "ALEVEN": "0",
714
+ "APERSONG": "0",
715
+ "AGEZONG": "0",
716
+ "AWAOREG": "0",
717
+ "ABRAND": "1",
718
+ "AZEILPL": "0",
719
+ "APLEZIER": "0",
720
+ "AFIETS": "0",
721
+ "AINBOED": "0",
722
+ "ABYSTAND": "0",
723
+ "CARAVAN": "0"
724
+ },
725
+ {
726
+ "MOSTYPE": "37",
727
+ "MAANTHUI": "1",
728
+ "MGEMOMV": "2",
729
+ "MGEMLEEF": "2",
730
+ "MOSHOOFD": "8",
731
+ "MGODRK": "1",
732
+ "MGODPR": "4",
733
+ "MGODOV": "1",
734
+ "MGODGE": "4",
735
+ "MRELGE": "6",
736
+ "MRELSA": "2",
737
+ "MRELOV": "2",
738
+ "MFALLEEN": "0",
739
+ "MFGEKIND": "4",
740
+ "MFWEKIND": "5",
741
+ "MOPLHOOG": "0",
742
+ "MOPLMIDD": "5",
743
+ "MOPLLAAG": "4",
744
+ "MBERHOOG": "0",
745
+ "MBERZELF": "0",
746
+ "MBERBOER": "0",
747
+ "MBERMIDD": "5",
748
+ "MBERARBG": "0",
749
+ "MBERARBO": "4",
750
+ "MSKA": "0",
751
+ "MSKB1": "2",
752
+ "MSKB2": "3",
753
+ "MSKC": "5",
754
+ "MSKD": "0",
755
+ "MHHUUR": "2",
756
+ "MHKOOP": "7",
757
+ "MAUT1": "7",
758
+ "MAUT2": "1",
759
+ "MAUT0": "2",
760
+ "MZFONDS": "6",
761
+ "MZPART": "3",
762
+ "MINKM30": "2",
763
+ "MINK3045": "0",
764
+ "MINK4575": "5",
765
+ "MINK7512": "2",
766
+ "MINK123M": "0",
767
+ "MINKGEM": "5",
768
+ "MKOOPKLA": "4",
769
+ "PWAPART": "2",
770
+ "PWABEDR": "0",
771
+ "PWALAND": "0",
772
+ "PPERSAUT": "0",
773
+ "PBESAUT": "0",
774
+ "PMOTSCO": "0",
775
+ "PVRAAUT": "0",
776
+ "PAANHANG": "0",
777
+ "PTRACTOR": "0",
778
+ "PWERKT": "0",
779
+ "PBROM": "0",
780
+ "PLEVEN": "0",
781
+ "PPERSONG": "0",
782
+ "PGEZONG": "0",
783
+ "PWAOREG": "0",
784
+ "PBRAND": "2",
785
+ "PZEILPL": "0",
786
+ "PPLEZIER": "0",
787
+ "PFIETS": "0",
788
+ "PINBOED": "0",
789
+ "PBYSTAND": "0",
790
+ "AWAPART": "2",
791
+ "AWABEDR": "0",
792
+ "AWALAND": "0",
793
+ "APERSAUT": "0",
794
+ "ABESAUT": "0",
795
+ "AMOTSCO": "0",
796
+ "AVRAAUT": "0",
797
+ "AAANHANG": "0",
798
+ "ATRACTOR": "0",
799
+ "AWERKT": "0",
800
+ "ABROM": "0",
801
+ "ALEVEN": "0",
802
+ "APERSONG": "0",
803
+ "AGEZONG": "0",
804
+ "AWAOREG": "0",
805
+ "ABRAND": "1",
806
+ "AZEILPL": "0",
807
+ "APLEZIER": "0",
808
+ "AFIETS": "0",
809
+ "AINBOED": "0",
810
+ "ABYSTAND": "0",
811
+ "CARAVAN": "0"
812
+ },
813
+ {
814
+ "MOSTYPE": "37",
815
+ "MAANTHUI": "1",
816
+ "MGEMOMV": "2",
817
+ "MGEMLEEF": "2",
818
+ "MOSHOOFD": "8",
819
+ "MGODRK": "0",
820
+ "MGODPR": "4",
821
+ "MGODOV": "2",
822
+ "MGODGE": "4",
823
+ "MRELGE": "3",
824
+ "MRELSA": "2",
825
+ "MRELOV": "4",
826
+ "MFALLEEN": "4",
827
+ "MFGEKIND": "4",
828
+ "MFWEKIND": "2",
829
+ "MOPLHOOG": "0",
830
+ "MOPLMIDD": "5",
831
+ "MOPLLAAG": "4",
832
+ "MBERHOOG": "0",
833
+ "MBERZELF": "0",
834
+ "MBERBOER": "0",
835
+ "MBERMIDD": "7",
836
+ "MBERARBG": "0",
837
+ "MBERARBO": "2",
838
+ "MSKA": "0",
839
+ "MSKB1": "5",
840
+ "MSKB2": "0",
841
+ "MSKC": "4",
842
+ "MSKD": "0",
843
+ "MHHUUR": "7",
844
+ "MHKOOP": "2",
845
+ "MAUT1": "7",
846
+ "MAUT2": "0",
847
+ "MAUT0": "2",
848
+ "MZFONDS": "9",
849
+ "MZPART": "0",
850
+ "MINKM30": "4",
851
+ "MINK3045": "5",
852
+ "MINK4575": "0",
853
+ "MINK7512": "0",
854
+ "MINK123M": "0",
855
+ "MINKGEM": "3",
856
+ "MKOOPKLA": "4",
857
+ "PWAPART": "2",
858
+ "PWABEDR": "0",
859
+ "PWALAND": "0",
860
+ "PPERSAUT": "6",
861
+ "PBESAUT": "0",
862
+ "PMOTSCO": "0",
863
+ "PVRAAUT": "0",
864
+ "PAANHANG": "0",
865
+ "PTRACTOR": "0",
866
+ "PWERKT": "0",
867
+ "PBROM": "0",
868
+ "PLEVEN": "0",
869
+ "PPERSONG": "0",
870
+ "PGEZONG": "0",
871
+ "PWAOREG": "0",
872
+ "PBRAND": "2",
873
+ "PZEILPL": "0",
874
+ "PPLEZIER": "0",
875
+ "PFIETS": "0",
876
+ "PINBOED": "0",
877
+ "PBYSTAND": "0",
878
+ "AWAPART": "1",
879
+ "AWABEDR": "0",
880
+ "AWALAND": "0",
881
+ "APERSAUT": "1",
882
+ "ABESAUT": "0",
883
+ "AMOTSCO": "0",
884
+ "AVRAAUT": "0",
885
+ "AAANHANG": "0",
886
+ "ATRACTOR": "0",
887
+ "AWERKT": "0",
888
+ "ABROM": "0",
889
+ "ALEVEN": "0",
890
+ "APERSONG": "0",
891
+ "AGEZONG": "0",
892
+ "AWAOREG": "0",
893
+ "ABRAND": "1",
894
+ "AZEILPL": "0",
895
+ "APLEZIER": "0",
896
+ "AFIETS": "0",
897
+ "AINBOED": "0",
898
+ "ABYSTAND": "0",
899
+ "CARAVAN": "0"
900
+ },
901
+ {
902
+ "MOSTYPE": "9",
903
+ "MAANTHUI": "1",
904
+ "MGEMOMV": "3",
905
+ "MGEMLEEF": "3",
906
+ "MOSHOOFD": "3",
907
+ "MGODRK": "2",
908
+ "MGODPR": "3",
909
+ "MGODOV": "2",
910
+ "MGODGE": "4",
911
+ "MRELGE": "5",
912
+ "MRELSA": "2",
913
+ "MRELOV": "2",
914
+ "MFALLEEN": "2",
915
+ "MFGEKIND": "3",
916
+ "MFWEKIND": "4",
917
+ "MOPLHOOG": "3",
918
+ "MOPLMIDD": "4",
919
+ "MOPLLAAG": "2",
920
+ "MBERHOOG": "4",
921
+ "MBERZELF": "0",
922
+ "MBERBOER": "0",
923
+ "MBERMIDD": "3",
924
+ "MBERARBG": "1",
925
+ "MBERARBO": "2",
926
+ "MSKA": "3",
927
+ "MSKB1": "2",
928
+ "MSKB2": "1",
929
+ "MSKC": "4",
930
+ "MSKD": "0",
931
+ "MHHUUR": "5",
932
+ "MHKOOP": "4",
933
+ "MAUT1": "9",
934
+ "MAUT2": "0",
935
+ "MAUT0": "0",
936
+ "MZFONDS": "7",
937
+ "MZPART": "2",
938
+ "MINKM30": "1",
939
+ "MINK3045": "5",
940
+ "MINK4575": "3",
941
+ "MINK7512": "0",
942
+ "MINK123M": "0",
943
+ "MINKGEM": "4",
944
+ "MKOOPKLA": "4",
945
+ "PWAPART": "0",
946
+ "PWABEDR": "0",
947
+ "PWALAND": "0",
948
+ "PPERSAUT": "6",
949
+ "PBESAUT": "0",
950
+ "PMOTSCO": "0",
951
+ "PVRAAUT": "0",
952
+ "PAANHANG": "0",
953
+ "PTRACTOR": "0",
954
+ "PWERKT": "0",
955
+ "PBROM": "0",
956
+ "PLEVEN": "0",
957
+ "PPERSONG": "0",
958
+ "PGEZONG": "0",
959
+ "PWAOREG": "0",
960
+ "PBRAND": "2",
961
+ "PZEILPL": "0",
962
+ "PPLEZIER": "0",
963
+ "PFIETS": "0",
964
+ "PINBOED": "0",
965
+ "PBYSTAND": "0",
966
+ "AWAPART": "0",
967
+ "AWABEDR": "0",
968
+ "AWALAND": "0",
969
+ "APERSAUT": "1",
970
+ "ABESAUT": "0",
971
+ "AMOTSCO": "0",
972
+ "AVRAAUT": "0",
973
+ "AAANHANG": "0",
974
+ "ATRACTOR": "0",
975
+ "AWERKT": "0",
976
+ "ABROM": "0",
977
+ "ALEVEN": "0",
978
+ "APERSONG": "0",
979
+ "AGEZONG": "0",
980
+ "AWAOREG": "0",
981
+ "ABRAND": "1",
982
+ "AZEILPL": "0",
983
+ "APLEZIER": "0",
984
+ "AFIETS": "0",
985
+ "AINBOED": "0",
986
+ "ABYSTAND": "0",
987
+ "CARAVAN": "0"
988
+ },
989
+ {
990
+ "MOSTYPE": "40",
991
+ "MAANTHUI": "1",
992
+ "MGEMOMV": "4",
993
+ "MGEMLEEF": "2",
994
+ "MOSHOOFD": "10",
995
+ "MGODRK": "1",
996
+ "MGODPR": "4",
997
+ "MGODOV": "1",
998
+ "MGODGE": "4",
999
+ "MRELGE": "7",
1000
+ "MRELSA": "1",
1001
+ "MRELOV": "2",
1002
+ "MFALLEEN": "2",
1003
+ "MFGEKIND": "4",
1004
+ "MFWEKIND": "4",
1005
+ "MOPLHOOG": "5",
1006
+ "MOPLMIDD": "4",
1007
+ "MOPLLAAG": "0",
1008
+ "MBERHOOG": "0",
1009
+ "MBERZELF": "5",
1010
+ "MBERBOER": "4",
1011
+ "MBERMIDD": "0",
1012
+ "MBERARBG": "0",
1013
+ "MBERARBO": "0",
1014
+ "MSKA": "9",
1015
+ "MSKB1": "0",
1016
+ "MSKB2": "0",
1017
+ "MSKC": "0",
1018
+ "MSKD": "0",
1019
+ "MHHUUR": "4",
1020
+ "MHKOOP": "5",
1021
+ "MAUT1": "6",
1022
+ "MAUT2": "2",
1023
+ "MAUT0": "1",
1024
+ "MZFONDS": "5",
1025
+ "MZPART": "4",
1026
+ "MINKM30": "0",
1027
+ "MINK3045": "0",
1028
+ "MINK4575": "9",
1029
+ "MINK7512": "0",
1030
+ "MINK123M": "0",
1031
+ "MINKGEM": "6",
1032
+ "MKOOPKLA": "3",
1033
+ "PWAPART": "0",
1034
+ "PWABEDR": "0",
1035
+ "PWALAND": "0",
1036
+ "PPERSAUT": "0",
1037
+ "PBESAUT": "0",
1038
+ "PMOTSCO": "0",
1039
+ "PVRAAUT": "0",
1040
+ "PAANHANG": "0",
1041
+ "PTRACTOR": "0",
1042
+ "PWERKT": "0",
1043
+ "PBROM": "0",
1044
+ "PLEVEN": "0",
1045
+ "PPERSONG": "0",
1046
+ "PGEZONG": "0",
1047
+ "PWAOREG": "0",
1048
+ "PBRAND": "6",
1049
+ "PZEILPL": "0",
1050
+ "PPLEZIER": "0",
1051
+ "PFIETS": "0",
1052
+ "PINBOED": "0",
1053
+ "PBYSTAND": "0",
1054
+ "AWAPART": "0",
1055
+ "AWABEDR": "0",
1056
+ "AWALAND": "0",
1057
+ "APERSAUT": "0",
1058
+ "ABESAUT": "0",
1059
+ "AMOTSCO": "0",
1060
+ "AVRAAUT": "0",
1061
+ "AAANHANG": "0",
1062
+ "ATRACTOR": "0",
1063
+ "AWERKT": "0",
1064
+ "ABROM": "0",
1065
+ "ALEVEN": "0",
1066
+ "APERSONG": "0",
1067
+ "AGEZONG": "0",
1068
+ "AWAOREG": "0",
1069
+ "ABRAND": "1",
1070
+ "AZEILPL": "0",
1071
+ "APLEZIER": "0",
1072
+ "AFIETS": "0",
1073
+ "AINBOED": "0",
1074
+ "ABYSTAND": "0",
1075
+ "CARAVAN": "0"
1076
+ }
1077
+ ]
1078
+ }
1079
+
1080
+ Shortlisted templates:
1081
+ [
1082
+ {
1083
+ "template_id": "tpl_grouped_percentile_point",
1084
+ "template_name": "Grouped Percentile Point",
1085
+ "primary_family": "tail_rarity_structure",
1086
+ "portability": "yes",
1087
+ "sql_skeleton": "SELECT {group_col},\n PERCENTILE_CONT({percentile_value}) WITHIN GROUP (ORDER BY {measure_col}) AS percentile_measure\nFROM {table}\nGROUP BY {group_col}\nORDER BY percentile_measure DESC;",
1088
+ "required_roles": [
1089
+ "group_col",
1090
+ "measure_col"
1091
+ ]
1092
+ }
1093
+ ]
1094
+
1095
+ Problem instance:
1096
+ {
1097
+ "dataset_id": "n15",
1098
+ "question": "Use template Grouped Percentile Point to probe tail_concentration_consistency with semantic role focused_target_view. Focus on group_col=MGODPR, measure_col=MINK4575.",
1099
+ "planned_template_id": "tpl_grouped_percentile_point",
1100
+ "bindings": {
1101
+ "group_col": "MGODPR",
1102
+ "measure_col": "MINK4575",
1103
+ "top_k": 12,
1104
+ "top_n": 3,
1105
+ "num_tiles": 10,
1106
+ "percentile_value": 0.95,
1107
+ "z_threshold": 2.0,
1108
+ "fraction_threshold": 0.1,
1109
+ "baseline_multiplier": 1.5,
1110
+ "baseline_fraction": 0.1,
1111
+ "min_group_size": 5,
1112
+ "min_support": 5,
1113
+ "measure_threshold": 4.0,
1114
+ "time_grain": "month",
1115
+ "lookback_rows": 3,
1116
+ "current_period_start": "'2024-01-01'",
1117
+ "current_period_end": "'2024-04-01'",
1118
+ "previous_period_start": "'2023-10-01'",
1119
+ "previous_period_end": "'2024-01-01'",
1120
+ "drift_ratio_threshold": 0.8
1121
+ },
1122
+ "can_vary": [],
1123
+ "must_fix": [],
1124
+ "runtime_sql_skeleton": "SELECT {group_col},\n PERCENTILE_CONT({percentile_value}) WITHIN GROUP (ORDER BY {measure_col}) AS percentile_measure\nFROM {table}\nGROUP BY {group_col}\nORDER BY percentile_measure DESC;"
1125
+ }
1126
+
1127
+ Repair context:
1128
+ {}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_prompt_attempt_2.txt ADDED
@@ -0,0 +1,1128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are generating one SQLite SELECT query for a single-table SQL QA task.
2
+ Return strict JSON only, with this schema: {"sql": "...", "notes": "..."}.
3
+ Rules:
4
+ - Use only the provided table and columns.
5
+ - Do not write INSERT, UPDATE, DELETE, DROP, ALTER, CREATE, PRAGMA, ATTACH, DETACH, or VACUUM.
6
+ - Prefer the planned template and bound roles when provided.
7
+ - Add a leading SQL comment exactly like: -- template_id: <planned_template_id>.
8
+ - Generate SQLite-compatible SQL. SQLite does not support PERCENTILE_CONT or STDDEV.
9
+ - Quote identifiers with double quotes.
10
+ - Return no markdown and no extra prose.
11
+
12
+ Dataset context:
13
+ Dataset context for SQL QA:
14
+ - dataset_id: n15
15
+ - dataset_name: N15
16
+ - table_name: n15
17
+ - table_layout: single-table dataset (do not assume joins).
18
+ - row_semantics: One row is one tabular observation with 85 feature columns and target `ABYSTAND`.
19
+ - task_type: classification
20
+ - target_column: ABYSTAND
21
+ - main_row_count: 9822
22
+ - important_fields:
23
+ - MOSTYPE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSTYPE.
24
+ - MAANTHUI: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAANTHUI.
25
+ - MGEMOMV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMOMV.
26
+ - MGEMLEEF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMLEEF.
27
+ - MOSHOOFD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSHOOFD.
28
+ - MGODRK: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODRK.
29
+ - MGODPR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODPR.
30
+ - MGODOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODOV.
31
+ - MGODGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODGE.
32
+ - MRELGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELGE.
33
+ - MRELSA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELSA.
34
+ - MRELOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELOV.
35
+ - MFALLEEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFALLEEN.
36
+ - MFGEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFGEKIND.
37
+ - MFWEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFWEKIND.
38
+ - MOPLHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLHOOG.
39
+ - MOPLMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLMIDD.
40
+ - MOPLLAAG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLLAAG.
41
+ - MBERHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERHOOG.
42
+ - MBERZELF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERZELF.
43
+ - MBERBOER: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERBOER.
44
+ - MBERMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERMIDD.
45
+ - MBERARBG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBG.
46
+ - MBERARBO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBO.
47
+ - MSKA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKA.
48
+ - MSKB1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB1.
49
+ - MSKB2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB2.
50
+ - MSKC: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKC.
51
+ - MSKD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKD.
52
+ - MHHUUR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHHUUR.
53
+ - MHKOOP: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHKOOP.
54
+ - MAUT1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT1.
55
+ - MAUT2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT2.
56
+ - MAUT0: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT0.
57
+ - MZFONDS: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZFONDS.
58
+ - MZPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZPART.
59
+ - MINKM30: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKM30.
60
+ - MINK3045: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK3045.
61
+ - MINK4575: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK4575.
62
+ - MINK7512: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK7512.
63
+ - MINK123M: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK123M.
64
+ - MINKGEM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKGEM.
65
+ - MKOOPKLA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MKOOPKLA.
66
+ - PWAPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWAPART.
67
+ - PWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWABEDR.
68
+ - PWALAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWALAND.
69
+ - PPERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PPERSAUT.
70
+ - PBESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBESAUT.
71
+ - PMOTSCO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PMOTSCO.
72
+ - PVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PVRAAUT.
73
+ - PAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PAANHANG.
74
+ - PTRACTOR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PTRACTOR.
75
+ - PWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWERKT.
76
+ - PBROM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBROM.
77
+ - PLEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PLEVEN.
78
+ - PPERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPERSONG.
79
+ - PGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PGEZONG.
80
+ - PWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWAOREG.
81
+ - PBRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBRAND.
82
+ - PZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PZEILPL.
83
+ - PPLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPLEZIER.
84
+ - PFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PFIETS.
85
+ - PINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PINBOED.
86
+ - PBYSTAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBYSTAND.
87
+ - AWAPART: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAPART.
88
+ - AWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWABEDR.
89
+ - AWALAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWALAND.
90
+ - APERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for APERSAUT.
91
+ - ABESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABESAUT.
92
+ - AMOTSCO: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AMOTSCO.
93
+ - AVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AVRAAUT.
94
+ - AAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AAANHANG.
95
+ - ATRACTOR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ATRACTOR.
96
+ - AWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWERKT.
97
+ - ABROM: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABROM.
98
+ - ALEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ALEVEN.
99
+ - APERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APERSONG.
100
+ - AGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AGEZONG.
101
+ - AWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAOREG.
102
+ - ABRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ABRAND.
103
+ - AZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AZEILPL.
104
+ - APLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APLEZIER.
105
+ - AFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AFIETS.
106
+ - AINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AINBOED.
107
+ - ABYSTAND: role=target, type=binary_target. tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for ABYSTAND.
108
+ - CARAVAN: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for CARAVAN.
109
+ - useful_field_combinations: [['MOSTYPE', 'MAANTHUI', 'ABYSTAND'], ['MOSTYPE', 'MOSTYPE', 'ABYSTAND']]
110
+ - fields_requiring_caution: ['ABYSTAND']
111
+ - source_url: https://www.openml.org/d/298
112
+
113
+ SQLite schema snapshot:
114
+ {
115
+ "table_name": "n15",
116
+ "quoted_table_name": "\"n15\"",
117
+ "row_count": 9822,
118
+ "columns": [
119
+ {
120
+ "name": "MOSTYPE",
121
+ "type": "TEXT",
122
+ "notnull": false,
123
+ "pk": false
124
+ },
125
+ {
126
+ "name": "MAANTHUI",
127
+ "type": "TEXT",
128
+ "notnull": false,
129
+ "pk": false
130
+ },
131
+ {
132
+ "name": "MGEMOMV",
133
+ "type": "TEXT",
134
+ "notnull": false,
135
+ "pk": false
136
+ },
137
+ {
138
+ "name": "MGEMLEEF",
139
+ "type": "TEXT",
140
+ "notnull": false,
141
+ "pk": false
142
+ },
143
+ {
144
+ "name": "MOSHOOFD",
145
+ "type": "TEXT",
146
+ "notnull": false,
147
+ "pk": false
148
+ },
149
+ {
150
+ "name": "MGODRK",
151
+ "type": "TEXT",
152
+ "notnull": false,
153
+ "pk": false
154
+ },
155
+ {
156
+ "name": "MGODPR",
157
+ "type": "TEXT",
158
+ "notnull": false,
159
+ "pk": false
160
+ },
161
+ {
162
+ "name": "MGODOV",
163
+ "type": "TEXT",
164
+ "notnull": false,
165
+ "pk": false
166
+ },
167
+ {
168
+ "name": "MGODGE",
169
+ "type": "TEXT",
170
+ "notnull": false,
171
+ "pk": false
172
+ },
173
+ {
174
+ "name": "MRELGE",
175
+ "type": "TEXT",
176
+ "notnull": false,
177
+ "pk": false
178
+ },
179
+ {
180
+ "name": "MRELSA",
181
+ "type": "TEXT",
182
+ "notnull": false,
183
+ "pk": false
184
+ },
185
+ {
186
+ "name": "MRELOV",
187
+ "type": "TEXT",
188
+ "notnull": false,
189
+ "pk": false
190
+ },
191
+ {
192
+ "name": "MFALLEEN",
193
+ "type": "TEXT",
194
+ "notnull": false,
195
+ "pk": false
196
+ },
197
+ {
198
+ "name": "MFGEKIND",
199
+ "type": "TEXT",
200
+ "notnull": false,
201
+ "pk": false
202
+ },
203
+ {
204
+ "name": "MFWEKIND",
205
+ "type": "TEXT",
206
+ "notnull": false,
207
+ "pk": false
208
+ },
209
+ {
210
+ "name": "MOPLHOOG",
211
+ "type": "TEXT",
212
+ "notnull": false,
213
+ "pk": false
214
+ },
215
+ {
216
+ "name": "MOPLMIDD",
217
+ "type": "TEXT",
218
+ "notnull": false,
219
+ "pk": false
220
+ },
221
+ {
222
+ "name": "MOPLLAAG",
223
+ "type": "TEXT",
224
+ "notnull": false,
225
+ "pk": false
226
+ },
227
+ {
228
+ "name": "MBERHOOG",
229
+ "type": "TEXT",
230
+ "notnull": false,
231
+ "pk": false
232
+ },
233
+ {
234
+ "name": "MBERZELF",
235
+ "type": "TEXT",
236
+ "notnull": false,
237
+ "pk": false
238
+ },
239
+ {
240
+ "name": "MBERBOER",
241
+ "type": "TEXT",
242
+ "notnull": false,
243
+ "pk": false
244
+ },
245
+ {
246
+ "name": "MBERMIDD",
247
+ "type": "TEXT",
248
+ "notnull": false,
249
+ "pk": false
250
+ },
251
+ {
252
+ "name": "MBERARBG",
253
+ "type": "TEXT",
254
+ "notnull": false,
255
+ "pk": false
256
+ },
257
+ {
258
+ "name": "MBERARBO",
259
+ "type": "TEXT",
260
+ "notnull": false,
261
+ "pk": false
262
+ },
263
+ {
264
+ "name": "MSKA",
265
+ "type": "TEXT",
266
+ "notnull": false,
267
+ "pk": false
268
+ },
269
+ {
270
+ "name": "MSKB1",
271
+ "type": "TEXT",
272
+ "notnull": false,
273
+ "pk": false
274
+ },
275
+ {
276
+ "name": "MSKB2",
277
+ "type": "TEXT",
278
+ "notnull": false,
279
+ "pk": false
280
+ },
281
+ {
282
+ "name": "MSKC",
283
+ "type": "TEXT",
284
+ "notnull": false,
285
+ "pk": false
286
+ },
287
+ {
288
+ "name": "MSKD",
289
+ "type": "TEXT",
290
+ "notnull": false,
291
+ "pk": false
292
+ },
293
+ {
294
+ "name": "MHHUUR",
295
+ "type": "TEXT",
296
+ "notnull": false,
297
+ "pk": false
298
+ },
299
+ {
300
+ "name": "MHKOOP",
301
+ "type": "TEXT",
302
+ "notnull": false,
303
+ "pk": false
304
+ },
305
+ {
306
+ "name": "MAUT1",
307
+ "type": "TEXT",
308
+ "notnull": false,
309
+ "pk": false
310
+ },
311
+ {
312
+ "name": "MAUT2",
313
+ "type": "TEXT",
314
+ "notnull": false,
315
+ "pk": false
316
+ },
317
+ {
318
+ "name": "MAUT0",
319
+ "type": "TEXT",
320
+ "notnull": false,
321
+ "pk": false
322
+ },
323
+ {
324
+ "name": "MZFONDS",
325
+ "type": "TEXT",
326
+ "notnull": false,
327
+ "pk": false
328
+ },
329
+ {
330
+ "name": "MZPART",
331
+ "type": "TEXT",
332
+ "notnull": false,
333
+ "pk": false
334
+ },
335
+ {
336
+ "name": "MINKM30",
337
+ "type": "TEXT",
338
+ "notnull": false,
339
+ "pk": false
340
+ },
341
+ {
342
+ "name": "MINK3045",
343
+ "type": "TEXT",
344
+ "notnull": false,
345
+ "pk": false
346
+ },
347
+ {
348
+ "name": "MINK4575",
349
+ "type": "TEXT",
350
+ "notnull": false,
351
+ "pk": false
352
+ },
353
+ {
354
+ "name": "MINK7512",
355
+ "type": "TEXT",
356
+ "notnull": false,
357
+ "pk": false
358
+ },
359
+ {
360
+ "name": "MINK123M",
361
+ "type": "TEXT",
362
+ "notnull": false,
363
+ "pk": false
364
+ },
365
+ {
366
+ "name": "MINKGEM",
367
+ "type": "TEXT",
368
+ "notnull": false,
369
+ "pk": false
370
+ },
371
+ {
372
+ "name": "MKOOPKLA",
373
+ "type": "TEXT",
374
+ "notnull": false,
375
+ "pk": false
376
+ },
377
+ {
378
+ "name": "PWAPART",
379
+ "type": "TEXT",
380
+ "notnull": false,
381
+ "pk": false
382
+ },
383
+ {
384
+ "name": "PWABEDR",
385
+ "type": "TEXT",
386
+ "notnull": false,
387
+ "pk": false
388
+ },
389
+ {
390
+ "name": "PWALAND",
391
+ "type": "TEXT",
392
+ "notnull": false,
393
+ "pk": false
394
+ },
395
+ {
396
+ "name": "PPERSAUT",
397
+ "type": "TEXT",
398
+ "notnull": false,
399
+ "pk": false
400
+ },
401
+ {
402
+ "name": "PBESAUT",
403
+ "type": "TEXT",
404
+ "notnull": false,
405
+ "pk": false
406
+ },
407
+ {
408
+ "name": "PMOTSCO",
409
+ "type": "TEXT",
410
+ "notnull": false,
411
+ "pk": false
412
+ },
413
+ {
414
+ "name": "PVRAAUT",
415
+ "type": "TEXT",
416
+ "notnull": false,
417
+ "pk": false
418
+ },
419
+ {
420
+ "name": "PAANHANG",
421
+ "type": "TEXT",
422
+ "notnull": false,
423
+ "pk": false
424
+ },
425
+ {
426
+ "name": "PTRACTOR",
427
+ "type": "TEXT",
428
+ "notnull": false,
429
+ "pk": false
430
+ },
431
+ {
432
+ "name": "PWERKT",
433
+ "type": "TEXT",
434
+ "notnull": false,
435
+ "pk": false
436
+ },
437
+ {
438
+ "name": "PBROM",
439
+ "type": "TEXT",
440
+ "notnull": false,
441
+ "pk": false
442
+ },
443
+ {
444
+ "name": "PLEVEN",
445
+ "type": "TEXT",
446
+ "notnull": false,
447
+ "pk": false
448
+ },
449
+ {
450
+ "name": "PPERSONG",
451
+ "type": "TEXT",
452
+ "notnull": false,
453
+ "pk": false
454
+ },
455
+ {
456
+ "name": "PGEZONG",
457
+ "type": "TEXT",
458
+ "notnull": false,
459
+ "pk": false
460
+ },
461
+ {
462
+ "name": "PWAOREG",
463
+ "type": "TEXT",
464
+ "notnull": false,
465
+ "pk": false
466
+ },
467
+ {
468
+ "name": "PBRAND",
469
+ "type": "TEXT",
470
+ "notnull": false,
471
+ "pk": false
472
+ },
473
+ {
474
+ "name": "PZEILPL",
475
+ "type": "TEXT",
476
+ "notnull": false,
477
+ "pk": false
478
+ },
479
+ {
480
+ "name": "PPLEZIER",
481
+ "type": "TEXT",
482
+ "notnull": false,
483
+ "pk": false
484
+ },
485
+ {
486
+ "name": "PFIETS",
487
+ "type": "TEXT",
488
+ "notnull": false,
489
+ "pk": false
490
+ },
491
+ {
492
+ "name": "PINBOED",
493
+ "type": "TEXT",
494
+ "notnull": false,
495
+ "pk": false
496
+ },
497
+ {
498
+ "name": "PBYSTAND",
499
+ "type": "TEXT",
500
+ "notnull": false,
501
+ "pk": false
502
+ },
503
+ {
504
+ "name": "AWAPART",
505
+ "type": "TEXT",
506
+ "notnull": false,
507
+ "pk": false
508
+ },
509
+ {
510
+ "name": "AWABEDR",
511
+ "type": "TEXT",
512
+ "notnull": false,
513
+ "pk": false
514
+ },
515
+ {
516
+ "name": "AWALAND",
517
+ "type": "TEXT",
518
+ "notnull": false,
519
+ "pk": false
520
+ },
521
+ {
522
+ "name": "APERSAUT",
523
+ "type": "TEXT",
524
+ "notnull": false,
525
+ "pk": false
526
+ },
527
+ {
528
+ "name": "ABESAUT",
529
+ "type": "TEXT",
530
+ "notnull": false,
531
+ "pk": false
532
+ },
533
+ {
534
+ "name": "AMOTSCO",
535
+ "type": "TEXT",
536
+ "notnull": false,
537
+ "pk": false
538
+ },
539
+ {
540
+ "name": "AVRAAUT",
541
+ "type": "TEXT",
542
+ "notnull": false,
543
+ "pk": false
544
+ },
545
+ {
546
+ "name": "AAANHANG",
547
+ "type": "TEXT",
548
+ "notnull": false,
549
+ "pk": false
550
+ },
551
+ {
552
+ "name": "ATRACTOR",
553
+ "type": "TEXT",
554
+ "notnull": false,
555
+ "pk": false
556
+ },
557
+ {
558
+ "name": "AWERKT",
559
+ "type": "TEXT",
560
+ "notnull": false,
561
+ "pk": false
562
+ },
563
+ {
564
+ "name": "ABROM",
565
+ "type": "TEXT",
566
+ "notnull": false,
567
+ "pk": false
568
+ },
569
+ {
570
+ "name": "ALEVEN",
571
+ "type": "TEXT",
572
+ "notnull": false,
573
+ "pk": false
574
+ },
575
+ {
576
+ "name": "APERSONG",
577
+ "type": "TEXT",
578
+ "notnull": false,
579
+ "pk": false
580
+ },
581
+ {
582
+ "name": "AGEZONG",
583
+ "type": "TEXT",
584
+ "notnull": false,
585
+ "pk": false
586
+ },
587
+ {
588
+ "name": "AWAOREG",
589
+ "type": "TEXT",
590
+ "notnull": false,
591
+ "pk": false
592
+ },
593
+ {
594
+ "name": "ABRAND",
595
+ "type": "TEXT",
596
+ "notnull": false,
597
+ "pk": false
598
+ },
599
+ {
600
+ "name": "AZEILPL",
601
+ "type": "TEXT",
602
+ "notnull": false,
603
+ "pk": false
604
+ },
605
+ {
606
+ "name": "APLEZIER",
607
+ "type": "TEXT",
608
+ "notnull": false,
609
+ "pk": false
610
+ },
611
+ {
612
+ "name": "AFIETS",
613
+ "type": "TEXT",
614
+ "notnull": false,
615
+ "pk": false
616
+ },
617
+ {
618
+ "name": "AINBOED",
619
+ "type": "TEXT",
620
+ "notnull": false,
621
+ "pk": false
622
+ },
623
+ {
624
+ "name": "ABYSTAND",
625
+ "type": "TEXT",
626
+ "notnull": false,
627
+ "pk": false
628
+ },
629
+ {
630
+ "name": "CARAVAN",
631
+ "type": "TEXT",
632
+ "notnull": false,
633
+ "pk": false
634
+ }
635
+ ],
636
+ "sample_rows": [
637
+ {
638
+ "MOSTYPE": "33",
639
+ "MAANTHUI": "1",
640
+ "MGEMOMV": "3",
641
+ "MGEMLEEF": "2",
642
+ "MOSHOOFD": "8",
643
+ "MGODRK": "0",
644
+ "MGODPR": "5",
645
+ "MGODOV": "1",
646
+ "MGODGE": "3",
647
+ "MRELGE": "7",
648
+ "MRELSA": "0",
649
+ "MRELOV": "2",
650
+ "MFALLEEN": "1",
651
+ "MFGEKIND": "2",
652
+ "MFWEKIND": "6",
653
+ "MOPLHOOG": "1",
654
+ "MOPLMIDD": "2",
655
+ "MOPLLAAG": "7",
656
+ "MBERHOOG": "1",
657
+ "MBERZELF": "0",
658
+ "MBERBOER": "1",
659
+ "MBERMIDD": "2",
660
+ "MBERARBG": "5",
661
+ "MBERARBO": "2",
662
+ "MSKA": "1",
663
+ "MSKB1": "1",
664
+ "MSKB2": "2",
665
+ "MSKC": "6",
666
+ "MSKD": "1",
667
+ "MHHUUR": "1",
668
+ "MHKOOP": "8",
669
+ "MAUT1": "8",
670
+ "MAUT2": "0",
671
+ "MAUT0": "1",
672
+ "MZFONDS": "8",
673
+ "MZPART": "1",
674
+ "MINKM30": "0",
675
+ "MINK3045": "4",
676
+ "MINK4575": "5",
677
+ "MINK7512": "0",
678
+ "MINK123M": "0",
679
+ "MINKGEM": "4",
680
+ "MKOOPKLA": "3",
681
+ "PWAPART": "0",
682
+ "PWABEDR": "0",
683
+ "PWALAND": "0",
684
+ "PPERSAUT": "6",
685
+ "PBESAUT": "0",
686
+ "PMOTSCO": "0",
687
+ "PVRAAUT": "0",
688
+ "PAANHANG": "0",
689
+ "PTRACTOR": "0",
690
+ "PWERKT": "0",
691
+ "PBROM": "0",
692
+ "PLEVEN": "0",
693
+ "PPERSONG": "0",
694
+ "PGEZONG": "0",
695
+ "PWAOREG": "0",
696
+ "PBRAND": "5",
697
+ "PZEILPL": "0",
698
+ "PPLEZIER": "0",
699
+ "PFIETS": "0",
700
+ "PINBOED": "0",
701
+ "PBYSTAND": "0",
702
+ "AWAPART": "0",
703
+ "AWABEDR": "0",
704
+ "AWALAND": "0",
705
+ "APERSAUT": "1",
706
+ "ABESAUT": "0",
707
+ "AMOTSCO": "0",
708
+ "AVRAAUT": "0",
709
+ "AAANHANG": "0",
710
+ "ATRACTOR": "0",
711
+ "AWERKT": "0",
712
+ "ABROM": "0",
713
+ "ALEVEN": "0",
714
+ "APERSONG": "0",
715
+ "AGEZONG": "0",
716
+ "AWAOREG": "0",
717
+ "ABRAND": "1",
718
+ "AZEILPL": "0",
719
+ "APLEZIER": "0",
720
+ "AFIETS": "0",
721
+ "AINBOED": "0",
722
+ "ABYSTAND": "0",
723
+ "CARAVAN": "0"
724
+ },
725
+ {
726
+ "MOSTYPE": "37",
727
+ "MAANTHUI": "1",
728
+ "MGEMOMV": "2",
729
+ "MGEMLEEF": "2",
730
+ "MOSHOOFD": "8",
731
+ "MGODRK": "1",
732
+ "MGODPR": "4",
733
+ "MGODOV": "1",
734
+ "MGODGE": "4",
735
+ "MRELGE": "6",
736
+ "MRELSA": "2",
737
+ "MRELOV": "2",
738
+ "MFALLEEN": "0",
739
+ "MFGEKIND": "4",
740
+ "MFWEKIND": "5",
741
+ "MOPLHOOG": "0",
742
+ "MOPLMIDD": "5",
743
+ "MOPLLAAG": "4",
744
+ "MBERHOOG": "0",
745
+ "MBERZELF": "0",
746
+ "MBERBOER": "0",
747
+ "MBERMIDD": "5",
748
+ "MBERARBG": "0",
749
+ "MBERARBO": "4",
750
+ "MSKA": "0",
751
+ "MSKB1": "2",
752
+ "MSKB2": "3",
753
+ "MSKC": "5",
754
+ "MSKD": "0",
755
+ "MHHUUR": "2",
756
+ "MHKOOP": "7",
757
+ "MAUT1": "7",
758
+ "MAUT2": "1",
759
+ "MAUT0": "2",
760
+ "MZFONDS": "6",
761
+ "MZPART": "3",
762
+ "MINKM30": "2",
763
+ "MINK3045": "0",
764
+ "MINK4575": "5",
765
+ "MINK7512": "2",
766
+ "MINK123M": "0",
767
+ "MINKGEM": "5",
768
+ "MKOOPKLA": "4",
769
+ "PWAPART": "2",
770
+ "PWABEDR": "0",
771
+ "PWALAND": "0",
772
+ "PPERSAUT": "0",
773
+ "PBESAUT": "0",
774
+ "PMOTSCO": "0",
775
+ "PVRAAUT": "0",
776
+ "PAANHANG": "0",
777
+ "PTRACTOR": "0",
778
+ "PWERKT": "0",
779
+ "PBROM": "0",
780
+ "PLEVEN": "0",
781
+ "PPERSONG": "0",
782
+ "PGEZONG": "0",
783
+ "PWAOREG": "0",
784
+ "PBRAND": "2",
785
+ "PZEILPL": "0",
786
+ "PPLEZIER": "0",
787
+ "PFIETS": "0",
788
+ "PINBOED": "0",
789
+ "PBYSTAND": "0",
790
+ "AWAPART": "2",
791
+ "AWABEDR": "0",
792
+ "AWALAND": "0",
793
+ "APERSAUT": "0",
794
+ "ABESAUT": "0",
795
+ "AMOTSCO": "0",
796
+ "AVRAAUT": "0",
797
+ "AAANHANG": "0",
798
+ "ATRACTOR": "0",
799
+ "AWERKT": "0",
800
+ "ABROM": "0",
801
+ "ALEVEN": "0",
802
+ "APERSONG": "0",
803
+ "AGEZONG": "0",
804
+ "AWAOREG": "0",
805
+ "ABRAND": "1",
806
+ "AZEILPL": "0",
807
+ "APLEZIER": "0",
808
+ "AFIETS": "0",
809
+ "AINBOED": "0",
810
+ "ABYSTAND": "0",
811
+ "CARAVAN": "0"
812
+ },
813
+ {
814
+ "MOSTYPE": "37",
815
+ "MAANTHUI": "1",
816
+ "MGEMOMV": "2",
817
+ "MGEMLEEF": "2",
818
+ "MOSHOOFD": "8",
819
+ "MGODRK": "0",
820
+ "MGODPR": "4",
821
+ "MGODOV": "2",
822
+ "MGODGE": "4",
823
+ "MRELGE": "3",
824
+ "MRELSA": "2",
825
+ "MRELOV": "4",
826
+ "MFALLEEN": "4",
827
+ "MFGEKIND": "4",
828
+ "MFWEKIND": "2",
829
+ "MOPLHOOG": "0",
830
+ "MOPLMIDD": "5",
831
+ "MOPLLAAG": "4",
832
+ "MBERHOOG": "0",
833
+ "MBERZELF": "0",
834
+ "MBERBOER": "0",
835
+ "MBERMIDD": "7",
836
+ "MBERARBG": "0",
837
+ "MBERARBO": "2",
838
+ "MSKA": "0",
839
+ "MSKB1": "5",
840
+ "MSKB2": "0",
841
+ "MSKC": "4",
842
+ "MSKD": "0",
843
+ "MHHUUR": "7",
844
+ "MHKOOP": "2",
845
+ "MAUT1": "7",
846
+ "MAUT2": "0",
847
+ "MAUT0": "2",
848
+ "MZFONDS": "9",
849
+ "MZPART": "0",
850
+ "MINKM30": "4",
851
+ "MINK3045": "5",
852
+ "MINK4575": "0",
853
+ "MINK7512": "0",
854
+ "MINK123M": "0",
855
+ "MINKGEM": "3",
856
+ "MKOOPKLA": "4",
857
+ "PWAPART": "2",
858
+ "PWABEDR": "0",
859
+ "PWALAND": "0",
860
+ "PPERSAUT": "6",
861
+ "PBESAUT": "0",
862
+ "PMOTSCO": "0",
863
+ "PVRAAUT": "0",
864
+ "PAANHANG": "0",
865
+ "PTRACTOR": "0",
866
+ "PWERKT": "0",
867
+ "PBROM": "0",
868
+ "PLEVEN": "0",
869
+ "PPERSONG": "0",
870
+ "PGEZONG": "0",
871
+ "PWAOREG": "0",
872
+ "PBRAND": "2",
873
+ "PZEILPL": "0",
874
+ "PPLEZIER": "0",
875
+ "PFIETS": "0",
876
+ "PINBOED": "0",
877
+ "PBYSTAND": "0",
878
+ "AWAPART": "1",
879
+ "AWABEDR": "0",
880
+ "AWALAND": "0",
881
+ "APERSAUT": "1",
882
+ "ABESAUT": "0",
883
+ "AMOTSCO": "0",
884
+ "AVRAAUT": "0",
885
+ "AAANHANG": "0",
886
+ "ATRACTOR": "0",
887
+ "AWERKT": "0",
888
+ "ABROM": "0",
889
+ "ALEVEN": "0",
890
+ "APERSONG": "0",
891
+ "AGEZONG": "0",
892
+ "AWAOREG": "0",
893
+ "ABRAND": "1",
894
+ "AZEILPL": "0",
895
+ "APLEZIER": "0",
896
+ "AFIETS": "0",
897
+ "AINBOED": "0",
898
+ "ABYSTAND": "0",
899
+ "CARAVAN": "0"
900
+ },
901
+ {
902
+ "MOSTYPE": "9",
903
+ "MAANTHUI": "1",
904
+ "MGEMOMV": "3",
905
+ "MGEMLEEF": "3",
906
+ "MOSHOOFD": "3",
907
+ "MGODRK": "2",
908
+ "MGODPR": "3",
909
+ "MGODOV": "2",
910
+ "MGODGE": "4",
911
+ "MRELGE": "5",
912
+ "MRELSA": "2",
913
+ "MRELOV": "2",
914
+ "MFALLEEN": "2",
915
+ "MFGEKIND": "3",
916
+ "MFWEKIND": "4",
917
+ "MOPLHOOG": "3",
918
+ "MOPLMIDD": "4",
919
+ "MOPLLAAG": "2",
920
+ "MBERHOOG": "4",
921
+ "MBERZELF": "0",
922
+ "MBERBOER": "0",
923
+ "MBERMIDD": "3",
924
+ "MBERARBG": "1",
925
+ "MBERARBO": "2",
926
+ "MSKA": "3",
927
+ "MSKB1": "2",
928
+ "MSKB2": "1",
929
+ "MSKC": "4",
930
+ "MSKD": "0",
931
+ "MHHUUR": "5",
932
+ "MHKOOP": "4",
933
+ "MAUT1": "9",
934
+ "MAUT2": "0",
935
+ "MAUT0": "0",
936
+ "MZFONDS": "7",
937
+ "MZPART": "2",
938
+ "MINKM30": "1",
939
+ "MINK3045": "5",
940
+ "MINK4575": "3",
941
+ "MINK7512": "0",
942
+ "MINK123M": "0",
943
+ "MINKGEM": "4",
944
+ "MKOOPKLA": "4",
945
+ "PWAPART": "0",
946
+ "PWABEDR": "0",
947
+ "PWALAND": "0",
948
+ "PPERSAUT": "6",
949
+ "PBESAUT": "0",
950
+ "PMOTSCO": "0",
951
+ "PVRAAUT": "0",
952
+ "PAANHANG": "0",
953
+ "PTRACTOR": "0",
954
+ "PWERKT": "0",
955
+ "PBROM": "0",
956
+ "PLEVEN": "0",
957
+ "PPERSONG": "0",
958
+ "PGEZONG": "0",
959
+ "PWAOREG": "0",
960
+ "PBRAND": "2",
961
+ "PZEILPL": "0",
962
+ "PPLEZIER": "0",
963
+ "PFIETS": "0",
964
+ "PINBOED": "0",
965
+ "PBYSTAND": "0",
966
+ "AWAPART": "0",
967
+ "AWABEDR": "0",
968
+ "AWALAND": "0",
969
+ "APERSAUT": "1",
970
+ "ABESAUT": "0",
971
+ "AMOTSCO": "0",
972
+ "AVRAAUT": "0",
973
+ "AAANHANG": "0",
974
+ "ATRACTOR": "0",
975
+ "AWERKT": "0",
976
+ "ABROM": "0",
977
+ "ALEVEN": "0",
978
+ "APERSONG": "0",
979
+ "AGEZONG": "0",
980
+ "AWAOREG": "0",
981
+ "ABRAND": "1",
982
+ "AZEILPL": "0",
983
+ "APLEZIER": "0",
984
+ "AFIETS": "0",
985
+ "AINBOED": "0",
986
+ "ABYSTAND": "0",
987
+ "CARAVAN": "0"
988
+ },
989
+ {
990
+ "MOSTYPE": "40",
991
+ "MAANTHUI": "1",
992
+ "MGEMOMV": "4",
993
+ "MGEMLEEF": "2",
994
+ "MOSHOOFD": "10",
995
+ "MGODRK": "1",
996
+ "MGODPR": "4",
997
+ "MGODOV": "1",
998
+ "MGODGE": "4",
999
+ "MRELGE": "7",
1000
+ "MRELSA": "1",
1001
+ "MRELOV": "2",
1002
+ "MFALLEEN": "2",
1003
+ "MFGEKIND": "4",
1004
+ "MFWEKIND": "4",
1005
+ "MOPLHOOG": "5",
1006
+ "MOPLMIDD": "4",
1007
+ "MOPLLAAG": "0",
1008
+ "MBERHOOG": "0",
1009
+ "MBERZELF": "5",
1010
+ "MBERBOER": "4",
1011
+ "MBERMIDD": "0",
1012
+ "MBERARBG": "0",
1013
+ "MBERARBO": "0",
1014
+ "MSKA": "9",
1015
+ "MSKB1": "0",
1016
+ "MSKB2": "0",
1017
+ "MSKC": "0",
1018
+ "MSKD": "0",
1019
+ "MHHUUR": "4",
1020
+ "MHKOOP": "5",
1021
+ "MAUT1": "6",
1022
+ "MAUT2": "2",
1023
+ "MAUT0": "1",
1024
+ "MZFONDS": "5",
1025
+ "MZPART": "4",
1026
+ "MINKM30": "0",
1027
+ "MINK3045": "0",
1028
+ "MINK4575": "9",
1029
+ "MINK7512": "0",
1030
+ "MINK123M": "0",
1031
+ "MINKGEM": "6",
1032
+ "MKOOPKLA": "3",
1033
+ "PWAPART": "0",
1034
+ "PWABEDR": "0",
1035
+ "PWALAND": "0",
1036
+ "PPERSAUT": "0",
1037
+ "PBESAUT": "0",
1038
+ "PMOTSCO": "0",
1039
+ "PVRAAUT": "0",
1040
+ "PAANHANG": "0",
1041
+ "PTRACTOR": "0",
1042
+ "PWERKT": "0",
1043
+ "PBROM": "0",
1044
+ "PLEVEN": "0",
1045
+ "PPERSONG": "0",
1046
+ "PGEZONG": "0",
1047
+ "PWAOREG": "0",
1048
+ "PBRAND": "6",
1049
+ "PZEILPL": "0",
1050
+ "PPLEZIER": "0",
1051
+ "PFIETS": "0",
1052
+ "PINBOED": "0",
1053
+ "PBYSTAND": "0",
1054
+ "AWAPART": "0",
1055
+ "AWABEDR": "0",
1056
+ "AWALAND": "0",
1057
+ "APERSAUT": "0",
1058
+ "ABESAUT": "0",
1059
+ "AMOTSCO": "0",
1060
+ "AVRAAUT": "0",
1061
+ "AAANHANG": "0",
1062
+ "ATRACTOR": "0",
1063
+ "AWERKT": "0",
1064
+ "ABROM": "0",
1065
+ "ALEVEN": "0",
1066
+ "APERSONG": "0",
1067
+ "AGEZONG": "0",
1068
+ "AWAOREG": "0",
1069
+ "ABRAND": "1",
1070
+ "AZEILPL": "0",
1071
+ "APLEZIER": "0",
1072
+ "AFIETS": "0",
1073
+ "AINBOED": "0",
1074
+ "ABYSTAND": "0",
1075
+ "CARAVAN": "0"
1076
+ }
1077
+ ]
1078
+ }
1079
+
1080
+ Shortlisted templates:
1081
+ [
1082
+ {
1083
+ "template_id": "tpl_grouped_percentile_point",
1084
+ "template_name": "Grouped Percentile Point",
1085
+ "primary_family": "tail_rarity_structure",
1086
+ "portability": "yes",
1087
+ "sql_skeleton": "SELECT {group_col},\n PERCENTILE_CONT({percentile_value}) WITHIN GROUP (ORDER BY {measure_col}) AS percentile_measure\nFROM {table}\nGROUP BY {group_col}\nORDER BY percentile_measure DESC;",
1088
+ "required_roles": [
1089
+ "group_col",
1090
+ "measure_col"
1091
+ ]
1092
+ }
1093
+ ]
1094
+
1095
+ Problem instance:
1096
+ {
1097
+ "dataset_id": "n15",
1098
+ "question": "Use template Grouped Percentile Point to probe tail_concentration_consistency with semantic role focused_target_view. Focus on group_col=MGODPR, measure_col=MINK4575.",
1099
+ "planned_template_id": "tpl_grouped_percentile_point",
1100
+ "bindings": {
1101
+ "group_col": "MGODPR",
1102
+ "measure_col": "MINK4575",
1103
+ "top_k": 12,
1104
+ "top_n": 3,
1105
+ "num_tiles": 10,
1106
+ "percentile_value": 0.95,
1107
+ "z_threshold": 2.0,
1108
+ "fraction_threshold": 0.1,
1109
+ "baseline_multiplier": 1.5,
1110
+ "baseline_fraction": 0.1,
1111
+ "min_group_size": 5,
1112
+ "min_support": 5,
1113
+ "measure_threshold": 4.0,
1114
+ "time_grain": "month",
1115
+ "lookback_rows": 3,
1116
+ "current_period_start": "'2024-01-01'",
1117
+ "current_period_end": "'2024-04-01'",
1118
+ "previous_period_start": "'2023-10-01'",
1119
+ "previous_period_end": "'2024-01-01'",
1120
+ "drift_ratio_threshold": 0.8
1121
+ },
1122
+ "can_vary": [],
1123
+ "must_fix": [],
1124
+ "runtime_sql_skeleton": "SELECT {group_col},\n PERCENTILE_CONT({percentile_value}) WITHIN GROUP (ORDER BY {measure_col}) AS percentile_measure\nFROM {table}\nGROUP BY {group_col}\nORDER BY percentile_measure DESC;"
1125
+ }
1126
+
1127
+ Repair context:
1128
+ {}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_response_attempt_1.raw.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {"type":"thread.started","thread_id":"019e40fb-1193-70d1-b9b6-58343b0e14ba"}
2
+ {"type":"turn.started"}
3
+ {"type":"error","message":"Quota exceeded. Check your plan and billing details."}
4
+ {"type":"turn.failed","error":{"message":"Quota exceeded. Check your plan and billing details."}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_response_attempt_1.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {"type":"thread.started","thread_id":"019e40fb-1193-70d1-b9b6-58343b0e14ba"}
2
+ {"type":"turn.started"}
3
+ {"type":"error","message":"Quota exceeded. Check your plan and billing details."}
4
+ {"type":"turn.failed","error":{"message":"Quota exceeded. Check your plan and billing details."}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_response_attempt_2.raw.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {"type":"thread.started","thread_id":"019e40fb-230a-7f12-b0bb-f363c37e68f8"}
2
+ {"type":"turn.started"}
3
+ {"type":"error","message":"Quota exceeded. Check your plan and billing details."}
4
+ {"type":"turn.failed","error":{"message":"Quota exceeded. Check your plan and billing details."}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_response_attempt_2.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {"type":"thread.started","thread_id":"019e40fb-230a-7f12-b0bb-f363c37e68f8"}
2
+ {"type":"turn.started"}
3
+ {"type":"error","message":"Quota exceeded. Check your plan and billing details."}
4
+ {"type":"turn.failed","error":{"message":"Quota exceeded. Check your plan and billing details."}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_stderr_attempt_1.txt ADDED
File without changes
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_08b174a71f625c5b/cli/sql_stderr_attempt_2.txt ADDED
File without changes
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/conversation.jsonl ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"attempt": 1, "phase": "sql_generation", "role": "user", "content_path": "cli/sql_prompt_attempt_1.txt", "metrics": {"chars": 33487, "bytes_utf8": 33487, "lines": 1130, "estimated_tokens": null}}
2
+ {"attempt": 1, "phase": "sql_generation", "role": "assistant", "content_path": "cli/sql_response_attempt_1.txt", "raw_content_path": "cli/sql_response_attempt_1.raw.txt", "stderr_path": "cli/sql_stderr_attempt_1.txt", "metrics": {"chars": 584, "bytes_utf8": 584, "lines": 1, "estimated_tokens": null}, "usage": {"input_tokens": 23124, "cached_input_tokens": 12032, "output_tokens": 617, "reasoning_output_tokens": 441}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/session_summary.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "engine": "v2-cli:codex",
3
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
4
+ "ai_cli_calls": 1,
5
+ "usage_summary": {
6
+ "dataset_id": "n15",
7
+ "model": "v2-cli:codex",
8
+ "run_id": "v2q_n15_096d543fdafd9a01",
9
+ "api_calls": 0,
10
+ "input_tokens": 23124,
11
+ "cached_input_tokens": 12032,
12
+ "output_tokens": 617,
13
+ "total_tokens": 23741,
14
+ "cost_usd": 0.0,
15
+ "ai_cli_calls": 1,
16
+ "estimated_input_tokens": 0,
17
+ "estimated_output_tokens": 0,
18
+ "estimated_total_tokens": 0,
19
+ "usage_source": "ai_cli_json_usage",
20
+ "cli_elapsed_ms_total": 19129.47,
21
+ "sql_execution_elapsed_ms_total": 9.1,
22
+ "conversation_log_path": "/data/jialinzhang/TabQueryBench/sql_workloads/v2_current/runs_and_launches/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/conversation.jsonl",
23
+ "note": "Executed through a local AI CLI with structured usage metadata."
24
+ }
25
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/sql_attempt_1.metadata.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attempt": 1,
3
+ "phase": "sql_generation",
4
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
5
+ "started_at": "2026-05-19T15:41:28.096153+00:00",
6
+ "ended_at": "2026-05-19T15:41:47.225651+00:00",
7
+ "elapsed_ms": 19129.47,
8
+ "prompt_metrics": {
9
+ "chars": 33487,
10
+ "bytes_utf8": 33487,
11
+ "lines": 1130,
12
+ "estimated_tokens": null
13
+ },
14
+ "stdout_metrics": {
15
+ "chars": 1301,
16
+ "bytes_utf8": 1301,
17
+ "lines": 5,
18
+ "estimated_tokens": null
19
+ },
20
+ "stderr_metrics": {
21
+ "chars": 0,
22
+ "bytes_utf8": 0,
23
+ "lines": 0,
24
+ "estimated_tokens": null
25
+ },
26
+ "parsed_output": {
27
+ "format": "jsonl_events",
28
+ "text_metrics": {
29
+ "chars": 584,
30
+ "bytes_utf8": 584,
31
+ "lines": 1,
32
+ "estimated_tokens": null
33
+ },
34
+ "usage": {
35
+ "input_tokens": 23124,
36
+ "cached_input_tokens": 12032,
37
+ "output_tokens": 617,
38
+ "reasoning_output_tokens": 441
39
+ }
40
+ },
41
+ "prompt_path": "cli/sql_prompt_attempt_1.txt",
42
+ "response_path": "cli/sql_response_attempt_1.txt",
43
+ "raw_response_path": "cli/sql_response_attempt_1.raw.txt",
44
+ "stderr_path": "cli/sql_stderr_attempt_1.txt"
45
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/sql_prompt_attempt_1.txt ADDED
@@ -0,0 +1,1130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are generating one SQLite SELECT query for a single-table SQL QA task.
2
+ Return strict JSON only, with this schema: {"sql": "...", "notes": "..."}.
3
+ Rules:
4
+ - Use only the provided table and columns.
5
+ - Do not write INSERT, UPDATE, DELETE, DROP, ALTER, CREATE, PRAGMA, ATTACH, DETACH, or VACUUM.
6
+ - Prefer the planned template and bound roles when provided.
7
+ - Add a leading SQL comment exactly like: -- template_id: <planned_template_id>.
8
+ - Generate SQLite-compatible SQL. SQLite does not support PERCENTILE_CONT or STDDEV.
9
+ - Quote identifiers with double quotes.
10
+ - Return no markdown and no extra prose.
11
+
12
+ Dataset context:
13
+ Dataset context for SQL QA:
14
+ - dataset_id: n15
15
+ - dataset_name: N15
16
+ - table_name: n15
17
+ - table_layout: single-table dataset (do not assume joins).
18
+ - row_semantics: One row is one tabular observation with 85 feature columns and target `ABYSTAND`.
19
+ - task_type: classification
20
+ - target_column: ABYSTAND
21
+ - main_row_count: 9822
22
+ - important_fields:
23
+ - MOSTYPE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSTYPE.
24
+ - MAANTHUI: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAANTHUI.
25
+ - MGEMOMV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMOMV.
26
+ - MGEMLEEF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMLEEF.
27
+ - MOSHOOFD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSHOOFD.
28
+ - MGODRK: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODRK.
29
+ - MGODPR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODPR.
30
+ - MGODOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODOV.
31
+ - MGODGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODGE.
32
+ - MRELGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELGE.
33
+ - MRELSA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELSA.
34
+ - MRELOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELOV.
35
+ - MFALLEEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFALLEEN.
36
+ - MFGEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFGEKIND.
37
+ - MFWEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFWEKIND.
38
+ - MOPLHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLHOOG.
39
+ - MOPLMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLMIDD.
40
+ - MOPLLAAG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLLAAG.
41
+ - MBERHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERHOOG.
42
+ - MBERZELF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERZELF.
43
+ - MBERBOER: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERBOER.
44
+ - MBERMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERMIDD.
45
+ - MBERARBG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBG.
46
+ - MBERARBO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBO.
47
+ - MSKA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKA.
48
+ - MSKB1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB1.
49
+ - MSKB2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB2.
50
+ - MSKC: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKC.
51
+ - MSKD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKD.
52
+ - MHHUUR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHHUUR.
53
+ - MHKOOP: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHKOOP.
54
+ - MAUT1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT1.
55
+ - MAUT2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT2.
56
+ - MAUT0: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT0.
57
+ - MZFONDS: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZFONDS.
58
+ - MZPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZPART.
59
+ - MINKM30: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKM30.
60
+ - MINK3045: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK3045.
61
+ - MINK4575: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK4575.
62
+ - MINK7512: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK7512.
63
+ - MINK123M: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK123M.
64
+ - MINKGEM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKGEM.
65
+ - MKOOPKLA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MKOOPKLA.
66
+ - PWAPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWAPART.
67
+ - PWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWABEDR.
68
+ - PWALAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWALAND.
69
+ - PPERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PPERSAUT.
70
+ - PBESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBESAUT.
71
+ - PMOTSCO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PMOTSCO.
72
+ - PVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PVRAAUT.
73
+ - PAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PAANHANG.
74
+ - PTRACTOR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PTRACTOR.
75
+ - PWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWERKT.
76
+ - PBROM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBROM.
77
+ - PLEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PLEVEN.
78
+ - PPERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPERSONG.
79
+ - PGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PGEZONG.
80
+ - PWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWAOREG.
81
+ - PBRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBRAND.
82
+ - PZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PZEILPL.
83
+ - PPLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPLEZIER.
84
+ - PFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PFIETS.
85
+ - PINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PINBOED.
86
+ - PBYSTAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBYSTAND.
87
+ - AWAPART: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAPART.
88
+ - AWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWABEDR.
89
+ - AWALAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWALAND.
90
+ - APERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for APERSAUT.
91
+ - ABESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABESAUT.
92
+ - AMOTSCO: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AMOTSCO.
93
+ - AVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AVRAAUT.
94
+ - AAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AAANHANG.
95
+ - ATRACTOR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ATRACTOR.
96
+ - AWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWERKT.
97
+ - ABROM: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABROM.
98
+ - ALEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ALEVEN.
99
+ - APERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APERSONG.
100
+ - AGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AGEZONG.
101
+ - AWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAOREG.
102
+ - ABRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ABRAND.
103
+ - AZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AZEILPL.
104
+ - APLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APLEZIER.
105
+ - AFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AFIETS.
106
+ - AINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AINBOED.
107
+ - ABYSTAND: role=target, type=binary_target. tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for ABYSTAND.
108
+ - CARAVAN: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for CARAVAN.
109
+ - useful_field_combinations: [['MOSTYPE', 'MAANTHUI', 'ABYSTAND'], ['MOSTYPE', 'MOSTYPE', 'ABYSTAND']]
110
+ - fields_requiring_caution: ['ABYSTAND']
111
+ - source_url: https://www.openml.org/d/298
112
+
113
+ SQLite schema snapshot:
114
+ {
115
+ "table_name": "n15",
116
+ "quoted_table_name": "\"n15\"",
117
+ "row_count": 9822,
118
+ "columns": [
119
+ {
120
+ "name": "MOSTYPE",
121
+ "type": "TEXT",
122
+ "notnull": false,
123
+ "pk": false
124
+ },
125
+ {
126
+ "name": "MAANTHUI",
127
+ "type": "TEXT",
128
+ "notnull": false,
129
+ "pk": false
130
+ },
131
+ {
132
+ "name": "MGEMOMV",
133
+ "type": "TEXT",
134
+ "notnull": false,
135
+ "pk": false
136
+ },
137
+ {
138
+ "name": "MGEMLEEF",
139
+ "type": "TEXT",
140
+ "notnull": false,
141
+ "pk": false
142
+ },
143
+ {
144
+ "name": "MOSHOOFD",
145
+ "type": "TEXT",
146
+ "notnull": false,
147
+ "pk": false
148
+ },
149
+ {
150
+ "name": "MGODRK",
151
+ "type": "TEXT",
152
+ "notnull": false,
153
+ "pk": false
154
+ },
155
+ {
156
+ "name": "MGODPR",
157
+ "type": "TEXT",
158
+ "notnull": false,
159
+ "pk": false
160
+ },
161
+ {
162
+ "name": "MGODOV",
163
+ "type": "TEXT",
164
+ "notnull": false,
165
+ "pk": false
166
+ },
167
+ {
168
+ "name": "MGODGE",
169
+ "type": "TEXT",
170
+ "notnull": false,
171
+ "pk": false
172
+ },
173
+ {
174
+ "name": "MRELGE",
175
+ "type": "TEXT",
176
+ "notnull": false,
177
+ "pk": false
178
+ },
179
+ {
180
+ "name": "MRELSA",
181
+ "type": "TEXT",
182
+ "notnull": false,
183
+ "pk": false
184
+ },
185
+ {
186
+ "name": "MRELOV",
187
+ "type": "TEXT",
188
+ "notnull": false,
189
+ "pk": false
190
+ },
191
+ {
192
+ "name": "MFALLEEN",
193
+ "type": "TEXT",
194
+ "notnull": false,
195
+ "pk": false
196
+ },
197
+ {
198
+ "name": "MFGEKIND",
199
+ "type": "TEXT",
200
+ "notnull": false,
201
+ "pk": false
202
+ },
203
+ {
204
+ "name": "MFWEKIND",
205
+ "type": "TEXT",
206
+ "notnull": false,
207
+ "pk": false
208
+ },
209
+ {
210
+ "name": "MOPLHOOG",
211
+ "type": "TEXT",
212
+ "notnull": false,
213
+ "pk": false
214
+ },
215
+ {
216
+ "name": "MOPLMIDD",
217
+ "type": "TEXT",
218
+ "notnull": false,
219
+ "pk": false
220
+ },
221
+ {
222
+ "name": "MOPLLAAG",
223
+ "type": "TEXT",
224
+ "notnull": false,
225
+ "pk": false
226
+ },
227
+ {
228
+ "name": "MBERHOOG",
229
+ "type": "TEXT",
230
+ "notnull": false,
231
+ "pk": false
232
+ },
233
+ {
234
+ "name": "MBERZELF",
235
+ "type": "TEXT",
236
+ "notnull": false,
237
+ "pk": false
238
+ },
239
+ {
240
+ "name": "MBERBOER",
241
+ "type": "TEXT",
242
+ "notnull": false,
243
+ "pk": false
244
+ },
245
+ {
246
+ "name": "MBERMIDD",
247
+ "type": "TEXT",
248
+ "notnull": false,
249
+ "pk": false
250
+ },
251
+ {
252
+ "name": "MBERARBG",
253
+ "type": "TEXT",
254
+ "notnull": false,
255
+ "pk": false
256
+ },
257
+ {
258
+ "name": "MBERARBO",
259
+ "type": "TEXT",
260
+ "notnull": false,
261
+ "pk": false
262
+ },
263
+ {
264
+ "name": "MSKA",
265
+ "type": "TEXT",
266
+ "notnull": false,
267
+ "pk": false
268
+ },
269
+ {
270
+ "name": "MSKB1",
271
+ "type": "TEXT",
272
+ "notnull": false,
273
+ "pk": false
274
+ },
275
+ {
276
+ "name": "MSKB2",
277
+ "type": "TEXT",
278
+ "notnull": false,
279
+ "pk": false
280
+ },
281
+ {
282
+ "name": "MSKC",
283
+ "type": "TEXT",
284
+ "notnull": false,
285
+ "pk": false
286
+ },
287
+ {
288
+ "name": "MSKD",
289
+ "type": "TEXT",
290
+ "notnull": false,
291
+ "pk": false
292
+ },
293
+ {
294
+ "name": "MHHUUR",
295
+ "type": "TEXT",
296
+ "notnull": false,
297
+ "pk": false
298
+ },
299
+ {
300
+ "name": "MHKOOP",
301
+ "type": "TEXT",
302
+ "notnull": false,
303
+ "pk": false
304
+ },
305
+ {
306
+ "name": "MAUT1",
307
+ "type": "TEXT",
308
+ "notnull": false,
309
+ "pk": false
310
+ },
311
+ {
312
+ "name": "MAUT2",
313
+ "type": "TEXT",
314
+ "notnull": false,
315
+ "pk": false
316
+ },
317
+ {
318
+ "name": "MAUT0",
319
+ "type": "TEXT",
320
+ "notnull": false,
321
+ "pk": false
322
+ },
323
+ {
324
+ "name": "MZFONDS",
325
+ "type": "TEXT",
326
+ "notnull": false,
327
+ "pk": false
328
+ },
329
+ {
330
+ "name": "MZPART",
331
+ "type": "TEXT",
332
+ "notnull": false,
333
+ "pk": false
334
+ },
335
+ {
336
+ "name": "MINKM30",
337
+ "type": "TEXT",
338
+ "notnull": false,
339
+ "pk": false
340
+ },
341
+ {
342
+ "name": "MINK3045",
343
+ "type": "TEXT",
344
+ "notnull": false,
345
+ "pk": false
346
+ },
347
+ {
348
+ "name": "MINK4575",
349
+ "type": "TEXT",
350
+ "notnull": false,
351
+ "pk": false
352
+ },
353
+ {
354
+ "name": "MINK7512",
355
+ "type": "TEXT",
356
+ "notnull": false,
357
+ "pk": false
358
+ },
359
+ {
360
+ "name": "MINK123M",
361
+ "type": "TEXT",
362
+ "notnull": false,
363
+ "pk": false
364
+ },
365
+ {
366
+ "name": "MINKGEM",
367
+ "type": "TEXT",
368
+ "notnull": false,
369
+ "pk": false
370
+ },
371
+ {
372
+ "name": "MKOOPKLA",
373
+ "type": "TEXT",
374
+ "notnull": false,
375
+ "pk": false
376
+ },
377
+ {
378
+ "name": "PWAPART",
379
+ "type": "TEXT",
380
+ "notnull": false,
381
+ "pk": false
382
+ },
383
+ {
384
+ "name": "PWABEDR",
385
+ "type": "TEXT",
386
+ "notnull": false,
387
+ "pk": false
388
+ },
389
+ {
390
+ "name": "PWALAND",
391
+ "type": "TEXT",
392
+ "notnull": false,
393
+ "pk": false
394
+ },
395
+ {
396
+ "name": "PPERSAUT",
397
+ "type": "TEXT",
398
+ "notnull": false,
399
+ "pk": false
400
+ },
401
+ {
402
+ "name": "PBESAUT",
403
+ "type": "TEXT",
404
+ "notnull": false,
405
+ "pk": false
406
+ },
407
+ {
408
+ "name": "PMOTSCO",
409
+ "type": "TEXT",
410
+ "notnull": false,
411
+ "pk": false
412
+ },
413
+ {
414
+ "name": "PVRAAUT",
415
+ "type": "TEXT",
416
+ "notnull": false,
417
+ "pk": false
418
+ },
419
+ {
420
+ "name": "PAANHANG",
421
+ "type": "TEXT",
422
+ "notnull": false,
423
+ "pk": false
424
+ },
425
+ {
426
+ "name": "PTRACTOR",
427
+ "type": "TEXT",
428
+ "notnull": false,
429
+ "pk": false
430
+ },
431
+ {
432
+ "name": "PWERKT",
433
+ "type": "TEXT",
434
+ "notnull": false,
435
+ "pk": false
436
+ },
437
+ {
438
+ "name": "PBROM",
439
+ "type": "TEXT",
440
+ "notnull": false,
441
+ "pk": false
442
+ },
443
+ {
444
+ "name": "PLEVEN",
445
+ "type": "TEXT",
446
+ "notnull": false,
447
+ "pk": false
448
+ },
449
+ {
450
+ "name": "PPERSONG",
451
+ "type": "TEXT",
452
+ "notnull": false,
453
+ "pk": false
454
+ },
455
+ {
456
+ "name": "PGEZONG",
457
+ "type": "TEXT",
458
+ "notnull": false,
459
+ "pk": false
460
+ },
461
+ {
462
+ "name": "PWAOREG",
463
+ "type": "TEXT",
464
+ "notnull": false,
465
+ "pk": false
466
+ },
467
+ {
468
+ "name": "PBRAND",
469
+ "type": "TEXT",
470
+ "notnull": false,
471
+ "pk": false
472
+ },
473
+ {
474
+ "name": "PZEILPL",
475
+ "type": "TEXT",
476
+ "notnull": false,
477
+ "pk": false
478
+ },
479
+ {
480
+ "name": "PPLEZIER",
481
+ "type": "TEXT",
482
+ "notnull": false,
483
+ "pk": false
484
+ },
485
+ {
486
+ "name": "PFIETS",
487
+ "type": "TEXT",
488
+ "notnull": false,
489
+ "pk": false
490
+ },
491
+ {
492
+ "name": "PINBOED",
493
+ "type": "TEXT",
494
+ "notnull": false,
495
+ "pk": false
496
+ },
497
+ {
498
+ "name": "PBYSTAND",
499
+ "type": "TEXT",
500
+ "notnull": false,
501
+ "pk": false
502
+ },
503
+ {
504
+ "name": "AWAPART",
505
+ "type": "TEXT",
506
+ "notnull": false,
507
+ "pk": false
508
+ },
509
+ {
510
+ "name": "AWABEDR",
511
+ "type": "TEXT",
512
+ "notnull": false,
513
+ "pk": false
514
+ },
515
+ {
516
+ "name": "AWALAND",
517
+ "type": "TEXT",
518
+ "notnull": false,
519
+ "pk": false
520
+ },
521
+ {
522
+ "name": "APERSAUT",
523
+ "type": "TEXT",
524
+ "notnull": false,
525
+ "pk": false
526
+ },
527
+ {
528
+ "name": "ABESAUT",
529
+ "type": "TEXT",
530
+ "notnull": false,
531
+ "pk": false
532
+ },
533
+ {
534
+ "name": "AMOTSCO",
535
+ "type": "TEXT",
536
+ "notnull": false,
537
+ "pk": false
538
+ },
539
+ {
540
+ "name": "AVRAAUT",
541
+ "type": "TEXT",
542
+ "notnull": false,
543
+ "pk": false
544
+ },
545
+ {
546
+ "name": "AAANHANG",
547
+ "type": "TEXT",
548
+ "notnull": false,
549
+ "pk": false
550
+ },
551
+ {
552
+ "name": "ATRACTOR",
553
+ "type": "TEXT",
554
+ "notnull": false,
555
+ "pk": false
556
+ },
557
+ {
558
+ "name": "AWERKT",
559
+ "type": "TEXT",
560
+ "notnull": false,
561
+ "pk": false
562
+ },
563
+ {
564
+ "name": "ABROM",
565
+ "type": "TEXT",
566
+ "notnull": false,
567
+ "pk": false
568
+ },
569
+ {
570
+ "name": "ALEVEN",
571
+ "type": "TEXT",
572
+ "notnull": false,
573
+ "pk": false
574
+ },
575
+ {
576
+ "name": "APERSONG",
577
+ "type": "TEXT",
578
+ "notnull": false,
579
+ "pk": false
580
+ },
581
+ {
582
+ "name": "AGEZONG",
583
+ "type": "TEXT",
584
+ "notnull": false,
585
+ "pk": false
586
+ },
587
+ {
588
+ "name": "AWAOREG",
589
+ "type": "TEXT",
590
+ "notnull": false,
591
+ "pk": false
592
+ },
593
+ {
594
+ "name": "ABRAND",
595
+ "type": "TEXT",
596
+ "notnull": false,
597
+ "pk": false
598
+ },
599
+ {
600
+ "name": "AZEILPL",
601
+ "type": "TEXT",
602
+ "notnull": false,
603
+ "pk": false
604
+ },
605
+ {
606
+ "name": "APLEZIER",
607
+ "type": "TEXT",
608
+ "notnull": false,
609
+ "pk": false
610
+ },
611
+ {
612
+ "name": "AFIETS",
613
+ "type": "TEXT",
614
+ "notnull": false,
615
+ "pk": false
616
+ },
617
+ {
618
+ "name": "AINBOED",
619
+ "type": "TEXT",
620
+ "notnull": false,
621
+ "pk": false
622
+ },
623
+ {
624
+ "name": "ABYSTAND",
625
+ "type": "TEXT",
626
+ "notnull": false,
627
+ "pk": false
628
+ },
629
+ {
630
+ "name": "CARAVAN",
631
+ "type": "TEXT",
632
+ "notnull": false,
633
+ "pk": false
634
+ }
635
+ ],
636
+ "sample_rows": [
637
+ {
638
+ "MOSTYPE": "33",
639
+ "MAANTHUI": "1",
640
+ "MGEMOMV": "3",
641
+ "MGEMLEEF": "2",
642
+ "MOSHOOFD": "8",
643
+ "MGODRK": "0",
644
+ "MGODPR": "5",
645
+ "MGODOV": "1",
646
+ "MGODGE": "3",
647
+ "MRELGE": "7",
648
+ "MRELSA": "0",
649
+ "MRELOV": "2",
650
+ "MFALLEEN": "1",
651
+ "MFGEKIND": "2",
652
+ "MFWEKIND": "6",
653
+ "MOPLHOOG": "1",
654
+ "MOPLMIDD": "2",
655
+ "MOPLLAAG": "7",
656
+ "MBERHOOG": "1",
657
+ "MBERZELF": "0",
658
+ "MBERBOER": "1",
659
+ "MBERMIDD": "2",
660
+ "MBERARBG": "5",
661
+ "MBERARBO": "2",
662
+ "MSKA": "1",
663
+ "MSKB1": "1",
664
+ "MSKB2": "2",
665
+ "MSKC": "6",
666
+ "MSKD": "1",
667
+ "MHHUUR": "1",
668
+ "MHKOOP": "8",
669
+ "MAUT1": "8",
670
+ "MAUT2": "0",
671
+ "MAUT0": "1",
672
+ "MZFONDS": "8",
673
+ "MZPART": "1",
674
+ "MINKM30": "0",
675
+ "MINK3045": "4",
676
+ "MINK4575": "5",
677
+ "MINK7512": "0",
678
+ "MINK123M": "0",
679
+ "MINKGEM": "4",
680
+ "MKOOPKLA": "3",
681
+ "PWAPART": "0",
682
+ "PWABEDR": "0",
683
+ "PWALAND": "0",
684
+ "PPERSAUT": "6",
685
+ "PBESAUT": "0",
686
+ "PMOTSCO": "0",
687
+ "PVRAAUT": "0",
688
+ "PAANHANG": "0",
689
+ "PTRACTOR": "0",
690
+ "PWERKT": "0",
691
+ "PBROM": "0",
692
+ "PLEVEN": "0",
693
+ "PPERSONG": "0",
694
+ "PGEZONG": "0",
695
+ "PWAOREG": "0",
696
+ "PBRAND": "5",
697
+ "PZEILPL": "0",
698
+ "PPLEZIER": "0",
699
+ "PFIETS": "0",
700
+ "PINBOED": "0",
701
+ "PBYSTAND": "0",
702
+ "AWAPART": "0",
703
+ "AWABEDR": "0",
704
+ "AWALAND": "0",
705
+ "APERSAUT": "1",
706
+ "ABESAUT": "0",
707
+ "AMOTSCO": "0",
708
+ "AVRAAUT": "0",
709
+ "AAANHANG": "0",
710
+ "ATRACTOR": "0",
711
+ "AWERKT": "0",
712
+ "ABROM": "0",
713
+ "ALEVEN": "0",
714
+ "APERSONG": "0",
715
+ "AGEZONG": "0",
716
+ "AWAOREG": "0",
717
+ "ABRAND": "1",
718
+ "AZEILPL": "0",
719
+ "APLEZIER": "0",
720
+ "AFIETS": "0",
721
+ "AINBOED": "0",
722
+ "ABYSTAND": "0",
723
+ "CARAVAN": "0"
724
+ },
725
+ {
726
+ "MOSTYPE": "37",
727
+ "MAANTHUI": "1",
728
+ "MGEMOMV": "2",
729
+ "MGEMLEEF": "2",
730
+ "MOSHOOFD": "8",
731
+ "MGODRK": "1",
732
+ "MGODPR": "4",
733
+ "MGODOV": "1",
734
+ "MGODGE": "4",
735
+ "MRELGE": "6",
736
+ "MRELSA": "2",
737
+ "MRELOV": "2",
738
+ "MFALLEEN": "0",
739
+ "MFGEKIND": "4",
740
+ "MFWEKIND": "5",
741
+ "MOPLHOOG": "0",
742
+ "MOPLMIDD": "5",
743
+ "MOPLLAAG": "4",
744
+ "MBERHOOG": "0",
745
+ "MBERZELF": "0",
746
+ "MBERBOER": "0",
747
+ "MBERMIDD": "5",
748
+ "MBERARBG": "0",
749
+ "MBERARBO": "4",
750
+ "MSKA": "0",
751
+ "MSKB1": "2",
752
+ "MSKB2": "3",
753
+ "MSKC": "5",
754
+ "MSKD": "0",
755
+ "MHHUUR": "2",
756
+ "MHKOOP": "7",
757
+ "MAUT1": "7",
758
+ "MAUT2": "1",
759
+ "MAUT0": "2",
760
+ "MZFONDS": "6",
761
+ "MZPART": "3",
762
+ "MINKM30": "2",
763
+ "MINK3045": "0",
764
+ "MINK4575": "5",
765
+ "MINK7512": "2",
766
+ "MINK123M": "0",
767
+ "MINKGEM": "5",
768
+ "MKOOPKLA": "4",
769
+ "PWAPART": "2",
770
+ "PWABEDR": "0",
771
+ "PWALAND": "0",
772
+ "PPERSAUT": "0",
773
+ "PBESAUT": "0",
774
+ "PMOTSCO": "0",
775
+ "PVRAAUT": "0",
776
+ "PAANHANG": "0",
777
+ "PTRACTOR": "0",
778
+ "PWERKT": "0",
779
+ "PBROM": "0",
780
+ "PLEVEN": "0",
781
+ "PPERSONG": "0",
782
+ "PGEZONG": "0",
783
+ "PWAOREG": "0",
784
+ "PBRAND": "2",
785
+ "PZEILPL": "0",
786
+ "PPLEZIER": "0",
787
+ "PFIETS": "0",
788
+ "PINBOED": "0",
789
+ "PBYSTAND": "0",
790
+ "AWAPART": "2",
791
+ "AWABEDR": "0",
792
+ "AWALAND": "0",
793
+ "APERSAUT": "0",
794
+ "ABESAUT": "0",
795
+ "AMOTSCO": "0",
796
+ "AVRAAUT": "0",
797
+ "AAANHANG": "0",
798
+ "ATRACTOR": "0",
799
+ "AWERKT": "0",
800
+ "ABROM": "0",
801
+ "ALEVEN": "0",
802
+ "APERSONG": "0",
803
+ "AGEZONG": "0",
804
+ "AWAOREG": "0",
805
+ "ABRAND": "1",
806
+ "AZEILPL": "0",
807
+ "APLEZIER": "0",
808
+ "AFIETS": "0",
809
+ "AINBOED": "0",
810
+ "ABYSTAND": "0",
811
+ "CARAVAN": "0"
812
+ },
813
+ {
814
+ "MOSTYPE": "37",
815
+ "MAANTHUI": "1",
816
+ "MGEMOMV": "2",
817
+ "MGEMLEEF": "2",
818
+ "MOSHOOFD": "8",
819
+ "MGODRK": "0",
820
+ "MGODPR": "4",
821
+ "MGODOV": "2",
822
+ "MGODGE": "4",
823
+ "MRELGE": "3",
824
+ "MRELSA": "2",
825
+ "MRELOV": "4",
826
+ "MFALLEEN": "4",
827
+ "MFGEKIND": "4",
828
+ "MFWEKIND": "2",
829
+ "MOPLHOOG": "0",
830
+ "MOPLMIDD": "5",
831
+ "MOPLLAAG": "4",
832
+ "MBERHOOG": "0",
833
+ "MBERZELF": "0",
834
+ "MBERBOER": "0",
835
+ "MBERMIDD": "7",
836
+ "MBERARBG": "0",
837
+ "MBERARBO": "2",
838
+ "MSKA": "0",
839
+ "MSKB1": "5",
840
+ "MSKB2": "0",
841
+ "MSKC": "4",
842
+ "MSKD": "0",
843
+ "MHHUUR": "7",
844
+ "MHKOOP": "2",
845
+ "MAUT1": "7",
846
+ "MAUT2": "0",
847
+ "MAUT0": "2",
848
+ "MZFONDS": "9",
849
+ "MZPART": "0",
850
+ "MINKM30": "4",
851
+ "MINK3045": "5",
852
+ "MINK4575": "0",
853
+ "MINK7512": "0",
854
+ "MINK123M": "0",
855
+ "MINKGEM": "3",
856
+ "MKOOPKLA": "4",
857
+ "PWAPART": "2",
858
+ "PWABEDR": "0",
859
+ "PWALAND": "0",
860
+ "PPERSAUT": "6",
861
+ "PBESAUT": "0",
862
+ "PMOTSCO": "0",
863
+ "PVRAAUT": "0",
864
+ "PAANHANG": "0",
865
+ "PTRACTOR": "0",
866
+ "PWERKT": "0",
867
+ "PBROM": "0",
868
+ "PLEVEN": "0",
869
+ "PPERSONG": "0",
870
+ "PGEZONG": "0",
871
+ "PWAOREG": "0",
872
+ "PBRAND": "2",
873
+ "PZEILPL": "0",
874
+ "PPLEZIER": "0",
875
+ "PFIETS": "0",
876
+ "PINBOED": "0",
877
+ "PBYSTAND": "0",
878
+ "AWAPART": "1",
879
+ "AWABEDR": "0",
880
+ "AWALAND": "0",
881
+ "APERSAUT": "1",
882
+ "ABESAUT": "0",
883
+ "AMOTSCO": "0",
884
+ "AVRAAUT": "0",
885
+ "AAANHANG": "0",
886
+ "ATRACTOR": "0",
887
+ "AWERKT": "0",
888
+ "ABROM": "0",
889
+ "ALEVEN": "0",
890
+ "APERSONG": "0",
891
+ "AGEZONG": "0",
892
+ "AWAOREG": "0",
893
+ "ABRAND": "1",
894
+ "AZEILPL": "0",
895
+ "APLEZIER": "0",
896
+ "AFIETS": "0",
897
+ "AINBOED": "0",
898
+ "ABYSTAND": "0",
899
+ "CARAVAN": "0"
900
+ },
901
+ {
902
+ "MOSTYPE": "9",
903
+ "MAANTHUI": "1",
904
+ "MGEMOMV": "3",
905
+ "MGEMLEEF": "3",
906
+ "MOSHOOFD": "3",
907
+ "MGODRK": "2",
908
+ "MGODPR": "3",
909
+ "MGODOV": "2",
910
+ "MGODGE": "4",
911
+ "MRELGE": "5",
912
+ "MRELSA": "2",
913
+ "MRELOV": "2",
914
+ "MFALLEEN": "2",
915
+ "MFGEKIND": "3",
916
+ "MFWEKIND": "4",
917
+ "MOPLHOOG": "3",
918
+ "MOPLMIDD": "4",
919
+ "MOPLLAAG": "2",
920
+ "MBERHOOG": "4",
921
+ "MBERZELF": "0",
922
+ "MBERBOER": "0",
923
+ "MBERMIDD": "3",
924
+ "MBERARBG": "1",
925
+ "MBERARBO": "2",
926
+ "MSKA": "3",
927
+ "MSKB1": "2",
928
+ "MSKB2": "1",
929
+ "MSKC": "4",
930
+ "MSKD": "0",
931
+ "MHHUUR": "5",
932
+ "MHKOOP": "4",
933
+ "MAUT1": "9",
934
+ "MAUT2": "0",
935
+ "MAUT0": "0",
936
+ "MZFONDS": "7",
937
+ "MZPART": "2",
938
+ "MINKM30": "1",
939
+ "MINK3045": "5",
940
+ "MINK4575": "3",
941
+ "MINK7512": "0",
942
+ "MINK123M": "0",
943
+ "MINKGEM": "4",
944
+ "MKOOPKLA": "4",
945
+ "PWAPART": "0",
946
+ "PWABEDR": "0",
947
+ "PWALAND": "0",
948
+ "PPERSAUT": "6",
949
+ "PBESAUT": "0",
950
+ "PMOTSCO": "0",
951
+ "PVRAAUT": "0",
952
+ "PAANHANG": "0",
953
+ "PTRACTOR": "0",
954
+ "PWERKT": "0",
955
+ "PBROM": "0",
956
+ "PLEVEN": "0",
957
+ "PPERSONG": "0",
958
+ "PGEZONG": "0",
959
+ "PWAOREG": "0",
960
+ "PBRAND": "2",
961
+ "PZEILPL": "0",
962
+ "PPLEZIER": "0",
963
+ "PFIETS": "0",
964
+ "PINBOED": "0",
965
+ "PBYSTAND": "0",
966
+ "AWAPART": "0",
967
+ "AWABEDR": "0",
968
+ "AWALAND": "0",
969
+ "APERSAUT": "1",
970
+ "ABESAUT": "0",
971
+ "AMOTSCO": "0",
972
+ "AVRAAUT": "0",
973
+ "AAANHANG": "0",
974
+ "ATRACTOR": "0",
975
+ "AWERKT": "0",
976
+ "ABROM": "0",
977
+ "ALEVEN": "0",
978
+ "APERSONG": "0",
979
+ "AGEZONG": "0",
980
+ "AWAOREG": "0",
981
+ "ABRAND": "1",
982
+ "AZEILPL": "0",
983
+ "APLEZIER": "0",
984
+ "AFIETS": "0",
985
+ "AINBOED": "0",
986
+ "ABYSTAND": "0",
987
+ "CARAVAN": "0"
988
+ },
989
+ {
990
+ "MOSTYPE": "40",
991
+ "MAANTHUI": "1",
992
+ "MGEMOMV": "4",
993
+ "MGEMLEEF": "2",
994
+ "MOSHOOFD": "10",
995
+ "MGODRK": "1",
996
+ "MGODPR": "4",
997
+ "MGODOV": "1",
998
+ "MGODGE": "4",
999
+ "MRELGE": "7",
1000
+ "MRELSA": "1",
1001
+ "MRELOV": "2",
1002
+ "MFALLEEN": "2",
1003
+ "MFGEKIND": "4",
1004
+ "MFWEKIND": "4",
1005
+ "MOPLHOOG": "5",
1006
+ "MOPLMIDD": "4",
1007
+ "MOPLLAAG": "0",
1008
+ "MBERHOOG": "0",
1009
+ "MBERZELF": "5",
1010
+ "MBERBOER": "4",
1011
+ "MBERMIDD": "0",
1012
+ "MBERARBG": "0",
1013
+ "MBERARBO": "0",
1014
+ "MSKA": "9",
1015
+ "MSKB1": "0",
1016
+ "MSKB2": "0",
1017
+ "MSKC": "0",
1018
+ "MSKD": "0",
1019
+ "MHHUUR": "4",
1020
+ "MHKOOP": "5",
1021
+ "MAUT1": "6",
1022
+ "MAUT2": "2",
1023
+ "MAUT0": "1",
1024
+ "MZFONDS": "5",
1025
+ "MZPART": "4",
1026
+ "MINKM30": "0",
1027
+ "MINK3045": "0",
1028
+ "MINK4575": "9",
1029
+ "MINK7512": "0",
1030
+ "MINK123M": "0",
1031
+ "MINKGEM": "6",
1032
+ "MKOOPKLA": "3",
1033
+ "PWAPART": "0",
1034
+ "PWABEDR": "0",
1035
+ "PWALAND": "0",
1036
+ "PPERSAUT": "0",
1037
+ "PBESAUT": "0",
1038
+ "PMOTSCO": "0",
1039
+ "PVRAAUT": "0",
1040
+ "PAANHANG": "0",
1041
+ "PTRACTOR": "0",
1042
+ "PWERKT": "0",
1043
+ "PBROM": "0",
1044
+ "PLEVEN": "0",
1045
+ "PPERSONG": "0",
1046
+ "PGEZONG": "0",
1047
+ "PWAOREG": "0",
1048
+ "PBRAND": "6",
1049
+ "PZEILPL": "0",
1050
+ "PPLEZIER": "0",
1051
+ "PFIETS": "0",
1052
+ "PINBOED": "0",
1053
+ "PBYSTAND": "0",
1054
+ "AWAPART": "0",
1055
+ "AWABEDR": "0",
1056
+ "AWALAND": "0",
1057
+ "APERSAUT": "0",
1058
+ "ABESAUT": "0",
1059
+ "AMOTSCO": "0",
1060
+ "AVRAAUT": "0",
1061
+ "AAANHANG": "0",
1062
+ "ATRACTOR": "0",
1063
+ "AWERKT": "0",
1064
+ "ABROM": "0",
1065
+ "ALEVEN": "0",
1066
+ "APERSONG": "0",
1067
+ "AGEZONG": "0",
1068
+ "AWAOREG": "0",
1069
+ "ABRAND": "1",
1070
+ "AZEILPL": "0",
1071
+ "APLEZIER": "0",
1072
+ "AFIETS": "0",
1073
+ "AINBOED": "0",
1074
+ "ABYSTAND": "0",
1075
+ "CARAVAN": "0"
1076
+ }
1077
+ ]
1078
+ }
1079
+
1080
+ Shortlisted templates:
1081
+ [
1082
+ {
1083
+ "template_id": "tpl_tpcds_within_group_share",
1084
+ "template_name": "Within-Group Share of Total",
1085
+ "primary_family": "conditional_dependency_structure",
1086
+ "portability": "partial",
1087
+ "sql_skeleton": "SELECT {group_col}, {item_col},\n SUM({measure_col}) AS total_measure,\n SUM({measure_col}) * 100.0 / SUM(SUM({measure_col})) OVER (PARTITION BY {group_col}) AS share_within_group\nFROM {table}\nGROUP BY {group_col}, {item_col}\nORDER BY share_within_group DESC;",
1088
+ "required_roles": [
1089
+ "group_col",
1090
+ "item_col",
1091
+ "measure_col"
1092
+ ]
1093
+ }
1094
+ ]
1095
+
1096
+ Problem instance:
1097
+ {
1098
+ "dataset_id": "n15",
1099
+ "question": "Use template Within-Group Share of Total to probe dependency_strength_similarity with semantic role focused_target_view. Focus on group_col=MZFONDS, measure_col=MZFONDS.",
1100
+ "planned_template_id": "tpl_tpcds_within_group_share",
1101
+ "bindings": {
1102
+ "group_col": "MZFONDS",
1103
+ "measure_col": "MZFONDS",
1104
+ "item_col": "MOSTYPE",
1105
+ "top_k": 19,
1106
+ "top_n": 6,
1107
+ "num_tiles": 10,
1108
+ "percentile_value": 0.9,
1109
+ "z_threshold": 2.0,
1110
+ "fraction_threshold": 0.05,
1111
+ "baseline_multiplier": 1.75,
1112
+ "baseline_fraction": 0.1,
1113
+ "min_group_size": 5,
1114
+ "min_support": 4,
1115
+ "measure_threshold": 6.64,
1116
+ "time_grain": "month",
1117
+ "lookback_rows": 3,
1118
+ "current_period_start": "'2024-01-01'",
1119
+ "current_period_end": "'2024-04-01'",
1120
+ "previous_period_start": "'2023-10-01'",
1121
+ "previous_period_end": "'2024-01-01'",
1122
+ "drift_ratio_threshold": 0.8
1123
+ },
1124
+ "can_vary": [],
1125
+ "must_fix": [],
1126
+ "runtime_sql_skeleton": "SELECT {group_col}, {item_col},\n SUM({measure_col}) AS total_measure,\n SUM({measure_col}) * 100.0 / SUM(SUM({measure_col})) OVER (PARTITION BY {group_col}) AS share_within_group\nFROM {table}\nGROUP BY {group_col}, {item_col}\nORDER BY share_within_group DESC;"
1127
+ }
1128
+
1129
+ Repair context:
1130
+ {}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/sql_response_attempt_1.raw.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {"type":"thread.started","thread_id":"019e40e6-31ad-73d0-a1b9-5b63c994840c"}
2
+ {"type":"turn.started"}
3
+ {"type":"error","message":"Reconnecting... 2/5 (stream disconnected before completion: Rate limit reached for gpt-5.4 in organization org-yXK0mBGOR7eXhtGEx8v7e3bf on tokens per min (TPM): Limit 2000000, Used 1991379, Requested 23759. Please try again in 454ms. Visit https://platform.openai.com/account/rate-limits to learn more.)"}
4
+ {"type":"item.completed","item":{"id":"item_0","type":"agent_message","text":"{\"sql\":\"-- template_id: tpl_tpcds_within_group_share\\nSELECT \\\"MZFONDS\\\", \\\"MOSTYPE\\\",\\n SUM(CAST(\\\"MZFONDS\\\" AS REAL)) AS total_measure,\\n SUM(CAST(\\\"MZFONDS\\\" AS REAL)) * 100.0 / SUM(SUM(CAST(\\\"MZFONDS\\\" AS REAL))) OVER (PARTITION BY \\\"MZFONDS\\\") AS share_within_group\\nFROM \\\"n15\\\"\\nGROUP BY \\\"MZFONDS\\\", \\\"MOSTYPE\\\"\\nORDER BY share_within_group DESC;\",\"notes\":\"Applied the provided template with group_col=\\\"MZFONDS\\\", item_col=\\\"MOSTYPE\\\", and measure_col=\\\"MZFONDS\\\". Because \\\"MZFONDS\\\" is stored as TEXT in SQLite, the measure is cast to REAL before aggregation.\"}"}}
5
+ {"type":"turn.completed","usage":{"input_tokens":23124,"cached_input_tokens":12032,"output_tokens":617,"reasoning_output_tokens":441}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/sql_response_attempt_1.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ {"sql":"-- template_id: tpl_tpcds_within_group_share\nSELECT \"MZFONDS\", \"MOSTYPE\",\n SUM(CAST(\"MZFONDS\" AS REAL)) AS total_measure,\n SUM(CAST(\"MZFONDS\" AS REAL)) * 100.0 / SUM(SUM(CAST(\"MZFONDS\" AS REAL))) OVER (PARTITION BY \"MZFONDS\") AS share_within_group\nFROM \"n15\"\nGROUP BY \"MZFONDS\", \"MOSTYPE\"\nORDER BY share_within_group DESC;","notes":"Applied the provided template with group_col=\"MZFONDS\", item_col=\"MOSTYPE\", and measure_col=\"MZFONDS\". Because \"MZFONDS\" is stored as TEXT in SQLite, the measure is cast to REAL before aggregation."}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_096d543fdafd9a01/cli/sql_stderr_attempt_1.txt ADDED
File without changes
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/conversation.jsonl ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"attempt": 1, "phase": "sql_generation", "role": "user", "content_path": "cli/sql_prompt_attempt_1.txt", "metrics": {"chars": 33262, "bytes_utf8": 33262, "lines": 1128, "estimated_tokens": null}}
2
+ {"attempt": 1, "phase": "sql_generation", "role": "assistant", "content_path": "cli/sql_response_attempt_1.txt", "raw_content_path": "cli/sql_response_attempt_1.raw.txt", "stderr_path": "cli/sql_stderr_attempt_1.txt", "metrics": {"chars": 1830, "bytes_utf8": 1830, "lines": 1, "estimated_tokens": null}, "usage": {"input_tokens": 23047, "cached_input_tokens": 12032, "output_tokens": 2806, "reasoning_output_tokens": 2158}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/session_summary.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "engine": "v2-cli:codex",
3
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
4
+ "ai_cli_calls": 1,
5
+ "usage_summary": {
6
+ "dataset_id": "n15",
7
+ "model": "v2-cli:codex",
8
+ "run_id": "v2q_n15_09d85e0072607f12",
9
+ "api_calls": 0,
10
+ "input_tokens": 23047,
11
+ "cached_input_tokens": 12032,
12
+ "output_tokens": 2806,
13
+ "total_tokens": 25853,
14
+ "cost_usd": 0.0,
15
+ "ai_cli_calls": 1,
16
+ "estimated_input_tokens": 0,
17
+ "estimated_output_tokens": 0,
18
+ "estimated_total_tokens": 0,
19
+ "usage_source": "ai_cli_json_usage",
20
+ "cli_elapsed_ms_total": 46796.28,
21
+ "sql_execution_elapsed_ms_total": 37.44,
22
+ "conversation_log_path": "/data/jialinzhang/TabQueryBench/sql_workloads/v2_current/runs_and_launches/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/conversation.jsonl",
23
+ "note": "Executed through a local AI CLI with structured usage metadata."
24
+ }
25
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/sql_attempt_1.metadata.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attempt": 1,
3
+ "phase": "sql_generation",
4
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
5
+ "started_at": "2026-05-19T16:05:26.649306+00:00",
6
+ "ended_at": "2026-05-19T16:06:13.445631+00:00",
7
+ "elapsed_ms": 46796.28,
8
+ "prompt_metrics": {
9
+ "chars": 33262,
10
+ "bytes_utf8": 33262,
11
+ "lines": 1128,
12
+ "estimated_tokens": null
13
+ },
14
+ "stdout_metrics": {
15
+ "chars": 2455,
16
+ "bytes_utf8": 2455,
17
+ "lines": 4,
18
+ "estimated_tokens": null
19
+ },
20
+ "stderr_metrics": {
21
+ "chars": 0,
22
+ "bytes_utf8": 0,
23
+ "lines": 0,
24
+ "estimated_tokens": null
25
+ },
26
+ "parsed_output": {
27
+ "format": "jsonl_events",
28
+ "text_metrics": {
29
+ "chars": 1830,
30
+ "bytes_utf8": 1830,
31
+ "lines": 1,
32
+ "estimated_tokens": null
33
+ },
34
+ "usage": {
35
+ "input_tokens": 23047,
36
+ "cached_input_tokens": 12032,
37
+ "output_tokens": 2806,
38
+ "reasoning_output_tokens": 2158
39
+ }
40
+ },
41
+ "prompt_path": "cli/sql_prompt_attempt_1.txt",
42
+ "response_path": "cli/sql_response_attempt_1.txt",
43
+ "raw_response_path": "cli/sql_response_attempt_1.raw.txt",
44
+ "stderr_path": "cli/sql_stderr_attempt_1.txt"
45
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/sql_prompt_attempt_1.txt ADDED
@@ -0,0 +1,1128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are generating one SQLite SELECT query for a single-table SQL QA task.
2
+ Return strict JSON only, with this schema: {"sql": "...", "notes": "..."}.
3
+ Rules:
4
+ - Use only the provided table and columns.
5
+ - Do not write INSERT, UPDATE, DELETE, DROP, ALTER, CREATE, PRAGMA, ATTACH, DETACH, or VACUUM.
6
+ - Prefer the planned template and bound roles when provided.
7
+ - Add a leading SQL comment exactly like: -- template_id: <planned_template_id>.
8
+ - Generate SQLite-compatible SQL. SQLite does not support PERCENTILE_CONT or STDDEV.
9
+ - Quote identifiers with double quotes.
10
+ - Return no markdown and no extra prose.
11
+
12
+ Dataset context:
13
+ Dataset context for SQL QA:
14
+ - dataset_id: n15
15
+ - dataset_name: N15
16
+ - table_name: n15
17
+ - table_layout: single-table dataset (do not assume joins).
18
+ - row_semantics: One row is one tabular observation with 85 feature columns and target `ABYSTAND`.
19
+ - task_type: classification
20
+ - target_column: ABYSTAND
21
+ - main_row_count: 9822
22
+ - important_fields:
23
+ - MOSTYPE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSTYPE.
24
+ - MAANTHUI: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAANTHUI.
25
+ - MGEMOMV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMOMV.
26
+ - MGEMLEEF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMLEEF.
27
+ - MOSHOOFD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSHOOFD.
28
+ - MGODRK: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODRK.
29
+ - MGODPR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODPR.
30
+ - MGODOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODOV.
31
+ - MGODGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODGE.
32
+ - MRELGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELGE.
33
+ - MRELSA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELSA.
34
+ - MRELOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELOV.
35
+ - MFALLEEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFALLEEN.
36
+ - MFGEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFGEKIND.
37
+ - MFWEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFWEKIND.
38
+ - MOPLHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLHOOG.
39
+ - MOPLMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLMIDD.
40
+ - MOPLLAAG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLLAAG.
41
+ - MBERHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERHOOG.
42
+ - MBERZELF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERZELF.
43
+ - MBERBOER: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERBOER.
44
+ - MBERMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERMIDD.
45
+ - MBERARBG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBG.
46
+ - MBERARBO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBO.
47
+ - MSKA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKA.
48
+ - MSKB1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB1.
49
+ - MSKB2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB2.
50
+ - MSKC: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKC.
51
+ - MSKD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKD.
52
+ - MHHUUR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHHUUR.
53
+ - MHKOOP: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHKOOP.
54
+ - MAUT1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT1.
55
+ - MAUT2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT2.
56
+ - MAUT0: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT0.
57
+ - MZFONDS: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZFONDS.
58
+ - MZPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZPART.
59
+ - MINKM30: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKM30.
60
+ - MINK3045: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK3045.
61
+ - MINK4575: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK4575.
62
+ - MINK7512: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK7512.
63
+ - MINK123M: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK123M.
64
+ - MINKGEM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKGEM.
65
+ - MKOOPKLA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MKOOPKLA.
66
+ - PWAPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWAPART.
67
+ - PWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWABEDR.
68
+ - PWALAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWALAND.
69
+ - PPERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PPERSAUT.
70
+ - PBESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBESAUT.
71
+ - PMOTSCO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PMOTSCO.
72
+ - PVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PVRAAUT.
73
+ - PAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PAANHANG.
74
+ - PTRACTOR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PTRACTOR.
75
+ - PWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWERKT.
76
+ - PBROM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBROM.
77
+ - PLEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PLEVEN.
78
+ - PPERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPERSONG.
79
+ - PGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PGEZONG.
80
+ - PWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWAOREG.
81
+ - PBRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBRAND.
82
+ - PZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PZEILPL.
83
+ - PPLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPLEZIER.
84
+ - PFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PFIETS.
85
+ - PINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PINBOED.
86
+ - PBYSTAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBYSTAND.
87
+ - AWAPART: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAPART.
88
+ - AWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWABEDR.
89
+ - AWALAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWALAND.
90
+ - APERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for APERSAUT.
91
+ - ABESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABESAUT.
92
+ - AMOTSCO: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AMOTSCO.
93
+ - AVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AVRAAUT.
94
+ - AAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AAANHANG.
95
+ - ATRACTOR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ATRACTOR.
96
+ - AWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWERKT.
97
+ - ABROM: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABROM.
98
+ - ALEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ALEVEN.
99
+ - APERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APERSONG.
100
+ - AGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AGEZONG.
101
+ - AWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAOREG.
102
+ - ABRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ABRAND.
103
+ - AZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AZEILPL.
104
+ - APLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APLEZIER.
105
+ - AFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AFIETS.
106
+ - AINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AINBOED.
107
+ - ABYSTAND: role=target, type=binary_target. tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for ABYSTAND.
108
+ - CARAVAN: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for CARAVAN.
109
+ - useful_field_combinations: [['MOSTYPE', 'MAANTHUI', 'ABYSTAND'], ['MOSTYPE', 'MOSTYPE', 'ABYSTAND']]
110
+ - fields_requiring_caution: ['ABYSTAND']
111
+ - source_url: https://www.openml.org/d/298
112
+
113
+ SQLite schema snapshot:
114
+ {
115
+ "table_name": "n15",
116
+ "quoted_table_name": "\"n15\"",
117
+ "row_count": 9822,
118
+ "columns": [
119
+ {
120
+ "name": "MOSTYPE",
121
+ "type": "TEXT",
122
+ "notnull": false,
123
+ "pk": false
124
+ },
125
+ {
126
+ "name": "MAANTHUI",
127
+ "type": "TEXT",
128
+ "notnull": false,
129
+ "pk": false
130
+ },
131
+ {
132
+ "name": "MGEMOMV",
133
+ "type": "TEXT",
134
+ "notnull": false,
135
+ "pk": false
136
+ },
137
+ {
138
+ "name": "MGEMLEEF",
139
+ "type": "TEXT",
140
+ "notnull": false,
141
+ "pk": false
142
+ },
143
+ {
144
+ "name": "MOSHOOFD",
145
+ "type": "TEXT",
146
+ "notnull": false,
147
+ "pk": false
148
+ },
149
+ {
150
+ "name": "MGODRK",
151
+ "type": "TEXT",
152
+ "notnull": false,
153
+ "pk": false
154
+ },
155
+ {
156
+ "name": "MGODPR",
157
+ "type": "TEXT",
158
+ "notnull": false,
159
+ "pk": false
160
+ },
161
+ {
162
+ "name": "MGODOV",
163
+ "type": "TEXT",
164
+ "notnull": false,
165
+ "pk": false
166
+ },
167
+ {
168
+ "name": "MGODGE",
169
+ "type": "TEXT",
170
+ "notnull": false,
171
+ "pk": false
172
+ },
173
+ {
174
+ "name": "MRELGE",
175
+ "type": "TEXT",
176
+ "notnull": false,
177
+ "pk": false
178
+ },
179
+ {
180
+ "name": "MRELSA",
181
+ "type": "TEXT",
182
+ "notnull": false,
183
+ "pk": false
184
+ },
185
+ {
186
+ "name": "MRELOV",
187
+ "type": "TEXT",
188
+ "notnull": false,
189
+ "pk": false
190
+ },
191
+ {
192
+ "name": "MFALLEEN",
193
+ "type": "TEXT",
194
+ "notnull": false,
195
+ "pk": false
196
+ },
197
+ {
198
+ "name": "MFGEKIND",
199
+ "type": "TEXT",
200
+ "notnull": false,
201
+ "pk": false
202
+ },
203
+ {
204
+ "name": "MFWEKIND",
205
+ "type": "TEXT",
206
+ "notnull": false,
207
+ "pk": false
208
+ },
209
+ {
210
+ "name": "MOPLHOOG",
211
+ "type": "TEXT",
212
+ "notnull": false,
213
+ "pk": false
214
+ },
215
+ {
216
+ "name": "MOPLMIDD",
217
+ "type": "TEXT",
218
+ "notnull": false,
219
+ "pk": false
220
+ },
221
+ {
222
+ "name": "MOPLLAAG",
223
+ "type": "TEXT",
224
+ "notnull": false,
225
+ "pk": false
226
+ },
227
+ {
228
+ "name": "MBERHOOG",
229
+ "type": "TEXT",
230
+ "notnull": false,
231
+ "pk": false
232
+ },
233
+ {
234
+ "name": "MBERZELF",
235
+ "type": "TEXT",
236
+ "notnull": false,
237
+ "pk": false
238
+ },
239
+ {
240
+ "name": "MBERBOER",
241
+ "type": "TEXT",
242
+ "notnull": false,
243
+ "pk": false
244
+ },
245
+ {
246
+ "name": "MBERMIDD",
247
+ "type": "TEXT",
248
+ "notnull": false,
249
+ "pk": false
250
+ },
251
+ {
252
+ "name": "MBERARBG",
253
+ "type": "TEXT",
254
+ "notnull": false,
255
+ "pk": false
256
+ },
257
+ {
258
+ "name": "MBERARBO",
259
+ "type": "TEXT",
260
+ "notnull": false,
261
+ "pk": false
262
+ },
263
+ {
264
+ "name": "MSKA",
265
+ "type": "TEXT",
266
+ "notnull": false,
267
+ "pk": false
268
+ },
269
+ {
270
+ "name": "MSKB1",
271
+ "type": "TEXT",
272
+ "notnull": false,
273
+ "pk": false
274
+ },
275
+ {
276
+ "name": "MSKB2",
277
+ "type": "TEXT",
278
+ "notnull": false,
279
+ "pk": false
280
+ },
281
+ {
282
+ "name": "MSKC",
283
+ "type": "TEXT",
284
+ "notnull": false,
285
+ "pk": false
286
+ },
287
+ {
288
+ "name": "MSKD",
289
+ "type": "TEXT",
290
+ "notnull": false,
291
+ "pk": false
292
+ },
293
+ {
294
+ "name": "MHHUUR",
295
+ "type": "TEXT",
296
+ "notnull": false,
297
+ "pk": false
298
+ },
299
+ {
300
+ "name": "MHKOOP",
301
+ "type": "TEXT",
302
+ "notnull": false,
303
+ "pk": false
304
+ },
305
+ {
306
+ "name": "MAUT1",
307
+ "type": "TEXT",
308
+ "notnull": false,
309
+ "pk": false
310
+ },
311
+ {
312
+ "name": "MAUT2",
313
+ "type": "TEXT",
314
+ "notnull": false,
315
+ "pk": false
316
+ },
317
+ {
318
+ "name": "MAUT0",
319
+ "type": "TEXT",
320
+ "notnull": false,
321
+ "pk": false
322
+ },
323
+ {
324
+ "name": "MZFONDS",
325
+ "type": "TEXT",
326
+ "notnull": false,
327
+ "pk": false
328
+ },
329
+ {
330
+ "name": "MZPART",
331
+ "type": "TEXT",
332
+ "notnull": false,
333
+ "pk": false
334
+ },
335
+ {
336
+ "name": "MINKM30",
337
+ "type": "TEXT",
338
+ "notnull": false,
339
+ "pk": false
340
+ },
341
+ {
342
+ "name": "MINK3045",
343
+ "type": "TEXT",
344
+ "notnull": false,
345
+ "pk": false
346
+ },
347
+ {
348
+ "name": "MINK4575",
349
+ "type": "TEXT",
350
+ "notnull": false,
351
+ "pk": false
352
+ },
353
+ {
354
+ "name": "MINK7512",
355
+ "type": "TEXT",
356
+ "notnull": false,
357
+ "pk": false
358
+ },
359
+ {
360
+ "name": "MINK123M",
361
+ "type": "TEXT",
362
+ "notnull": false,
363
+ "pk": false
364
+ },
365
+ {
366
+ "name": "MINKGEM",
367
+ "type": "TEXT",
368
+ "notnull": false,
369
+ "pk": false
370
+ },
371
+ {
372
+ "name": "MKOOPKLA",
373
+ "type": "TEXT",
374
+ "notnull": false,
375
+ "pk": false
376
+ },
377
+ {
378
+ "name": "PWAPART",
379
+ "type": "TEXT",
380
+ "notnull": false,
381
+ "pk": false
382
+ },
383
+ {
384
+ "name": "PWABEDR",
385
+ "type": "TEXT",
386
+ "notnull": false,
387
+ "pk": false
388
+ },
389
+ {
390
+ "name": "PWALAND",
391
+ "type": "TEXT",
392
+ "notnull": false,
393
+ "pk": false
394
+ },
395
+ {
396
+ "name": "PPERSAUT",
397
+ "type": "TEXT",
398
+ "notnull": false,
399
+ "pk": false
400
+ },
401
+ {
402
+ "name": "PBESAUT",
403
+ "type": "TEXT",
404
+ "notnull": false,
405
+ "pk": false
406
+ },
407
+ {
408
+ "name": "PMOTSCO",
409
+ "type": "TEXT",
410
+ "notnull": false,
411
+ "pk": false
412
+ },
413
+ {
414
+ "name": "PVRAAUT",
415
+ "type": "TEXT",
416
+ "notnull": false,
417
+ "pk": false
418
+ },
419
+ {
420
+ "name": "PAANHANG",
421
+ "type": "TEXT",
422
+ "notnull": false,
423
+ "pk": false
424
+ },
425
+ {
426
+ "name": "PTRACTOR",
427
+ "type": "TEXT",
428
+ "notnull": false,
429
+ "pk": false
430
+ },
431
+ {
432
+ "name": "PWERKT",
433
+ "type": "TEXT",
434
+ "notnull": false,
435
+ "pk": false
436
+ },
437
+ {
438
+ "name": "PBROM",
439
+ "type": "TEXT",
440
+ "notnull": false,
441
+ "pk": false
442
+ },
443
+ {
444
+ "name": "PLEVEN",
445
+ "type": "TEXT",
446
+ "notnull": false,
447
+ "pk": false
448
+ },
449
+ {
450
+ "name": "PPERSONG",
451
+ "type": "TEXT",
452
+ "notnull": false,
453
+ "pk": false
454
+ },
455
+ {
456
+ "name": "PGEZONG",
457
+ "type": "TEXT",
458
+ "notnull": false,
459
+ "pk": false
460
+ },
461
+ {
462
+ "name": "PWAOREG",
463
+ "type": "TEXT",
464
+ "notnull": false,
465
+ "pk": false
466
+ },
467
+ {
468
+ "name": "PBRAND",
469
+ "type": "TEXT",
470
+ "notnull": false,
471
+ "pk": false
472
+ },
473
+ {
474
+ "name": "PZEILPL",
475
+ "type": "TEXT",
476
+ "notnull": false,
477
+ "pk": false
478
+ },
479
+ {
480
+ "name": "PPLEZIER",
481
+ "type": "TEXT",
482
+ "notnull": false,
483
+ "pk": false
484
+ },
485
+ {
486
+ "name": "PFIETS",
487
+ "type": "TEXT",
488
+ "notnull": false,
489
+ "pk": false
490
+ },
491
+ {
492
+ "name": "PINBOED",
493
+ "type": "TEXT",
494
+ "notnull": false,
495
+ "pk": false
496
+ },
497
+ {
498
+ "name": "PBYSTAND",
499
+ "type": "TEXT",
500
+ "notnull": false,
501
+ "pk": false
502
+ },
503
+ {
504
+ "name": "AWAPART",
505
+ "type": "TEXT",
506
+ "notnull": false,
507
+ "pk": false
508
+ },
509
+ {
510
+ "name": "AWABEDR",
511
+ "type": "TEXT",
512
+ "notnull": false,
513
+ "pk": false
514
+ },
515
+ {
516
+ "name": "AWALAND",
517
+ "type": "TEXT",
518
+ "notnull": false,
519
+ "pk": false
520
+ },
521
+ {
522
+ "name": "APERSAUT",
523
+ "type": "TEXT",
524
+ "notnull": false,
525
+ "pk": false
526
+ },
527
+ {
528
+ "name": "ABESAUT",
529
+ "type": "TEXT",
530
+ "notnull": false,
531
+ "pk": false
532
+ },
533
+ {
534
+ "name": "AMOTSCO",
535
+ "type": "TEXT",
536
+ "notnull": false,
537
+ "pk": false
538
+ },
539
+ {
540
+ "name": "AVRAAUT",
541
+ "type": "TEXT",
542
+ "notnull": false,
543
+ "pk": false
544
+ },
545
+ {
546
+ "name": "AAANHANG",
547
+ "type": "TEXT",
548
+ "notnull": false,
549
+ "pk": false
550
+ },
551
+ {
552
+ "name": "ATRACTOR",
553
+ "type": "TEXT",
554
+ "notnull": false,
555
+ "pk": false
556
+ },
557
+ {
558
+ "name": "AWERKT",
559
+ "type": "TEXT",
560
+ "notnull": false,
561
+ "pk": false
562
+ },
563
+ {
564
+ "name": "ABROM",
565
+ "type": "TEXT",
566
+ "notnull": false,
567
+ "pk": false
568
+ },
569
+ {
570
+ "name": "ALEVEN",
571
+ "type": "TEXT",
572
+ "notnull": false,
573
+ "pk": false
574
+ },
575
+ {
576
+ "name": "APERSONG",
577
+ "type": "TEXT",
578
+ "notnull": false,
579
+ "pk": false
580
+ },
581
+ {
582
+ "name": "AGEZONG",
583
+ "type": "TEXT",
584
+ "notnull": false,
585
+ "pk": false
586
+ },
587
+ {
588
+ "name": "AWAOREG",
589
+ "type": "TEXT",
590
+ "notnull": false,
591
+ "pk": false
592
+ },
593
+ {
594
+ "name": "ABRAND",
595
+ "type": "TEXT",
596
+ "notnull": false,
597
+ "pk": false
598
+ },
599
+ {
600
+ "name": "AZEILPL",
601
+ "type": "TEXT",
602
+ "notnull": false,
603
+ "pk": false
604
+ },
605
+ {
606
+ "name": "APLEZIER",
607
+ "type": "TEXT",
608
+ "notnull": false,
609
+ "pk": false
610
+ },
611
+ {
612
+ "name": "AFIETS",
613
+ "type": "TEXT",
614
+ "notnull": false,
615
+ "pk": false
616
+ },
617
+ {
618
+ "name": "AINBOED",
619
+ "type": "TEXT",
620
+ "notnull": false,
621
+ "pk": false
622
+ },
623
+ {
624
+ "name": "ABYSTAND",
625
+ "type": "TEXT",
626
+ "notnull": false,
627
+ "pk": false
628
+ },
629
+ {
630
+ "name": "CARAVAN",
631
+ "type": "TEXT",
632
+ "notnull": false,
633
+ "pk": false
634
+ }
635
+ ],
636
+ "sample_rows": [
637
+ {
638
+ "MOSTYPE": "33",
639
+ "MAANTHUI": "1",
640
+ "MGEMOMV": "3",
641
+ "MGEMLEEF": "2",
642
+ "MOSHOOFD": "8",
643
+ "MGODRK": "0",
644
+ "MGODPR": "5",
645
+ "MGODOV": "1",
646
+ "MGODGE": "3",
647
+ "MRELGE": "7",
648
+ "MRELSA": "0",
649
+ "MRELOV": "2",
650
+ "MFALLEEN": "1",
651
+ "MFGEKIND": "2",
652
+ "MFWEKIND": "6",
653
+ "MOPLHOOG": "1",
654
+ "MOPLMIDD": "2",
655
+ "MOPLLAAG": "7",
656
+ "MBERHOOG": "1",
657
+ "MBERZELF": "0",
658
+ "MBERBOER": "1",
659
+ "MBERMIDD": "2",
660
+ "MBERARBG": "5",
661
+ "MBERARBO": "2",
662
+ "MSKA": "1",
663
+ "MSKB1": "1",
664
+ "MSKB2": "2",
665
+ "MSKC": "6",
666
+ "MSKD": "1",
667
+ "MHHUUR": "1",
668
+ "MHKOOP": "8",
669
+ "MAUT1": "8",
670
+ "MAUT2": "0",
671
+ "MAUT0": "1",
672
+ "MZFONDS": "8",
673
+ "MZPART": "1",
674
+ "MINKM30": "0",
675
+ "MINK3045": "4",
676
+ "MINK4575": "5",
677
+ "MINK7512": "0",
678
+ "MINK123M": "0",
679
+ "MINKGEM": "4",
680
+ "MKOOPKLA": "3",
681
+ "PWAPART": "0",
682
+ "PWABEDR": "0",
683
+ "PWALAND": "0",
684
+ "PPERSAUT": "6",
685
+ "PBESAUT": "0",
686
+ "PMOTSCO": "0",
687
+ "PVRAAUT": "0",
688
+ "PAANHANG": "0",
689
+ "PTRACTOR": "0",
690
+ "PWERKT": "0",
691
+ "PBROM": "0",
692
+ "PLEVEN": "0",
693
+ "PPERSONG": "0",
694
+ "PGEZONG": "0",
695
+ "PWAOREG": "0",
696
+ "PBRAND": "5",
697
+ "PZEILPL": "0",
698
+ "PPLEZIER": "0",
699
+ "PFIETS": "0",
700
+ "PINBOED": "0",
701
+ "PBYSTAND": "0",
702
+ "AWAPART": "0",
703
+ "AWABEDR": "0",
704
+ "AWALAND": "0",
705
+ "APERSAUT": "1",
706
+ "ABESAUT": "0",
707
+ "AMOTSCO": "0",
708
+ "AVRAAUT": "0",
709
+ "AAANHANG": "0",
710
+ "ATRACTOR": "0",
711
+ "AWERKT": "0",
712
+ "ABROM": "0",
713
+ "ALEVEN": "0",
714
+ "APERSONG": "0",
715
+ "AGEZONG": "0",
716
+ "AWAOREG": "0",
717
+ "ABRAND": "1",
718
+ "AZEILPL": "0",
719
+ "APLEZIER": "0",
720
+ "AFIETS": "0",
721
+ "AINBOED": "0",
722
+ "ABYSTAND": "0",
723
+ "CARAVAN": "0"
724
+ },
725
+ {
726
+ "MOSTYPE": "37",
727
+ "MAANTHUI": "1",
728
+ "MGEMOMV": "2",
729
+ "MGEMLEEF": "2",
730
+ "MOSHOOFD": "8",
731
+ "MGODRK": "1",
732
+ "MGODPR": "4",
733
+ "MGODOV": "1",
734
+ "MGODGE": "4",
735
+ "MRELGE": "6",
736
+ "MRELSA": "2",
737
+ "MRELOV": "2",
738
+ "MFALLEEN": "0",
739
+ "MFGEKIND": "4",
740
+ "MFWEKIND": "5",
741
+ "MOPLHOOG": "0",
742
+ "MOPLMIDD": "5",
743
+ "MOPLLAAG": "4",
744
+ "MBERHOOG": "0",
745
+ "MBERZELF": "0",
746
+ "MBERBOER": "0",
747
+ "MBERMIDD": "5",
748
+ "MBERARBG": "0",
749
+ "MBERARBO": "4",
750
+ "MSKA": "0",
751
+ "MSKB1": "2",
752
+ "MSKB2": "3",
753
+ "MSKC": "5",
754
+ "MSKD": "0",
755
+ "MHHUUR": "2",
756
+ "MHKOOP": "7",
757
+ "MAUT1": "7",
758
+ "MAUT2": "1",
759
+ "MAUT0": "2",
760
+ "MZFONDS": "6",
761
+ "MZPART": "3",
762
+ "MINKM30": "2",
763
+ "MINK3045": "0",
764
+ "MINK4575": "5",
765
+ "MINK7512": "2",
766
+ "MINK123M": "0",
767
+ "MINKGEM": "5",
768
+ "MKOOPKLA": "4",
769
+ "PWAPART": "2",
770
+ "PWABEDR": "0",
771
+ "PWALAND": "0",
772
+ "PPERSAUT": "0",
773
+ "PBESAUT": "0",
774
+ "PMOTSCO": "0",
775
+ "PVRAAUT": "0",
776
+ "PAANHANG": "0",
777
+ "PTRACTOR": "0",
778
+ "PWERKT": "0",
779
+ "PBROM": "0",
780
+ "PLEVEN": "0",
781
+ "PPERSONG": "0",
782
+ "PGEZONG": "0",
783
+ "PWAOREG": "0",
784
+ "PBRAND": "2",
785
+ "PZEILPL": "0",
786
+ "PPLEZIER": "0",
787
+ "PFIETS": "0",
788
+ "PINBOED": "0",
789
+ "PBYSTAND": "0",
790
+ "AWAPART": "2",
791
+ "AWABEDR": "0",
792
+ "AWALAND": "0",
793
+ "APERSAUT": "0",
794
+ "ABESAUT": "0",
795
+ "AMOTSCO": "0",
796
+ "AVRAAUT": "0",
797
+ "AAANHANG": "0",
798
+ "ATRACTOR": "0",
799
+ "AWERKT": "0",
800
+ "ABROM": "0",
801
+ "ALEVEN": "0",
802
+ "APERSONG": "0",
803
+ "AGEZONG": "0",
804
+ "AWAOREG": "0",
805
+ "ABRAND": "1",
806
+ "AZEILPL": "0",
807
+ "APLEZIER": "0",
808
+ "AFIETS": "0",
809
+ "AINBOED": "0",
810
+ "ABYSTAND": "0",
811
+ "CARAVAN": "0"
812
+ },
813
+ {
814
+ "MOSTYPE": "37",
815
+ "MAANTHUI": "1",
816
+ "MGEMOMV": "2",
817
+ "MGEMLEEF": "2",
818
+ "MOSHOOFD": "8",
819
+ "MGODRK": "0",
820
+ "MGODPR": "4",
821
+ "MGODOV": "2",
822
+ "MGODGE": "4",
823
+ "MRELGE": "3",
824
+ "MRELSA": "2",
825
+ "MRELOV": "4",
826
+ "MFALLEEN": "4",
827
+ "MFGEKIND": "4",
828
+ "MFWEKIND": "2",
829
+ "MOPLHOOG": "0",
830
+ "MOPLMIDD": "5",
831
+ "MOPLLAAG": "4",
832
+ "MBERHOOG": "0",
833
+ "MBERZELF": "0",
834
+ "MBERBOER": "0",
835
+ "MBERMIDD": "7",
836
+ "MBERARBG": "0",
837
+ "MBERARBO": "2",
838
+ "MSKA": "0",
839
+ "MSKB1": "5",
840
+ "MSKB2": "0",
841
+ "MSKC": "4",
842
+ "MSKD": "0",
843
+ "MHHUUR": "7",
844
+ "MHKOOP": "2",
845
+ "MAUT1": "7",
846
+ "MAUT2": "0",
847
+ "MAUT0": "2",
848
+ "MZFONDS": "9",
849
+ "MZPART": "0",
850
+ "MINKM30": "4",
851
+ "MINK3045": "5",
852
+ "MINK4575": "0",
853
+ "MINK7512": "0",
854
+ "MINK123M": "0",
855
+ "MINKGEM": "3",
856
+ "MKOOPKLA": "4",
857
+ "PWAPART": "2",
858
+ "PWABEDR": "0",
859
+ "PWALAND": "0",
860
+ "PPERSAUT": "6",
861
+ "PBESAUT": "0",
862
+ "PMOTSCO": "0",
863
+ "PVRAAUT": "0",
864
+ "PAANHANG": "0",
865
+ "PTRACTOR": "0",
866
+ "PWERKT": "0",
867
+ "PBROM": "0",
868
+ "PLEVEN": "0",
869
+ "PPERSONG": "0",
870
+ "PGEZONG": "0",
871
+ "PWAOREG": "0",
872
+ "PBRAND": "2",
873
+ "PZEILPL": "0",
874
+ "PPLEZIER": "0",
875
+ "PFIETS": "0",
876
+ "PINBOED": "0",
877
+ "PBYSTAND": "0",
878
+ "AWAPART": "1",
879
+ "AWABEDR": "0",
880
+ "AWALAND": "0",
881
+ "APERSAUT": "1",
882
+ "ABESAUT": "0",
883
+ "AMOTSCO": "0",
884
+ "AVRAAUT": "0",
885
+ "AAANHANG": "0",
886
+ "ATRACTOR": "0",
887
+ "AWERKT": "0",
888
+ "ABROM": "0",
889
+ "ALEVEN": "0",
890
+ "APERSONG": "0",
891
+ "AGEZONG": "0",
892
+ "AWAOREG": "0",
893
+ "ABRAND": "1",
894
+ "AZEILPL": "0",
895
+ "APLEZIER": "0",
896
+ "AFIETS": "0",
897
+ "AINBOED": "0",
898
+ "ABYSTAND": "0",
899
+ "CARAVAN": "0"
900
+ },
901
+ {
902
+ "MOSTYPE": "9",
903
+ "MAANTHUI": "1",
904
+ "MGEMOMV": "3",
905
+ "MGEMLEEF": "3",
906
+ "MOSHOOFD": "3",
907
+ "MGODRK": "2",
908
+ "MGODPR": "3",
909
+ "MGODOV": "2",
910
+ "MGODGE": "4",
911
+ "MRELGE": "5",
912
+ "MRELSA": "2",
913
+ "MRELOV": "2",
914
+ "MFALLEEN": "2",
915
+ "MFGEKIND": "3",
916
+ "MFWEKIND": "4",
917
+ "MOPLHOOG": "3",
918
+ "MOPLMIDD": "4",
919
+ "MOPLLAAG": "2",
920
+ "MBERHOOG": "4",
921
+ "MBERZELF": "0",
922
+ "MBERBOER": "0",
923
+ "MBERMIDD": "3",
924
+ "MBERARBG": "1",
925
+ "MBERARBO": "2",
926
+ "MSKA": "3",
927
+ "MSKB1": "2",
928
+ "MSKB2": "1",
929
+ "MSKC": "4",
930
+ "MSKD": "0",
931
+ "MHHUUR": "5",
932
+ "MHKOOP": "4",
933
+ "MAUT1": "9",
934
+ "MAUT2": "0",
935
+ "MAUT0": "0",
936
+ "MZFONDS": "7",
937
+ "MZPART": "2",
938
+ "MINKM30": "1",
939
+ "MINK3045": "5",
940
+ "MINK4575": "3",
941
+ "MINK7512": "0",
942
+ "MINK123M": "0",
943
+ "MINKGEM": "4",
944
+ "MKOOPKLA": "4",
945
+ "PWAPART": "0",
946
+ "PWABEDR": "0",
947
+ "PWALAND": "0",
948
+ "PPERSAUT": "6",
949
+ "PBESAUT": "0",
950
+ "PMOTSCO": "0",
951
+ "PVRAAUT": "0",
952
+ "PAANHANG": "0",
953
+ "PTRACTOR": "0",
954
+ "PWERKT": "0",
955
+ "PBROM": "0",
956
+ "PLEVEN": "0",
957
+ "PPERSONG": "0",
958
+ "PGEZONG": "0",
959
+ "PWAOREG": "0",
960
+ "PBRAND": "2",
961
+ "PZEILPL": "0",
962
+ "PPLEZIER": "0",
963
+ "PFIETS": "0",
964
+ "PINBOED": "0",
965
+ "PBYSTAND": "0",
966
+ "AWAPART": "0",
967
+ "AWABEDR": "0",
968
+ "AWALAND": "0",
969
+ "APERSAUT": "1",
970
+ "ABESAUT": "0",
971
+ "AMOTSCO": "0",
972
+ "AVRAAUT": "0",
973
+ "AAANHANG": "0",
974
+ "ATRACTOR": "0",
975
+ "AWERKT": "0",
976
+ "ABROM": "0",
977
+ "ALEVEN": "0",
978
+ "APERSONG": "0",
979
+ "AGEZONG": "0",
980
+ "AWAOREG": "0",
981
+ "ABRAND": "1",
982
+ "AZEILPL": "0",
983
+ "APLEZIER": "0",
984
+ "AFIETS": "0",
985
+ "AINBOED": "0",
986
+ "ABYSTAND": "0",
987
+ "CARAVAN": "0"
988
+ },
989
+ {
990
+ "MOSTYPE": "40",
991
+ "MAANTHUI": "1",
992
+ "MGEMOMV": "4",
993
+ "MGEMLEEF": "2",
994
+ "MOSHOOFD": "10",
995
+ "MGODRK": "1",
996
+ "MGODPR": "4",
997
+ "MGODOV": "1",
998
+ "MGODGE": "4",
999
+ "MRELGE": "7",
1000
+ "MRELSA": "1",
1001
+ "MRELOV": "2",
1002
+ "MFALLEEN": "2",
1003
+ "MFGEKIND": "4",
1004
+ "MFWEKIND": "4",
1005
+ "MOPLHOOG": "5",
1006
+ "MOPLMIDD": "4",
1007
+ "MOPLLAAG": "0",
1008
+ "MBERHOOG": "0",
1009
+ "MBERZELF": "5",
1010
+ "MBERBOER": "4",
1011
+ "MBERMIDD": "0",
1012
+ "MBERARBG": "0",
1013
+ "MBERARBO": "0",
1014
+ "MSKA": "9",
1015
+ "MSKB1": "0",
1016
+ "MSKB2": "0",
1017
+ "MSKC": "0",
1018
+ "MSKD": "0",
1019
+ "MHHUUR": "4",
1020
+ "MHKOOP": "5",
1021
+ "MAUT1": "6",
1022
+ "MAUT2": "2",
1023
+ "MAUT0": "1",
1024
+ "MZFONDS": "5",
1025
+ "MZPART": "4",
1026
+ "MINKM30": "0",
1027
+ "MINK3045": "0",
1028
+ "MINK4575": "9",
1029
+ "MINK7512": "0",
1030
+ "MINK123M": "0",
1031
+ "MINKGEM": "6",
1032
+ "MKOOPKLA": "3",
1033
+ "PWAPART": "0",
1034
+ "PWABEDR": "0",
1035
+ "PWALAND": "0",
1036
+ "PPERSAUT": "0",
1037
+ "PBESAUT": "0",
1038
+ "PMOTSCO": "0",
1039
+ "PVRAAUT": "0",
1040
+ "PAANHANG": "0",
1041
+ "PTRACTOR": "0",
1042
+ "PWERKT": "0",
1043
+ "PBROM": "0",
1044
+ "PLEVEN": "0",
1045
+ "PPERSONG": "0",
1046
+ "PGEZONG": "0",
1047
+ "PWAOREG": "0",
1048
+ "PBRAND": "6",
1049
+ "PZEILPL": "0",
1050
+ "PPLEZIER": "0",
1051
+ "PFIETS": "0",
1052
+ "PINBOED": "0",
1053
+ "PBYSTAND": "0",
1054
+ "AWAPART": "0",
1055
+ "AWABEDR": "0",
1056
+ "AWALAND": "0",
1057
+ "APERSAUT": "0",
1058
+ "ABESAUT": "0",
1059
+ "AMOTSCO": "0",
1060
+ "AVRAAUT": "0",
1061
+ "AAANHANG": "0",
1062
+ "ATRACTOR": "0",
1063
+ "AWERKT": "0",
1064
+ "ABROM": "0",
1065
+ "ALEVEN": "0",
1066
+ "APERSONG": "0",
1067
+ "AGEZONG": "0",
1068
+ "AWAOREG": "0",
1069
+ "ABRAND": "1",
1070
+ "AZEILPL": "0",
1071
+ "APLEZIER": "0",
1072
+ "AFIETS": "0",
1073
+ "AINBOED": "0",
1074
+ "ABYSTAND": "0",
1075
+ "CARAVAN": "0"
1076
+ }
1077
+ ]
1078
+ }
1079
+
1080
+ Shortlisted templates:
1081
+ [
1082
+ {
1083
+ "template_id": "tpl_grouped_percentile_point",
1084
+ "template_name": "Grouped Percentile Point",
1085
+ "primary_family": "tail_rarity_structure",
1086
+ "portability": "yes",
1087
+ "sql_skeleton": "SELECT {group_col},\n PERCENTILE_CONT({percentile_value}) WITHIN GROUP (ORDER BY {measure_col}) AS percentile_measure\nFROM {table}\nGROUP BY {group_col}\nORDER BY percentile_measure DESC;",
1088
+ "required_roles": [
1089
+ "group_col",
1090
+ "measure_col"
1091
+ ]
1092
+ }
1093
+ ]
1094
+
1095
+ Problem instance:
1096
+ {
1097
+ "dataset_id": "n15",
1098
+ "question": "Use template Grouped Percentile Point to probe tail_concentration_consistency with semantic role focused_target_view. Focus on group_col=MGODOV, measure_col=MINK7512.",
1099
+ "planned_template_id": "tpl_grouped_percentile_point",
1100
+ "bindings": {
1101
+ "group_col": "MGODOV",
1102
+ "measure_col": "MINK7512",
1103
+ "top_k": 18,
1104
+ "top_n": 5,
1105
+ "num_tiles": 10,
1106
+ "percentile_value": 0.95,
1107
+ "z_threshold": 2.0,
1108
+ "fraction_threshold": 0.05,
1109
+ "baseline_multiplier": 1.75,
1110
+ "baseline_fraction": 0.1,
1111
+ "min_group_size": 5,
1112
+ "min_support": 4,
1113
+ "measure_threshold": 2.64,
1114
+ "time_grain": "month",
1115
+ "lookback_rows": 3,
1116
+ "current_period_start": "'2024-01-01'",
1117
+ "current_period_end": "'2024-04-01'",
1118
+ "previous_period_start": "'2023-10-01'",
1119
+ "previous_period_end": "'2024-01-01'",
1120
+ "drift_ratio_threshold": 0.8
1121
+ },
1122
+ "can_vary": [],
1123
+ "must_fix": [],
1124
+ "runtime_sql_skeleton": "SELECT {group_col},\n PERCENTILE_CONT({percentile_value}) WITHIN GROUP (ORDER BY {measure_col}) AS percentile_measure\nFROM {table}\nGROUP BY {group_col}\nORDER BY percentile_measure DESC;"
1125
+ }
1126
+
1127
+ Repair context:
1128
+ {}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/sql_response_attempt_1.raw.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {"type":"thread.started","thread_id":"019e40fc-24fd-7b73-894a-a93c84733a6b"}
2
+ {"type":"turn.started"}
3
+ {"type":"item.completed","item":{"id":"item_0","type":"agent_message","text":"{\"sql\":\"-- template_id: tpl_grouped_percentile_point\\nWITH \\\"ranked\\\" AS (\\n SELECT\\n \\\"MGODOV\\\",\\n CAST(\\\"MINK7512\\\" AS REAL) AS \\\"measure_value\\\",\\n ROW_NUMBER() OVER (\\n PARTITION BY \\\"MGODOV\\\"\\n ORDER BY CAST(\\\"MINK7512\\\" AS REAL)\\n ) AS \\\"rn\\\",\\n COUNT(*) OVER (PARTITION BY \\\"MGODOV\\\") AS \\\"cnt\\\"\\n FROM \\\"n15\\\"\\n WHERE \\\"MGODOV\\\" IS NOT NULL\\n AND \\\"MINK7512\\\" IS NOT NULL\\n),\\n\\\"scored\\\" AS (\\n SELECT\\n \\\"MGODOV\\\",\\n \\\"measure_value\\\",\\n \\\"rn\\\",\\n \\\"cnt\\\",\\n ((\\\"cnt\\\" - 1) * 0.95) + 1.0 AS \\\"pos\\\",\\n CAST((((\\\"cnt\\\" - 1) * 0.95) + 1.0) AS INTEGER) AS \\\"lower_rn\\\",\\n CASE\\n WHEN (((\\\"cnt\\\" - 1) * 0.95) + 1.0) = CAST((((\\\"cnt\\\" - 1) * 0.95) + 1.0) AS INTEGER)\\n THEN CAST((((\\\"cnt\\\" - 1) * 0.95) + 1.0) AS INTEGER)\\n ELSE CAST((((\\\"cnt\\\" - 1) * 0.95) + 1.0) AS INTEGER) + 1\\n END AS \\\"upper_rn\\\"\\n FROM \\\"ranked\\\"\\n),\\n\\\"percentile_bounds\\\" AS (\\n SELECT\\n \\\"MGODOV\\\",\\n MAX(\\\"cnt\\\") AS \\\"group_size\\\",\\n MAX(\\\"pos\\\") AS \\\"pos\\\",\\n MAX(\\\"lower_rn\\\") AS \\\"lower_rn\\\",\\n MAX(\\\"upper_rn\\\") AS \\\"upper_rn\\\",\\n MAX(CASE WHEN \\\"rn\\\" = \\\"lower_rn\\\" THEN \\\"measure_value\\\" END) AS \\\"lower_value\\\",\\n MAX(CASE WHEN \\\"rn\\\" = \\\"upper_rn\\\" THEN \\\"measure_value\\\" END) AS \\\"upper_value\\\"\\n FROM \\\"scored\\\"\\n GROUP BY \\\"MGODOV\\\"\\n)\\nSELECT\\n \\\"MGODOV\\\",\\n CASE\\n WHEN \\\"lower_rn\\\" = \\\"upper_rn\\\" THEN \\\"lower_value\\\"\\n ELSE \\\"lower_value\\\" + ((\\\"pos\\\" - \\\"lower_rn\\\") * (\\\"upper_value\\\" - \\\"lower_value\\\"))\\n END AS \\\"percentile_measure\\\"\\nFROM \\\"percentile_bounds\\\"\\nWHERE \\\"group_size\\\" >= 5\\nORDER BY \\\"percentile_measure\\\" DESC, \\\"MGODOV\\\";\",\"notes\":\"Emulates PERCENTILE_CONT(0.95) in SQLite with window functions and linear interpolation on CAST(\\\"MINK7512\\\" AS REAL), excluding NULLs and groups with fewer than 5 rows.\"}"}}
4
+ {"type":"turn.completed","usage":{"input_tokens":23047,"cached_input_tokens":12032,"output_tokens":2806,"reasoning_output_tokens":2158}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/sql_response_attempt_1.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ {"sql":"-- template_id: tpl_grouped_percentile_point\nWITH \"ranked\" AS (\n SELECT\n \"MGODOV\",\n CAST(\"MINK7512\" AS REAL) AS \"measure_value\",\n ROW_NUMBER() OVER (\n PARTITION BY \"MGODOV\"\n ORDER BY CAST(\"MINK7512\" AS REAL)\n ) AS \"rn\",\n COUNT(*) OVER (PARTITION BY \"MGODOV\") AS \"cnt\"\n FROM \"n15\"\n WHERE \"MGODOV\" IS NOT NULL\n AND \"MINK7512\" IS NOT NULL\n),\n\"scored\" AS (\n SELECT\n \"MGODOV\",\n \"measure_value\",\n \"rn\",\n \"cnt\",\n ((\"cnt\" - 1) * 0.95) + 1.0 AS \"pos\",\n CAST((((\"cnt\" - 1) * 0.95) + 1.0) AS INTEGER) AS \"lower_rn\",\n CASE\n WHEN (((\"cnt\" - 1) * 0.95) + 1.0) = CAST((((\"cnt\" - 1) * 0.95) + 1.0) AS INTEGER)\n THEN CAST((((\"cnt\" - 1) * 0.95) + 1.0) AS INTEGER)\n ELSE CAST((((\"cnt\" - 1) * 0.95) + 1.0) AS INTEGER) + 1\n END AS \"upper_rn\"\n FROM \"ranked\"\n),\n\"percentile_bounds\" AS (\n SELECT\n \"MGODOV\",\n MAX(\"cnt\") AS \"group_size\",\n MAX(\"pos\") AS \"pos\",\n MAX(\"lower_rn\") AS \"lower_rn\",\n MAX(\"upper_rn\") AS \"upper_rn\",\n MAX(CASE WHEN \"rn\" = \"lower_rn\" THEN \"measure_value\" END) AS \"lower_value\",\n MAX(CASE WHEN \"rn\" = \"upper_rn\" THEN \"measure_value\" END) AS \"upper_value\"\n FROM \"scored\"\n GROUP BY \"MGODOV\"\n)\nSELECT\n \"MGODOV\",\n CASE\n WHEN \"lower_rn\" = \"upper_rn\" THEN \"lower_value\"\n ELSE \"lower_value\" + ((\"pos\" - \"lower_rn\") * (\"upper_value\" - \"lower_value\"))\n END AS \"percentile_measure\"\nFROM \"percentile_bounds\"\nWHERE \"group_size\" >= 5\nORDER BY \"percentile_measure\" DESC, \"MGODOV\";","notes":"Emulates PERCENTILE_CONT(0.95) in SQLite with window functions and linear interpolation on CAST(\"MINK7512\" AS REAL), excluding NULLs and groups with fewer than 5 rows."}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_09d85e0072607f12/cli/sql_stderr_attempt_1.txt ADDED
File without changes
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/conversation.jsonl ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"attempt": 1, "phase": "sql_generation", "role": "user", "content_path": "cli/sql_prompt_attempt_1.txt", "metrics": {"chars": 33251, "bytes_utf8": 33251, "lines": 1126, "estimated_tokens": null}}
2
+ {"attempt": 1, "phase": "sql_generation", "role": "assistant", "content_path": "cli/sql_response_attempt_1.txt", "raw_content_path": "cli/sql_response_attempt_1.raw.txt", "stderr_path": "cli/sql_stderr_attempt_1.txt", "metrics": {"chars": 555, "bytes_utf8": 555, "lines": 1, "estimated_tokens": null}, "usage": {"input_tokens": 23060, "cached_input_tokens": 21888, "output_tokens": 700, "reasoning_output_tokens": 516}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/session_summary.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "engine": "v2-cli:codex",
3
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
4
+ "ai_cli_calls": 1,
5
+ "usage_summary": {
6
+ "dataset_id": "n15",
7
+ "model": "v2-cli:codex",
8
+ "run_id": "v2q_n15_0a6e3f071a0577a2",
9
+ "api_calls": 0,
10
+ "input_tokens": 23060,
11
+ "cached_input_tokens": 21888,
12
+ "output_tokens": 700,
13
+ "total_tokens": 23760,
14
+ "cost_usd": 0.0,
15
+ "ai_cli_calls": 1,
16
+ "estimated_input_tokens": 0,
17
+ "estimated_output_tokens": 0,
18
+ "estimated_total_tokens": 0,
19
+ "usage_source": "ai_cli_json_usage",
20
+ "cli_elapsed_ms_total": 22544.92,
21
+ "sql_execution_elapsed_ms_total": 12.43,
22
+ "conversation_log_path": "/data/jialinzhang/TabQueryBench/sql_workloads/v2_current/runs_and_launches/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/conversation.jsonl",
23
+ "note": "Executed through a local AI CLI with structured usage metadata."
24
+ }
25
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/sql_attempt_1.metadata.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attempt": 1,
3
+ "phase": "sql_generation",
4
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
5
+ "started_at": "2026-05-19T15:47:48.640409+00:00",
6
+ "ended_at": "2026-05-19T15:48:11.185365+00:00",
7
+ "elapsed_ms": 22544.92,
8
+ "prompt_metrics": {
9
+ "chars": 33251,
10
+ "bytes_utf8": 33251,
11
+ "lines": 1126,
12
+ "estimated_tokens": null
13
+ },
14
+ "stdout_metrics": {
15
+ "chars": 1610,
16
+ "bytes_utf8": 1610,
17
+ "lines": 6,
18
+ "estimated_tokens": null
19
+ },
20
+ "stderr_metrics": {
21
+ "chars": 0,
22
+ "bytes_utf8": 0,
23
+ "lines": 0,
24
+ "estimated_tokens": null
25
+ },
26
+ "parsed_output": {
27
+ "format": "jsonl_events",
28
+ "text_metrics": {
29
+ "chars": 555,
30
+ "bytes_utf8": 555,
31
+ "lines": 1,
32
+ "estimated_tokens": null
33
+ },
34
+ "usage": {
35
+ "input_tokens": 23060,
36
+ "cached_input_tokens": 21888,
37
+ "output_tokens": 700,
38
+ "reasoning_output_tokens": 516
39
+ }
40
+ },
41
+ "prompt_path": "cli/sql_prompt_attempt_1.txt",
42
+ "response_path": "cli/sql_response_attempt_1.txt",
43
+ "raw_response_path": "cli/sql_response_attempt_1.raw.txt",
44
+ "stderr_path": "cli/sql_stderr_attempt_1.txt"
45
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/sql_prompt_attempt_1.txt ADDED
@@ -0,0 +1,1126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are generating one SQLite SELECT query for a single-table SQL QA task.
2
+ Return strict JSON only, with this schema: {"sql": "...", "notes": "..."}.
3
+ Rules:
4
+ - Use only the provided table and columns.
5
+ - Do not write INSERT, UPDATE, DELETE, DROP, ALTER, CREATE, PRAGMA, ATTACH, DETACH, or VACUUM.
6
+ - Prefer the planned template and bound roles when provided.
7
+ - Add a leading SQL comment exactly like: -- template_id: <planned_template_id>.
8
+ - Generate SQLite-compatible SQL. SQLite does not support PERCENTILE_CONT or STDDEV.
9
+ - Quote identifiers with double quotes.
10
+ - Return no markdown and no extra prose.
11
+
12
+ Dataset context:
13
+ Dataset context for SQL QA:
14
+ - dataset_id: n15
15
+ - dataset_name: N15
16
+ - table_name: n15
17
+ - table_layout: single-table dataset (do not assume joins).
18
+ - row_semantics: One row is one tabular observation with 85 feature columns and target `ABYSTAND`.
19
+ - task_type: classification
20
+ - target_column: ABYSTAND
21
+ - main_row_count: 9822
22
+ - important_fields:
23
+ - MOSTYPE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSTYPE.
24
+ - MAANTHUI: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAANTHUI.
25
+ - MGEMOMV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMOMV.
26
+ - MGEMLEEF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGEMLEEF.
27
+ - MOSHOOFD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOSHOOFD.
28
+ - MGODRK: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODRK.
29
+ - MGODPR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODPR.
30
+ - MGODOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODOV.
31
+ - MGODGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MGODGE.
32
+ - MRELGE: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELGE.
33
+ - MRELSA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELSA.
34
+ - MRELOV: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MRELOV.
35
+ - MFALLEEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFALLEEN.
36
+ - MFGEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFGEKIND.
37
+ - MFWEKIND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MFWEKIND.
38
+ - MOPLHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLHOOG.
39
+ - MOPLMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLMIDD.
40
+ - MOPLLAAG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MOPLLAAG.
41
+ - MBERHOOG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERHOOG.
42
+ - MBERZELF: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERZELF.
43
+ - MBERBOER: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERBOER.
44
+ - MBERMIDD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERMIDD.
45
+ - MBERARBG: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBG.
46
+ - MBERARBO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MBERARBO.
47
+ - MSKA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKA.
48
+ - MSKB1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB1.
49
+ - MSKB2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKB2.
50
+ - MSKC: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKC.
51
+ - MSKD: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MSKD.
52
+ - MHHUUR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHHUUR.
53
+ - MHKOOP: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MHKOOP.
54
+ - MAUT1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT1.
55
+ - MAUT2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT2.
56
+ - MAUT0: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MAUT0.
57
+ - MZFONDS: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZFONDS.
58
+ - MZPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MZPART.
59
+ - MINKM30: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKM30.
60
+ - MINK3045: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK3045.
61
+ - MINK4575: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK4575.
62
+ - MINK7512: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK7512.
63
+ - MINK123M: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINK123M.
64
+ - MINKGEM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MINKGEM.
65
+ - MKOOPKLA: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for MKOOPKLA.
66
+ - PWAPART: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWAPART.
67
+ - PWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWABEDR.
68
+ - PWALAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PWALAND.
69
+ - PPERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PPERSAUT.
70
+ - PBESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBESAUT.
71
+ - PMOTSCO: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PMOTSCO.
72
+ - PVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PVRAAUT.
73
+ - PAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PAANHANG.
74
+ - PTRACTOR: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PTRACTOR.
75
+ - PWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWERKT.
76
+ - PBROM: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBROM.
77
+ - PLEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PLEVEN.
78
+ - PPERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPERSONG.
79
+ - PGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PGEZONG.
80
+ - PWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PWAOREG.
81
+ - PBRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for PBRAND.
82
+ - PZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PZEILPL.
83
+ - PPLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PPLEZIER.
84
+ - PFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PFIETS.
85
+ - PINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PINBOED.
86
+ - PBYSTAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for PBYSTAND.
87
+ - AWAPART: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAPART.
88
+ - AWABEDR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWABEDR.
89
+ - AWALAND: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWALAND.
90
+ - APERSAUT: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for APERSAUT.
91
+ - ABESAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABESAUT.
92
+ - AMOTSCO: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AMOTSCO.
93
+ - AVRAAUT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AVRAAUT.
94
+ - AAANHANG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AAANHANG.
95
+ - ATRACTOR: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ATRACTOR.
96
+ - AWERKT: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWERKT.
97
+ - ABROM: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for ABROM.
98
+ - ALEVEN: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ALEVEN.
99
+ - APERSONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APERSONG.
100
+ - AGEZONG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AGEZONG.
101
+ - AWAOREG: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AWAOREG.
102
+ - ABRAND: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for ABRAND.
103
+ - AZEILPL: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AZEILPL.
104
+ - APLEZIER: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for APLEZIER.
105
+ - AFIETS: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AFIETS.
106
+ - AINBOED: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for AINBOED.
107
+ - ABYSTAND: role=target, type=binary_target. tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for ABYSTAND.
108
+ - CARAVAN: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for CARAVAN.
109
+ - useful_field_combinations: [['MOSTYPE', 'MAANTHUI', 'ABYSTAND'], ['MOSTYPE', 'MOSTYPE', 'ABYSTAND']]
110
+ - fields_requiring_caution: ['ABYSTAND']
111
+ - source_url: https://www.openml.org/d/298
112
+
113
+ SQLite schema snapshot:
114
+ {
115
+ "table_name": "n15",
116
+ "quoted_table_name": "\"n15\"",
117
+ "row_count": 9822,
118
+ "columns": [
119
+ {
120
+ "name": "MOSTYPE",
121
+ "type": "TEXT",
122
+ "notnull": false,
123
+ "pk": false
124
+ },
125
+ {
126
+ "name": "MAANTHUI",
127
+ "type": "TEXT",
128
+ "notnull": false,
129
+ "pk": false
130
+ },
131
+ {
132
+ "name": "MGEMOMV",
133
+ "type": "TEXT",
134
+ "notnull": false,
135
+ "pk": false
136
+ },
137
+ {
138
+ "name": "MGEMLEEF",
139
+ "type": "TEXT",
140
+ "notnull": false,
141
+ "pk": false
142
+ },
143
+ {
144
+ "name": "MOSHOOFD",
145
+ "type": "TEXT",
146
+ "notnull": false,
147
+ "pk": false
148
+ },
149
+ {
150
+ "name": "MGODRK",
151
+ "type": "TEXT",
152
+ "notnull": false,
153
+ "pk": false
154
+ },
155
+ {
156
+ "name": "MGODPR",
157
+ "type": "TEXT",
158
+ "notnull": false,
159
+ "pk": false
160
+ },
161
+ {
162
+ "name": "MGODOV",
163
+ "type": "TEXT",
164
+ "notnull": false,
165
+ "pk": false
166
+ },
167
+ {
168
+ "name": "MGODGE",
169
+ "type": "TEXT",
170
+ "notnull": false,
171
+ "pk": false
172
+ },
173
+ {
174
+ "name": "MRELGE",
175
+ "type": "TEXT",
176
+ "notnull": false,
177
+ "pk": false
178
+ },
179
+ {
180
+ "name": "MRELSA",
181
+ "type": "TEXT",
182
+ "notnull": false,
183
+ "pk": false
184
+ },
185
+ {
186
+ "name": "MRELOV",
187
+ "type": "TEXT",
188
+ "notnull": false,
189
+ "pk": false
190
+ },
191
+ {
192
+ "name": "MFALLEEN",
193
+ "type": "TEXT",
194
+ "notnull": false,
195
+ "pk": false
196
+ },
197
+ {
198
+ "name": "MFGEKIND",
199
+ "type": "TEXT",
200
+ "notnull": false,
201
+ "pk": false
202
+ },
203
+ {
204
+ "name": "MFWEKIND",
205
+ "type": "TEXT",
206
+ "notnull": false,
207
+ "pk": false
208
+ },
209
+ {
210
+ "name": "MOPLHOOG",
211
+ "type": "TEXT",
212
+ "notnull": false,
213
+ "pk": false
214
+ },
215
+ {
216
+ "name": "MOPLMIDD",
217
+ "type": "TEXT",
218
+ "notnull": false,
219
+ "pk": false
220
+ },
221
+ {
222
+ "name": "MOPLLAAG",
223
+ "type": "TEXT",
224
+ "notnull": false,
225
+ "pk": false
226
+ },
227
+ {
228
+ "name": "MBERHOOG",
229
+ "type": "TEXT",
230
+ "notnull": false,
231
+ "pk": false
232
+ },
233
+ {
234
+ "name": "MBERZELF",
235
+ "type": "TEXT",
236
+ "notnull": false,
237
+ "pk": false
238
+ },
239
+ {
240
+ "name": "MBERBOER",
241
+ "type": "TEXT",
242
+ "notnull": false,
243
+ "pk": false
244
+ },
245
+ {
246
+ "name": "MBERMIDD",
247
+ "type": "TEXT",
248
+ "notnull": false,
249
+ "pk": false
250
+ },
251
+ {
252
+ "name": "MBERARBG",
253
+ "type": "TEXT",
254
+ "notnull": false,
255
+ "pk": false
256
+ },
257
+ {
258
+ "name": "MBERARBO",
259
+ "type": "TEXT",
260
+ "notnull": false,
261
+ "pk": false
262
+ },
263
+ {
264
+ "name": "MSKA",
265
+ "type": "TEXT",
266
+ "notnull": false,
267
+ "pk": false
268
+ },
269
+ {
270
+ "name": "MSKB1",
271
+ "type": "TEXT",
272
+ "notnull": false,
273
+ "pk": false
274
+ },
275
+ {
276
+ "name": "MSKB2",
277
+ "type": "TEXT",
278
+ "notnull": false,
279
+ "pk": false
280
+ },
281
+ {
282
+ "name": "MSKC",
283
+ "type": "TEXT",
284
+ "notnull": false,
285
+ "pk": false
286
+ },
287
+ {
288
+ "name": "MSKD",
289
+ "type": "TEXT",
290
+ "notnull": false,
291
+ "pk": false
292
+ },
293
+ {
294
+ "name": "MHHUUR",
295
+ "type": "TEXT",
296
+ "notnull": false,
297
+ "pk": false
298
+ },
299
+ {
300
+ "name": "MHKOOP",
301
+ "type": "TEXT",
302
+ "notnull": false,
303
+ "pk": false
304
+ },
305
+ {
306
+ "name": "MAUT1",
307
+ "type": "TEXT",
308
+ "notnull": false,
309
+ "pk": false
310
+ },
311
+ {
312
+ "name": "MAUT2",
313
+ "type": "TEXT",
314
+ "notnull": false,
315
+ "pk": false
316
+ },
317
+ {
318
+ "name": "MAUT0",
319
+ "type": "TEXT",
320
+ "notnull": false,
321
+ "pk": false
322
+ },
323
+ {
324
+ "name": "MZFONDS",
325
+ "type": "TEXT",
326
+ "notnull": false,
327
+ "pk": false
328
+ },
329
+ {
330
+ "name": "MZPART",
331
+ "type": "TEXT",
332
+ "notnull": false,
333
+ "pk": false
334
+ },
335
+ {
336
+ "name": "MINKM30",
337
+ "type": "TEXT",
338
+ "notnull": false,
339
+ "pk": false
340
+ },
341
+ {
342
+ "name": "MINK3045",
343
+ "type": "TEXT",
344
+ "notnull": false,
345
+ "pk": false
346
+ },
347
+ {
348
+ "name": "MINK4575",
349
+ "type": "TEXT",
350
+ "notnull": false,
351
+ "pk": false
352
+ },
353
+ {
354
+ "name": "MINK7512",
355
+ "type": "TEXT",
356
+ "notnull": false,
357
+ "pk": false
358
+ },
359
+ {
360
+ "name": "MINK123M",
361
+ "type": "TEXT",
362
+ "notnull": false,
363
+ "pk": false
364
+ },
365
+ {
366
+ "name": "MINKGEM",
367
+ "type": "TEXT",
368
+ "notnull": false,
369
+ "pk": false
370
+ },
371
+ {
372
+ "name": "MKOOPKLA",
373
+ "type": "TEXT",
374
+ "notnull": false,
375
+ "pk": false
376
+ },
377
+ {
378
+ "name": "PWAPART",
379
+ "type": "TEXT",
380
+ "notnull": false,
381
+ "pk": false
382
+ },
383
+ {
384
+ "name": "PWABEDR",
385
+ "type": "TEXT",
386
+ "notnull": false,
387
+ "pk": false
388
+ },
389
+ {
390
+ "name": "PWALAND",
391
+ "type": "TEXT",
392
+ "notnull": false,
393
+ "pk": false
394
+ },
395
+ {
396
+ "name": "PPERSAUT",
397
+ "type": "TEXT",
398
+ "notnull": false,
399
+ "pk": false
400
+ },
401
+ {
402
+ "name": "PBESAUT",
403
+ "type": "TEXT",
404
+ "notnull": false,
405
+ "pk": false
406
+ },
407
+ {
408
+ "name": "PMOTSCO",
409
+ "type": "TEXT",
410
+ "notnull": false,
411
+ "pk": false
412
+ },
413
+ {
414
+ "name": "PVRAAUT",
415
+ "type": "TEXT",
416
+ "notnull": false,
417
+ "pk": false
418
+ },
419
+ {
420
+ "name": "PAANHANG",
421
+ "type": "TEXT",
422
+ "notnull": false,
423
+ "pk": false
424
+ },
425
+ {
426
+ "name": "PTRACTOR",
427
+ "type": "TEXT",
428
+ "notnull": false,
429
+ "pk": false
430
+ },
431
+ {
432
+ "name": "PWERKT",
433
+ "type": "TEXT",
434
+ "notnull": false,
435
+ "pk": false
436
+ },
437
+ {
438
+ "name": "PBROM",
439
+ "type": "TEXT",
440
+ "notnull": false,
441
+ "pk": false
442
+ },
443
+ {
444
+ "name": "PLEVEN",
445
+ "type": "TEXT",
446
+ "notnull": false,
447
+ "pk": false
448
+ },
449
+ {
450
+ "name": "PPERSONG",
451
+ "type": "TEXT",
452
+ "notnull": false,
453
+ "pk": false
454
+ },
455
+ {
456
+ "name": "PGEZONG",
457
+ "type": "TEXT",
458
+ "notnull": false,
459
+ "pk": false
460
+ },
461
+ {
462
+ "name": "PWAOREG",
463
+ "type": "TEXT",
464
+ "notnull": false,
465
+ "pk": false
466
+ },
467
+ {
468
+ "name": "PBRAND",
469
+ "type": "TEXT",
470
+ "notnull": false,
471
+ "pk": false
472
+ },
473
+ {
474
+ "name": "PZEILPL",
475
+ "type": "TEXT",
476
+ "notnull": false,
477
+ "pk": false
478
+ },
479
+ {
480
+ "name": "PPLEZIER",
481
+ "type": "TEXT",
482
+ "notnull": false,
483
+ "pk": false
484
+ },
485
+ {
486
+ "name": "PFIETS",
487
+ "type": "TEXT",
488
+ "notnull": false,
489
+ "pk": false
490
+ },
491
+ {
492
+ "name": "PINBOED",
493
+ "type": "TEXT",
494
+ "notnull": false,
495
+ "pk": false
496
+ },
497
+ {
498
+ "name": "PBYSTAND",
499
+ "type": "TEXT",
500
+ "notnull": false,
501
+ "pk": false
502
+ },
503
+ {
504
+ "name": "AWAPART",
505
+ "type": "TEXT",
506
+ "notnull": false,
507
+ "pk": false
508
+ },
509
+ {
510
+ "name": "AWABEDR",
511
+ "type": "TEXT",
512
+ "notnull": false,
513
+ "pk": false
514
+ },
515
+ {
516
+ "name": "AWALAND",
517
+ "type": "TEXT",
518
+ "notnull": false,
519
+ "pk": false
520
+ },
521
+ {
522
+ "name": "APERSAUT",
523
+ "type": "TEXT",
524
+ "notnull": false,
525
+ "pk": false
526
+ },
527
+ {
528
+ "name": "ABESAUT",
529
+ "type": "TEXT",
530
+ "notnull": false,
531
+ "pk": false
532
+ },
533
+ {
534
+ "name": "AMOTSCO",
535
+ "type": "TEXT",
536
+ "notnull": false,
537
+ "pk": false
538
+ },
539
+ {
540
+ "name": "AVRAAUT",
541
+ "type": "TEXT",
542
+ "notnull": false,
543
+ "pk": false
544
+ },
545
+ {
546
+ "name": "AAANHANG",
547
+ "type": "TEXT",
548
+ "notnull": false,
549
+ "pk": false
550
+ },
551
+ {
552
+ "name": "ATRACTOR",
553
+ "type": "TEXT",
554
+ "notnull": false,
555
+ "pk": false
556
+ },
557
+ {
558
+ "name": "AWERKT",
559
+ "type": "TEXT",
560
+ "notnull": false,
561
+ "pk": false
562
+ },
563
+ {
564
+ "name": "ABROM",
565
+ "type": "TEXT",
566
+ "notnull": false,
567
+ "pk": false
568
+ },
569
+ {
570
+ "name": "ALEVEN",
571
+ "type": "TEXT",
572
+ "notnull": false,
573
+ "pk": false
574
+ },
575
+ {
576
+ "name": "APERSONG",
577
+ "type": "TEXT",
578
+ "notnull": false,
579
+ "pk": false
580
+ },
581
+ {
582
+ "name": "AGEZONG",
583
+ "type": "TEXT",
584
+ "notnull": false,
585
+ "pk": false
586
+ },
587
+ {
588
+ "name": "AWAOREG",
589
+ "type": "TEXT",
590
+ "notnull": false,
591
+ "pk": false
592
+ },
593
+ {
594
+ "name": "ABRAND",
595
+ "type": "TEXT",
596
+ "notnull": false,
597
+ "pk": false
598
+ },
599
+ {
600
+ "name": "AZEILPL",
601
+ "type": "TEXT",
602
+ "notnull": false,
603
+ "pk": false
604
+ },
605
+ {
606
+ "name": "APLEZIER",
607
+ "type": "TEXT",
608
+ "notnull": false,
609
+ "pk": false
610
+ },
611
+ {
612
+ "name": "AFIETS",
613
+ "type": "TEXT",
614
+ "notnull": false,
615
+ "pk": false
616
+ },
617
+ {
618
+ "name": "AINBOED",
619
+ "type": "TEXT",
620
+ "notnull": false,
621
+ "pk": false
622
+ },
623
+ {
624
+ "name": "ABYSTAND",
625
+ "type": "TEXT",
626
+ "notnull": false,
627
+ "pk": false
628
+ },
629
+ {
630
+ "name": "CARAVAN",
631
+ "type": "TEXT",
632
+ "notnull": false,
633
+ "pk": false
634
+ }
635
+ ],
636
+ "sample_rows": [
637
+ {
638
+ "MOSTYPE": "33",
639
+ "MAANTHUI": "1",
640
+ "MGEMOMV": "3",
641
+ "MGEMLEEF": "2",
642
+ "MOSHOOFD": "8",
643
+ "MGODRK": "0",
644
+ "MGODPR": "5",
645
+ "MGODOV": "1",
646
+ "MGODGE": "3",
647
+ "MRELGE": "7",
648
+ "MRELSA": "0",
649
+ "MRELOV": "2",
650
+ "MFALLEEN": "1",
651
+ "MFGEKIND": "2",
652
+ "MFWEKIND": "6",
653
+ "MOPLHOOG": "1",
654
+ "MOPLMIDD": "2",
655
+ "MOPLLAAG": "7",
656
+ "MBERHOOG": "1",
657
+ "MBERZELF": "0",
658
+ "MBERBOER": "1",
659
+ "MBERMIDD": "2",
660
+ "MBERARBG": "5",
661
+ "MBERARBO": "2",
662
+ "MSKA": "1",
663
+ "MSKB1": "1",
664
+ "MSKB2": "2",
665
+ "MSKC": "6",
666
+ "MSKD": "1",
667
+ "MHHUUR": "1",
668
+ "MHKOOP": "8",
669
+ "MAUT1": "8",
670
+ "MAUT2": "0",
671
+ "MAUT0": "1",
672
+ "MZFONDS": "8",
673
+ "MZPART": "1",
674
+ "MINKM30": "0",
675
+ "MINK3045": "4",
676
+ "MINK4575": "5",
677
+ "MINK7512": "0",
678
+ "MINK123M": "0",
679
+ "MINKGEM": "4",
680
+ "MKOOPKLA": "3",
681
+ "PWAPART": "0",
682
+ "PWABEDR": "0",
683
+ "PWALAND": "0",
684
+ "PPERSAUT": "6",
685
+ "PBESAUT": "0",
686
+ "PMOTSCO": "0",
687
+ "PVRAAUT": "0",
688
+ "PAANHANG": "0",
689
+ "PTRACTOR": "0",
690
+ "PWERKT": "0",
691
+ "PBROM": "0",
692
+ "PLEVEN": "0",
693
+ "PPERSONG": "0",
694
+ "PGEZONG": "0",
695
+ "PWAOREG": "0",
696
+ "PBRAND": "5",
697
+ "PZEILPL": "0",
698
+ "PPLEZIER": "0",
699
+ "PFIETS": "0",
700
+ "PINBOED": "0",
701
+ "PBYSTAND": "0",
702
+ "AWAPART": "0",
703
+ "AWABEDR": "0",
704
+ "AWALAND": "0",
705
+ "APERSAUT": "1",
706
+ "ABESAUT": "0",
707
+ "AMOTSCO": "0",
708
+ "AVRAAUT": "0",
709
+ "AAANHANG": "0",
710
+ "ATRACTOR": "0",
711
+ "AWERKT": "0",
712
+ "ABROM": "0",
713
+ "ALEVEN": "0",
714
+ "APERSONG": "0",
715
+ "AGEZONG": "0",
716
+ "AWAOREG": "0",
717
+ "ABRAND": "1",
718
+ "AZEILPL": "0",
719
+ "APLEZIER": "0",
720
+ "AFIETS": "0",
721
+ "AINBOED": "0",
722
+ "ABYSTAND": "0",
723
+ "CARAVAN": "0"
724
+ },
725
+ {
726
+ "MOSTYPE": "37",
727
+ "MAANTHUI": "1",
728
+ "MGEMOMV": "2",
729
+ "MGEMLEEF": "2",
730
+ "MOSHOOFD": "8",
731
+ "MGODRK": "1",
732
+ "MGODPR": "4",
733
+ "MGODOV": "1",
734
+ "MGODGE": "4",
735
+ "MRELGE": "6",
736
+ "MRELSA": "2",
737
+ "MRELOV": "2",
738
+ "MFALLEEN": "0",
739
+ "MFGEKIND": "4",
740
+ "MFWEKIND": "5",
741
+ "MOPLHOOG": "0",
742
+ "MOPLMIDD": "5",
743
+ "MOPLLAAG": "4",
744
+ "MBERHOOG": "0",
745
+ "MBERZELF": "0",
746
+ "MBERBOER": "0",
747
+ "MBERMIDD": "5",
748
+ "MBERARBG": "0",
749
+ "MBERARBO": "4",
750
+ "MSKA": "0",
751
+ "MSKB1": "2",
752
+ "MSKB2": "3",
753
+ "MSKC": "5",
754
+ "MSKD": "0",
755
+ "MHHUUR": "2",
756
+ "MHKOOP": "7",
757
+ "MAUT1": "7",
758
+ "MAUT2": "1",
759
+ "MAUT0": "2",
760
+ "MZFONDS": "6",
761
+ "MZPART": "3",
762
+ "MINKM30": "2",
763
+ "MINK3045": "0",
764
+ "MINK4575": "5",
765
+ "MINK7512": "2",
766
+ "MINK123M": "0",
767
+ "MINKGEM": "5",
768
+ "MKOOPKLA": "4",
769
+ "PWAPART": "2",
770
+ "PWABEDR": "0",
771
+ "PWALAND": "0",
772
+ "PPERSAUT": "0",
773
+ "PBESAUT": "0",
774
+ "PMOTSCO": "0",
775
+ "PVRAAUT": "0",
776
+ "PAANHANG": "0",
777
+ "PTRACTOR": "0",
778
+ "PWERKT": "0",
779
+ "PBROM": "0",
780
+ "PLEVEN": "0",
781
+ "PPERSONG": "0",
782
+ "PGEZONG": "0",
783
+ "PWAOREG": "0",
784
+ "PBRAND": "2",
785
+ "PZEILPL": "0",
786
+ "PPLEZIER": "0",
787
+ "PFIETS": "0",
788
+ "PINBOED": "0",
789
+ "PBYSTAND": "0",
790
+ "AWAPART": "2",
791
+ "AWABEDR": "0",
792
+ "AWALAND": "0",
793
+ "APERSAUT": "0",
794
+ "ABESAUT": "0",
795
+ "AMOTSCO": "0",
796
+ "AVRAAUT": "0",
797
+ "AAANHANG": "0",
798
+ "ATRACTOR": "0",
799
+ "AWERKT": "0",
800
+ "ABROM": "0",
801
+ "ALEVEN": "0",
802
+ "APERSONG": "0",
803
+ "AGEZONG": "0",
804
+ "AWAOREG": "0",
805
+ "ABRAND": "1",
806
+ "AZEILPL": "0",
807
+ "APLEZIER": "0",
808
+ "AFIETS": "0",
809
+ "AINBOED": "0",
810
+ "ABYSTAND": "0",
811
+ "CARAVAN": "0"
812
+ },
813
+ {
814
+ "MOSTYPE": "37",
815
+ "MAANTHUI": "1",
816
+ "MGEMOMV": "2",
817
+ "MGEMLEEF": "2",
818
+ "MOSHOOFD": "8",
819
+ "MGODRK": "0",
820
+ "MGODPR": "4",
821
+ "MGODOV": "2",
822
+ "MGODGE": "4",
823
+ "MRELGE": "3",
824
+ "MRELSA": "2",
825
+ "MRELOV": "4",
826
+ "MFALLEEN": "4",
827
+ "MFGEKIND": "4",
828
+ "MFWEKIND": "2",
829
+ "MOPLHOOG": "0",
830
+ "MOPLMIDD": "5",
831
+ "MOPLLAAG": "4",
832
+ "MBERHOOG": "0",
833
+ "MBERZELF": "0",
834
+ "MBERBOER": "0",
835
+ "MBERMIDD": "7",
836
+ "MBERARBG": "0",
837
+ "MBERARBO": "2",
838
+ "MSKA": "0",
839
+ "MSKB1": "5",
840
+ "MSKB2": "0",
841
+ "MSKC": "4",
842
+ "MSKD": "0",
843
+ "MHHUUR": "7",
844
+ "MHKOOP": "2",
845
+ "MAUT1": "7",
846
+ "MAUT2": "0",
847
+ "MAUT0": "2",
848
+ "MZFONDS": "9",
849
+ "MZPART": "0",
850
+ "MINKM30": "4",
851
+ "MINK3045": "5",
852
+ "MINK4575": "0",
853
+ "MINK7512": "0",
854
+ "MINK123M": "0",
855
+ "MINKGEM": "3",
856
+ "MKOOPKLA": "4",
857
+ "PWAPART": "2",
858
+ "PWABEDR": "0",
859
+ "PWALAND": "0",
860
+ "PPERSAUT": "6",
861
+ "PBESAUT": "0",
862
+ "PMOTSCO": "0",
863
+ "PVRAAUT": "0",
864
+ "PAANHANG": "0",
865
+ "PTRACTOR": "0",
866
+ "PWERKT": "0",
867
+ "PBROM": "0",
868
+ "PLEVEN": "0",
869
+ "PPERSONG": "0",
870
+ "PGEZONG": "0",
871
+ "PWAOREG": "0",
872
+ "PBRAND": "2",
873
+ "PZEILPL": "0",
874
+ "PPLEZIER": "0",
875
+ "PFIETS": "0",
876
+ "PINBOED": "0",
877
+ "PBYSTAND": "0",
878
+ "AWAPART": "1",
879
+ "AWABEDR": "0",
880
+ "AWALAND": "0",
881
+ "APERSAUT": "1",
882
+ "ABESAUT": "0",
883
+ "AMOTSCO": "0",
884
+ "AVRAAUT": "0",
885
+ "AAANHANG": "0",
886
+ "ATRACTOR": "0",
887
+ "AWERKT": "0",
888
+ "ABROM": "0",
889
+ "ALEVEN": "0",
890
+ "APERSONG": "0",
891
+ "AGEZONG": "0",
892
+ "AWAOREG": "0",
893
+ "ABRAND": "1",
894
+ "AZEILPL": "0",
895
+ "APLEZIER": "0",
896
+ "AFIETS": "0",
897
+ "AINBOED": "0",
898
+ "ABYSTAND": "0",
899
+ "CARAVAN": "0"
900
+ },
901
+ {
902
+ "MOSTYPE": "9",
903
+ "MAANTHUI": "1",
904
+ "MGEMOMV": "3",
905
+ "MGEMLEEF": "3",
906
+ "MOSHOOFD": "3",
907
+ "MGODRK": "2",
908
+ "MGODPR": "3",
909
+ "MGODOV": "2",
910
+ "MGODGE": "4",
911
+ "MRELGE": "5",
912
+ "MRELSA": "2",
913
+ "MRELOV": "2",
914
+ "MFALLEEN": "2",
915
+ "MFGEKIND": "3",
916
+ "MFWEKIND": "4",
917
+ "MOPLHOOG": "3",
918
+ "MOPLMIDD": "4",
919
+ "MOPLLAAG": "2",
920
+ "MBERHOOG": "4",
921
+ "MBERZELF": "0",
922
+ "MBERBOER": "0",
923
+ "MBERMIDD": "3",
924
+ "MBERARBG": "1",
925
+ "MBERARBO": "2",
926
+ "MSKA": "3",
927
+ "MSKB1": "2",
928
+ "MSKB2": "1",
929
+ "MSKC": "4",
930
+ "MSKD": "0",
931
+ "MHHUUR": "5",
932
+ "MHKOOP": "4",
933
+ "MAUT1": "9",
934
+ "MAUT2": "0",
935
+ "MAUT0": "0",
936
+ "MZFONDS": "7",
937
+ "MZPART": "2",
938
+ "MINKM30": "1",
939
+ "MINK3045": "5",
940
+ "MINK4575": "3",
941
+ "MINK7512": "0",
942
+ "MINK123M": "0",
943
+ "MINKGEM": "4",
944
+ "MKOOPKLA": "4",
945
+ "PWAPART": "0",
946
+ "PWABEDR": "0",
947
+ "PWALAND": "0",
948
+ "PPERSAUT": "6",
949
+ "PBESAUT": "0",
950
+ "PMOTSCO": "0",
951
+ "PVRAAUT": "0",
952
+ "PAANHANG": "0",
953
+ "PTRACTOR": "0",
954
+ "PWERKT": "0",
955
+ "PBROM": "0",
956
+ "PLEVEN": "0",
957
+ "PPERSONG": "0",
958
+ "PGEZONG": "0",
959
+ "PWAOREG": "0",
960
+ "PBRAND": "2",
961
+ "PZEILPL": "0",
962
+ "PPLEZIER": "0",
963
+ "PFIETS": "0",
964
+ "PINBOED": "0",
965
+ "PBYSTAND": "0",
966
+ "AWAPART": "0",
967
+ "AWABEDR": "0",
968
+ "AWALAND": "0",
969
+ "APERSAUT": "1",
970
+ "ABESAUT": "0",
971
+ "AMOTSCO": "0",
972
+ "AVRAAUT": "0",
973
+ "AAANHANG": "0",
974
+ "ATRACTOR": "0",
975
+ "AWERKT": "0",
976
+ "ABROM": "0",
977
+ "ALEVEN": "0",
978
+ "APERSONG": "0",
979
+ "AGEZONG": "0",
980
+ "AWAOREG": "0",
981
+ "ABRAND": "1",
982
+ "AZEILPL": "0",
983
+ "APLEZIER": "0",
984
+ "AFIETS": "0",
985
+ "AINBOED": "0",
986
+ "ABYSTAND": "0",
987
+ "CARAVAN": "0"
988
+ },
989
+ {
990
+ "MOSTYPE": "40",
991
+ "MAANTHUI": "1",
992
+ "MGEMOMV": "4",
993
+ "MGEMLEEF": "2",
994
+ "MOSHOOFD": "10",
995
+ "MGODRK": "1",
996
+ "MGODPR": "4",
997
+ "MGODOV": "1",
998
+ "MGODGE": "4",
999
+ "MRELGE": "7",
1000
+ "MRELSA": "1",
1001
+ "MRELOV": "2",
1002
+ "MFALLEEN": "2",
1003
+ "MFGEKIND": "4",
1004
+ "MFWEKIND": "4",
1005
+ "MOPLHOOG": "5",
1006
+ "MOPLMIDD": "4",
1007
+ "MOPLLAAG": "0",
1008
+ "MBERHOOG": "0",
1009
+ "MBERZELF": "5",
1010
+ "MBERBOER": "4",
1011
+ "MBERMIDD": "0",
1012
+ "MBERARBG": "0",
1013
+ "MBERARBO": "0",
1014
+ "MSKA": "9",
1015
+ "MSKB1": "0",
1016
+ "MSKB2": "0",
1017
+ "MSKC": "0",
1018
+ "MSKD": "0",
1019
+ "MHHUUR": "4",
1020
+ "MHKOOP": "5",
1021
+ "MAUT1": "6",
1022
+ "MAUT2": "2",
1023
+ "MAUT0": "1",
1024
+ "MZFONDS": "5",
1025
+ "MZPART": "4",
1026
+ "MINKM30": "0",
1027
+ "MINK3045": "0",
1028
+ "MINK4575": "9",
1029
+ "MINK7512": "0",
1030
+ "MINK123M": "0",
1031
+ "MINKGEM": "6",
1032
+ "MKOOPKLA": "3",
1033
+ "PWAPART": "0",
1034
+ "PWABEDR": "0",
1035
+ "PWALAND": "0",
1036
+ "PPERSAUT": "0",
1037
+ "PBESAUT": "0",
1038
+ "PMOTSCO": "0",
1039
+ "PVRAAUT": "0",
1040
+ "PAANHANG": "0",
1041
+ "PTRACTOR": "0",
1042
+ "PWERKT": "0",
1043
+ "PBROM": "0",
1044
+ "PLEVEN": "0",
1045
+ "PPERSONG": "0",
1046
+ "PGEZONG": "0",
1047
+ "PWAOREG": "0",
1048
+ "PBRAND": "6",
1049
+ "PZEILPL": "0",
1050
+ "PPLEZIER": "0",
1051
+ "PFIETS": "0",
1052
+ "PINBOED": "0",
1053
+ "PBYSTAND": "0",
1054
+ "AWAPART": "0",
1055
+ "AWABEDR": "0",
1056
+ "AWALAND": "0",
1057
+ "APERSAUT": "0",
1058
+ "ABESAUT": "0",
1059
+ "AMOTSCO": "0",
1060
+ "AVRAAUT": "0",
1061
+ "AAANHANG": "0",
1062
+ "ATRACTOR": "0",
1063
+ "AWERKT": "0",
1064
+ "ABROM": "0",
1065
+ "ALEVEN": "0",
1066
+ "APERSONG": "0",
1067
+ "AGEZONG": "0",
1068
+ "AWAOREG": "0",
1069
+ "ABRAND": "1",
1070
+ "AZEILPL": "0",
1071
+ "APLEZIER": "0",
1072
+ "AFIETS": "0",
1073
+ "AINBOED": "0",
1074
+ "ABYSTAND": "0",
1075
+ "CARAVAN": "0"
1076
+ }
1077
+ ]
1078
+ }
1079
+
1080
+ Shortlisted templates:
1081
+ [
1082
+ {
1083
+ "template_id": "tpl_m4_quantile_tail_slice",
1084
+ "template_name": "Quantile Tail Slice",
1085
+ "primary_family": "tail_rarity_structure",
1086
+ "portability": "partial",
1087
+ "sql_skeleton": "WITH buckets AS (\n SELECT {measure_col},\n NTILE({num_tiles}) OVER (ORDER BY {measure_col} DESC) AS tail_bucket\n FROM {table}\n)\nSELECT {measure_col}\nFROM buckets\nWHERE tail_bucket = 1\nORDER BY {measure_col} DESC;",
1088
+ "required_roles": [
1089
+ "measure_col"
1090
+ ]
1091
+ }
1092
+ ]
1093
+
1094
+ Problem instance:
1095
+ {
1096
+ "dataset_id": "n15",
1097
+ "question": "Use template Quantile Tail Slice to probe tail_set_consistency with semantic role rare_extreme_view. Focus on measure_col=MRELSA.",
1098
+ "planned_template_id": "tpl_m4_quantile_tail_slice",
1099
+ "bindings": {
1100
+ "measure_col": "MRELSA",
1101
+ "top_k": 14,
1102
+ "top_n": 3,
1103
+ "num_tiles": 10,
1104
+ "percentile_value": 0.95,
1105
+ "z_threshold": 2.0,
1106
+ "fraction_threshold": 0.1,
1107
+ "baseline_multiplier": 1.5,
1108
+ "baseline_fraction": 0.1,
1109
+ "min_group_size": 5,
1110
+ "min_support": 5,
1111
+ "measure_threshold": 3.0,
1112
+ "time_grain": "month",
1113
+ "lookback_rows": 3,
1114
+ "current_period_start": "'2024-01-01'",
1115
+ "current_period_end": "'2024-04-01'",
1116
+ "previous_period_start": "'2023-10-01'",
1117
+ "previous_period_end": "'2024-01-01'",
1118
+ "drift_ratio_threshold": 0.8
1119
+ },
1120
+ "can_vary": [],
1121
+ "must_fix": [],
1122
+ "runtime_sql_skeleton": "WITH buckets AS (\n SELECT {measure_col},\n NTILE({num_tiles}) OVER (ORDER BY {measure_col} DESC) AS tail_bucket\n FROM {table}\n)\nSELECT {measure_col}\nFROM buckets\nWHERE tail_bucket = 1\nORDER BY {measure_col} DESC;"
1123
+ }
1124
+
1125
+ Repair context:
1126
+ {}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/sql_response_attempt_1.raw.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {"type":"thread.started","thread_id":"019e40ec-00c3-7fa2-8b33-cff5682a63de"}
2
+ {"type":"turn.started"}
3
+ {"type":"error","message":"Reconnecting... 2/5 (stream disconnected before completion: Rate limit reached for gpt-5.4 in organization org-yXK0mBGOR7eXhtGEx8v7e3bf on tokens per min (TPM): Limit 2000000, Used 1980812, Requested 23695. Please try again in 135ms. Visit https://platform.openai.com/account/rate-limits to learn more.)"}
4
+ {"type":"error","message":"Reconnecting... 3/5 (stream disconnected before completion: Rate limit reached for gpt-5.4 in organization org-yXK0mBGOR7eXhtGEx8v7e3bf on tokens per min (TPM): Limit 2000000, Used 2000000, Requested 23695. Please try again in 710ms. Visit https://platform.openai.com/account/rate-limits to learn more.)"}
5
+ {"type":"item.completed","item":{"id":"item_0","type":"agent_message","text":"{\"sql\":\"-- template_id: tpl_m4_quantile_tail_slice\\nWITH \\\"buckets\\\" AS (\\n SELECT\\n CAST(\\\"MRELSA\\\" AS INTEGER) AS \\\"MRELSA\\\",\\n NTILE(10) OVER (ORDER BY CAST(\\\"MRELSA\\\" AS INTEGER) DESC) AS \\\"tail_bucket\\\"\\n FROM \\\"n15\\\"\\n WHERE \\\"MRELSA\\\" IS NOT NULL\\n)\\nSELECT \\\"MRELSA\\\"\\nFROM \\\"buckets\\\"\\nWHERE \\\"tail_bucket\\\" = 1\\nORDER BY \\\"MRELSA\\\" DESC;\",\"notes\":\"Applied the Quantile Tail Slice template with measure_col=\\\"MRELSA\\\" and num_tiles=10. \\\"MRELSA\\\" is stored as TEXT in SQLite, so it is cast to INTEGER to preserve numeric tail ordering.\"}"}}
6
+ {"type":"turn.completed","usage":{"input_tokens":23060,"cached_input_tokens":21888,"output_tokens":700,"reasoning_output_tokens":516}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/sql_response_attempt_1.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ {"sql":"-- template_id: tpl_m4_quantile_tail_slice\nWITH \"buckets\" AS (\n SELECT\n CAST(\"MRELSA\" AS INTEGER) AS \"MRELSA\",\n NTILE(10) OVER (ORDER BY CAST(\"MRELSA\" AS INTEGER) DESC) AS \"tail_bucket\"\n FROM \"n15\"\n WHERE \"MRELSA\" IS NOT NULL\n)\nSELECT \"MRELSA\"\nFROM \"buckets\"\nWHERE \"tail_bucket\" = 1\nORDER BY \"MRELSA\" DESC;","notes":"Applied the Quantile Tail Slice template with measure_col=\"MRELSA\" and num_tiles=10. \"MRELSA\" is stored as TEXT in SQLite, so it is cast to INTEGER to preserve numeric tail ordering."}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0a6e3f071a0577a2/cli/sql_stderr_attempt_1.txt ADDED
File without changes
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0b5e53ef206a67da/cli/conversation.jsonl ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"attempt": 1, "phase": "sql_generation", "role": "user", "content_path": "cli/sql_prompt_attempt_1.txt", "metrics": {"chars": 33889, "bytes_utf8": 33889, "lines": 1131, "estimated_tokens": null}}
2
+ {"attempt": 1, "phase": "sql_generation", "role": "assistant", "content_path": "cli/sql_response_attempt_1.txt", "raw_content_path": "cli/sql_response_attempt_1.raw.txt", "stderr_path": "cli/sql_stderr_attempt_1.txt", "metrics": {"chars": 615, "bytes_utf8": 615, "lines": 1, "estimated_tokens": null}, "usage": {"input_tokens": 23218, "cached_input_tokens": 12032, "output_tokens": 879, "reasoning_output_tokens": 693}}
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0b5e53ef206a67da/cli/session_summary.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "engine": "v2-cli:codex",
3
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
4
+ "ai_cli_calls": 1,
5
+ "usage_summary": {
6
+ "dataset_id": "n15",
7
+ "model": "v2-cli:codex",
8
+ "run_id": "v2q_n15_0b5e53ef206a67da",
9
+ "api_calls": 0,
10
+ "input_tokens": 23218,
11
+ "cached_input_tokens": 12032,
12
+ "output_tokens": 879,
13
+ "total_tokens": 24097,
14
+ "cost_usd": 0.0,
15
+ "ai_cli_calls": 1,
16
+ "estimated_input_tokens": 0,
17
+ "estimated_output_tokens": 0,
18
+ "estimated_total_tokens": 0,
19
+ "usage_source": "ai_cli_json_usage",
20
+ "cli_elapsed_ms_total": 18318.43,
21
+ "sql_execution_elapsed_ms_total": 5.97,
22
+ "conversation_log_path": "/data/jialinzhang/TabQueryBench/sql_workloads/v2_current/runs_and_launches/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0b5e53ef206a67da/cli/conversation.jsonl",
23
+ "note": "Executed through a local AI CLI with structured usage metadata."
24
+ }
25
+ }
Query/sql/v2/runs/v2_cli_20260502_081223_b/n15/artifacts/v2q_n15_0b5e53ef206a67da/cli/sql_attempt_1.metadata.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attempt": 1,
3
+ "phase": "sql_generation",
4
+ "command": "codex exec --skip-git-repo-check --disable plugins --sandbox read-only --cd \"/data/jialinzhang/SQLagent\" -m gpt-5.4 --json -",
5
+ "started_at": "2026-05-19T15:42:38.642640+00:00",
6
+ "ended_at": "2026-05-19T15:42:56.961112+00:00",
7
+ "elapsed_ms": 18318.43,
8
+ "prompt_metrics": {
9
+ "chars": 33889,
10
+ "bytes_utf8": 33889,
11
+ "lines": 1131,
12
+ "estimated_tokens": null
13
+ },
14
+ "stdout_metrics": {
15
+ "chars": 984,
16
+ "bytes_utf8": 984,
17
+ "lines": 4,
18
+ "estimated_tokens": null
19
+ },
20
+ "stderr_metrics": {
21
+ "chars": 0,
22
+ "bytes_utf8": 0,
23
+ "lines": 0,
24
+ "estimated_tokens": null
25
+ },
26
+ "parsed_output": {
27
+ "format": "jsonl_events",
28
+ "text_metrics": {
29
+ "chars": 615,
30
+ "bytes_utf8": 615,
31
+ "lines": 1,
32
+ "estimated_tokens": null
33
+ },
34
+ "usage": {
35
+ "input_tokens": 23218,
36
+ "cached_input_tokens": 12032,
37
+ "output_tokens": 879,
38
+ "reasoning_output_tokens": 693
39
+ }
40
+ },
41
+ "prompt_path": "cli/sql_prompt_attempt_1.txt",
42
+ "response_path": "cli/sql_response_attempt_1.txt",
43
+ "raw_response_path": "cli/sql_response_attempt_1.raw.txt",
44
+ "stderr_path": "cli/sql_stderr_attempt_1.txt"
45
+ }