Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_attempt_1.metadata.json +43 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_attempt_2.metadata.json +43 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_prompt_attempt_1.txt +924 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_prompt_attempt_2.txt +924 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_response_attempt_1.raw.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_response_attempt_1.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_response_attempt_2.raw.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_response_attempt_2.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_stderr_attempt_1.txt +0 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_stderr_attempt_2.txt +0 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_attempt_1.metadata.json +43 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_attempt_2.metadata.json +43 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_prompt_attempt_1.txt +924 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_prompt_attempt_2.txt +924 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_response_attempt_1.raw.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_response_attempt_1.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_response_attempt_2.raw.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_response_attempt_2.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_stderr_attempt_1.txt +0 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_stderr_attempt_2.txt +0 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_attempt_1.metadata.json +43 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_attempt_2.metadata.json +43 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_prompt_attempt_1.txt +927 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_prompt_attempt_2.txt +927 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_response_attempt_1.raw.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_response_attempt_1.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_response_attempt_2.raw.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_response_attempt_2.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_stderr_attempt_1.txt +0 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_stderr_attempt_2.txt +0 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_attempt_1.metadata.json +43 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_attempt_2.metadata.json +43 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_prompt_attempt_1.txt +924 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_prompt_attempt_2.txt +924 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_response_attempt_1.raw.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_response_attempt_1.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_response_attempt_2.raw.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_response_attempt_2.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_stderr_attempt_1.txt +0 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_stderr_attempt_2.txt +0 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_attempt_1.metadata.json +43 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_attempt_2.metadata.json +43 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_prompt_attempt_1.txt +928 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_prompt_attempt_2.txt +928 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_response_attempt_1.raw.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_response_attempt_1.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_response_attempt_2.raw.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_response_attempt_2.txt +4 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_stderr_attempt_1.txt +0 -0
- Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_stderr_attempt_2.txt +0 -0
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/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:29:26.014471+00:00",
|
| 6 |
+
"ended_at": "2026-05-19T16:29:29.409281+00:00",
|
| 7 |
+
"elapsed_ms": 3394.76,
|
| 8 |
+
"returncode": 1,
|
| 9 |
+
"prompt_metrics": {
|
| 10 |
+
"chars": 27720,
|
| 11 |
+
"bytes_utf8": 27720,
|
| 12 |
+
"lines": 924,
|
| 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_e/c13/artifacts/v2q_c13_016bce2ef735e157/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:29:30.413161+00:00",
|
| 6 |
+
"ended_at": "2026-05-19T16:29:34.618375+00:00",
|
| 7 |
+
"elapsed_ms": 4205.15,
|
| 8 |
+
"returncode": 1,
|
| 9 |
+
"prompt_metrics": {
|
| 10 |
+
"chars": 27720,
|
| 11 |
+
"bytes_utf8": 27720,
|
| 12 |
+
"lines": 924,
|
| 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_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_prompt_attempt_1.txt
ADDED
|
@@ -0,0 +1,924 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
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: c13
|
| 15 |
+
- dataset_name: Us Census Data 1990
|
| 16 |
+
- table_name: c13
|
| 17 |
+
- table_layout: single-table dataset (do not assume joins).
|
| 18 |
+
- row_semantics: One row is one tabular observation with 68 feature columns and target `iClass`.
|
| 19 |
+
- task_type: classification
|
| 20 |
+
- target_column: iClass
|
| 21 |
+
- main_row_count: 2458285
|
| 22 |
+
- important_fields:
|
| 23 |
+
- caseid: role=feature, type=identifier_numeric. tags=['identifier', 'probe_exclude', 'high_cardinality_candidate'] desc=Identifier-like field for caseid.
|
| 24 |
+
- dAge: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAge.
|
| 25 |
+
- dAncstry1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry1.
|
| 26 |
+
- dAncstry2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry2.
|
| 27 |
+
- iAvail: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iAvail.
|
| 28 |
+
- iCitizen: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iCitizen.
|
| 29 |
+
- iClass: role=target, type=categorical_ordinal_target. ordered=['0', '1', '4', '6', '8'] tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for iClass.
|
| 30 |
+
- dDepart: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dDepart.
|
| 31 |
+
- iDisabl1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl1.
|
| 32 |
+
- iDisabl2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl2.
|
| 33 |
+
- iEnglish: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iEnglish.
|
| 34 |
+
- iFeb55: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iFeb55.
|
| 35 |
+
- iFertil: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iFertil.
|
| 36 |
+
- dHispanic: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHispanic.
|
| 37 |
+
- dHour89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHour89.
|
| 38 |
+
- dHours: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHours.
|
| 39 |
+
- iImmigr: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iImmigr.
|
| 40 |
+
- dIncome1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIncome1.
|
| 41 |
+
- dIncome2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome2.
|
| 42 |
+
- dIncome3: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome3.
|
| 43 |
+
- dIncome4: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome4.
|
| 44 |
+
- dIncome5: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome5.
|
| 45 |
+
- dIncome6: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome6.
|
| 46 |
+
- dIncome7: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome7.
|
| 47 |
+
- dIncome8: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome8.
|
| 48 |
+
- dIndustry: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIndustry.
|
| 49 |
+
- iKorean: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iKorean.
|
| 50 |
+
- iLang1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLang1.
|
| 51 |
+
- iLooking: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLooking.
|
| 52 |
+
- iMarital: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMarital.
|
| 53 |
+
- iMay75880: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iMay75880.
|
| 54 |
+
- iMeans: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMeans.
|
| 55 |
+
- iMilitary: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMilitary.
|
| 56 |
+
- iMobility: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobility.
|
| 57 |
+
- iMobillim: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobillim.
|
| 58 |
+
- dOccup: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dOccup.
|
| 59 |
+
- iOthrserv: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iOthrserv.
|
| 60 |
+
- iPerscare: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iPerscare.
|
| 61 |
+
- dPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPOB.
|
| 62 |
+
- dPoverty: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPoverty.
|
| 63 |
+
- dPwgt1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPwgt1.
|
| 64 |
+
- iRagechld: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRagechld.
|
| 65 |
+
- dRearning: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRearning.
|
| 66 |
+
- iRelat1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRelat1.
|
| 67 |
+
- iRelat2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRelat2.
|
| 68 |
+
- iRemplpar: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRemplpar.
|
| 69 |
+
- iRiders: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRiders.
|
| 70 |
+
- iRlabor: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRlabor.
|
| 71 |
+
- iRownchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRownchld.
|
| 72 |
+
- dRpincome: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRpincome.
|
| 73 |
+
- iRPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRPOB.
|
| 74 |
+
- iRrelchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRrelchld.
|
| 75 |
+
- iRspouse: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRspouse.
|
| 76 |
+
- iRvetserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRvetserv.
|
| 77 |
+
- iSchool: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSchool.
|
| 78 |
+
- iSept80: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSept80.
|
| 79 |
+
- iSex: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSex.
|
| 80 |
+
- iSubfam1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSubfam1.
|
| 81 |
+
- iSubfam2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSubfam2.
|
| 82 |
+
- iTmpabsnt: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iTmpabsnt.
|
| 83 |
+
- dTravtime: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dTravtime.
|
| 84 |
+
- iVietnam: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iVietnam.
|
| 85 |
+
- dWeek89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dWeek89.
|
| 86 |
+
- iWork89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWork89.
|
| 87 |
+
- iWorklwk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWorklwk.
|
| 88 |
+
- iWWII: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iWWII.
|
| 89 |
+
- iYearsch: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearsch.
|
| 90 |
+
- iYearwrk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearwrk.
|
| 91 |
+
- dYrsserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dYrsserv.
|
| 92 |
+
- useful_field_combinations: [['dAge', 'dAncstry1', 'iClass'], ['dAge', 'dAge', 'iClass']]
|
| 93 |
+
- fields_requiring_caution: ['iClass']
|
| 94 |
+
- source_url: https://archive.ics.uci.edu/dataset/116/us+census+data+1990
|
| 95 |
+
|
| 96 |
+
SQLite schema snapshot:
|
| 97 |
+
{
|
| 98 |
+
"table_name": "c13",
|
| 99 |
+
"quoted_table_name": "\"c13\"",
|
| 100 |
+
"row_count": 2458285,
|
| 101 |
+
"columns": [
|
| 102 |
+
{
|
| 103 |
+
"name": "caseid",
|
| 104 |
+
"type": "TEXT",
|
| 105 |
+
"notnull": false,
|
| 106 |
+
"pk": false
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": "dAge",
|
| 110 |
+
"type": "TEXT",
|
| 111 |
+
"notnull": false,
|
| 112 |
+
"pk": false
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": "dAncstry1",
|
| 116 |
+
"type": "TEXT",
|
| 117 |
+
"notnull": false,
|
| 118 |
+
"pk": false
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": "dAncstry2",
|
| 122 |
+
"type": "TEXT",
|
| 123 |
+
"notnull": false,
|
| 124 |
+
"pk": false
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": "iAvail",
|
| 128 |
+
"type": "TEXT",
|
| 129 |
+
"notnull": false,
|
| 130 |
+
"pk": false
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": "iCitizen",
|
| 134 |
+
"type": "TEXT",
|
| 135 |
+
"notnull": false,
|
| 136 |
+
"pk": false
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": "iClass",
|
| 140 |
+
"type": "TEXT",
|
| 141 |
+
"notnull": false,
|
| 142 |
+
"pk": false
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": "dDepart",
|
| 146 |
+
"type": "TEXT",
|
| 147 |
+
"notnull": false,
|
| 148 |
+
"pk": false
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"name": "iDisabl1",
|
| 152 |
+
"type": "TEXT",
|
| 153 |
+
"notnull": false,
|
| 154 |
+
"pk": false
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": "iDisabl2",
|
| 158 |
+
"type": "TEXT",
|
| 159 |
+
"notnull": false,
|
| 160 |
+
"pk": false
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"name": "iEnglish",
|
| 164 |
+
"type": "TEXT",
|
| 165 |
+
"notnull": false,
|
| 166 |
+
"pk": false
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "iFeb55",
|
| 170 |
+
"type": "TEXT",
|
| 171 |
+
"notnull": false,
|
| 172 |
+
"pk": false
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"name": "iFertil",
|
| 176 |
+
"type": "TEXT",
|
| 177 |
+
"notnull": false,
|
| 178 |
+
"pk": false
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": "dHispanic",
|
| 182 |
+
"type": "TEXT",
|
| 183 |
+
"notnull": false,
|
| 184 |
+
"pk": false
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": "dHour89",
|
| 188 |
+
"type": "TEXT",
|
| 189 |
+
"notnull": false,
|
| 190 |
+
"pk": false
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"name": "dHours",
|
| 194 |
+
"type": "TEXT",
|
| 195 |
+
"notnull": false,
|
| 196 |
+
"pk": false
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"name": "iImmigr",
|
| 200 |
+
"type": "TEXT",
|
| 201 |
+
"notnull": false,
|
| 202 |
+
"pk": false
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"name": "dIncome1",
|
| 206 |
+
"type": "TEXT",
|
| 207 |
+
"notnull": false,
|
| 208 |
+
"pk": false
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"name": "dIncome2",
|
| 212 |
+
"type": "TEXT",
|
| 213 |
+
"notnull": false,
|
| 214 |
+
"pk": false
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"name": "dIncome3",
|
| 218 |
+
"type": "TEXT",
|
| 219 |
+
"notnull": false,
|
| 220 |
+
"pk": false
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"name": "dIncome4",
|
| 224 |
+
"type": "TEXT",
|
| 225 |
+
"notnull": false,
|
| 226 |
+
"pk": false
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"name": "dIncome5",
|
| 230 |
+
"type": "TEXT",
|
| 231 |
+
"notnull": false,
|
| 232 |
+
"pk": false
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"name": "dIncome6",
|
| 236 |
+
"type": "TEXT",
|
| 237 |
+
"notnull": false,
|
| 238 |
+
"pk": false
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"name": "dIncome7",
|
| 242 |
+
"type": "TEXT",
|
| 243 |
+
"notnull": false,
|
| 244 |
+
"pk": false
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"name": "dIncome8",
|
| 248 |
+
"type": "TEXT",
|
| 249 |
+
"notnull": false,
|
| 250 |
+
"pk": false
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"name": "dIndustry",
|
| 254 |
+
"type": "TEXT",
|
| 255 |
+
"notnull": false,
|
| 256 |
+
"pk": false
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"name": "iKorean",
|
| 260 |
+
"type": "TEXT",
|
| 261 |
+
"notnull": false,
|
| 262 |
+
"pk": false
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"name": "iLang1",
|
| 266 |
+
"type": "TEXT",
|
| 267 |
+
"notnull": false,
|
| 268 |
+
"pk": false
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"name": "iLooking",
|
| 272 |
+
"type": "TEXT",
|
| 273 |
+
"notnull": false,
|
| 274 |
+
"pk": false
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"name": "iMarital",
|
| 278 |
+
"type": "TEXT",
|
| 279 |
+
"notnull": false,
|
| 280 |
+
"pk": false
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"name": "iMay75880",
|
| 284 |
+
"type": "TEXT",
|
| 285 |
+
"notnull": false,
|
| 286 |
+
"pk": false
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"name": "iMeans",
|
| 290 |
+
"type": "TEXT",
|
| 291 |
+
"notnull": false,
|
| 292 |
+
"pk": false
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"name": "iMilitary",
|
| 296 |
+
"type": "TEXT",
|
| 297 |
+
"notnull": false,
|
| 298 |
+
"pk": false
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"name": "iMobility",
|
| 302 |
+
"type": "TEXT",
|
| 303 |
+
"notnull": false,
|
| 304 |
+
"pk": false
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"name": "iMobillim",
|
| 308 |
+
"type": "TEXT",
|
| 309 |
+
"notnull": false,
|
| 310 |
+
"pk": false
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"name": "dOccup",
|
| 314 |
+
"type": "TEXT",
|
| 315 |
+
"notnull": false,
|
| 316 |
+
"pk": false
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"name": "iOthrserv",
|
| 320 |
+
"type": "TEXT",
|
| 321 |
+
"notnull": false,
|
| 322 |
+
"pk": false
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"name": "iPerscare",
|
| 326 |
+
"type": "TEXT",
|
| 327 |
+
"notnull": false,
|
| 328 |
+
"pk": false
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"name": "dPOB",
|
| 332 |
+
"type": "TEXT",
|
| 333 |
+
"notnull": false,
|
| 334 |
+
"pk": false
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"name": "dPoverty",
|
| 338 |
+
"type": "TEXT",
|
| 339 |
+
"notnull": false,
|
| 340 |
+
"pk": false
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"name": "dPwgt1",
|
| 344 |
+
"type": "TEXT",
|
| 345 |
+
"notnull": false,
|
| 346 |
+
"pk": false
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"name": "iRagechld",
|
| 350 |
+
"type": "TEXT",
|
| 351 |
+
"notnull": false,
|
| 352 |
+
"pk": false
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"name": "dRearning",
|
| 356 |
+
"type": "TEXT",
|
| 357 |
+
"notnull": false,
|
| 358 |
+
"pk": false
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"name": "iRelat1",
|
| 362 |
+
"type": "TEXT",
|
| 363 |
+
"notnull": false,
|
| 364 |
+
"pk": false
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"name": "iRelat2",
|
| 368 |
+
"type": "TEXT",
|
| 369 |
+
"notnull": false,
|
| 370 |
+
"pk": false
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"name": "iRemplpar",
|
| 374 |
+
"type": "TEXT",
|
| 375 |
+
"notnull": false,
|
| 376 |
+
"pk": false
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"name": "iRiders",
|
| 380 |
+
"type": "TEXT",
|
| 381 |
+
"notnull": false,
|
| 382 |
+
"pk": false
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"name": "iRlabor",
|
| 386 |
+
"type": "TEXT",
|
| 387 |
+
"notnull": false,
|
| 388 |
+
"pk": false
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"name": "iRownchld",
|
| 392 |
+
"type": "TEXT",
|
| 393 |
+
"notnull": false,
|
| 394 |
+
"pk": false
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"name": "dRpincome",
|
| 398 |
+
"type": "TEXT",
|
| 399 |
+
"notnull": false,
|
| 400 |
+
"pk": false
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"name": "iRPOB",
|
| 404 |
+
"type": "TEXT",
|
| 405 |
+
"notnull": false,
|
| 406 |
+
"pk": false
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"name": "iRrelchld",
|
| 410 |
+
"type": "TEXT",
|
| 411 |
+
"notnull": false,
|
| 412 |
+
"pk": false
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"name": "iRspouse",
|
| 416 |
+
"type": "TEXT",
|
| 417 |
+
"notnull": false,
|
| 418 |
+
"pk": false
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"name": "iRvetserv",
|
| 422 |
+
"type": "TEXT",
|
| 423 |
+
"notnull": false,
|
| 424 |
+
"pk": false
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"name": "iSchool",
|
| 428 |
+
"type": "TEXT",
|
| 429 |
+
"notnull": false,
|
| 430 |
+
"pk": false
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"name": "iSept80",
|
| 434 |
+
"type": "TEXT",
|
| 435 |
+
"notnull": false,
|
| 436 |
+
"pk": false
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"name": "iSex",
|
| 440 |
+
"type": "TEXT",
|
| 441 |
+
"notnull": false,
|
| 442 |
+
"pk": false
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"name": "iSubfam1",
|
| 446 |
+
"type": "TEXT",
|
| 447 |
+
"notnull": false,
|
| 448 |
+
"pk": false
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"name": "iSubfam2",
|
| 452 |
+
"type": "TEXT",
|
| 453 |
+
"notnull": false,
|
| 454 |
+
"pk": false
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"name": "iTmpabsnt",
|
| 458 |
+
"type": "TEXT",
|
| 459 |
+
"notnull": false,
|
| 460 |
+
"pk": false
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"name": "dTravtime",
|
| 464 |
+
"type": "TEXT",
|
| 465 |
+
"notnull": false,
|
| 466 |
+
"pk": false
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"name": "iVietnam",
|
| 470 |
+
"type": "TEXT",
|
| 471 |
+
"notnull": false,
|
| 472 |
+
"pk": false
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"name": "dWeek89",
|
| 476 |
+
"type": "TEXT",
|
| 477 |
+
"notnull": false,
|
| 478 |
+
"pk": false
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"name": "iWork89",
|
| 482 |
+
"type": "TEXT",
|
| 483 |
+
"notnull": false,
|
| 484 |
+
"pk": false
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"name": "iWorklwk",
|
| 488 |
+
"type": "TEXT",
|
| 489 |
+
"notnull": false,
|
| 490 |
+
"pk": false
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"name": "iWWII",
|
| 494 |
+
"type": "TEXT",
|
| 495 |
+
"notnull": false,
|
| 496 |
+
"pk": false
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"name": "iYearsch",
|
| 500 |
+
"type": "TEXT",
|
| 501 |
+
"notnull": false,
|
| 502 |
+
"pk": false
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"name": "iYearwrk",
|
| 506 |
+
"type": "TEXT",
|
| 507 |
+
"notnull": false,
|
| 508 |
+
"pk": false
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"name": "dYrsserv",
|
| 512 |
+
"type": "TEXT",
|
| 513 |
+
"notnull": false,
|
| 514 |
+
"pk": false
|
| 515 |
+
}
|
| 516 |
+
],
|
| 517 |
+
"sample_rows": [
|
| 518 |
+
{
|
| 519 |
+
"caseid": "10000",
|
| 520 |
+
"dAge": "5",
|
| 521 |
+
"dAncstry1": "0",
|
| 522 |
+
"dAncstry2": "1",
|
| 523 |
+
"iAvail": "0",
|
| 524 |
+
"iCitizen": "0",
|
| 525 |
+
"iClass": "5",
|
| 526 |
+
"dDepart": "3",
|
| 527 |
+
"iDisabl1": "2",
|
| 528 |
+
"iDisabl2": "2",
|
| 529 |
+
"iEnglish": "1",
|
| 530 |
+
"iFeb55": "0",
|
| 531 |
+
"iFertil": "1",
|
| 532 |
+
"dHispanic": "0",
|
| 533 |
+
"dHour89": "4",
|
| 534 |
+
"dHours": "3",
|
| 535 |
+
"iImmigr": "0",
|
| 536 |
+
"dIncome1": "2",
|
| 537 |
+
"dIncome2": "0",
|
| 538 |
+
"dIncome3": "0",
|
| 539 |
+
"dIncome4": "1",
|
| 540 |
+
"dIncome5": "0",
|
| 541 |
+
"dIncome6": "0",
|
| 542 |
+
"dIncome7": "0",
|
| 543 |
+
"dIncome8": "0",
|
| 544 |
+
"dIndustry": "10",
|
| 545 |
+
"iKorean": "0",
|
| 546 |
+
"iLang1": "1",
|
| 547 |
+
"iLooking": "0",
|
| 548 |
+
"iMarital": "1",
|
| 549 |
+
"iMay75880": "0",
|
| 550 |
+
"iMeans": "1",
|
| 551 |
+
"iMilitary": "4",
|
| 552 |
+
"iMobility": "2",
|
| 553 |
+
"iMobillim": "2",
|
| 554 |
+
"dOccup": "3",
|
| 555 |
+
"iOthrserv": "0",
|
| 556 |
+
"iPerscare": "2",
|
| 557 |
+
"dPOB": "0",
|
| 558 |
+
"dPoverty": "2",
|
| 559 |
+
"dPwgt1": "1",
|
| 560 |
+
"iRagechld": "4",
|
| 561 |
+
"dRearning": "3",
|
| 562 |
+
"iRelat1": "0",
|
| 563 |
+
"iRelat2": "0",
|
| 564 |
+
"iRemplpar": "0",
|
| 565 |
+
"iRiders": "3",
|
| 566 |
+
"iRlabor": "1",
|
| 567 |
+
"iRownchld": "0",
|
| 568 |
+
"dRpincome": "3",
|
| 569 |
+
"iRPOB": "22",
|
| 570 |
+
"iRrelchld": "0",
|
| 571 |
+
"iRspouse": "3",
|
| 572 |
+
"iRvetserv": "0",
|
| 573 |
+
"iSchool": "1",
|
| 574 |
+
"iSept80": "0",
|
| 575 |
+
"iSex": "1",
|
| 576 |
+
"iSubfam1": "0",
|
| 577 |
+
"iSubfam2": "0",
|
| 578 |
+
"iTmpabsnt": "0",
|
| 579 |
+
"dTravtime": "5",
|
| 580 |
+
"iVietnam": "0",
|
| 581 |
+
"dWeek89": "2",
|
| 582 |
+
"iWork89": "1",
|
| 583 |
+
"iWorklwk": "1",
|
| 584 |
+
"iWWII": "0",
|
| 585 |
+
"iYearsch": "11",
|
| 586 |
+
"iYearwrk": "1",
|
| 587 |
+
"dYrsserv": "0"
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"caseid": "10001",
|
| 591 |
+
"dAge": "6",
|
| 592 |
+
"dAncstry1": "1",
|
| 593 |
+
"dAncstry2": "1",
|
| 594 |
+
"iAvail": "0",
|
| 595 |
+
"iCitizen": "0",
|
| 596 |
+
"iClass": "7",
|
| 597 |
+
"dDepart": "5",
|
| 598 |
+
"iDisabl1": "2",
|
| 599 |
+
"iDisabl2": "2",
|
| 600 |
+
"iEnglish": "0",
|
| 601 |
+
"iFeb55": "0",
|
| 602 |
+
"iFertil": "3",
|
| 603 |
+
"dHispanic": "0",
|
| 604 |
+
"dHour89": "1",
|
| 605 |
+
"dHours": "1",
|
| 606 |
+
"iImmigr": "0",
|
| 607 |
+
"dIncome1": "1",
|
| 608 |
+
"dIncome2": "0",
|
| 609 |
+
"dIncome3": "0",
|
| 610 |
+
"dIncome4": "0",
|
| 611 |
+
"dIncome5": "0",
|
| 612 |
+
"dIncome6": "1",
|
| 613 |
+
"dIncome7": "0",
|
| 614 |
+
"dIncome8": "0",
|
| 615 |
+
"dIndustry": "4",
|
| 616 |
+
"iKorean": "0",
|
| 617 |
+
"iLang1": "2",
|
| 618 |
+
"iLooking": "0",
|
| 619 |
+
"iMarital": "0",
|
| 620 |
+
"iMay75880": "0",
|
| 621 |
+
"iMeans": "1",
|
| 622 |
+
"iMilitary": "4",
|
| 623 |
+
"iMobility": "1",
|
| 624 |
+
"iMobillim": "2",
|
| 625 |
+
"dOccup": "2",
|
| 626 |
+
"iOthrserv": "0",
|
| 627 |
+
"iPerscare": "2",
|
| 628 |
+
"dPOB": "0",
|
| 629 |
+
"dPoverty": "2",
|
| 630 |
+
"dPwgt1": "2",
|
| 631 |
+
"iRagechld": "4",
|
| 632 |
+
"dRearning": "2",
|
| 633 |
+
"iRelat1": "1",
|
| 634 |
+
"iRelat2": "0",
|
| 635 |
+
"iRemplpar": "0",
|
| 636 |
+
"iRiders": "1",
|
| 637 |
+
"iRlabor": "1",
|
| 638 |
+
"iRownchld": "0",
|
| 639 |
+
"dRpincome": "2",
|
| 640 |
+
"iRPOB": "10",
|
| 641 |
+
"iRrelchld": "0",
|
| 642 |
+
"iRspouse": "1",
|
| 643 |
+
"iRvetserv": "0",
|
| 644 |
+
"iSchool": "1",
|
| 645 |
+
"iSept80": "0",
|
| 646 |
+
"iSex": "1",
|
| 647 |
+
"iSubfam1": "0",
|
| 648 |
+
"iSubfam2": "0",
|
| 649 |
+
"iTmpabsnt": "0",
|
| 650 |
+
"dTravtime": "1",
|
| 651 |
+
"iVietnam": "0",
|
| 652 |
+
"dWeek89": "2",
|
| 653 |
+
"iWork89": "1",
|
| 654 |
+
"iWorklwk": "1",
|
| 655 |
+
"iWWII": "0",
|
| 656 |
+
"iYearsch": "5",
|
| 657 |
+
"iYearwrk": "1",
|
| 658 |
+
"dYrsserv": "0"
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"caseid": "10002",
|
| 662 |
+
"dAge": "3",
|
| 663 |
+
"dAncstry1": "1",
|
| 664 |
+
"dAncstry2": "2",
|
| 665 |
+
"iAvail": "0",
|
| 666 |
+
"iCitizen": "0",
|
| 667 |
+
"iClass": "7",
|
| 668 |
+
"dDepart": "4",
|
| 669 |
+
"iDisabl1": "2",
|
| 670 |
+
"iDisabl2": "2",
|
| 671 |
+
"iEnglish": "0",
|
| 672 |
+
"iFeb55": "0",
|
| 673 |
+
"iFertil": "1",
|
| 674 |
+
"dHispanic": "0",
|
| 675 |
+
"dHour89": "4",
|
| 676 |
+
"dHours": "4",
|
| 677 |
+
"iImmigr": "0",
|
| 678 |
+
"dIncome1": "1",
|
| 679 |
+
"dIncome2": "0",
|
| 680 |
+
"dIncome3": "1",
|
| 681 |
+
"dIncome4": "0",
|
| 682 |
+
"dIncome5": "0",
|
| 683 |
+
"dIncome6": "0",
|
| 684 |
+
"dIncome7": "0",
|
| 685 |
+
"dIncome8": "0",
|
| 686 |
+
"dIndustry": "1",
|
| 687 |
+
"iKorean": "0",
|
| 688 |
+
"iLang1": "2",
|
| 689 |
+
"iLooking": "0",
|
| 690 |
+
"iMarital": "4",
|
| 691 |
+
"iMay75880": "0",
|
| 692 |
+
"iMeans": "10",
|
| 693 |
+
"iMilitary": "4",
|
| 694 |
+
"iMobility": "1",
|
| 695 |
+
"iMobillim": "2",
|
| 696 |
+
"dOccup": "4",
|
| 697 |
+
"iOthrserv": "0",
|
| 698 |
+
"iPerscare": "2",
|
| 699 |
+
"dPOB": "0",
|
| 700 |
+
"dPoverty": "2",
|
| 701 |
+
"dPwgt1": "1",
|
| 702 |
+
"iRagechld": "4",
|
| 703 |
+
"dRearning": "2",
|
| 704 |
+
"iRelat1": "2",
|
| 705 |
+
"iRelat2": "0",
|
| 706 |
+
"iRemplpar": "0",
|
| 707 |
+
"iRiders": "0",
|
| 708 |
+
"iRlabor": "1",
|
| 709 |
+
"iRownchld": "0",
|
| 710 |
+
"dRpincome": "2",
|
| 711 |
+
"iRPOB": "10",
|
| 712 |
+
"iRrelchld": "0",
|
| 713 |
+
"iRspouse": "6",
|
| 714 |
+
"iRvetserv": "0",
|
| 715 |
+
"iSchool": "1",
|
| 716 |
+
"iSept80": "0",
|
| 717 |
+
"iSex": "1",
|
| 718 |
+
"iSubfam1": "0",
|
| 719 |
+
"iSubfam2": "0",
|
| 720 |
+
"iTmpabsnt": "0",
|
| 721 |
+
"dTravtime": "2",
|
| 722 |
+
"iVietnam": "0",
|
| 723 |
+
"dWeek89": "2",
|
| 724 |
+
"iWork89": "1",
|
| 725 |
+
"iWorklwk": "1",
|
| 726 |
+
"iWWII": "0",
|
| 727 |
+
"iYearsch": "10",
|
| 728 |
+
"iYearwrk": "1",
|
| 729 |
+
"dYrsserv": "0"
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"caseid": "10003",
|
| 733 |
+
"dAge": "4",
|
| 734 |
+
"dAncstry1": "1",
|
| 735 |
+
"dAncstry2": "2",
|
| 736 |
+
"iAvail": "0",
|
| 737 |
+
"iCitizen": "0",
|
| 738 |
+
"iClass": "1",
|
| 739 |
+
"dDepart": "3",
|
| 740 |
+
"iDisabl1": "2",
|
| 741 |
+
"iDisabl2": "2",
|
| 742 |
+
"iEnglish": "0",
|
| 743 |
+
"iFeb55": "0",
|
| 744 |
+
"iFertil": "3",
|
| 745 |
+
"dHispanic": "0",
|
| 746 |
+
"dHour89": "3",
|
| 747 |
+
"dHours": "3",
|
| 748 |
+
"iImmigr": "0",
|
| 749 |
+
"dIncome1": "1",
|
| 750 |
+
"dIncome2": "0",
|
| 751 |
+
"dIncome3": "0",
|
| 752 |
+
"dIncome4": "0",
|
| 753 |
+
"dIncome5": "0",
|
| 754 |
+
"dIncome6": "0",
|
| 755 |
+
"dIncome7": "0",
|
| 756 |
+
"dIncome8": "1",
|
| 757 |
+
"dIndustry": "4",
|
| 758 |
+
"iKorean": "0",
|
| 759 |
+
"iLang1": "2",
|
| 760 |
+
"iLooking": "0",
|
| 761 |
+
"iMarital": "2",
|
| 762 |
+
"iMay75880": "0",
|
| 763 |
+
"iMeans": "1",
|
| 764 |
+
"iMilitary": "4",
|
| 765 |
+
"iMobility": "1",
|
| 766 |
+
"iMobillim": "2",
|
| 767 |
+
"dOccup": "2",
|
| 768 |
+
"iOthrserv": "0",
|
| 769 |
+
"iPerscare": "2",
|
| 770 |
+
"dPOB": "0",
|
| 771 |
+
"dPoverty": "2",
|
| 772 |
+
"dPwgt1": "1",
|
| 773 |
+
"iRagechld": "2",
|
| 774 |
+
"dRearning": "2",
|
| 775 |
+
"iRelat1": "0",
|
| 776 |
+
"iRelat2": "0",
|
| 777 |
+
"iRemplpar": "0",
|
| 778 |
+
"iRiders": "1",
|
| 779 |
+
"iRlabor": "1",
|
| 780 |
+
"iRownchld": "0",
|
| 781 |
+
"dRpincome": "2",
|
| 782 |
+
"iRPOB": "10",
|
| 783 |
+
"iRrelchld": "0",
|
| 784 |
+
"iRspouse": "4",
|
| 785 |
+
"iRvetserv": "0",
|
| 786 |
+
"iSchool": "1",
|
| 787 |
+
"iSept80": "0",
|
| 788 |
+
"iSex": "1",
|
| 789 |
+
"iSubfam1": "0",
|
| 790 |
+
"iSubfam2": "0",
|
| 791 |
+
"iTmpabsnt": "0",
|
| 792 |
+
"dTravtime": "1",
|
| 793 |
+
"iVietnam": "0",
|
| 794 |
+
"dWeek89": "1",
|
| 795 |
+
"iWork89": "1",
|
| 796 |
+
"iWorklwk": "1",
|
| 797 |
+
"iWWII": "0",
|
| 798 |
+
"iYearsch": "10",
|
| 799 |
+
"iYearwrk": "1",
|
| 800 |
+
"dYrsserv": "0"
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"caseid": "10004",
|
| 804 |
+
"dAge": "7",
|
| 805 |
+
"dAncstry1": "1",
|
| 806 |
+
"dAncstry2": "1",
|
| 807 |
+
"iAvail": "0",
|
| 808 |
+
"iCitizen": "0",
|
| 809 |
+
"iClass": "0",
|
| 810 |
+
"dDepart": "0",
|
| 811 |
+
"iDisabl1": "2",
|
| 812 |
+
"iDisabl2": "2",
|
| 813 |
+
"iEnglish": "0",
|
| 814 |
+
"iFeb55": "0",
|
| 815 |
+
"iFertil": "3",
|
| 816 |
+
"dHispanic": "0",
|
| 817 |
+
"dHour89": "0",
|
| 818 |
+
"dHours": "0",
|
| 819 |
+
"iImmigr": "0",
|
| 820 |
+
"dIncome1": "0",
|
| 821 |
+
"dIncome2": "0",
|
| 822 |
+
"dIncome3": "0",
|
| 823 |
+
"dIncome4": "0",
|
| 824 |
+
"dIncome5": "1",
|
| 825 |
+
"dIncome6": "0",
|
| 826 |
+
"dIncome7": "0",
|
| 827 |
+
"dIncome8": "0",
|
| 828 |
+
"dIndustry": "0",
|
| 829 |
+
"iKorean": "0",
|
| 830 |
+
"iLang1": "2",
|
| 831 |
+
"iLooking": "2",
|
| 832 |
+
"iMarital": "0",
|
| 833 |
+
"iMay75880": "0",
|
| 834 |
+
"iMeans": "0",
|
| 835 |
+
"iMilitary": "4",
|
| 836 |
+
"iMobility": "1",
|
| 837 |
+
"iMobillim": "2",
|
| 838 |
+
"dOccup": "0",
|
| 839 |
+
"iOthrserv": "0",
|
| 840 |
+
"iPerscare": "2",
|
| 841 |
+
"dPOB": "0",
|
| 842 |
+
"dPoverty": "2",
|
| 843 |
+
"dPwgt1": "1",
|
| 844 |
+
"iRagechld": "4",
|
| 845 |
+
"dRearning": "0",
|
| 846 |
+
"iRelat1": "1",
|
| 847 |
+
"iRelat2": "0",
|
| 848 |
+
"iRemplpar": "0",
|
| 849 |
+
"iRiders": "0",
|
| 850 |
+
"iRlabor": "6",
|
| 851 |
+
"iRownchld": "0",
|
| 852 |
+
"dRpincome": "2",
|
| 853 |
+
"iRPOB": "22",
|
| 854 |
+
"iRrelchld": "0",
|
| 855 |
+
"iRspouse": "1",
|
| 856 |
+
"iRvetserv": "0",
|
| 857 |
+
"iSchool": "1",
|
| 858 |
+
"iSept80": "0",
|
| 859 |
+
"iSex": "1",
|
| 860 |
+
"iSubfam1": "0",
|
| 861 |
+
"iSubfam2": "0",
|
| 862 |
+
"iTmpabsnt": "3",
|
| 863 |
+
"dTravtime": "0",
|
| 864 |
+
"iVietnam": "0",
|
| 865 |
+
"dWeek89": "0",
|
| 866 |
+
"iWork89": "2",
|
| 867 |
+
"iWorklwk": "2",
|
| 868 |
+
"iWWII": "0",
|
| 869 |
+
"iYearsch": "5",
|
| 870 |
+
"iYearwrk": "6",
|
| 871 |
+
"dYrsserv": "0"
|
| 872 |
+
}
|
| 873 |
+
]
|
| 874 |
+
}
|
| 875 |
+
|
| 876 |
+
Shortlisted templates:
|
| 877 |
+
[
|
| 878 |
+
{
|
| 879 |
+
"template_id": "tpl_m4_window_partition_avg",
|
| 880 |
+
"template_name": "Window Partition Average",
|
| 881 |
+
"primary_family": "conditional_dependency_structure",
|
| 882 |
+
"portability": "partial",
|
| 883 |
+
"sql_skeleton": "SELECT DISTINCT {group_col},\n AVG({measure_col}) OVER (PARTITION BY {group_col}) AS avg_measure\nFROM {table}\nORDER BY avg_measure DESC;",
|
| 884 |
+
"required_roles": [
|
| 885 |
+
"group_col",
|
| 886 |
+
"measure_col"
|
| 887 |
+
]
|
| 888 |
+
}
|
| 889 |
+
]
|
| 890 |
+
|
| 891 |
+
Problem instance:
|
| 892 |
+
{
|
| 893 |
+
"dataset_id": "c13",
|
| 894 |
+
"question": "Use template Window Partition Average to probe slice_level_consistency with semantic role ranked_signal_view. Focus on group_col=iCitizen, measure_col=dTravtime.",
|
| 895 |
+
"planned_template_id": "tpl_m4_window_partition_avg",
|
| 896 |
+
"bindings": {
|
| 897 |
+
"group_col": "iCitizen",
|
| 898 |
+
"measure_col": "dTravtime",
|
| 899 |
+
"top_k": 15,
|
| 900 |
+
"top_n": 4,
|
| 901 |
+
"num_tiles": 10,
|
| 902 |
+
"percentile_value": 0.9,
|
| 903 |
+
"z_threshold": 2.0,
|
| 904 |
+
"fraction_threshold": 0.05,
|
| 905 |
+
"baseline_multiplier": 1.75,
|
| 906 |
+
"baseline_fraction": 0.1,
|
| 907 |
+
"min_group_size": 5,
|
| 908 |
+
"min_support": 4,
|
| 909 |
+
"measure_threshold": 3.64,
|
| 910 |
+
"time_grain": "month",
|
| 911 |
+
"lookback_rows": 3,
|
| 912 |
+
"current_period_start": "'2024-01-01'",
|
| 913 |
+
"current_period_end": "'2024-04-01'",
|
| 914 |
+
"previous_period_start": "'2023-10-01'",
|
| 915 |
+
"previous_period_end": "'2024-01-01'",
|
| 916 |
+
"drift_ratio_threshold": 0.8
|
| 917 |
+
},
|
| 918 |
+
"can_vary": [],
|
| 919 |
+
"must_fix": [],
|
| 920 |
+
"runtime_sql_skeleton": "SELECT DISTINCT {group_col},\n AVG({measure_col}) OVER (PARTITION BY {group_col}) AS avg_measure\nFROM {table}\nORDER BY avg_measure DESC;"
|
| 921 |
+
}
|
| 922 |
+
|
| 923 |
+
Repair context:
|
| 924 |
+
{}
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_prompt_attempt_2.txt
ADDED
|
@@ -0,0 +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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: c13
|
| 15 |
+
- dataset_name: Us Census Data 1990
|
| 16 |
+
- table_name: c13
|
| 17 |
+
- table_layout: single-table dataset (do not assume joins).
|
| 18 |
+
- row_semantics: One row is one tabular observation with 68 feature columns and target `iClass`.
|
| 19 |
+
- task_type: classification
|
| 20 |
+
- target_column: iClass
|
| 21 |
+
- main_row_count: 2458285
|
| 22 |
+
- important_fields:
|
| 23 |
+
- caseid: role=feature, type=identifier_numeric. tags=['identifier', 'probe_exclude', 'high_cardinality_candidate'] desc=Identifier-like field for caseid.
|
| 24 |
+
- dAge: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAge.
|
| 25 |
+
- dAncstry1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry1.
|
| 26 |
+
- dAncstry2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry2.
|
| 27 |
+
- iAvail: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iAvail.
|
| 28 |
+
- iCitizen: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iCitizen.
|
| 29 |
+
- iClass: role=target, type=categorical_ordinal_target. ordered=['0', '1', '4', '6', '8'] tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for iClass.
|
| 30 |
+
- dDepart: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dDepart.
|
| 31 |
+
- iDisabl1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl1.
|
| 32 |
+
- iDisabl2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl2.
|
| 33 |
+
- iEnglish: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iEnglish.
|
| 34 |
+
- iFeb55: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iFeb55.
|
| 35 |
+
- iFertil: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iFertil.
|
| 36 |
+
- dHispanic: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHispanic.
|
| 37 |
+
- dHour89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHour89.
|
| 38 |
+
- dHours: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHours.
|
| 39 |
+
- iImmigr: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iImmigr.
|
| 40 |
+
- dIncome1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIncome1.
|
| 41 |
+
- dIncome2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome2.
|
| 42 |
+
- dIncome3: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome3.
|
| 43 |
+
- dIncome4: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome4.
|
| 44 |
+
- dIncome5: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome5.
|
| 45 |
+
- dIncome6: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome6.
|
| 46 |
+
- dIncome7: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome7.
|
| 47 |
+
- dIncome8: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome8.
|
| 48 |
+
- dIndustry: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIndustry.
|
| 49 |
+
- iKorean: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iKorean.
|
| 50 |
+
- iLang1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLang1.
|
| 51 |
+
- iLooking: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLooking.
|
| 52 |
+
- iMarital: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMarital.
|
| 53 |
+
- iMay75880: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iMay75880.
|
| 54 |
+
- iMeans: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMeans.
|
| 55 |
+
- iMilitary: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMilitary.
|
| 56 |
+
- iMobility: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobility.
|
| 57 |
+
- iMobillim: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobillim.
|
| 58 |
+
- dOccup: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dOccup.
|
| 59 |
+
- iOthrserv: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iOthrserv.
|
| 60 |
+
- iPerscare: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iPerscare.
|
| 61 |
+
- dPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPOB.
|
| 62 |
+
- dPoverty: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPoverty.
|
| 63 |
+
- dPwgt1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPwgt1.
|
| 64 |
+
- iRagechld: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRagechld.
|
| 65 |
+
- dRearning: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRearning.
|
| 66 |
+
- iRelat1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRelat1.
|
| 67 |
+
- iRelat2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRelat2.
|
| 68 |
+
- iRemplpar: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRemplpar.
|
| 69 |
+
- iRiders: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRiders.
|
| 70 |
+
- iRlabor: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRlabor.
|
| 71 |
+
- iRownchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRownchld.
|
| 72 |
+
- dRpincome: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRpincome.
|
| 73 |
+
- iRPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRPOB.
|
| 74 |
+
- iRrelchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRrelchld.
|
| 75 |
+
- iRspouse: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRspouse.
|
| 76 |
+
- iRvetserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRvetserv.
|
| 77 |
+
- iSchool: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSchool.
|
| 78 |
+
- iSept80: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSept80.
|
| 79 |
+
- iSex: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSex.
|
| 80 |
+
- iSubfam1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSubfam1.
|
| 81 |
+
- iSubfam2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSubfam2.
|
| 82 |
+
- iTmpabsnt: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iTmpabsnt.
|
| 83 |
+
- dTravtime: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dTravtime.
|
| 84 |
+
- iVietnam: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iVietnam.
|
| 85 |
+
- dWeek89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dWeek89.
|
| 86 |
+
- iWork89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWork89.
|
| 87 |
+
- iWorklwk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWorklwk.
|
| 88 |
+
- iWWII: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iWWII.
|
| 89 |
+
- iYearsch: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearsch.
|
| 90 |
+
- iYearwrk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearwrk.
|
| 91 |
+
- dYrsserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dYrsserv.
|
| 92 |
+
- useful_field_combinations: [['dAge', 'dAncstry1', 'iClass'], ['dAge', 'dAge', 'iClass']]
|
| 93 |
+
- fields_requiring_caution: ['iClass']
|
| 94 |
+
- source_url: https://archive.ics.uci.edu/dataset/116/us+census+data+1990
|
| 95 |
+
|
| 96 |
+
SQLite schema snapshot:
|
| 97 |
+
{
|
| 98 |
+
"table_name": "c13",
|
| 99 |
+
"quoted_table_name": "\"c13\"",
|
| 100 |
+
"row_count": 2458285,
|
| 101 |
+
"columns": [
|
| 102 |
+
{
|
| 103 |
+
"name": "caseid",
|
| 104 |
+
"type": "TEXT",
|
| 105 |
+
"notnull": false,
|
| 106 |
+
"pk": false
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": "dAge",
|
| 110 |
+
"type": "TEXT",
|
| 111 |
+
"notnull": false,
|
| 112 |
+
"pk": false
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": "dAncstry1",
|
| 116 |
+
"type": "TEXT",
|
| 117 |
+
"notnull": false,
|
| 118 |
+
"pk": false
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": "dAncstry2",
|
| 122 |
+
"type": "TEXT",
|
| 123 |
+
"notnull": false,
|
| 124 |
+
"pk": false
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": "iAvail",
|
| 128 |
+
"type": "TEXT",
|
| 129 |
+
"notnull": false,
|
| 130 |
+
"pk": false
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": "iCitizen",
|
| 134 |
+
"type": "TEXT",
|
| 135 |
+
"notnull": false,
|
| 136 |
+
"pk": false
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": "iClass",
|
| 140 |
+
"type": "TEXT",
|
| 141 |
+
"notnull": false,
|
| 142 |
+
"pk": false
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": "dDepart",
|
| 146 |
+
"type": "TEXT",
|
| 147 |
+
"notnull": false,
|
| 148 |
+
"pk": false
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"name": "iDisabl1",
|
| 152 |
+
"type": "TEXT",
|
| 153 |
+
"notnull": false,
|
| 154 |
+
"pk": false
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": "iDisabl2",
|
| 158 |
+
"type": "TEXT",
|
| 159 |
+
"notnull": false,
|
| 160 |
+
"pk": false
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"name": "iEnglish",
|
| 164 |
+
"type": "TEXT",
|
| 165 |
+
"notnull": false,
|
| 166 |
+
"pk": false
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "iFeb55",
|
| 170 |
+
"type": "TEXT",
|
| 171 |
+
"notnull": false,
|
| 172 |
+
"pk": false
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"name": "iFertil",
|
| 176 |
+
"type": "TEXT",
|
| 177 |
+
"notnull": false,
|
| 178 |
+
"pk": false
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": "dHispanic",
|
| 182 |
+
"type": "TEXT",
|
| 183 |
+
"notnull": false,
|
| 184 |
+
"pk": false
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": "dHour89",
|
| 188 |
+
"type": "TEXT",
|
| 189 |
+
"notnull": false,
|
| 190 |
+
"pk": false
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"name": "dHours",
|
| 194 |
+
"type": "TEXT",
|
| 195 |
+
"notnull": false,
|
| 196 |
+
"pk": false
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"name": "iImmigr",
|
| 200 |
+
"type": "TEXT",
|
| 201 |
+
"notnull": false,
|
| 202 |
+
"pk": false
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"name": "dIncome1",
|
| 206 |
+
"type": "TEXT",
|
| 207 |
+
"notnull": false,
|
| 208 |
+
"pk": false
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"name": "dIncome2",
|
| 212 |
+
"type": "TEXT",
|
| 213 |
+
"notnull": false,
|
| 214 |
+
"pk": false
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"name": "dIncome3",
|
| 218 |
+
"type": "TEXT",
|
| 219 |
+
"notnull": false,
|
| 220 |
+
"pk": false
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"name": "dIncome4",
|
| 224 |
+
"type": "TEXT",
|
| 225 |
+
"notnull": false,
|
| 226 |
+
"pk": false
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"name": "dIncome5",
|
| 230 |
+
"type": "TEXT",
|
| 231 |
+
"notnull": false,
|
| 232 |
+
"pk": false
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"name": "dIncome6",
|
| 236 |
+
"type": "TEXT",
|
| 237 |
+
"notnull": false,
|
| 238 |
+
"pk": false
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"name": "dIncome7",
|
| 242 |
+
"type": "TEXT",
|
| 243 |
+
"notnull": false,
|
| 244 |
+
"pk": false
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"name": "dIncome8",
|
| 248 |
+
"type": "TEXT",
|
| 249 |
+
"notnull": false,
|
| 250 |
+
"pk": false
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"name": "dIndustry",
|
| 254 |
+
"type": "TEXT",
|
| 255 |
+
"notnull": false,
|
| 256 |
+
"pk": false
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"name": "iKorean",
|
| 260 |
+
"type": "TEXT",
|
| 261 |
+
"notnull": false,
|
| 262 |
+
"pk": false
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"name": "iLang1",
|
| 266 |
+
"type": "TEXT",
|
| 267 |
+
"notnull": false,
|
| 268 |
+
"pk": false
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"name": "iLooking",
|
| 272 |
+
"type": "TEXT",
|
| 273 |
+
"notnull": false,
|
| 274 |
+
"pk": false
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"name": "iMarital",
|
| 278 |
+
"type": "TEXT",
|
| 279 |
+
"notnull": false,
|
| 280 |
+
"pk": false
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"name": "iMay75880",
|
| 284 |
+
"type": "TEXT",
|
| 285 |
+
"notnull": false,
|
| 286 |
+
"pk": false
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"name": "iMeans",
|
| 290 |
+
"type": "TEXT",
|
| 291 |
+
"notnull": false,
|
| 292 |
+
"pk": false
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"name": "iMilitary",
|
| 296 |
+
"type": "TEXT",
|
| 297 |
+
"notnull": false,
|
| 298 |
+
"pk": false
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"name": "iMobility",
|
| 302 |
+
"type": "TEXT",
|
| 303 |
+
"notnull": false,
|
| 304 |
+
"pk": false
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"name": "iMobillim",
|
| 308 |
+
"type": "TEXT",
|
| 309 |
+
"notnull": false,
|
| 310 |
+
"pk": false
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"name": "dOccup",
|
| 314 |
+
"type": "TEXT",
|
| 315 |
+
"notnull": false,
|
| 316 |
+
"pk": false
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"name": "iOthrserv",
|
| 320 |
+
"type": "TEXT",
|
| 321 |
+
"notnull": false,
|
| 322 |
+
"pk": false
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"name": "iPerscare",
|
| 326 |
+
"type": "TEXT",
|
| 327 |
+
"notnull": false,
|
| 328 |
+
"pk": false
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"name": "dPOB",
|
| 332 |
+
"type": "TEXT",
|
| 333 |
+
"notnull": false,
|
| 334 |
+
"pk": false
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"name": "dPoverty",
|
| 338 |
+
"type": "TEXT",
|
| 339 |
+
"notnull": false,
|
| 340 |
+
"pk": false
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"name": "dPwgt1",
|
| 344 |
+
"type": "TEXT",
|
| 345 |
+
"notnull": false,
|
| 346 |
+
"pk": false
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"name": "iRagechld",
|
| 350 |
+
"type": "TEXT",
|
| 351 |
+
"notnull": false,
|
| 352 |
+
"pk": false
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"name": "dRearning",
|
| 356 |
+
"type": "TEXT",
|
| 357 |
+
"notnull": false,
|
| 358 |
+
"pk": false
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"name": "iRelat1",
|
| 362 |
+
"type": "TEXT",
|
| 363 |
+
"notnull": false,
|
| 364 |
+
"pk": false
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"name": "iRelat2",
|
| 368 |
+
"type": "TEXT",
|
| 369 |
+
"notnull": false,
|
| 370 |
+
"pk": false
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"name": "iRemplpar",
|
| 374 |
+
"type": "TEXT",
|
| 375 |
+
"notnull": false,
|
| 376 |
+
"pk": false
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"name": "iRiders",
|
| 380 |
+
"type": "TEXT",
|
| 381 |
+
"notnull": false,
|
| 382 |
+
"pk": false
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"name": "iRlabor",
|
| 386 |
+
"type": "TEXT",
|
| 387 |
+
"notnull": false,
|
| 388 |
+
"pk": false
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"name": "iRownchld",
|
| 392 |
+
"type": "TEXT",
|
| 393 |
+
"notnull": false,
|
| 394 |
+
"pk": false
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"name": "dRpincome",
|
| 398 |
+
"type": "TEXT",
|
| 399 |
+
"notnull": false,
|
| 400 |
+
"pk": false
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"name": "iRPOB",
|
| 404 |
+
"type": "TEXT",
|
| 405 |
+
"notnull": false,
|
| 406 |
+
"pk": false
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"name": "iRrelchld",
|
| 410 |
+
"type": "TEXT",
|
| 411 |
+
"notnull": false,
|
| 412 |
+
"pk": false
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"name": "iRspouse",
|
| 416 |
+
"type": "TEXT",
|
| 417 |
+
"notnull": false,
|
| 418 |
+
"pk": false
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"name": "iRvetserv",
|
| 422 |
+
"type": "TEXT",
|
| 423 |
+
"notnull": false,
|
| 424 |
+
"pk": false
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"name": "iSchool",
|
| 428 |
+
"type": "TEXT",
|
| 429 |
+
"notnull": false,
|
| 430 |
+
"pk": false
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"name": "iSept80",
|
| 434 |
+
"type": "TEXT",
|
| 435 |
+
"notnull": false,
|
| 436 |
+
"pk": false
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"name": "iSex",
|
| 440 |
+
"type": "TEXT",
|
| 441 |
+
"notnull": false,
|
| 442 |
+
"pk": false
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"name": "iSubfam1",
|
| 446 |
+
"type": "TEXT",
|
| 447 |
+
"notnull": false,
|
| 448 |
+
"pk": false
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"name": "iSubfam2",
|
| 452 |
+
"type": "TEXT",
|
| 453 |
+
"notnull": false,
|
| 454 |
+
"pk": false
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"name": "iTmpabsnt",
|
| 458 |
+
"type": "TEXT",
|
| 459 |
+
"notnull": false,
|
| 460 |
+
"pk": false
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"name": "dTravtime",
|
| 464 |
+
"type": "TEXT",
|
| 465 |
+
"notnull": false,
|
| 466 |
+
"pk": false
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"name": "iVietnam",
|
| 470 |
+
"type": "TEXT",
|
| 471 |
+
"notnull": false,
|
| 472 |
+
"pk": false
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"name": "dWeek89",
|
| 476 |
+
"type": "TEXT",
|
| 477 |
+
"notnull": false,
|
| 478 |
+
"pk": false
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"name": "iWork89",
|
| 482 |
+
"type": "TEXT",
|
| 483 |
+
"notnull": false,
|
| 484 |
+
"pk": false
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"name": "iWorklwk",
|
| 488 |
+
"type": "TEXT",
|
| 489 |
+
"notnull": false,
|
| 490 |
+
"pk": false
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"name": "iWWII",
|
| 494 |
+
"type": "TEXT",
|
| 495 |
+
"notnull": false,
|
| 496 |
+
"pk": false
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"name": "iYearsch",
|
| 500 |
+
"type": "TEXT",
|
| 501 |
+
"notnull": false,
|
| 502 |
+
"pk": false
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"name": "iYearwrk",
|
| 506 |
+
"type": "TEXT",
|
| 507 |
+
"notnull": false,
|
| 508 |
+
"pk": false
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"name": "dYrsserv",
|
| 512 |
+
"type": "TEXT",
|
| 513 |
+
"notnull": false,
|
| 514 |
+
"pk": false
|
| 515 |
+
}
|
| 516 |
+
],
|
| 517 |
+
"sample_rows": [
|
| 518 |
+
{
|
| 519 |
+
"caseid": "10000",
|
| 520 |
+
"dAge": "5",
|
| 521 |
+
"dAncstry1": "0",
|
| 522 |
+
"dAncstry2": "1",
|
| 523 |
+
"iAvail": "0",
|
| 524 |
+
"iCitizen": "0",
|
| 525 |
+
"iClass": "5",
|
| 526 |
+
"dDepart": "3",
|
| 527 |
+
"iDisabl1": "2",
|
| 528 |
+
"iDisabl2": "2",
|
| 529 |
+
"iEnglish": "1",
|
| 530 |
+
"iFeb55": "0",
|
| 531 |
+
"iFertil": "1",
|
| 532 |
+
"dHispanic": "0",
|
| 533 |
+
"dHour89": "4",
|
| 534 |
+
"dHours": "3",
|
| 535 |
+
"iImmigr": "0",
|
| 536 |
+
"dIncome1": "2",
|
| 537 |
+
"dIncome2": "0",
|
| 538 |
+
"dIncome3": "0",
|
| 539 |
+
"dIncome4": "1",
|
| 540 |
+
"dIncome5": "0",
|
| 541 |
+
"dIncome6": "0",
|
| 542 |
+
"dIncome7": "0",
|
| 543 |
+
"dIncome8": "0",
|
| 544 |
+
"dIndustry": "10",
|
| 545 |
+
"iKorean": "0",
|
| 546 |
+
"iLang1": "1",
|
| 547 |
+
"iLooking": "0",
|
| 548 |
+
"iMarital": "1",
|
| 549 |
+
"iMay75880": "0",
|
| 550 |
+
"iMeans": "1",
|
| 551 |
+
"iMilitary": "4",
|
| 552 |
+
"iMobility": "2",
|
| 553 |
+
"iMobillim": "2",
|
| 554 |
+
"dOccup": "3",
|
| 555 |
+
"iOthrserv": "0",
|
| 556 |
+
"iPerscare": "2",
|
| 557 |
+
"dPOB": "0",
|
| 558 |
+
"dPoverty": "2",
|
| 559 |
+
"dPwgt1": "1",
|
| 560 |
+
"iRagechld": "4",
|
| 561 |
+
"dRearning": "3",
|
| 562 |
+
"iRelat1": "0",
|
| 563 |
+
"iRelat2": "0",
|
| 564 |
+
"iRemplpar": "0",
|
| 565 |
+
"iRiders": "3",
|
| 566 |
+
"iRlabor": "1",
|
| 567 |
+
"iRownchld": "0",
|
| 568 |
+
"dRpincome": "3",
|
| 569 |
+
"iRPOB": "22",
|
| 570 |
+
"iRrelchld": "0",
|
| 571 |
+
"iRspouse": "3",
|
| 572 |
+
"iRvetserv": "0",
|
| 573 |
+
"iSchool": "1",
|
| 574 |
+
"iSept80": "0",
|
| 575 |
+
"iSex": "1",
|
| 576 |
+
"iSubfam1": "0",
|
| 577 |
+
"iSubfam2": "0",
|
| 578 |
+
"iTmpabsnt": "0",
|
| 579 |
+
"dTravtime": "5",
|
| 580 |
+
"iVietnam": "0",
|
| 581 |
+
"dWeek89": "2",
|
| 582 |
+
"iWork89": "1",
|
| 583 |
+
"iWorklwk": "1",
|
| 584 |
+
"iWWII": "0",
|
| 585 |
+
"iYearsch": "11",
|
| 586 |
+
"iYearwrk": "1",
|
| 587 |
+
"dYrsserv": "0"
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"caseid": "10001",
|
| 591 |
+
"dAge": "6",
|
| 592 |
+
"dAncstry1": "1",
|
| 593 |
+
"dAncstry2": "1",
|
| 594 |
+
"iAvail": "0",
|
| 595 |
+
"iCitizen": "0",
|
| 596 |
+
"iClass": "7",
|
| 597 |
+
"dDepart": "5",
|
| 598 |
+
"iDisabl1": "2",
|
| 599 |
+
"iDisabl2": "2",
|
| 600 |
+
"iEnglish": "0",
|
| 601 |
+
"iFeb55": "0",
|
| 602 |
+
"iFertil": "3",
|
| 603 |
+
"dHispanic": "0",
|
| 604 |
+
"dHour89": "1",
|
| 605 |
+
"dHours": "1",
|
| 606 |
+
"iImmigr": "0",
|
| 607 |
+
"dIncome1": "1",
|
| 608 |
+
"dIncome2": "0",
|
| 609 |
+
"dIncome3": "0",
|
| 610 |
+
"dIncome4": "0",
|
| 611 |
+
"dIncome5": "0",
|
| 612 |
+
"dIncome6": "1",
|
| 613 |
+
"dIncome7": "0",
|
| 614 |
+
"dIncome8": "0",
|
| 615 |
+
"dIndustry": "4",
|
| 616 |
+
"iKorean": "0",
|
| 617 |
+
"iLang1": "2",
|
| 618 |
+
"iLooking": "0",
|
| 619 |
+
"iMarital": "0",
|
| 620 |
+
"iMay75880": "0",
|
| 621 |
+
"iMeans": "1",
|
| 622 |
+
"iMilitary": "4",
|
| 623 |
+
"iMobility": "1",
|
| 624 |
+
"iMobillim": "2",
|
| 625 |
+
"dOccup": "2",
|
| 626 |
+
"iOthrserv": "0",
|
| 627 |
+
"iPerscare": "2",
|
| 628 |
+
"dPOB": "0",
|
| 629 |
+
"dPoverty": "2",
|
| 630 |
+
"dPwgt1": "2",
|
| 631 |
+
"iRagechld": "4",
|
| 632 |
+
"dRearning": "2",
|
| 633 |
+
"iRelat1": "1",
|
| 634 |
+
"iRelat2": "0",
|
| 635 |
+
"iRemplpar": "0",
|
| 636 |
+
"iRiders": "1",
|
| 637 |
+
"iRlabor": "1",
|
| 638 |
+
"iRownchld": "0",
|
| 639 |
+
"dRpincome": "2",
|
| 640 |
+
"iRPOB": "10",
|
| 641 |
+
"iRrelchld": "0",
|
| 642 |
+
"iRspouse": "1",
|
| 643 |
+
"iRvetserv": "0",
|
| 644 |
+
"iSchool": "1",
|
| 645 |
+
"iSept80": "0",
|
| 646 |
+
"iSex": "1",
|
| 647 |
+
"iSubfam1": "0",
|
| 648 |
+
"iSubfam2": "0",
|
| 649 |
+
"iTmpabsnt": "0",
|
| 650 |
+
"dTravtime": "1",
|
| 651 |
+
"iVietnam": "0",
|
| 652 |
+
"dWeek89": "2",
|
| 653 |
+
"iWork89": "1",
|
| 654 |
+
"iWorklwk": "1",
|
| 655 |
+
"iWWII": "0",
|
| 656 |
+
"iYearsch": "5",
|
| 657 |
+
"iYearwrk": "1",
|
| 658 |
+
"dYrsserv": "0"
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"caseid": "10002",
|
| 662 |
+
"dAge": "3",
|
| 663 |
+
"dAncstry1": "1",
|
| 664 |
+
"dAncstry2": "2",
|
| 665 |
+
"iAvail": "0",
|
| 666 |
+
"iCitizen": "0",
|
| 667 |
+
"iClass": "7",
|
| 668 |
+
"dDepart": "4",
|
| 669 |
+
"iDisabl1": "2",
|
| 670 |
+
"iDisabl2": "2",
|
| 671 |
+
"iEnglish": "0",
|
| 672 |
+
"iFeb55": "0",
|
| 673 |
+
"iFertil": "1",
|
| 674 |
+
"dHispanic": "0",
|
| 675 |
+
"dHour89": "4",
|
| 676 |
+
"dHours": "4",
|
| 677 |
+
"iImmigr": "0",
|
| 678 |
+
"dIncome1": "1",
|
| 679 |
+
"dIncome2": "0",
|
| 680 |
+
"dIncome3": "1",
|
| 681 |
+
"dIncome4": "0",
|
| 682 |
+
"dIncome5": "0",
|
| 683 |
+
"dIncome6": "0",
|
| 684 |
+
"dIncome7": "0",
|
| 685 |
+
"dIncome8": "0",
|
| 686 |
+
"dIndustry": "1",
|
| 687 |
+
"iKorean": "0",
|
| 688 |
+
"iLang1": "2",
|
| 689 |
+
"iLooking": "0",
|
| 690 |
+
"iMarital": "4",
|
| 691 |
+
"iMay75880": "0",
|
| 692 |
+
"iMeans": "10",
|
| 693 |
+
"iMilitary": "4",
|
| 694 |
+
"iMobility": "1",
|
| 695 |
+
"iMobillim": "2",
|
| 696 |
+
"dOccup": "4",
|
| 697 |
+
"iOthrserv": "0",
|
| 698 |
+
"iPerscare": "2",
|
| 699 |
+
"dPOB": "0",
|
| 700 |
+
"dPoverty": "2",
|
| 701 |
+
"dPwgt1": "1",
|
| 702 |
+
"iRagechld": "4",
|
| 703 |
+
"dRearning": "2",
|
| 704 |
+
"iRelat1": "2",
|
| 705 |
+
"iRelat2": "0",
|
| 706 |
+
"iRemplpar": "0",
|
| 707 |
+
"iRiders": "0",
|
| 708 |
+
"iRlabor": "1",
|
| 709 |
+
"iRownchld": "0",
|
| 710 |
+
"dRpincome": "2",
|
| 711 |
+
"iRPOB": "10",
|
| 712 |
+
"iRrelchld": "0",
|
| 713 |
+
"iRspouse": "6",
|
| 714 |
+
"iRvetserv": "0",
|
| 715 |
+
"iSchool": "1",
|
| 716 |
+
"iSept80": "0",
|
| 717 |
+
"iSex": "1",
|
| 718 |
+
"iSubfam1": "0",
|
| 719 |
+
"iSubfam2": "0",
|
| 720 |
+
"iTmpabsnt": "0",
|
| 721 |
+
"dTravtime": "2",
|
| 722 |
+
"iVietnam": "0",
|
| 723 |
+
"dWeek89": "2",
|
| 724 |
+
"iWork89": "1",
|
| 725 |
+
"iWorklwk": "1",
|
| 726 |
+
"iWWII": "0",
|
| 727 |
+
"iYearsch": "10",
|
| 728 |
+
"iYearwrk": "1",
|
| 729 |
+
"dYrsserv": "0"
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"caseid": "10003",
|
| 733 |
+
"dAge": "4",
|
| 734 |
+
"dAncstry1": "1",
|
| 735 |
+
"dAncstry2": "2",
|
| 736 |
+
"iAvail": "0",
|
| 737 |
+
"iCitizen": "0",
|
| 738 |
+
"iClass": "1",
|
| 739 |
+
"dDepart": "3",
|
| 740 |
+
"iDisabl1": "2",
|
| 741 |
+
"iDisabl2": "2",
|
| 742 |
+
"iEnglish": "0",
|
| 743 |
+
"iFeb55": "0",
|
| 744 |
+
"iFertil": "3",
|
| 745 |
+
"dHispanic": "0",
|
| 746 |
+
"dHour89": "3",
|
| 747 |
+
"dHours": "3",
|
| 748 |
+
"iImmigr": "0",
|
| 749 |
+
"dIncome1": "1",
|
| 750 |
+
"dIncome2": "0",
|
| 751 |
+
"dIncome3": "0",
|
| 752 |
+
"dIncome4": "0",
|
| 753 |
+
"dIncome5": "0",
|
| 754 |
+
"dIncome6": "0",
|
| 755 |
+
"dIncome7": "0",
|
| 756 |
+
"dIncome8": "1",
|
| 757 |
+
"dIndustry": "4",
|
| 758 |
+
"iKorean": "0",
|
| 759 |
+
"iLang1": "2",
|
| 760 |
+
"iLooking": "0",
|
| 761 |
+
"iMarital": "2",
|
| 762 |
+
"iMay75880": "0",
|
| 763 |
+
"iMeans": "1",
|
| 764 |
+
"iMilitary": "4",
|
| 765 |
+
"iMobility": "1",
|
| 766 |
+
"iMobillim": "2",
|
| 767 |
+
"dOccup": "2",
|
| 768 |
+
"iOthrserv": "0",
|
| 769 |
+
"iPerscare": "2",
|
| 770 |
+
"dPOB": "0",
|
| 771 |
+
"dPoverty": "2",
|
| 772 |
+
"dPwgt1": "1",
|
| 773 |
+
"iRagechld": "2",
|
| 774 |
+
"dRearning": "2",
|
| 775 |
+
"iRelat1": "0",
|
| 776 |
+
"iRelat2": "0",
|
| 777 |
+
"iRemplpar": "0",
|
| 778 |
+
"iRiders": "1",
|
| 779 |
+
"iRlabor": "1",
|
| 780 |
+
"iRownchld": "0",
|
| 781 |
+
"dRpincome": "2",
|
| 782 |
+
"iRPOB": "10",
|
| 783 |
+
"iRrelchld": "0",
|
| 784 |
+
"iRspouse": "4",
|
| 785 |
+
"iRvetserv": "0",
|
| 786 |
+
"iSchool": "1",
|
| 787 |
+
"iSept80": "0",
|
| 788 |
+
"iSex": "1",
|
| 789 |
+
"iSubfam1": "0",
|
| 790 |
+
"iSubfam2": "0",
|
| 791 |
+
"iTmpabsnt": "0",
|
| 792 |
+
"dTravtime": "1",
|
| 793 |
+
"iVietnam": "0",
|
| 794 |
+
"dWeek89": "1",
|
| 795 |
+
"iWork89": "1",
|
| 796 |
+
"iWorklwk": "1",
|
| 797 |
+
"iWWII": "0",
|
| 798 |
+
"iYearsch": "10",
|
| 799 |
+
"iYearwrk": "1",
|
| 800 |
+
"dYrsserv": "0"
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"caseid": "10004",
|
| 804 |
+
"dAge": "7",
|
| 805 |
+
"dAncstry1": "1",
|
| 806 |
+
"dAncstry2": "1",
|
| 807 |
+
"iAvail": "0",
|
| 808 |
+
"iCitizen": "0",
|
| 809 |
+
"iClass": "0",
|
| 810 |
+
"dDepart": "0",
|
| 811 |
+
"iDisabl1": "2",
|
| 812 |
+
"iDisabl2": "2",
|
| 813 |
+
"iEnglish": "0",
|
| 814 |
+
"iFeb55": "0",
|
| 815 |
+
"iFertil": "3",
|
| 816 |
+
"dHispanic": "0",
|
| 817 |
+
"dHour89": "0",
|
| 818 |
+
"dHours": "0",
|
| 819 |
+
"iImmigr": "0",
|
| 820 |
+
"dIncome1": "0",
|
| 821 |
+
"dIncome2": "0",
|
| 822 |
+
"dIncome3": "0",
|
| 823 |
+
"dIncome4": "0",
|
| 824 |
+
"dIncome5": "1",
|
| 825 |
+
"dIncome6": "0",
|
| 826 |
+
"dIncome7": "0",
|
| 827 |
+
"dIncome8": "0",
|
| 828 |
+
"dIndustry": "0",
|
| 829 |
+
"iKorean": "0",
|
| 830 |
+
"iLang1": "2",
|
| 831 |
+
"iLooking": "2",
|
| 832 |
+
"iMarital": "0",
|
| 833 |
+
"iMay75880": "0",
|
| 834 |
+
"iMeans": "0",
|
| 835 |
+
"iMilitary": "4",
|
| 836 |
+
"iMobility": "1",
|
| 837 |
+
"iMobillim": "2",
|
| 838 |
+
"dOccup": "0",
|
| 839 |
+
"iOthrserv": "0",
|
| 840 |
+
"iPerscare": "2",
|
| 841 |
+
"dPOB": "0",
|
| 842 |
+
"dPoverty": "2",
|
| 843 |
+
"dPwgt1": "1",
|
| 844 |
+
"iRagechld": "4",
|
| 845 |
+
"dRearning": "0",
|
| 846 |
+
"iRelat1": "1",
|
| 847 |
+
"iRelat2": "0",
|
| 848 |
+
"iRemplpar": "0",
|
| 849 |
+
"iRiders": "0",
|
| 850 |
+
"iRlabor": "6",
|
| 851 |
+
"iRownchld": "0",
|
| 852 |
+
"dRpincome": "2",
|
| 853 |
+
"iRPOB": "22",
|
| 854 |
+
"iRrelchld": "0",
|
| 855 |
+
"iRspouse": "1",
|
| 856 |
+
"iRvetserv": "0",
|
| 857 |
+
"iSchool": "1",
|
| 858 |
+
"iSept80": "0",
|
| 859 |
+
"iSex": "1",
|
| 860 |
+
"iSubfam1": "0",
|
| 861 |
+
"iSubfam2": "0",
|
| 862 |
+
"iTmpabsnt": "3",
|
| 863 |
+
"dTravtime": "0",
|
| 864 |
+
"iVietnam": "0",
|
| 865 |
+
"dWeek89": "0",
|
| 866 |
+
"iWork89": "2",
|
| 867 |
+
"iWorklwk": "2",
|
| 868 |
+
"iWWII": "0",
|
| 869 |
+
"iYearsch": "5",
|
| 870 |
+
"iYearwrk": "6",
|
| 871 |
+
"dYrsserv": "0"
|
| 872 |
+
}
|
| 873 |
+
]
|
| 874 |
+
}
|
| 875 |
+
|
| 876 |
+
Shortlisted templates:
|
| 877 |
+
[
|
| 878 |
+
{
|
| 879 |
+
"template_id": "tpl_m4_window_partition_avg",
|
| 880 |
+
"template_name": "Window Partition Average",
|
| 881 |
+
"primary_family": "conditional_dependency_structure",
|
| 882 |
+
"portability": "partial",
|
| 883 |
+
"sql_skeleton": "SELECT DISTINCT {group_col},\n AVG({measure_col}) OVER (PARTITION BY {group_col}) AS avg_measure\nFROM {table}\nORDER BY avg_measure DESC;",
|
| 884 |
+
"required_roles": [
|
| 885 |
+
"group_col",
|
| 886 |
+
"measure_col"
|
| 887 |
+
]
|
| 888 |
+
}
|
| 889 |
+
]
|
| 890 |
+
|
| 891 |
+
Problem instance:
|
| 892 |
+
{
|
| 893 |
+
"dataset_id": "c13",
|
| 894 |
+
"question": "Use template Window Partition Average to probe slice_level_consistency with semantic role ranked_signal_view. Focus on group_col=iCitizen, measure_col=dTravtime.",
|
| 895 |
+
"planned_template_id": "tpl_m4_window_partition_avg",
|
| 896 |
+
"bindings": {
|
| 897 |
+
"group_col": "iCitizen",
|
| 898 |
+
"measure_col": "dTravtime",
|
| 899 |
+
"top_k": 15,
|
| 900 |
+
"top_n": 4,
|
| 901 |
+
"num_tiles": 10,
|
| 902 |
+
"percentile_value": 0.9,
|
| 903 |
+
"z_threshold": 2.0,
|
| 904 |
+
"fraction_threshold": 0.05,
|
| 905 |
+
"baseline_multiplier": 1.75,
|
| 906 |
+
"baseline_fraction": 0.1,
|
| 907 |
+
"min_group_size": 5,
|
| 908 |
+
"min_support": 4,
|
| 909 |
+
"measure_threshold": 3.64,
|
| 910 |
+
"time_grain": "month",
|
| 911 |
+
"lookback_rows": 3,
|
| 912 |
+
"current_period_start": "'2024-01-01'",
|
| 913 |
+
"current_period_end": "'2024-04-01'",
|
| 914 |
+
"previous_period_start": "'2023-10-01'",
|
| 915 |
+
"previous_period_end": "'2024-01-01'",
|
| 916 |
+
"drift_ratio_threshold": 0.8
|
| 917 |
+
},
|
| 918 |
+
"can_vary": [],
|
| 919 |
+
"must_fix": [],
|
| 920 |
+
"runtime_sql_skeleton": "SELECT DISTINCT {group_col},\n AVG({measure_col}) OVER (PARTITION BY {group_col}) AS avg_measure\nFROM {table}\nORDER BY avg_measure DESC;"
|
| 921 |
+
}
|
| 922 |
+
|
| 923 |
+
Repair context:
|
| 924 |
+
{}
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_response_attempt_1.raw.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4112-1be2-79c0-89b0-481783af5e68"}
|
| 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_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_response_attempt_1.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4112-1be2-79c0-89b0-481783af5e68"}
|
| 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_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_response_attempt_2.raw.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4112-2d39-7f42-a6b3-d9f8d90eed24"}
|
| 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_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_response_attempt_2.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4112-2d39-7f42-a6b3-d9f8d90eed24"}
|
| 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_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_stderr_attempt_1.txt
ADDED
|
File without changes
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_016bce2ef735e157/cli/sql_stderr_attempt_2.txt
ADDED
|
File without changes
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/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:27:35.808460+00:00",
|
| 6 |
+
"ended_at": "2026-05-19T16:27:39.841414+00:00",
|
| 7 |
+
"elapsed_ms": 4032.89,
|
| 8 |
+
"returncode": 1,
|
| 9 |
+
"prompt_metrics": {
|
| 10 |
+
"chars": 27713,
|
| 11 |
+
"bytes_utf8": 27713,
|
| 12 |
+
"lines": 924,
|
| 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_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/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:27:40.844353+00:00",
|
| 6 |
+
"ended_at": "2026-05-19T16:27:43.977590+00:00",
|
| 7 |
+
"elapsed_ms": 3133.18,
|
| 8 |
+
"returncode": 1,
|
| 9 |
+
"prompt_metrics": {
|
| 10 |
+
"chars": 27713,
|
| 11 |
+
"bytes_utf8": 27713,
|
| 12 |
+
"lines": 924,
|
| 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_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_prompt_attempt_1.txt
ADDED
|
@@ -0,0 +1,924 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: c13
|
| 15 |
+
- dataset_name: Us Census Data 1990
|
| 16 |
+
- table_name: c13
|
| 17 |
+
- table_layout: single-table dataset (do not assume joins).
|
| 18 |
+
- row_semantics: One row is one tabular observation with 68 feature columns and target `iClass`.
|
| 19 |
+
- task_type: classification
|
| 20 |
+
- target_column: iClass
|
| 21 |
+
- main_row_count: 2458285
|
| 22 |
+
- important_fields:
|
| 23 |
+
- caseid: role=feature, type=identifier_numeric. tags=['identifier', 'probe_exclude', 'high_cardinality_candidate'] desc=Identifier-like field for caseid.
|
| 24 |
+
- dAge: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAge.
|
| 25 |
+
- dAncstry1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry1.
|
| 26 |
+
- dAncstry2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry2.
|
| 27 |
+
- iAvail: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iAvail.
|
| 28 |
+
- iCitizen: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iCitizen.
|
| 29 |
+
- iClass: role=target, type=categorical_ordinal_target. ordered=['0', '1', '4', '6', '8'] tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for iClass.
|
| 30 |
+
- dDepart: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dDepart.
|
| 31 |
+
- iDisabl1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl1.
|
| 32 |
+
- iDisabl2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl2.
|
| 33 |
+
- iEnglish: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iEnglish.
|
| 34 |
+
- iFeb55: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iFeb55.
|
| 35 |
+
- iFertil: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iFertil.
|
| 36 |
+
- dHispanic: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHispanic.
|
| 37 |
+
- dHour89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHour89.
|
| 38 |
+
- dHours: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHours.
|
| 39 |
+
- iImmigr: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iImmigr.
|
| 40 |
+
- dIncome1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIncome1.
|
| 41 |
+
- dIncome2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome2.
|
| 42 |
+
- dIncome3: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome3.
|
| 43 |
+
- dIncome4: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome4.
|
| 44 |
+
- dIncome5: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome5.
|
| 45 |
+
- dIncome6: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome6.
|
| 46 |
+
- dIncome7: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome7.
|
| 47 |
+
- dIncome8: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome8.
|
| 48 |
+
- dIndustry: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIndustry.
|
| 49 |
+
- iKorean: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iKorean.
|
| 50 |
+
- iLang1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLang1.
|
| 51 |
+
- iLooking: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLooking.
|
| 52 |
+
- iMarital: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMarital.
|
| 53 |
+
- iMay75880: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iMay75880.
|
| 54 |
+
- iMeans: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMeans.
|
| 55 |
+
- iMilitary: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMilitary.
|
| 56 |
+
- iMobility: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobility.
|
| 57 |
+
- iMobillim: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobillim.
|
| 58 |
+
- dOccup: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dOccup.
|
| 59 |
+
- iOthrserv: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iOthrserv.
|
| 60 |
+
- iPerscare: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iPerscare.
|
| 61 |
+
- dPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPOB.
|
| 62 |
+
- dPoverty: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPoverty.
|
| 63 |
+
- dPwgt1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPwgt1.
|
| 64 |
+
- iRagechld: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRagechld.
|
| 65 |
+
- dRearning: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRearning.
|
| 66 |
+
- iRelat1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRelat1.
|
| 67 |
+
- iRelat2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRelat2.
|
| 68 |
+
- iRemplpar: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRemplpar.
|
| 69 |
+
- iRiders: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRiders.
|
| 70 |
+
- iRlabor: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRlabor.
|
| 71 |
+
- iRownchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRownchld.
|
| 72 |
+
- dRpincome: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRpincome.
|
| 73 |
+
- iRPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRPOB.
|
| 74 |
+
- iRrelchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRrelchld.
|
| 75 |
+
- iRspouse: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRspouse.
|
| 76 |
+
- iRvetserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRvetserv.
|
| 77 |
+
- iSchool: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSchool.
|
| 78 |
+
- iSept80: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSept80.
|
| 79 |
+
- iSex: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSex.
|
| 80 |
+
- iSubfam1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSubfam1.
|
| 81 |
+
- iSubfam2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSubfam2.
|
| 82 |
+
- iTmpabsnt: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iTmpabsnt.
|
| 83 |
+
- dTravtime: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dTravtime.
|
| 84 |
+
- iVietnam: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iVietnam.
|
| 85 |
+
- dWeek89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dWeek89.
|
| 86 |
+
- iWork89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWork89.
|
| 87 |
+
- iWorklwk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWorklwk.
|
| 88 |
+
- iWWII: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iWWII.
|
| 89 |
+
- iYearsch: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearsch.
|
| 90 |
+
- iYearwrk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearwrk.
|
| 91 |
+
- dYrsserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dYrsserv.
|
| 92 |
+
- useful_field_combinations: [['dAge', 'dAncstry1', 'iClass'], ['dAge', 'dAge', 'iClass']]
|
| 93 |
+
- fields_requiring_caution: ['iClass']
|
| 94 |
+
- source_url: https://archive.ics.uci.edu/dataset/116/us+census+data+1990
|
| 95 |
+
|
| 96 |
+
SQLite schema snapshot:
|
| 97 |
+
{
|
| 98 |
+
"table_name": "c13",
|
| 99 |
+
"quoted_table_name": "\"c13\"",
|
| 100 |
+
"row_count": 2458285,
|
| 101 |
+
"columns": [
|
| 102 |
+
{
|
| 103 |
+
"name": "caseid",
|
| 104 |
+
"type": "TEXT",
|
| 105 |
+
"notnull": false,
|
| 106 |
+
"pk": false
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": "dAge",
|
| 110 |
+
"type": "TEXT",
|
| 111 |
+
"notnull": false,
|
| 112 |
+
"pk": false
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": "dAncstry1",
|
| 116 |
+
"type": "TEXT",
|
| 117 |
+
"notnull": false,
|
| 118 |
+
"pk": false
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": "dAncstry2",
|
| 122 |
+
"type": "TEXT",
|
| 123 |
+
"notnull": false,
|
| 124 |
+
"pk": false
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": "iAvail",
|
| 128 |
+
"type": "TEXT",
|
| 129 |
+
"notnull": false,
|
| 130 |
+
"pk": false
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": "iCitizen",
|
| 134 |
+
"type": "TEXT",
|
| 135 |
+
"notnull": false,
|
| 136 |
+
"pk": false
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": "iClass",
|
| 140 |
+
"type": "TEXT",
|
| 141 |
+
"notnull": false,
|
| 142 |
+
"pk": false
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": "dDepart",
|
| 146 |
+
"type": "TEXT",
|
| 147 |
+
"notnull": false,
|
| 148 |
+
"pk": false
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"name": "iDisabl1",
|
| 152 |
+
"type": "TEXT",
|
| 153 |
+
"notnull": false,
|
| 154 |
+
"pk": false
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": "iDisabl2",
|
| 158 |
+
"type": "TEXT",
|
| 159 |
+
"notnull": false,
|
| 160 |
+
"pk": false
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"name": "iEnglish",
|
| 164 |
+
"type": "TEXT",
|
| 165 |
+
"notnull": false,
|
| 166 |
+
"pk": false
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "iFeb55",
|
| 170 |
+
"type": "TEXT",
|
| 171 |
+
"notnull": false,
|
| 172 |
+
"pk": false
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"name": "iFertil",
|
| 176 |
+
"type": "TEXT",
|
| 177 |
+
"notnull": false,
|
| 178 |
+
"pk": false
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": "dHispanic",
|
| 182 |
+
"type": "TEXT",
|
| 183 |
+
"notnull": false,
|
| 184 |
+
"pk": false
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": "dHour89",
|
| 188 |
+
"type": "TEXT",
|
| 189 |
+
"notnull": false,
|
| 190 |
+
"pk": false
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"name": "dHours",
|
| 194 |
+
"type": "TEXT",
|
| 195 |
+
"notnull": false,
|
| 196 |
+
"pk": false
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"name": "iImmigr",
|
| 200 |
+
"type": "TEXT",
|
| 201 |
+
"notnull": false,
|
| 202 |
+
"pk": false
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"name": "dIncome1",
|
| 206 |
+
"type": "TEXT",
|
| 207 |
+
"notnull": false,
|
| 208 |
+
"pk": false
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"name": "dIncome2",
|
| 212 |
+
"type": "TEXT",
|
| 213 |
+
"notnull": false,
|
| 214 |
+
"pk": false
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"name": "dIncome3",
|
| 218 |
+
"type": "TEXT",
|
| 219 |
+
"notnull": false,
|
| 220 |
+
"pk": false
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"name": "dIncome4",
|
| 224 |
+
"type": "TEXT",
|
| 225 |
+
"notnull": false,
|
| 226 |
+
"pk": false
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"name": "dIncome5",
|
| 230 |
+
"type": "TEXT",
|
| 231 |
+
"notnull": false,
|
| 232 |
+
"pk": false
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"name": "dIncome6",
|
| 236 |
+
"type": "TEXT",
|
| 237 |
+
"notnull": false,
|
| 238 |
+
"pk": false
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"name": "dIncome7",
|
| 242 |
+
"type": "TEXT",
|
| 243 |
+
"notnull": false,
|
| 244 |
+
"pk": false
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"name": "dIncome8",
|
| 248 |
+
"type": "TEXT",
|
| 249 |
+
"notnull": false,
|
| 250 |
+
"pk": false
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"name": "dIndustry",
|
| 254 |
+
"type": "TEXT",
|
| 255 |
+
"notnull": false,
|
| 256 |
+
"pk": false
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"name": "iKorean",
|
| 260 |
+
"type": "TEXT",
|
| 261 |
+
"notnull": false,
|
| 262 |
+
"pk": false
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"name": "iLang1",
|
| 266 |
+
"type": "TEXT",
|
| 267 |
+
"notnull": false,
|
| 268 |
+
"pk": false
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"name": "iLooking",
|
| 272 |
+
"type": "TEXT",
|
| 273 |
+
"notnull": false,
|
| 274 |
+
"pk": false
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"name": "iMarital",
|
| 278 |
+
"type": "TEXT",
|
| 279 |
+
"notnull": false,
|
| 280 |
+
"pk": false
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"name": "iMay75880",
|
| 284 |
+
"type": "TEXT",
|
| 285 |
+
"notnull": false,
|
| 286 |
+
"pk": false
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"name": "iMeans",
|
| 290 |
+
"type": "TEXT",
|
| 291 |
+
"notnull": false,
|
| 292 |
+
"pk": false
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"name": "iMilitary",
|
| 296 |
+
"type": "TEXT",
|
| 297 |
+
"notnull": false,
|
| 298 |
+
"pk": false
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"name": "iMobility",
|
| 302 |
+
"type": "TEXT",
|
| 303 |
+
"notnull": false,
|
| 304 |
+
"pk": false
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"name": "iMobillim",
|
| 308 |
+
"type": "TEXT",
|
| 309 |
+
"notnull": false,
|
| 310 |
+
"pk": false
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"name": "dOccup",
|
| 314 |
+
"type": "TEXT",
|
| 315 |
+
"notnull": false,
|
| 316 |
+
"pk": false
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"name": "iOthrserv",
|
| 320 |
+
"type": "TEXT",
|
| 321 |
+
"notnull": false,
|
| 322 |
+
"pk": false
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"name": "iPerscare",
|
| 326 |
+
"type": "TEXT",
|
| 327 |
+
"notnull": false,
|
| 328 |
+
"pk": false
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"name": "dPOB",
|
| 332 |
+
"type": "TEXT",
|
| 333 |
+
"notnull": false,
|
| 334 |
+
"pk": false
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"name": "dPoverty",
|
| 338 |
+
"type": "TEXT",
|
| 339 |
+
"notnull": false,
|
| 340 |
+
"pk": false
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"name": "dPwgt1",
|
| 344 |
+
"type": "TEXT",
|
| 345 |
+
"notnull": false,
|
| 346 |
+
"pk": false
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"name": "iRagechld",
|
| 350 |
+
"type": "TEXT",
|
| 351 |
+
"notnull": false,
|
| 352 |
+
"pk": false
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"name": "dRearning",
|
| 356 |
+
"type": "TEXT",
|
| 357 |
+
"notnull": false,
|
| 358 |
+
"pk": false
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"name": "iRelat1",
|
| 362 |
+
"type": "TEXT",
|
| 363 |
+
"notnull": false,
|
| 364 |
+
"pk": false
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"name": "iRelat2",
|
| 368 |
+
"type": "TEXT",
|
| 369 |
+
"notnull": false,
|
| 370 |
+
"pk": false
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"name": "iRemplpar",
|
| 374 |
+
"type": "TEXT",
|
| 375 |
+
"notnull": false,
|
| 376 |
+
"pk": false
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"name": "iRiders",
|
| 380 |
+
"type": "TEXT",
|
| 381 |
+
"notnull": false,
|
| 382 |
+
"pk": false
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"name": "iRlabor",
|
| 386 |
+
"type": "TEXT",
|
| 387 |
+
"notnull": false,
|
| 388 |
+
"pk": false
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"name": "iRownchld",
|
| 392 |
+
"type": "TEXT",
|
| 393 |
+
"notnull": false,
|
| 394 |
+
"pk": false
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"name": "dRpincome",
|
| 398 |
+
"type": "TEXT",
|
| 399 |
+
"notnull": false,
|
| 400 |
+
"pk": false
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"name": "iRPOB",
|
| 404 |
+
"type": "TEXT",
|
| 405 |
+
"notnull": false,
|
| 406 |
+
"pk": false
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"name": "iRrelchld",
|
| 410 |
+
"type": "TEXT",
|
| 411 |
+
"notnull": false,
|
| 412 |
+
"pk": false
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"name": "iRspouse",
|
| 416 |
+
"type": "TEXT",
|
| 417 |
+
"notnull": false,
|
| 418 |
+
"pk": false
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"name": "iRvetserv",
|
| 422 |
+
"type": "TEXT",
|
| 423 |
+
"notnull": false,
|
| 424 |
+
"pk": false
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"name": "iSchool",
|
| 428 |
+
"type": "TEXT",
|
| 429 |
+
"notnull": false,
|
| 430 |
+
"pk": false
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"name": "iSept80",
|
| 434 |
+
"type": "TEXT",
|
| 435 |
+
"notnull": false,
|
| 436 |
+
"pk": false
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"name": "iSex",
|
| 440 |
+
"type": "TEXT",
|
| 441 |
+
"notnull": false,
|
| 442 |
+
"pk": false
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"name": "iSubfam1",
|
| 446 |
+
"type": "TEXT",
|
| 447 |
+
"notnull": false,
|
| 448 |
+
"pk": false
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"name": "iSubfam2",
|
| 452 |
+
"type": "TEXT",
|
| 453 |
+
"notnull": false,
|
| 454 |
+
"pk": false
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"name": "iTmpabsnt",
|
| 458 |
+
"type": "TEXT",
|
| 459 |
+
"notnull": false,
|
| 460 |
+
"pk": false
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"name": "dTravtime",
|
| 464 |
+
"type": "TEXT",
|
| 465 |
+
"notnull": false,
|
| 466 |
+
"pk": false
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"name": "iVietnam",
|
| 470 |
+
"type": "TEXT",
|
| 471 |
+
"notnull": false,
|
| 472 |
+
"pk": false
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"name": "dWeek89",
|
| 476 |
+
"type": "TEXT",
|
| 477 |
+
"notnull": false,
|
| 478 |
+
"pk": false
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"name": "iWork89",
|
| 482 |
+
"type": "TEXT",
|
| 483 |
+
"notnull": false,
|
| 484 |
+
"pk": false
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"name": "iWorklwk",
|
| 488 |
+
"type": "TEXT",
|
| 489 |
+
"notnull": false,
|
| 490 |
+
"pk": false
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"name": "iWWII",
|
| 494 |
+
"type": "TEXT",
|
| 495 |
+
"notnull": false,
|
| 496 |
+
"pk": false
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"name": "iYearsch",
|
| 500 |
+
"type": "TEXT",
|
| 501 |
+
"notnull": false,
|
| 502 |
+
"pk": false
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"name": "iYearwrk",
|
| 506 |
+
"type": "TEXT",
|
| 507 |
+
"notnull": false,
|
| 508 |
+
"pk": false
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"name": "dYrsserv",
|
| 512 |
+
"type": "TEXT",
|
| 513 |
+
"notnull": false,
|
| 514 |
+
"pk": false
|
| 515 |
+
}
|
| 516 |
+
],
|
| 517 |
+
"sample_rows": [
|
| 518 |
+
{
|
| 519 |
+
"caseid": "10000",
|
| 520 |
+
"dAge": "5",
|
| 521 |
+
"dAncstry1": "0",
|
| 522 |
+
"dAncstry2": "1",
|
| 523 |
+
"iAvail": "0",
|
| 524 |
+
"iCitizen": "0",
|
| 525 |
+
"iClass": "5",
|
| 526 |
+
"dDepart": "3",
|
| 527 |
+
"iDisabl1": "2",
|
| 528 |
+
"iDisabl2": "2",
|
| 529 |
+
"iEnglish": "1",
|
| 530 |
+
"iFeb55": "0",
|
| 531 |
+
"iFertil": "1",
|
| 532 |
+
"dHispanic": "0",
|
| 533 |
+
"dHour89": "4",
|
| 534 |
+
"dHours": "3",
|
| 535 |
+
"iImmigr": "0",
|
| 536 |
+
"dIncome1": "2",
|
| 537 |
+
"dIncome2": "0",
|
| 538 |
+
"dIncome3": "0",
|
| 539 |
+
"dIncome4": "1",
|
| 540 |
+
"dIncome5": "0",
|
| 541 |
+
"dIncome6": "0",
|
| 542 |
+
"dIncome7": "0",
|
| 543 |
+
"dIncome8": "0",
|
| 544 |
+
"dIndustry": "10",
|
| 545 |
+
"iKorean": "0",
|
| 546 |
+
"iLang1": "1",
|
| 547 |
+
"iLooking": "0",
|
| 548 |
+
"iMarital": "1",
|
| 549 |
+
"iMay75880": "0",
|
| 550 |
+
"iMeans": "1",
|
| 551 |
+
"iMilitary": "4",
|
| 552 |
+
"iMobility": "2",
|
| 553 |
+
"iMobillim": "2",
|
| 554 |
+
"dOccup": "3",
|
| 555 |
+
"iOthrserv": "0",
|
| 556 |
+
"iPerscare": "2",
|
| 557 |
+
"dPOB": "0",
|
| 558 |
+
"dPoverty": "2",
|
| 559 |
+
"dPwgt1": "1",
|
| 560 |
+
"iRagechld": "4",
|
| 561 |
+
"dRearning": "3",
|
| 562 |
+
"iRelat1": "0",
|
| 563 |
+
"iRelat2": "0",
|
| 564 |
+
"iRemplpar": "0",
|
| 565 |
+
"iRiders": "3",
|
| 566 |
+
"iRlabor": "1",
|
| 567 |
+
"iRownchld": "0",
|
| 568 |
+
"dRpincome": "3",
|
| 569 |
+
"iRPOB": "22",
|
| 570 |
+
"iRrelchld": "0",
|
| 571 |
+
"iRspouse": "3",
|
| 572 |
+
"iRvetserv": "0",
|
| 573 |
+
"iSchool": "1",
|
| 574 |
+
"iSept80": "0",
|
| 575 |
+
"iSex": "1",
|
| 576 |
+
"iSubfam1": "0",
|
| 577 |
+
"iSubfam2": "0",
|
| 578 |
+
"iTmpabsnt": "0",
|
| 579 |
+
"dTravtime": "5",
|
| 580 |
+
"iVietnam": "0",
|
| 581 |
+
"dWeek89": "2",
|
| 582 |
+
"iWork89": "1",
|
| 583 |
+
"iWorklwk": "1",
|
| 584 |
+
"iWWII": "0",
|
| 585 |
+
"iYearsch": "11",
|
| 586 |
+
"iYearwrk": "1",
|
| 587 |
+
"dYrsserv": "0"
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"caseid": "10001",
|
| 591 |
+
"dAge": "6",
|
| 592 |
+
"dAncstry1": "1",
|
| 593 |
+
"dAncstry2": "1",
|
| 594 |
+
"iAvail": "0",
|
| 595 |
+
"iCitizen": "0",
|
| 596 |
+
"iClass": "7",
|
| 597 |
+
"dDepart": "5",
|
| 598 |
+
"iDisabl1": "2",
|
| 599 |
+
"iDisabl2": "2",
|
| 600 |
+
"iEnglish": "0",
|
| 601 |
+
"iFeb55": "0",
|
| 602 |
+
"iFertil": "3",
|
| 603 |
+
"dHispanic": "0",
|
| 604 |
+
"dHour89": "1",
|
| 605 |
+
"dHours": "1",
|
| 606 |
+
"iImmigr": "0",
|
| 607 |
+
"dIncome1": "1",
|
| 608 |
+
"dIncome2": "0",
|
| 609 |
+
"dIncome3": "0",
|
| 610 |
+
"dIncome4": "0",
|
| 611 |
+
"dIncome5": "0",
|
| 612 |
+
"dIncome6": "1",
|
| 613 |
+
"dIncome7": "0",
|
| 614 |
+
"dIncome8": "0",
|
| 615 |
+
"dIndustry": "4",
|
| 616 |
+
"iKorean": "0",
|
| 617 |
+
"iLang1": "2",
|
| 618 |
+
"iLooking": "0",
|
| 619 |
+
"iMarital": "0",
|
| 620 |
+
"iMay75880": "0",
|
| 621 |
+
"iMeans": "1",
|
| 622 |
+
"iMilitary": "4",
|
| 623 |
+
"iMobility": "1",
|
| 624 |
+
"iMobillim": "2",
|
| 625 |
+
"dOccup": "2",
|
| 626 |
+
"iOthrserv": "0",
|
| 627 |
+
"iPerscare": "2",
|
| 628 |
+
"dPOB": "0",
|
| 629 |
+
"dPoverty": "2",
|
| 630 |
+
"dPwgt1": "2",
|
| 631 |
+
"iRagechld": "4",
|
| 632 |
+
"dRearning": "2",
|
| 633 |
+
"iRelat1": "1",
|
| 634 |
+
"iRelat2": "0",
|
| 635 |
+
"iRemplpar": "0",
|
| 636 |
+
"iRiders": "1",
|
| 637 |
+
"iRlabor": "1",
|
| 638 |
+
"iRownchld": "0",
|
| 639 |
+
"dRpincome": "2",
|
| 640 |
+
"iRPOB": "10",
|
| 641 |
+
"iRrelchld": "0",
|
| 642 |
+
"iRspouse": "1",
|
| 643 |
+
"iRvetserv": "0",
|
| 644 |
+
"iSchool": "1",
|
| 645 |
+
"iSept80": "0",
|
| 646 |
+
"iSex": "1",
|
| 647 |
+
"iSubfam1": "0",
|
| 648 |
+
"iSubfam2": "0",
|
| 649 |
+
"iTmpabsnt": "0",
|
| 650 |
+
"dTravtime": "1",
|
| 651 |
+
"iVietnam": "0",
|
| 652 |
+
"dWeek89": "2",
|
| 653 |
+
"iWork89": "1",
|
| 654 |
+
"iWorklwk": "1",
|
| 655 |
+
"iWWII": "0",
|
| 656 |
+
"iYearsch": "5",
|
| 657 |
+
"iYearwrk": "1",
|
| 658 |
+
"dYrsserv": "0"
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"caseid": "10002",
|
| 662 |
+
"dAge": "3",
|
| 663 |
+
"dAncstry1": "1",
|
| 664 |
+
"dAncstry2": "2",
|
| 665 |
+
"iAvail": "0",
|
| 666 |
+
"iCitizen": "0",
|
| 667 |
+
"iClass": "7",
|
| 668 |
+
"dDepart": "4",
|
| 669 |
+
"iDisabl1": "2",
|
| 670 |
+
"iDisabl2": "2",
|
| 671 |
+
"iEnglish": "0",
|
| 672 |
+
"iFeb55": "0",
|
| 673 |
+
"iFertil": "1",
|
| 674 |
+
"dHispanic": "0",
|
| 675 |
+
"dHour89": "4",
|
| 676 |
+
"dHours": "4",
|
| 677 |
+
"iImmigr": "0",
|
| 678 |
+
"dIncome1": "1",
|
| 679 |
+
"dIncome2": "0",
|
| 680 |
+
"dIncome3": "1",
|
| 681 |
+
"dIncome4": "0",
|
| 682 |
+
"dIncome5": "0",
|
| 683 |
+
"dIncome6": "0",
|
| 684 |
+
"dIncome7": "0",
|
| 685 |
+
"dIncome8": "0",
|
| 686 |
+
"dIndustry": "1",
|
| 687 |
+
"iKorean": "0",
|
| 688 |
+
"iLang1": "2",
|
| 689 |
+
"iLooking": "0",
|
| 690 |
+
"iMarital": "4",
|
| 691 |
+
"iMay75880": "0",
|
| 692 |
+
"iMeans": "10",
|
| 693 |
+
"iMilitary": "4",
|
| 694 |
+
"iMobility": "1",
|
| 695 |
+
"iMobillim": "2",
|
| 696 |
+
"dOccup": "4",
|
| 697 |
+
"iOthrserv": "0",
|
| 698 |
+
"iPerscare": "2",
|
| 699 |
+
"dPOB": "0",
|
| 700 |
+
"dPoverty": "2",
|
| 701 |
+
"dPwgt1": "1",
|
| 702 |
+
"iRagechld": "4",
|
| 703 |
+
"dRearning": "2",
|
| 704 |
+
"iRelat1": "2",
|
| 705 |
+
"iRelat2": "0",
|
| 706 |
+
"iRemplpar": "0",
|
| 707 |
+
"iRiders": "0",
|
| 708 |
+
"iRlabor": "1",
|
| 709 |
+
"iRownchld": "0",
|
| 710 |
+
"dRpincome": "2",
|
| 711 |
+
"iRPOB": "10",
|
| 712 |
+
"iRrelchld": "0",
|
| 713 |
+
"iRspouse": "6",
|
| 714 |
+
"iRvetserv": "0",
|
| 715 |
+
"iSchool": "1",
|
| 716 |
+
"iSept80": "0",
|
| 717 |
+
"iSex": "1",
|
| 718 |
+
"iSubfam1": "0",
|
| 719 |
+
"iSubfam2": "0",
|
| 720 |
+
"iTmpabsnt": "0",
|
| 721 |
+
"dTravtime": "2",
|
| 722 |
+
"iVietnam": "0",
|
| 723 |
+
"dWeek89": "2",
|
| 724 |
+
"iWork89": "1",
|
| 725 |
+
"iWorklwk": "1",
|
| 726 |
+
"iWWII": "0",
|
| 727 |
+
"iYearsch": "10",
|
| 728 |
+
"iYearwrk": "1",
|
| 729 |
+
"dYrsserv": "0"
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"caseid": "10003",
|
| 733 |
+
"dAge": "4",
|
| 734 |
+
"dAncstry1": "1",
|
| 735 |
+
"dAncstry2": "2",
|
| 736 |
+
"iAvail": "0",
|
| 737 |
+
"iCitizen": "0",
|
| 738 |
+
"iClass": "1",
|
| 739 |
+
"dDepart": "3",
|
| 740 |
+
"iDisabl1": "2",
|
| 741 |
+
"iDisabl2": "2",
|
| 742 |
+
"iEnglish": "0",
|
| 743 |
+
"iFeb55": "0",
|
| 744 |
+
"iFertil": "3",
|
| 745 |
+
"dHispanic": "0",
|
| 746 |
+
"dHour89": "3",
|
| 747 |
+
"dHours": "3",
|
| 748 |
+
"iImmigr": "0",
|
| 749 |
+
"dIncome1": "1",
|
| 750 |
+
"dIncome2": "0",
|
| 751 |
+
"dIncome3": "0",
|
| 752 |
+
"dIncome4": "0",
|
| 753 |
+
"dIncome5": "0",
|
| 754 |
+
"dIncome6": "0",
|
| 755 |
+
"dIncome7": "0",
|
| 756 |
+
"dIncome8": "1",
|
| 757 |
+
"dIndustry": "4",
|
| 758 |
+
"iKorean": "0",
|
| 759 |
+
"iLang1": "2",
|
| 760 |
+
"iLooking": "0",
|
| 761 |
+
"iMarital": "2",
|
| 762 |
+
"iMay75880": "0",
|
| 763 |
+
"iMeans": "1",
|
| 764 |
+
"iMilitary": "4",
|
| 765 |
+
"iMobility": "1",
|
| 766 |
+
"iMobillim": "2",
|
| 767 |
+
"dOccup": "2",
|
| 768 |
+
"iOthrserv": "0",
|
| 769 |
+
"iPerscare": "2",
|
| 770 |
+
"dPOB": "0",
|
| 771 |
+
"dPoverty": "2",
|
| 772 |
+
"dPwgt1": "1",
|
| 773 |
+
"iRagechld": "2",
|
| 774 |
+
"dRearning": "2",
|
| 775 |
+
"iRelat1": "0",
|
| 776 |
+
"iRelat2": "0",
|
| 777 |
+
"iRemplpar": "0",
|
| 778 |
+
"iRiders": "1",
|
| 779 |
+
"iRlabor": "1",
|
| 780 |
+
"iRownchld": "0",
|
| 781 |
+
"dRpincome": "2",
|
| 782 |
+
"iRPOB": "10",
|
| 783 |
+
"iRrelchld": "0",
|
| 784 |
+
"iRspouse": "4",
|
| 785 |
+
"iRvetserv": "0",
|
| 786 |
+
"iSchool": "1",
|
| 787 |
+
"iSept80": "0",
|
| 788 |
+
"iSex": "1",
|
| 789 |
+
"iSubfam1": "0",
|
| 790 |
+
"iSubfam2": "0",
|
| 791 |
+
"iTmpabsnt": "0",
|
| 792 |
+
"dTravtime": "1",
|
| 793 |
+
"iVietnam": "0",
|
| 794 |
+
"dWeek89": "1",
|
| 795 |
+
"iWork89": "1",
|
| 796 |
+
"iWorklwk": "1",
|
| 797 |
+
"iWWII": "0",
|
| 798 |
+
"iYearsch": "10",
|
| 799 |
+
"iYearwrk": "1",
|
| 800 |
+
"dYrsserv": "0"
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"caseid": "10004",
|
| 804 |
+
"dAge": "7",
|
| 805 |
+
"dAncstry1": "1",
|
| 806 |
+
"dAncstry2": "1",
|
| 807 |
+
"iAvail": "0",
|
| 808 |
+
"iCitizen": "0",
|
| 809 |
+
"iClass": "0",
|
| 810 |
+
"dDepart": "0",
|
| 811 |
+
"iDisabl1": "2",
|
| 812 |
+
"iDisabl2": "2",
|
| 813 |
+
"iEnglish": "0",
|
| 814 |
+
"iFeb55": "0",
|
| 815 |
+
"iFertil": "3",
|
| 816 |
+
"dHispanic": "0",
|
| 817 |
+
"dHour89": "0",
|
| 818 |
+
"dHours": "0",
|
| 819 |
+
"iImmigr": "0",
|
| 820 |
+
"dIncome1": "0",
|
| 821 |
+
"dIncome2": "0",
|
| 822 |
+
"dIncome3": "0",
|
| 823 |
+
"dIncome4": "0",
|
| 824 |
+
"dIncome5": "1",
|
| 825 |
+
"dIncome6": "0",
|
| 826 |
+
"dIncome7": "0",
|
| 827 |
+
"dIncome8": "0",
|
| 828 |
+
"dIndustry": "0",
|
| 829 |
+
"iKorean": "0",
|
| 830 |
+
"iLang1": "2",
|
| 831 |
+
"iLooking": "2",
|
| 832 |
+
"iMarital": "0",
|
| 833 |
+
"iMay75880": "0",
|
| 834 |
+
"iMeans": "0",
|
| 835 |
+
"iMilitary": "4",
|
| 836 |
+
"iMobility": "1",
|
| 837 |
+
"iMobillim": "2",
|
| 838 |
+
"dOccup": "0",
|
| 839 |
+
"iOthrserv": "0",
|
| 840 |
+
"iPerscare": "2",
|
| 841 |
+
"dPOB": "0",
|
| 842 |
+
"dPoverty": "2",
|
| 843 |
+
"dPwgt1": "1",
|
| 844 |
+
"iRagechld": "4",
|
| 845 |
+
"dRearning": "0",
|
| 846 |
+
"iRelat1": "1",
|
| 847 |
+
"iRelat2": "0",
|
| 848 |
+
"iRemplpar": "0",
|
| 849 |
+
"iRiders": "0",
|
| 850 |
+
"iRlabor": "6",
|
| 851 |
+
"iRownchld": "0",
|
| 852 |
+
"dRpincome": "2",
|
| 853 |
+
"iRPOB": "22",
|
| 854 |
+
"iRrelchld": "0",
|
| 855 |
+
"iRspouse": "1",
|
| 856 |
+
"iRvetserv": "0",
|
| 857 |
+
"iSchool": "1",
|
| 858 |
+
"iSept80": "0",
|
| 859 |
+
"iSex": "1",
|
| 860 |
+
"iSubfam1": "0",
|
| 861 |
+
"iSubfam2": "0",
|
| 862 |
+
"iTmpabsnt": "3",
|
| 863 |
+
"dTravtime": "0",
|
| 864 |
+
"iVietnam": "0",
|
| 865 |
+
"dWeek89": "0",
|
| 866 |
+
"iWork89": "2",
|
| 867 |
+
"iWorklwk": "2",
|
| 868 |
+
"iWWII": "0",
|
| 869 |
+
"iYearsch": "5",
|
| 870 |
+
"iYearwrk": "6",
|
| 871 |
+
"dYrsserv": "0"
|
| 872 |
+
}
|
| 873 |
+
]
|
| 874 |
+
}
|
| 875 |
+
|
| 876 |
+
Shortlisted templates:
|
| 877 |
+
[
|
| 878 |
+
{
|
| 879 |
+
"template_id": "tpl_m4_window_partition_avg",
|
| 880 |
+
"template_name": "Window Partition Average",
|
| 881 |
+
"primary_family": "conditional_dependency_structure",
|
| 882 |
+
"portability": "partial",
|
| 883 |
+
"sql_skeleton": "SELECT DISTINCT {group_col},\n AVG({measure_col}) OVER (PARTITION BY {group_col}) AS avg_measure\nFROM {table}\nORDER BY avg_measure DESC;",
|
| 884 |
+
"required_roles": [
|
| 885 |
+
"group_col",
|
| 886 |
+
"measure_col"
|
| 887 |
+
]
|
| 888 |
+
}
|
| 889 |
+
]
|
| 890 |
+
|
| 891 |
+
Problem instance:
|
| 892 |
+
{
|
| 893 |
+
"dataset_id": "c13",
|
| 894 |
+
"question": "Use template Window Partition Average to probe slice_level_consistency with semantic role filtered_stable_view. Focus on group_col=iYearwrk, measure_col=iRPOB.",
|
| 895 |
+
"planned_template_id": "tpl_m4_window_partition_avg",
|
| 896 |
+
"bindings": {
|
| 897 |
+
"group_col": "iYearwrk",
|
| 898 |
+
"measure_col": "iRPOB",
|
| 899 |
+
"top_k": 14,
|
| 900 |
+
"top_n": 5,
|
| 901 |
+
"num_tiles": 10,
|
| 902 |
+
"percentile_value": 0.95,
|
| 903 |
+
"z_threshold": 2.0,
|
| 904 |
+
"fraction_threshold": 0.1,
|
| 905 |
+
"baseline_multiplier": 1.5,
|
| 906 |
+
"baseline_fraction": 0.1,
|
| 907 |
+
"min_group_size": 5,
|
| 908 |
+
"min_support": 5,
|
| 909 |
+
"measure_threshold": 24.0,
|
| 910 |
+
"time_grain": "month",
|
| 911 |
+
"lookback_rows": 3,
|
| 912 |
+
"current_period_start": "'2024-01-01'",
|
| 913 |
+
"current_period_end": "'2024-04-01'",
|
| 914 |
+
"previous_period_start": "'2023-10-01'",
|
| 915 |
+
"previous_period_end": "'2024-01-01'",
|
| 916 |
+
"drift_ratio_threshold": 0.8
|
| 917 |
+
},
|
| 918 |
+
"can_vary": [],
|
| 919 |
+
"must_fix": [],
|
| 920 |
+
"runtime_sql_skeleton": "SELECT DISTINCT {group_col},\n AVG({measure_col}) OVER (PARTITION BY {group_col}) AS avg_measure\nFROM {table}\nORDER BY avg_measure DESC;"
|
| 921 |
+
}
|
| 922 |
+
|
| 923 |
+
Repair context:
|
| 924 |
+
{}
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_prompt_attempt_2.txt
ADDED
|
@@ -0,0 +1,924 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: c13
|
| 15 |
+
- dataset_name: Us Census Data 1990
|
| 16 |
+
- table_name: c13
|
| 17 |
+
- table_layout: single-table dataset (do not assume joins).
|
| 18 |
+
- row_semantics: One row is one tabular observation with 68 feature columns and target `iClass`.
|
| 19 |
+
- task_type: classification
|
| 20 |
+
- target_column: iClass
|
| 21 |
+
- main_row_count: 2458285
|
| 22 |
+
- important_fields:
|
| 23 |
+
- caseid: role=feature, type=identifier_numeric. tags=['identifier', 'probe_exclude', 'high_cardinality_candidate'] desc=Identifier-like field for caseid.
|
| 24 |
+
- dAge: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAge.
|
| 25 |
+
- dAncstry1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry1.
|
| 26 |
+
- dAncstry2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry2.
|
| 27 |
+
- iAvail: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iAvail.
|
| 28 |
+
- iCitizen: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iCitizen.
|
| 29 |
+
- iClass: role=target, type=categorical_ordinal_target. ordered=['0', '1', '4', '6', '8'] tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for iClass.
|
| 30 |
+
- dDepart: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dDepart.
|
| 31 |
+
- iDisabl1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl1.
|
| 32 |
+
- iDisabl2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl2.
|
| 33 |
+
- iEnglish: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iEnglish.
|
| 34 |
+
- iFeb55: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iFeb55.
|
| 35 |
+
- iFertil: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iFertil.
|
| 36 |
+
- dHispanic: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHispanic.
|
| 37 |
+
- dHour89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHour89.
|
| 38 |
+
- dHours: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHours.
|
| 39 |
+
- iImmigr: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iImmigr.
|
| 40 |
+
- dIncome1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIncome1.
|
| 41 |
+
- dIncome2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome2.
|
| 42 |
+
- dIncome3: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome3.
|
| 43 |
+
- dIncome4: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome4.
|
| 44 |
+
- dIncome5: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome5.
|
| 45 |
+
- dIncome6: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome6.
|
| 46 |
+
- dIncome7: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome7.
|
| 47 |
+
- dIncome8: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome8.
|
| 48 |
+
- dIndustry: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIndustry.
|
| 49 |
+
- iKorean: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iKorean.
|
| 50 |
+
- iLang1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLang1.
|
| 51 |
+
- iLooking: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLooking.
|
| 52 |
+
- iMarital: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMarital.
|
| 53 |
+
- iMay75880: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iMay75880.
|
| 54 |
+
- iMeans: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMeans.
|
| 55 |
+
- iMilitary: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMilitary.
|
| 56 |
+
- iMobility: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobility.
|
| 57 |
+
- iMobillim: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobillim.
|
| 58 |
+
- dOccup: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dOccup.
|
| 59 |
+
- iOthrserv: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iOthrserv.
|
| 60 |
+
- iPerscare: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iPerscare.
|
| 61 |
+
- dPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPOB.
|
| 62 |
+
- dPoverty: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPoverty.
|
| 63 |
+
- dPwgt1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPwgt1.
|
| 64 |
+
- iRagechld: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRagechld.
|
| 65 |
+
- dRearning: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRearning.
|
| 66 |
+
- iRelat1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRelat1.
|
| 67 |
+
- iRelat2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRelat2.
|
| 68 |
+
- iRemplpar: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRemplpar.
|
| 69 |
+
- iRiders: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRiders.
|
| 70 |
+
- iRlabor: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRlabor.
|
| 71 |
+
- iRownchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRownchld.
|
| 72 |
+
- dRpincome: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRpincome.
|
| 73 |
+
- iRPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRPOB.
|
| 74 |
+
- iRrelchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRrelchld.
|
| 75 |
+
- iRspouse: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRspouse.
|
| 76 |
+
- iRvetserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRvetserv.
|
| 77 |
+
- iSchool: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSchool.
|
| 78 |
+
- iSept80: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSept80.
|
| 79 |
+
- iSex: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSex.
|
| 80 |
+
- iSubfam1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSubfam1.
|
| 81 |
+
- iSubfam2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSubfam2.
|
| 82 |
+
- iTmpabsnt: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iTmpabsnt.
|
| 83 |
+
- dTravtime: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dTravtime.
|
| 84 |
+
- iVietnam: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iVietnam.
|
| 85 |
+
- dWeek89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dWeek89.
|
| 86 |
+
- iWork89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWork89.
|
| 87 |
+
- iWorklwk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWorklwk.
|
| 88 |
+
- iWWII: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iWWII.
|
| 89 |
+
- iYearsch: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearsch.
|
| 90 |
+
- iYearwrk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearwrk.
|
| 91 |
+
- dYrsserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dYrsserv.
|
| 92 |
+
- useful_field_combinations: [['dAge', 'dAncstry1', 'iClass'], ['dAge', 'dAge', 'iClass']]
|
| 93 |
+
- fields_requiring_caution: ['iClass']
|
| 94 |
+
- source_url: https://archive.ics.uci.edu/dataset/116/us+census+data+1990
|
| 95 |
+
|
| 96 |
+
SQLite schema snapshot:
|
| 97 |
+
{
|
| 98 |
+
"table_name": "c13",
|
| 99 |
+
"quoted_table_name": "\"c13\"",
|
| 100 |
+
"row_count": 2458285,
|
| 101 |
+
"columns": [
|
| 102 |
+
{
|
| 103 |
+
"name": "caseid",
|
| 104 |
+
"type": "TEXT",
|
| 105 |
+
"notnull": false,
|
| 106 |
+
"pk": false
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": "dAge",
|
| 110 |
+
"type": "TEXT",
|
| 111 |
+
"notnull": false,
|
| 112 |
+
"pk": false
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": "dAncstry1",
|
| 116 |
+
"type": "TEXT",
|
| 117 |
+
"notnull": false,
|
| 118 |
+
"pk": false
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": "dAncstry2",
|
| 122 |
+
"type": "TEXT",
|
| 123 |
+
"notnull": false,
|
| 124 |
+
"pk": false
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": "iAvail",
|
| 128 |
+
"type": "TEXT",
|
| 129 |
+
"notnull": false,
|
| 130 |
+
"pk": false
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": "iCitizen",
|
| 134 |
+
"type": "TEXT",
|
| 135 |
+
"notnull": false,
|
| 136 |
+
"pk": false
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": "iClass",
|
| 140 |
+
"type": "TEXT",
|
| 141 |
+
"notnull": false,
|
| 142 |
+
"pk": false
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": "dDepart",
|
| 146 |
+
"type": "TEXT",
|
| 147 |
+
"notnull": false,
|
| 148 |
+
"pk": false
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"name": "iDisabl1",
|
| 152 |
+
"type": "TEXT",
|
| 153 |
+
"notnull": false,
|
| 154 |
+
"pk": false
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": "iDisabl2",
|
| 158 |
+
"type": "TEXT",
|
| 159 |
+
"notnull": false,
|
| 160 |
+
"pk": false
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"name": "iEnglish",
|
| 164 |
+
"type": "TEXT",
|
| 165 |
+
"notnull": false,
|
| 166 |
+
"pk": false
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "iFeb55",
|
| 170 |
+
"type": "TEXT",
|
| 171 |
+
"notnull": false,
|
| 172 |
+
"pk": false
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"name": "iFertil",
|
| 176 |
+
"type": "TEXT",
|
| 177 |
+
"notnull": false,
|
| 178 |
+
"pk": false
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": "dHispanic",
|
| 182 |
+
"type": "TEXT",
|
| 183 |
+
"notnull": false,
|
| 184 |
+
"pk": false
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": "dHour89",
|
| 188 |
+
"type": "TEXT",
|
| 189 |
+
"notnull": false,
|
| 190 |
+
"pk": false
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"name": "dHours",
|
| 194 |
+
"type": "TEXT",
|
| 195 |
+
"notnull": false,
|
| 196 |
+
"pk": false
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"name": "iImmigr",
|
| 200 |
+
"type": "TEXT",
|
| 201 |
+
"notnull": false,
|
| 202 |
+
"pk": false
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"name": "dIncome1",
|
| 206 |
+
"type": "TEXT",
|
| 207 |
+
"notnull": false,
|
| 208 |
+
"pk": false
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"name": "dIncome2",
|
| 212 |
+
"type": "TEXT",
|
| 213 |
+
"notnull": false,
|
| 214 |
+
"pk": false
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"name": "dIncome3",
|
| 218 |
+
"type": "TEXT",
|
| 219 |
+
"notnull": false,
|
| 220 |
+
"pk": false
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"name": "dIncome4",
|
| 224 |
+
"type": "TEXT",
|
| 225 |
+
"notnull": false,
|
| 226 |
+
"pk": false
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"name": "dIncome5",
|
| 230 |
+
"type": "TEXT",
|
| 231 |
+
"notnull": false,
|
| 232 |
+
"pk": false
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"name": "dIncome6",
|
| 236 |
+
"type": "TEXT",
|
| 237 |
+
"notnull": false,
|
| 238 |
+
"pk": false
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"name": "dIncome7",
|
| 242 |
+
"type": "TEXT",
|
| 243 |
+
"notnull": false,
|
| 244 |
+
"pk": false
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"name": "dIncome8",
|
| 248 |
+
"type": "TEXT",
|
| 249 |
+
"notnull": false,
|
| 250 |
+
"pk": false
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"name": "dIndustry",
|
| 254 |
+
"type": "TEXT",
|
| 255 |
+
"notnull": false,
|
| 256 |
+
"pk": false
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"name": "iKorean",
|
| 260 |
+
"type": "TEXT",
|
| 261 |
+
"notnull": false,
|
| 262 |
+
"pk": false
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"name": "iLang1",
|
| 266 |
+
"type": "TEXT",
|
| 267 |
+
"notnull": false,
|
| 268 |
+
"pk": false
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"name": "iLooking",
|
| 272 |
+
"type": "TEXT",
|
| 273 |
+
"notnull": false,
|
| 274 |
+
"pk": false
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"name": "iMarital",
|
| 278 |
+
"type": "TEXT",
|
| 279 |
+
"notnull": false,
|
| 280 |
+
"pk": false
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"name": "iMay75880",
|
| 284 |
+
"type": "TEXT",
|
| 285 |
+
"notnull": false,
|
| 286 |
+
"pk": false
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"name": "iMeans",
|
| 290 |
+
"type": "TEXT",
|
| 291 |
+
"notnull": false,
|
| 292 |
+
"pk": false
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"name": "iMilitary",
|
| 296 |
+
"type": "TEXT",
|
| 297 |
+
"notnull": false,
|
| 298 |
+
"pk": false
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"name": "iMobility",
|
| 302 |
+
"type": "TEXT",
|
| 303 |
+
"notnull": false,
|
| 304 |
+
"pk": false
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"name": "iMobillim",
|
| 308 |
+
"type": "TEXT",
|
| 309 |
+
"notnull": false,
|
| 310 |
+
"pk": false
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"name": "dOccup",
|
| 314 |
+
"type": "TEXT",
|
| 315 |
+
"notnull": false,
|
| 316 |
+
"pk": false
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"name": "iOthrserv",
|
| 320 |
+
"type": "TEXT",
|
| 321 |
+
"notnull": false,
|
| 322 |
+
"pk": false
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"name": "iPerscare",
|
| 326 |
+
"type": "TEXT",
|
| 327 |
+
"notnull": false,
|
| 328 |
+
"pk": false
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"name": "dPOB",
|
| 332 |
+
"type": "TEXT",
|
| 333 |
+
"notnull": false,
|
| 334 |
+
"pk": false
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"name": "dPoverty",
|
| 338 |
+
"type": "TEXT",
|
| 339 |
+
"notnull": false,
|
| 340 |
+
"pk": false
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"name": "dPwgt1",
|
| 344 |
+
"type": "TEXT",
|
| 345 |
+
"notnull": false,
|
| 346 |
+
"pk": false
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"name": "iRagechld",
|
| 350 |
+
"type": "TEXT",
|
| 351 |
+
"notnull": false,
|
| 352 |
+
"pk": false
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"name": "dRearning",
|
| 356 |
+
"type": "TEXT",
|
| 357 |
+
"notnull": false,
|
| 358 |
+
"pk": false
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"name": "iRelat1",
|
| 362 |
+
"type": "TEXT",
|
| 363 |
+
"notnull": false,
|
| 364 |
+
"pk": false
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"name": "iRelat2",
|
| 368 |
+
"type": "TEXT",
|
| 369 |
+
"notnull": false,
|
| 370 |
+
"pk": false
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"name": "iRemplpar",
|
| 374 |
+
"type": "TEXT",
|
| 375 |
+
"notnull": false,
|
| 376 |
+
"pk": false
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"name": "iRiders",
|
| 380 |
+
"type": "TEXT",
|
| 381 |
+
"notnull": false,
|
| 382 |
+
"pk": false
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"name": "iRlabor",
|
| 386 |
+
"type": "TEXT",
|
| 387 |
+
"notnull": false,
|
| 388 |
+
"pk": false
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"name": "iRownchld",
|
| 392 |
+
"type": "TEXT",
|
| 393 |
+
"notnull": false,
|
| 394 |
+
"pk": false
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"name": "dRpincome",
|
| 398 |
+
"type": "TEXT",
|
| 399 |
+
"notnull": false,
|
| 400 |
+
"pk": false
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"name": "iRPOB",
|
| 404 |
+
"type": "TEXT",
|
| 405 |
+
"notnull": false,
|
| 406 |
+
"pk": false
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"name": "iRrelchld",
|
| 410 |
+
"type": "TEXT",
|
| 411 |
+
"notnull": false,
|
| 412 |
+
"pk": false
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"name": "iRspouse",
|
| 416 |
+
"type": "TEXT",
|
| 417 |
+
"notnull": false,
|
| 418 |
+
"pk": false
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"name": "iRvetserv",
|
| 422 |
+
"type": "TEXT",
|
| 423 |
+
"notnull": false,
|
| 424 |
+
"pk": false
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"name": "iSchool",
|
| 428 |
+
"type": "TEXT",
|
| 429 |
+
"notnull": false,
|
| 430 |
+
"pk": false
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"name": "iSept80",
|
| 434 |
+
"type": "TEXT",
|
| 435 |
+
"notnull": false,
|
| 436 |
+
"pk": false
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"name": "iSex",
|
| 440 |
+
"type": "TEXT",
|
| 441 |
+
"notnull": false,
|
| 442 |
+
"pk": false
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"name": "iSubfam1",
|
| 446 |
+
"type": "TEXT",
|
| 447 |
+
"notnull": false,
|
| 448 |
+
"pk": false
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"name": "iSubfam2",
|
| 452 |
+
"type": "TEXT",
|
| 453 |
+
"notnull": false,
|
| 454 |
+
"pk": false
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"name": "iTmpabsnt",
|
| 458 |
+
"type": "TEXT",
|
| 459 |
+
"notnull": false,
|
| 460 |
+
"pk": false
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"name": "dTravtime",
|
| 464 |
+
"type": "TEXT",
|
| 465 |
+
"notnull": false,
|
| 466 |
+
"pk": false
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"name": "iVietnam",
|
| 470 |
+
"type": "TEXT",
|
| 471 |
+
"notnull": false,
|
| 472 |
+
"pk": false
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"name": "dWeek89",
|
| 476 |
+
"type": "TEXT",
|
| 477 |
+
"notnull": false,
|
| 478 |
+
"pk": false
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"name": "iWork89",
|
| 482 |
+
"type": "TEXT",
|
| 483 |
+
"notnull": false,
|
| 484 |
+
"pk": false
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"name": "iWorklwk",
|
| 488 |
+
"type": "TEXT",
|
| 489 |
+
"notnull": false,
|
| 490 |
+
"pk": false
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"name": "iWWII",
|
| 494 |
+
"type": "TEXT",
|
| 495 |
+
"notnull": false,
|
| 496 |
+
"pk": false
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"name": "iYearsch",
|
| 500 |
+
"type": "TEXT",
|
| 501 |
+
"notnull": false,
|
| 502 |
+
"pk": false
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"name": "iYearwrk",
|
| 506 |
+
"type": "TEXT",
|
| 507 |
+
"notnull": false,
|
| 508 |
+
"pk": false
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"name": "dYrsserv",
|
| 512 |
+
"type": "TEXT",
|
| 513 |
+
"notnull": false,
|
| 514 |
+
"pk": false
|
| 515 |
+
}
|
| 516 |
+
],
|
| 517 |
+
"sample_rows": [
|
| 518 |
+
{
|
| 519 |
+
"caseid": "10000",
|
| 520 |
+
"dAge": "5",
|
| 521 |
+
"dAncstry1": "0",
|
| 522 |
+
"dAncstry2": "1",
|
| 523 |
+
"iAvail": "0",
|
| 524 |
+
"iCitizen": "0",
|
| 525 |
+
"iClass": "5",
|
| 526 |
+
"dDepart": "3",
|
| 527 |
+
"iDisabl1": "2",
|
| 528 |
+
"iDisabl2": "2",
|
| 529 |
+
"iEnglish": "1",
|
| 530 |
+
"iFeb55": "0",
|
| 531 |
+
"iFertil": "1",
|
| 532 |
+
"dHispanic": "0",
|
| 533 |
+
"dHour89": "4",
|
| 534 |
+
"dHours": "3",
|
| 535 |
+
"iImmigr": "0",
|
| 536 |
+
"dIncome1": "2",
|
| 537 |
+
"dIncome2": "0",
|
| 538 |
+
"dIncome3": "0",
|
| 539 |
+
"dIncome4": "1",
|
| 540 |
+
"dIncome5": "0",
|
| 541 |
+
"dIncome6": "0",
|
| 542 |
+
"dIncome7": "0",
|
| 543 |
+
"dIncome8": "0",
|
| 544 |
+
"dIndustry": "10",
|
| 545 |
+
"iKorean": "0",
|
| 546 |
+
"iLang1": "1",
|
| 547 |
+
"iLooking": "0",
|
| 548 |
+
"iMarital": "1",
|
| 549 |
+
"iMay75880": "0",
|
| 550 |
+
"iMeans": "1",
|
| 551 |
+
"iMilitary": "4",
|
| 552 |
+
"iMobility": "2",
|
| 553 |
+
"iMobillim": "2",
|
| 554 |
+
"dOccup": "3",
|
| 555 |
+
"iOthrserv": "0",
|
| 556 |
+
"iPerscare": "2",
|
| 557 |
+
"dPOB": "0",
|
| 558 |
+
"dPoverty": "2",
|
| 559 |
+
"dPwgt1": "1",
|
| 560 |
+
"iRagechld": "4",
|
| 561 |
+
"dRearning": "3",
|
| 562 |
+
"iRelat1": "0",
|
| 563 |
+
"iRelat2": "0",
|
| 564 |
+
"iRemplpar": "0",
|
| 565 |
+
"iRiders": "3",
|
| 566 |
+
"iRlabor": "1",
|
| 567 |
+
"iRownchld": "0",
|
| 568 |
+
"dRpincome": "3",
|
| 569 |
+
"iRPOB": "22",
|
| 570 |
+
"iRrelchld": "0",
|
| 571 |
+
"iRspouse": "3",
|
| 572 |
+
"iRvetserv": "0",
|
| 573 |
+
"iSchool": "1",
|
| 574 |
+
"iSept80": "0",
|
| 575 |
+
"iSex": "1",
|
| 576 |
+
"iSubfam1": "0",
|
| 577 |
+
"iSubfam2": "0",
|
| 578 |
+
"iTmpabsnt": "0",
|
| 579 |
+
"dTravtime": "5",
|
| 580 |
+
"iVietnam": "0",
|
| 581 |
+
"dWeek89": "2",
|
| 582 |
+
"iWork89": "1",
|
| 583 |
+
"iWorklwk": "1",
|
| 584 |
+
"iWWII": "0",
|
| 585 |
+
"iYearsch": "11",
|
| 586 |
+
"iYearwrk": "1",
|
| 587 |
+
"dYrsserv": "0"
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"caseid": "10001",
|
| 591 |
+
"dAge": "6",
|
| 592 |
+
"dAncstry1": "1",
|
| 593 |
+
"dAncstry2": "1",
|
| 594 |
+
"iAvail": "0",
|
| 595 |
+
"iCitizen": "0",
|
| 596 |
+
"iClass": "7",
|
| 597 |
+
"dDepart": "5",
|
| 598 |
+
"iDisabl1": "2",
|
| 599 |
+
"iDisabl2": "2",
|
| 600 |
+
"iEnglish": "0",
|
| 601 |
+
"iFeb55": "0",
|
| 602 |
+
"iFertil": "3",
|
| 603 |
+
"dHispanic": "0",
|
| 604 |
+
"dHour89": "1",
|
| 605 |
+
"dHours": "1",
|
| 606 |
+
"iImmigr": "0",
|
| 607 |
+
"dIncome1": "1",
|
| 608 |
+
"dIncome2": "0",
|
| 609 |
+
"dIncome3": "0",
|
| 610 |
+
"dIncome4": "0",
|
| 611 |
+
"dIncome5": "0",
|
| 612 |
+
"dIncome6": "1",
|
| 613 |
+
"dIncome7": "0",
|
| 614 |
+
"dIncome8": "0",
|
| 615 |
+
"dIndustry": "4",
|
| 616 |
+
"iKorean": "0",
|
| 617 |
+
"iLang1": "2",
|
| 618 |
+
"iLooking": "0",
|
| 619 |
+
"iMarital": "0",
|
| 620 |
+
"iMay75880": "0",
|
| 621 |
+
"iMeans": "1",
|
| 622 |
+
"iMilitary": "4",
|
| 623 |
+
"iMobility": "1",
|
| 624 |
+
"iMobillim": "2",
|
| 625 |
+
"dOccup": "2",
|
| 626 |
+
"iOthrserv": "0",
|
| 627 |
+
"iPerscare": "2",
|
| 628 |
+
"dPOB": "0",
|
| 629 |
+
"dPoverty": "2",
|
| 630 |
+
"dPwgt1": "2",
|
| 631 |
+
"iRagechld": "4",
|
| 632 |
+
"dRearning": "2",
|
| 633 |
+
"iRelat1": "1",
|
| 634 |
+
"iRelat2": "0",
|
| 635 |
+
"iRemplpar": "0",
|
| 636 |
+
"iRiders": "1",
|
| 637 |
+
"iRlabor": "1",
|
| 638 |
+
"iRownchld": "0",
|
| 639 |
+
"dRpincome": "2",
|
| 640 |
+
"iRPOB": "10",
|
| 641 |
+
"iRrelchld": "0",
|
| 642 |
+
"iRspouse": "1",
|
| 643 |
+
"iRvetserv": "0",
|
| 644 |
+
"iSchool": "1",
|
| 645 |
+
"iSept80": "0",
|
| 646 |
+
"iSex": "1",
|
| 647 |
+
"iSubfam1": "0",
|
| 648 |
+
"iSubfam2": "0",
|
| 649 |
+
"iTmpabsnt": "0",
|
| 650 |
+
"dTravtime": "1",
|
| 651 |
+
"iVietnam": "0",
|
| 652 |
+
"dWeek89": "2",
|
| 653 |
+
"iWork89": "1",
|
| 654 |
+
"iWorklwk": "1",
|
| 655 |
+
"iWWII": "0",
|
| 656 |
+
"iYearsch": "5",
|
| 657 |
+
"iYearwrk": "1",
|
| 658 |
+
"dYrsserv": "0"
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"caseid": "10002",
|
| 662 |
+
"dAge": "3",
|
| 663 |
+
"dAncstry1": "1",
|
| 664 |
+
"dAncstry2": "2",
|
| 665 |
+
"iAvail": "0",
|
| 666 |
+
"iCitizen": "0",
|
| 667 |
+
"iClass": "7",
|
| 668 |
+
"dDepart": "4",
|
| 669 |
+
"iDisabl1": "2",
|
| 670 |
+
"iDisabl2": "2",
|
| 671 |
+
"iEnglish": "0",
|
| 672 |
+
"iFeb55": "0",
|
| 673 |
+
"iFertil": "1",
|
| 674 |
+
"dHispanic": "0",
|
| 675 |
+
"dHour89": "4",
|
| 676 |
+
"dHours": "4",
|
| 677 |
+
"iImmigr": "0",
|
| 678 |
+
"dIncome1": "1",
|
| 679 |
+
"dIncome2": "0",
|
| 680 |
+
"dIncome3": "1",
|
| 681 |
+
"dIncome4": "0",
|
| 682 |
+
"dIncome5": "0",
|
| 683 |
+
"dIncome6": "0",
|
| 684 |
+
"dIncome7": "0",
|
| 685 |
+
"dIncome8": "0",
|
| 686 |
+
"dIndustry": "1",
|
| 687 |
+
"iKorean": "0",
|
| 688 |
+
"iLang1": "2",
|
| 689 |
+
"iLooking": "0",
|
| 690 |
+
"iMarital": "4",
|
| 691 |
+
"iMay75880": "0",
|
| 692 |
+
"iMeans": "10",
|
| 693 |
+
"iMilitary": "4",
|
| 694 |
+
"iMobility": "1",
|
| 695 |
+
"iMobillim": "2",
|
| 696 |
+
"dOccup": "4",
|
| 697 |
+
"iOthrserv": "0",
|
| 698 |
+
"iPerscare": "2",
|
| 699 |
+
"dPOB": "0",
|
| 700 |
+
"dPoverty": "2",
|
| 701 |
+
"dPwgt1": "1",
|
| 702 |
+
"iRagechld": "4",
|
| 703 |
+
"dRearning": "2",
|
| 704 |
+
"iRelat1": "2",
|
| 705 |
+
"iRelat2": "0",
|
| 706 |
+
"iRemplpar": "0",
|
| 707 |
+
"iRiders": "0",
|
| 708 |
+
"iRlabor": "1",
|
| 709 |
+
"iRownchld": "0",
|
| 710 |
+
"dRpincome": "2",
|
| 711 |
+
"iRPOB": "10",
|
| 712 |
+
"iRrelchld": "0",
|
| 713 |
+
"iRspouse": "6",
|
| 714 |
+
"iRvetserv": "0",
|
| 715 |
+
"iSchool": "1",
|
| 716 |
+
"iSept80": "0",
|
| 717 |
+
"iSex": "1",
|
| 718 |
+
"iSubfam1": "0",
|
| 719 |
+
"iSubfam2": "0",
|
| 720 |
+
"iTmpabsnt": "0",
|
| 721 |
+
"dTravtime": "2",
|
| 722 |
+
"iVietnam": "0",
|
| 723 |
+
"dWeek89": "2",
|
| 724 |
+
"iWork89": "1",
|
| 725 |
+
"iWorklwk": "1",
|
| 726 |
+
"iWWII": "0",
|
| 727 |
+
"iYearsch": "10",
|
| 728 |
+
"iYearwrk": "1",
|
| 729 |
+
"dYrsserv": "0"
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"caseid": "10003",
|
| 733 |
+
"dAge": "4",
|
| 734 |
+
"dAncstry1": "1",
|
| 735 |
+
"dAncstry2": "2",
|
| 736 |
+
"iAvail": "0",
|
| 737 |
+
"iCitizen": "0",
|
| 738 |
+
"iClass": "1",
|
| 739 |
+
"dDepart": "3",
|
| 740 |
+
"iDisabl1": "2",
|
| 741 |
+
"iDisabl2": "2",
|
| 742 |
+
"iEnglish": "0",
|
| 743 |
+
"iFeb55": "0",
|
| 744 |
+
"iFertil": "3",
|
| 745 |
+
"dHispanic": "0",
|
| 746 |
+
"dHour89": "3",
|
| 747 |
+
"dHours": "3",
|
| 748 |
+
"iImmigr": "0",
|
| 749 |
+
"dIncome1": "1",
|
| 750 |
+
"dIncome2": "0",
|
| 751 |
+
"dIncome3": "0",
|
| 752 |
+
"dIncome4": "0",
|
| 753 |
+
"dIncome5": "0",
|
| 754 |
+
"dIncome6": "0",
|
| 755 |
+
"dIncome7": "0",
|
| 756 |
+
"dIncome8": "1",
|
| 757 |
+
"dIndustry": "4",
|
| 758 |
+
"iKorean": "0",
|
| 759 |
+
"iLang1": "2",
|
| 760 |
+
"iLooking": "0",
|
| 761 |
+
"iMarital": "2",
|
| 762 |
+
"iMay75880": "0",
|
| 763 |
+
"iMeans": "1",
|
| 764 |
+
"iMilitary": "4",
|
| 765 |
+
"iMobility": "1",
|
| 766 |
+
"iMobillim": "2",
|
| 767 |
+
"dOccup": "2",
|
| 768 |
+
"iOthrserv": "0",
|
| 769 |
+
"iPerscare": "2",
|
| 770 |
+
"dPOB": "0",
|
| 771 |
+
"dPoverty": "2",
|
| 772 |
+
"dPwgt1": "1",
|
| 773 |
+
"iRagechld": "2",
|
| 774 |
+
"dRearning": "2",
|
| 775 |
+
"iRelat1": "0",
|
| 776 |
+
"iRelat2": "0",
|
| 777 |
+
"iRemplpar": "0",
|
| 778 |
+
"iRiders": "1",
|
| 779 |
+
"iRlabor": "1",
|
| 780 |
+
"iRownchld": "0",
|
| 781 |
+
"dRpincome": "2",
|
| 782 |
+
"iRPOB": "10",
|
| 783 |
+
"iRrelchld": "0",
|
| 784 |
+
"iRspouse": "4",
|
| 785 |
+
"iRvetserv": "0",
|
| 786 |
+
"iSchool": "1",
|
| 787 |
+
"iSept80": "0",
|
| 788 |
+
"iSex": "1",
|
| 789 |
+
"iSubfam1": "0",
|
| 790 |
+
"iSubfam2": "0",
|
| 791 |
+
"iTmpabsnt": "0",
|
| 792 |
+
"dTravtime": "1",
|
| 793 |
+
"iVietnam": "0",
|
| 794 |
+
"dWeek89": "1",
|
| 795 |
+
"iWork89": "1",
|
| 796 |
+
"iWorklwk": "1",
|
| 797 |
+
"iWWII": "0",
|
| 798 |
+
"iYearsch": "10",
|
| 799 |
+
"iYearwrk": "1",
|
| 800 |
+
"dYrsserv": "0"
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"caseid": "10004",
|
| 804 |
+
"dAge": "7",
|
| 805 |
+
"dAncstry1": "1",
|
| 806 |
+
"dAncstry2": "1",
|
| 807 |
+
"iAvail": "0",
|
| 808 |
+
"iCitizen": "0",
|
| 809 |
+
"iClass": "0",
|
| 810 |
+
"dDepart": "0",
|
| 811 |
+
"iDisabl1": "2",
|
| 812 |
+
"iDisabl2": "2",
|
| 813 |
+
"iEnglish": "0",
|
| 814 |
+
"iFeb55": "0",
|
| 815 |
+
"iFertil": "3",
|
| 816 |
+
"dHispanic": "0",
|
| 817 |
+
"dHour89": "0",
|
| 818 |
+
"dHours": "0",
|
| 819 |
+
"iImmigr": "0",
|
| 820 |
+
"dIncome1": "0",
|
| 821 |
+
"dIncome2": "0",
|
| 822 |
+
"dIncome3": "0",
|
| 823 |
+
"dIncome4": "0",
|
| 824 |
+
"dIncome5": "1",
|
| 825 |
+
"dIncome6": "0",
|
| 826 |
+
"dIncome7": "0",
|
| 827 |
+
"dIncome8": "0",
|
| 828 |
+
"dIndustry": "0",
|
| 829 |
+
"iKorean": "0",
|
| 830 |
+
"iLang1": "2",
|
| 831 |
+
"iLooking": "2",
|
| 832 |
+
"iMarital": "0",
|
| 833 |
+
"iMay75880": "0",
|
| 834 |
+
"iMeans": "0",
|
| 835 |
+
"iMilitary": "4",
|
| 836 |
+
"iMobility": "1",
|
| 837 |
+
"iMobillim": "2",
|
| 838 |
+
"dOccup": "0",
|
| 839 |
+
"iOthrserv": "0",
|
| 840 |
+
"iPerscare": "2",
|
| 841 |
+
"dPOB": "0",
|
| 842 |
+
"dPoverty": "2",
|
| 843 |
+
"dPwgt1": "1",
|
| 844 |
+
"iRagechld": "4",
|
| 845 |
+
"dRearning": "0",
|
| 846 |
+
"iRelat1": "1",
|
| 847 |
+
"iRelat2": "0",
|
| 848 |
+
"iRemplpar": "0",
|
| 849 |
+
"iRiders": "0",
|
| 850 |
+
"iRlabor": "6",
|
| 851 |
+
"iRownchld": "0",
|
| 852 |
+
"dRpincome": "2",
|
| 853 |
+
"iRPOB": "22",
|
| 854 |
+
"iRrelchld": "0",
|
| 855 |
+
"iRspouse": "1",
|
| 856 |
+
"iRvetserv": "0",
|
| 857 |
+
"iSchool": "1",
|
| 858 |
+
"iSept80": "0",
|
| 859 |
+
"iSex": "1",
|
| 860 |
+
"iSubfam1": "0",
|
| 861 |
+
"iSubfam2": "0",
|
| 862 |
+
"iTmpabsnt": "3",
|
| 863 |
+
"dTravtime": "0",
|
| 864 |
+
"iVietnam": "0",
|
| 865 |
+
"dWeek89": "0",
|
| 866 |
+
"iWork89": "2",
|
| 867 |
+
"iWorklwk": "2",
|
| 868 |
+
"iWWII": "0",
|
| 869 |
+
"iYearsch": "5",
|
| 870 |
+
"iYearwrk": "6",
|
| 871 |
+
"dYrsserv": "0"
|
| 872 |
+
}
|
| 873 |
+
]
|
| 874 |
+
}
|
| 875 |
+
|
| 876 |
+
Shortlisted templates:
|
| 877 |
+
[
|
| 878 |
+
{
|
| 879 |
+
"template_id": "tpl_m4_window_partition_avg",
|
| 880 |
+
"template_name": "Window Partition Average",
|
| 881 |
+
"primary_family": "conditional_dependency_structure",
|
| 882 |
+
"portability": "partial",
|
| 883 |
+
"sql_skeleton": "SELECT DISTINCT {group_col},\n AVG({measure_col}) OVER (PARTITION BY {group_col}) AS avg_measure\nFROM {table}\nORDER BY avg_measure DESC;",
|
| 884 |
+
"required_roles": [
|
| 885 |
+
"group_col",
|
| 886 |
+
"measure_col"
|
| 887 |
+
]
|
| 888 |
+
}
|
| 889 |
+
]
|
| 890 |
+
|
| 891 |
+
Problem instance:
|
| 892 |
+
{
|
| 893 |
+
"dataset_id": "c13",
|
| 894 |
+
"question": "Use template Window Partition Average to probe slice_level_consistency with semantic role filtered_stable_view. Focus on group_col=iYearwrk, measure_col=iRPOB.",
|
| 895 |
+
"planned_template_id": "tpl_m4_window_partition_avg",
|
| 896 |
+
"bindings": {
|
| 897 |
+
"group_col": "iYearwrk",
|
| 898 |
+
"measure_col": "iRPOB",
|
| 899 |
+
"top_k": 14,
|
| 900 |
+
"top_n": 5,
|
| 901 |
+
"num_tiles": 10,
|
| 902 |
+
"percentile_value": 0.95,
|
| 903 |
+
"z_threshold": 2.0,
|
| 904 |
+
"fraction_threshold": 0.1,
|
| 905 |
+
"baseline_multiplier": 1.5,
|
| 906 |
+
"baseline_fraction": 0.1,
|
| 907 |
+
"min_group_size": 5,
|
| 908 |
+
"min_support": 5,
|
| 909 |
+
"measure_threshold": 24.0,
|
| 910 |
+
"time_grain": "month",
|
| 911 |
+
"lookback_rows": 3,
|
| 912 |
+
"current_period_start": "'2024-01-01'",
|
| 913 |
+
"current_period_end": "'2024-04-01'",
|
| 914 |
+
"previous_period_start": "'2023-10-01'",
|
| 915 |
+
"previous_period_end": "'2024-01-01'",
|
| 916 |
+
"drift_ratio_threshold": 0.8
|
| 917 |
+
},
|
| 918 |
+
"can_vary": [],
|
| 919 |
+
"must_fix": [],
|
| 920 |
+
"runtime_sql_skeleton": "SELECT DISTINCT {group_col},\n AVG({measure_col}) OVER (PARTITION BY {group_col}) AS avg_measure\nFROM {table}\nORDER BY avg_measure DESC;"
|
| 921 |
+
}
|
| 922 |
+
|
| 923 |
+
Repair context:
|
| 924 |
+
{}
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_response_attempt_1.raw.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4110-6d73-76f2-8582-ded97b6c29cd"}
|
| 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_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_response_attempt_1.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4110-6d73-76f2-8582-ded97b6c29cd"}
|
| 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_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_response_attempt_2.raw.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4110-8118-7591-bc74-97621f9395e8"}
|
| 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_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_response_attempt_2.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4110-8118-7591-bc74-97621f9395e8"}
|
| 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_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_stderr_attempt_1.txt
ADDED
|
File without changes
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_075f54ae7106fb9a/cli/sql_stderr_attempt_2.txt
ADDED
|
File without changes
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/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:20:28.785132+00:00",
|
| 6 |
+
"ended_at": "2026-05-19T16:20:38.285050+00:00",
|
| 7 |
+
"elapsed_ms": 9499.88,
|
| 8 |
+
"returncode": 1,
|
| 9 |
+
"prompt_metrics": {
|
| 10 |
+
"chars": 27872,
|
| 11 |
+
"bytes_utf8": 27872,
|
| 12 |
+
"lines": 927,
|
| 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_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/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:20:39.287334+00:00",
|
| 6 |
+
"ended_at": "2026-05-19T16:20:42.714118+00:00",
|
| 7 |
+
"elapsed_ms": 3426.75,
|
| 8 |
+
"returncode": 1,
|
| 9 |
+
"prompt_metrics": {
|
| 10 |
+
"chars": 27872,
|
| 11 |
+
"bytes_utf8": 27872,
|
| 12 |
+
"lines": 927,
|
| 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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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: c13
|
| 15 |
+
- dataset_name: Us Census Data 1990
|
| 16 |
+
- table_name: c13
|
| 17 |
+
- table_layout: single-table dataset (do not assume joins).
|
| 18 |
+
- row_semantics: One row is one tabular observation with 68 feature columns and target `iClass`.
|
| 19 |
+
- task_type: classification
|
| 20 |
+
- target_column: iClass
|
| 21 |
+
- main_row_count: 2458285
|
| 22 |
+
- important_fields:
|
| 23 |
+
- caseid: role=feature, type=identifier_numeric. tags=['identifier', 'probe_exclude', 'high_cardinality_candidate'] desc=Identifier-like field for caseid.
|
| 24 |
+
- dAge: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAge.
|
| 25 |
+
- dAncstry1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry1.
|
| 26 |
+
- dAncstry2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry2.
|
| 27 |
+
- iAvail: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iAvail.
|
| 28 |
+
- iCitizen: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iCitizen.
|
| 29 |
+
- iClass: role=target, type=categorical_ordinal_target. ordered=['0', '1', '4', '6', '8'] tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for iClass.
|
| 30 |
+
- dDepart: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dDepart.
|
| 31 |
+
- iDisabl1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl1.
|
| 32 |
+
- iDisabl2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl2.
|
| 33 |
+
- iEnglish: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iEnglish.
|
| 34 |
+
- iFeb55: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iFeb55.
|
| 35 |
+
- iFertil: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iFertil.
|
| 36 |
+
- dHispanic: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHispanic.
|
| 37 |
+
- dHour89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHour89.
|
| 38 |
+
- dHours: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHours.
|
| 39 |
+
- iImmigr: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iImmigr.
|
| 40 |
+
- dIncome1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIncome1.
|
| 41 |
+
- dIncome2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome2.
|
| 42 |
+
- dIncome3: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome3.
|
| 43 |
+
- dIncome4: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome4.
|
| 44 |
+
- dIncome5: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome5.
|
| 45 |
+
- dIncome6: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome6.
|
| 46 |
+
- dIncome7: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome7.
|
| 47 |
+
- dIncome8: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome8.
|
| 48 |
+
- dIndustry: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIndustry.
|
| 49 |
+
- iKorean: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iKorean.
|
| 50 |
+
- iLang1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLang1.
|
| 51 |
+
- iLooking: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLooking.
|
| 52 |
+
- iMarital: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMarital.
|
| 53 |
+
- iMay75880: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iMay75880.
|
| 54 |
+
- iMeans: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMeans.
|
| 55 |
+
- iMilitary: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMilitary.
|
| 56 |
+
- iMobility: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobility.
|
| 57 |
+
- iMobillim: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobillim.
|
| 58 |
+
- dOccup: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dOccup.
|
| 59 |
+
- iOthrserv: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iOthrserv.
|
| 60 |
+
- iPerscare: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iPerscare.
|
| 61 |
+
- dPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPOB.
|
| 62 |
+
- dPoverty: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPoverty.
|
| 63 |
+
- dPwgt1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPwgt1.
|
| 64 |
+
- iRagechld: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRagechld.
|
| 65 |
+
- dRearning: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRearning.
|
| 66 |
+
- iRelat1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRelat1.
|
| 67 |
+
- iRelat2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRelat2.
|
| 68 |
+
- iRemplpar: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRemplpar.
|
| 69 |
+
- iRiders: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRiders.
|
| 70 |
+
- iRlabor: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRlabor.
|
| 71 |
+
- iRownchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRownchld.
|
| 72 |
+
- dRpincome: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRpincome.
|
| 73 |
+
- iRPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRPOB.
|
| 74 |
+
- iRrelchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRrelchld.
|
| 75 |
+
- iRspouse: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRspouse.
|
| 76 |
+
- iRvetserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRvetserv.
|
| 77 |
+
- iSchool: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSchool.
|
| 78 |
+
- iSept80: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSept80.
|
| 79 |
+
- iSex: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSex.
|
| 80 |
+
- iSubfam1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSubfam1.
|
| 81 |
+
- iSubfam2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSubfam2.
|
| 82 |
+
- iTmpabsnt: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iTmpabsnt.
|
| 83 |
+
- dTravtime: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dTravtime.
|
| 84 |
+
- iVietnam: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iVietnam.
|
| 85 |
+
- dWeek89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dWeek89.
|
| 86 |
+
- iWork89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWork89.
|
| 87 |
+
- iWorklwk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWorklwk.
|
| 88 |
+
- iWWII: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iWWII.
|
| 89 |
+
- iYearsch: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearsch.
|
| 90 |
+
- iYearwrk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearwrk.
|
| 91 |
+
- dYrsserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dYrsserv.
|
| 92 |
+
- useful_field_combinations: [['dAge', 'dAncstry1', 'iClass'], ['dAge', 'dAge', 'iClass']]
|
| 93 |
+
- fields_requiring_caution: ['iClass']
|
| 94 |
+
- source_url: https://archive.ics.uci.edu/dataset/116/us+census+data+1990
|
| 95 |
+
|
| 96 |
+
SQLite schema snapshot:
|
| 97 |
+
{
|
| 98 |
+
"table_name": "c13",
|
| 99 |
+
"quoted_table_name": "\"c13\"",
|
| 100 |
+
"row_count": 2458285,
|
| 101 |
+
"columns": [
|
| 102 |
+
{
|
| 103 |
+
"name": "caseid",
|
| 104 |
+
"type": "TEXT",
|
| 105 |
+
"notnull": false,
|
| 106 |
+
"pk": false
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": "dAge",
|
| 110 |
+
"type": "TEXT",
|
| 111 |
+
"notnull": false,
|
| 112 |
+
"pk": false
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": "dAncstry1",
|
| 116 |
+
"type": "TEXT",
|
| 117 |
+
"notnull": false,
|
| 118 |
+
"pk": false
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": "dAncstry2",
|
| 122 |
+
"type": "TEXT",
|
| 123 |
+
"notnull": false,
|
| 124 |
+
"pk": false
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": "iAvail",
|
| 128 |
+
"type": "TEXT",
|
| 129 |
+
"notnull": false,
|
| 130 |
+
"pk": false
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": "iCitizen",
|
| 134 |
+
"type": "TEXT",
|
| 135 |
+
"notnull": false,
|
| 136 |
+
"pk": false
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": "iClass",
|
| 140 |
+
"type": "TEXT",
|
| 141 |
+
"notnull": false,
|
| 142 |
+
"pk": false
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": "dDepart",
|
| 146 |
+
"type": "TEXT",
|
| 147 |
+
"notnull": false,
|
| 148 |
+
"pk": false
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"name": "iDisabl1",
|
| 152 |
+
"type": "TEXT",
|
| 153 |
+
"notnull": false,
|
| 154 |
+
"pk": false
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": "iDisabl2",
|
| 158 |
+
"type": "TEXT",
|
| 159 |
+
"notnull": false,
|
| 160 |
+
"pk": false
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"name": "iEnglish",
|
| 164 |
+
"type": "TEXT",
|
| 165 |
+
"notnull": false,
|
| 166 |
+
"pk": false
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "iFeb55",
|
| 170 |
+
"type": "TEXT",
|
| 171 |
+
"notnull": false,
|
| 172 |
+
"pk": false
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"name": "iFertil",
|
| 176 |
+
"type": "TEXT",
|
| 177 |
+
"notnull": false,
|
| 178 |
+
"pk": false
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": "dHispanic",
|
| 182 |
+
"type": "TEXT",
|
| 183 |
+
"notnull": false,
|
| 184 |
+
"pk": false
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": "dHour89",
|
| 188 |
+
"type": "TEXT",
|
| 189 |
+
"notnull": false,
|
| 190 |
+
"pk": false
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"name": "dHours",
|
| 194 |
+
"type": "TEXT",
|
| 195 |
+
"notnull": false,
|
| 196 |
+
"pk": false
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"name": "iImmigr",
|
| 200 |
+
"type": "TEXT",
|
| 201 |
+
"notnull": false,
|
| 202 |
+
"pk": false
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"name": "dIncome1",
|
| 206 |
+
"type": "TEXT",
|
| 207 |
+
"notnull": false,
|
| 208 |
+
"pk": false
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"name": "dIncome2",
|
| 212 |
+
"type": "TEXT",
|
| 213 |
+
"notnull": false,
|
| 214 |
+
"pk": false
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"name": "dIncome3",
|
| 218 |
+
"type": "TEXT",
|
| 219 |
+
"notnull": false,
|
| 220 |
+
"pk": false
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"name": "dIncome4",
|
| 224 |
+
"type": "TEXT",
|
| 225 |
+
"notnull": false,
|
| 226 |
+
"pk": false
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"name": "dIncome5",
|
| 230 |
+
"type": "TEXT",
|
| 231 |
+
"notnull": false,
|
| 232 |
+
"pk": false
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"name": "dIncome6",
|
| 236 |
+
"type": "TEXT",
|
| 237 |
+
"notnull": false,
|
| 238 |
+
"pk": false
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"name": "dIncome7",
|
| 242 |
+
"type": "TEXT",
|
| 243 |
+
"notnull": false,
|
| 244 |
+
"pk": false
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"name": "dIncome8",
|
| 248 |
+
"type": "TEXT",
|
| 249 |
+
"notnull": false,
|
| 250 |
+
"pk": false
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"name": "dIndustry",
|
| 254 |
+
"type": "TEXT",
|
| 255 |
+
"notnull": false,
|
| 256 |
+
"pk": false
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"name": "iKorean",
|
| 260 |
+
"type": "TEXT",
|
| 261 |
+
"notnull": false,
|
| 262 |
+
"pk": false
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"name": "iLang1",
|
| 266 |
+
"type": "TEXT",
|
| 267 |
+
"notnull": false,
|
| 268 |
+
"pk": false
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"name": "iLooking",
|
| 272 |
+
"type": "TEXT",
|
| 273 |
+
"notnull": false,
|
| 274 |
+
"pk": false
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"name": "iMarital",
|
| 278 |
+
"type": "TEXT",
|
| 279 |
+
"notnull": false,
|
| 280 |
+
"pk": false
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"name": "iMay75880",
|
| 284 |
+
"type": "TEXT",
|
| 285 |
+
"notnull": false,
|
| 286 |
+
"pk": false
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"name": "iMeans",
|
| 290 |
+
"type": "TEXT",
|
| 291 |
+
"notnull": false,
|
| 292 |
+
"pk": false
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"name": "iMilitary",
|
| 296 |
+
"type": "TEXT",
|
| 297 |
+
"notnull": false,
|
| 298 |
+
"pk": false
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"name": "iMobility",
|
| 302 |
+
"type": "TEXT",
|
| 303 |
+
"notnull": false,
|
| 304 |
+
"pk": false
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"name": "iMobillim",
|
| 308 |
+
"type": "TEXT",
|
| 309 |
+
"notnull": false,
|
| 310 |
+
"pk": false
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"name": "dOccup",
|
| 314 |
+
"type": "TEXT",
|
| 315 |
+
"notnull": false,
|
| 316 |
+
"pk": false
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"name": "iOthrserv",
|
| 320 |
+
"type": "TEXT",
|
| 321 |
+
"notnull": false,
|
| 322 |
+
"pk": false
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"name": "iPerscare",
|
| 326 |
+
"type": "TEXT",
|
| 327 |
+
"notnull": false,
|
| 328 |
+
"pk": false
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"name": "dPOB",
|
| 332 |
+
"type": "TEXT",
|
| 333 |
+
"notnull": false,
|
| 334 |
+
"pk": false
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"name": "dPoverty",
|
| 338 |
+
"type": "TEXT",
|
| 339 |
+
"notnull": false,
|
| 340 |
+
"pk": false
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"name": "dPwgt1",
|
| 344 |
+
"type": "TEXT",
|
| 345 |
+
"notnull": false,
|
| 346 |
+
"pk": false
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"name": "iRagechld",
|
| 350 |
+
"type": "TEXT",
|
| 351 |
+
"notnull": false,
|
| 352 |
+
"pk": false
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"name": "dRearning",
|
| 356 |
+
"type": "TEXT",
|
| 357 |
+
"notnull": false,
|
| 358 |
+
"pk": false
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"name": "iRelat1",
|
| 362 |
+
"type": "TEXT",
|
| 363 |
+
"notnull": false,
|
| 364 |
+
"pk": false
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"name": "iRelat2",
|
| 368 |
+
"type": "TEXT",
|
| 369 |
+
"notnull": false,
|
| 370 |
+
"pk": false
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"name": "iRemplpar",
|
| 374 |
+
"type": "TEXT",
|
| 375 |
+
"notnull": false,
|
| 376 |
+
"pk": false
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"name": "iRiders",
|
| 380 |
+
"type": "TEXT",
|
| 381 |
+
"notnull": false,
|
| 382 |
+
"pk": false
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"name": "iRlabor",
|
| 386 |
+
"type": "TEXT",
|
| 387 |
+
"notnull": false,
|
| 388 |
+
"pk": false
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"name": "iRownchld",
|
| 392 |
+
"type": "TEXT",
|
| 393 |
+
"notnull": false,
|
| 394 |
+
"pk": false
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"name": "dRpincome",
|
| 398 |
+
"type": "TEXT",
|
| 399 |
+
"notnull": false,
|
| 400 |
+
"pk": false
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"name": "iRPOB",
|
| 404 |
+
"type": "TEXT",
|
| 405 |
+
"notnull": false,
|
| 406 |
+
"pk": false
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"name": "iRrelchld",
|
| 410 |
+
"type": "TEXT",
|
| 411 |
+
"notnull": false,
|
| 412 |
+
"pk": false
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"name": "iRspouse",
|
| 416 |
+
"type": "TEXT",
|
| 417 |
+
"notnull": false,
|
| 418 |
+
"pk": false
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"name": "iRvetserv",
|
| 422 |
+
"type": "TEXT",
|
| 423 |
+
"notnull": false,
|
| 424 |
+
"pk": false
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"name": "iSchool",
|
| 428 |
+
"type": "TEXT",
|
| 429 |
+
"notnull": false,
|
| 430 |
+
"pk": false
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"name": "iSept80",
|
| 434 |
+
"type": "TEXT",
|
| 435 |
+
"notnull": false,
|
| 436 |
+
"pk": false
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"name": "iSex",
|
| 440 |
+
"type": "TEXT",
|
| 441 |
+
"notnull": false,
|
| 442 |
+
"pk": false
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"name": "iSubfam1",
|
| 446 |
+
"type": "TEXT",
|
| 447 |
+
"notnull": false,
|
| 448 |
+
"pk": false
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"name": "iSubfam2",
|
| 452 |
+
"type": "TEXT",
|
| 453 |
+
"notnull": false,
|
| 454 |
+
"pk": false
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"name": "iTmpabsnt",
|
| 458 |
+
"type": "TEXT",
|
| 459 |
+
"notnull": false,
|
| 460 |
+
"pk": false
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"name": "dTravtime",
|
| 464 |
+
"type": "TEXT",
|
| 465 |
+
"notnull": false,
|
| 466 |
+
"pk": false
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"name": "iVietnam",
|
| 470 |
+
"type": "TEXT",
|
| 471 |
+
"notnull": false,
|
| 472 |
+
"pk": false
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"name": "dWeek89",
|
| 476 |
+
"type": "TEXT",
|
| 477 |
+
"notnull": false,
|
| 478 |
+
"pk": false
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"name": "iWork89",
|
| 482 |
+
"type": "TEXT",
|
| 483 |
+
"notnull": false,
|
| 484 |
+
"pk": false
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"name": "iWorklwk",
|
| 488 |
+
"type": "TEXT",
|
| 489 |
+
"notnull": false,
|
| 490 |
+
"pk": false
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"name": "iWWII",
|
| 494 |
+
"type": "TEXT",
|
| 495 |
+
"notnull": false,
|
| 496 |
+
"pk": false
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"name": "iYearsch",
|
| 500 |
+
"type": "TEXT",
|
| 501 |
+
"notnull": false,
|
| 502 |
+
"pk": false
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"name": "iYearwrk",
|
| 506 |
+
"type": "TEXT",
|
| 507 |
+
"notnull": false,
|
| 508 |
+
"pk": false
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"name": "dYrsserv",
|
| 512 |
+
"type": "TEXT",
|
| 513 |
+
"notnull": false,
|
| 514 |
+
"pk": false
|
| 515 |
+
}
|
| 516 |
+
],
|
| 517 |
+
"sample_rows": [
|
| 518 |
+
{
|
| 519 |
+
"caseid": "10000",
|
| 520 |
+
"dAge": "5",
|
| 521 |
+
"dAncstry1": "0",
|
| 522 |
+
"dAncstry2": "1",
|
| 523 |
+
"iAvail": "0",
|
| 524 |
+
"iCitizen": "0",
|
| 525 |
+
"iClass": "5",
|
| 526 |
+
"dDepart": "3",
|
| 527 |
+
"iDisabl1": "2",
|
| 528 |
+
"iDisabl2": "2",
|
| 529 |
+
"iEnglish": "1",
|
| 530 |
+
"iFeb55": "0",
|
| 531 |
+
"iFertil": "1",
|
| 532 |
+
"dHispanic": "0",
|
| 533 |
+
"dHour89": "4",
|
| 534 |
+
"dHours": "3",
|
| 535 |
+
"iImmigr": "0",
|
| 536 |
+
"dIncome1": "2",
|
| 537 |
+
"dIncome2": "0",
|
| 538 |
+
"dIncome3": "0",
|
| 539 |
+
"dIncome4": "1",
|
| 540 |
+
"dIncome5": "0",
|
| 541 |
+
"dIncome6": "0",
|
| 542 |
+
"dIncome7": "0",
|
| 543 |
+
"dIncome8": "0",
|
| 544 |
+
"dIndustry": "10",
|
| 545 |
+
"iKorean": "0",
|
| 546 |
+
"iLang1": "1",
|
| 547 |
+
"iLooking": "0",
|
| 548 |
+
"iMarital": "1",
|
| 549 |
+
"iMay75880": "0",
|
| 550 |
+
"iMeans": "1",
|
| 551 |
+
"iMilitary": "4",
|
| 552 |
+
"iMobility": "2",
|
| 553 |
+
"iMobillim": "2",
|
| 554 |
+
"dOccup": "3",
|
| 555 |
+
"iOthrserv": "0",
|
| 556 |
+
"iPerscare": "2",
|
| 557 |
+
"dPOB": "0",
|
| 558 |
+
"dPoverty": "2",
|
| 559 |
+
"dPwgt1": "1",
|
| 560 |
+
"iRagechld": "4",
|
| 561 |
+
"dRearning": "3",
|
| 562 |
+
"iRelat1": "0",
|
| 563 |
+
"iRelat2": "0",
|
| 564 |
+
"iRemplpar": "0",
|
| 565 |
+
"iRiders": "3",
|
| 566 |
+
"iRlabor": "1",
|
| 567 |
+
"iRownchld": "0",
|
| 568 |
+
"dRpincome": "3",
|
| 569 |
+
"iRPOB": "22",
|
| 570 |
+
"iRrelchld": "0",
|
| 571 |
+
"iRspouse": "3",
|
| 572 |
+
"iRvetserv": "0",
|
| 573 |
+
"iSchool": "1",
|
| 574 |
+
"iSept80": "0",
|
| 575 |
+
"iSex": "1",
|
| 576 |
+
"iSubfam1": "0",
|
| 577 |
+
"iSubfam2": "0",
|
| 578 |
+
"iTmpabsnt": "0",
|
| 579 |
+
"dTravtime": "5",
|
| 580 |
+
"iVietnam": "0",
|
| 581 |
+
"dWeek89": "2",
|
| 582 |
+
"iWork89": "1",
|
| 583 |
+
"iWorklwk": "1",
|
| 584 |
+
"iWWII": "0",
|
| 585 |
+
"iYearsch": "11",
|
| 586 |
+
"iYearwrk": "1",
|
| 587 |
+
"dYrsserv": "0"
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"caseid": "10001",
|
| 591 |
+
"dAge": "6",
|
| 592 |
+
"dAncstry1": "1",
|
| 593 |
+
"dAncstry2": "1",
|
| 594 |
+
"iAvail": "0",
|
| 595 |
+
"iCitizen": "0",
|
| 596 |
+
"iClass": "7",
|
| 597 |
+
"dDepart": "5",
|
| 598 |
+
"iDisabl1": "2",
|
| 599 |
+
"iDisabl2": "2",
|
| 600 |
+
"iEnglish": "0",
|
| 601 |
+
"iFeb55": "0",
|
| 602 |
+
"iFertil": "3",
|
| 603 |
+
"dHispanic": "0",
|
| 604 |
+
"dHour89": "1",
|
| 605 |
+
"dHours": "1",
|
| 606 |
+
"iImmigr": "0",
|
| 607 |
+
"dIncome1": "1",
|
| 608 |
+
"dIncome2": "0",
|
| 609 |
+
"dIncome3": "0",
|
| 610 |
+
"dIncome4": "0",
|
| 611 |
+
"dIncome5": "0",
|
| 612 |
+
"dIncome6": "1",
|
| 613 |
+
"dIncome7": "0",
|
| 614 |
+
"dIncome8": "0",
|
| 615 |
+
"dIndustry": "4",
|
| 616 |
+
"iKorean": "0",
|
| 617 |
+
"iLang1": "2",
|
| 618 |
+
"iLooking": "0",
|
| 619 |
+
"iMarital": "0",
|
| 620 |
+
"iMay75880": "0",
|
| 621 |
+
"iMeans": "1",
|
| 622 |
+
"iMilitary": "4",
|
| 623 |
+
"iMobility": "1",
|
| 624 |
+
"iMobillim": "2",
|
| 625 |
+
"dOccup": "2",
|
| 626 |
+
"iOthrserv": "0",
|
| 627 |
+
"iPerscare": "2",
|
| 628 |
+
"dPOB": "0",
|
| 629 |
+
"dPoverty": "2",
|
| 630 |
+
"dPwgt1": "2",
|
| 631 |
+
"iRagechld": "4",
|
| 632 |
+
"dRearning": "2",
|
| 633 |
+
"iRelat1": "1",
|
| 634 |
+
"iRelat2": "0",
|
| 635 |
+
"iRemplpar": "0",
|
| 636 |
+
"iRiders": "1",
|
| 637 |
+
"iRlabor": "1",
|
| 638 |
+
"iRownchld": "0",
|
| 639 |
+
"dRpincome": "2",
|
| 640 |
+
"iRPOB": "10",
|
| 641 |
+
"iRrelchld": "0",
|
| 642 |
+
"iRspouse": "1",
|
| 643 |
+
"iRvetserv": "0",
|
| 644 |
+
"iSchool": "1",
|
| 645 |
+
"iSept80": "0",
|
| 646 |
+
"iSex": "1",
|
| 647 |
+
"iSubfam1": "0",
|
| 648 |
+
"iSubfam2": "0",
|
| 649 |
+
"iTmpabsnt": "0",
|
| 650 |
+
"dTravtime": "1",
|
| 651 |
+
"iVietnam": "0",
|
| 652 |
+
"dWeek89": "2",
|
| 653 |
+
"iWork89": "1",
|
| 654 |
+
"iWorklwk": "1",
|
| 655 |
+
"iWWII": "0",
|
| 656 |
+
"iYearsch": "5",
|
| 657 |
+
"iYearwrk": "1",
|
| 658 |
+
"dYrsserv": "0"
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"caseid": "10002",
|
| 662 |
+
"dAge": "3",
|
| 663 |
+
"dAncstry1": "1",
|
| 664 |
+
"dAncstry2": "2",
|
| 665 |
+
"iAvail": "0",
|
| 666 |
+
"iCitizen": "0",
|
| 667 |
+
"iClass": "7",
|
| 668 |
+
"dDepart": "4",
|
| 669 |
+
"iDisabl1": "2",
|
| 670 |
+
"iDisabl2": "2",
|
| 671 |
+
"iEnglish": "0",
|
| 672 |
+
"iFeb55": "0",
|
| 673 |
+
"iFertil": "1",
|
| 674 |
+
"dHispanic": "0",
|
| 675 |
+
"dHour89": "4",
|
| 676 |
+
"dHours": "4",
|
| 677 |
+
"iImmigr": "0",
|
| 678 |
+
"dIncome1": "1",
|
| 679 |
+
"dIncome2": "0",
|
| 680 |
+
"dIncome3": "1",
|
| 681 |
+
"dIncome4": "0",
|
| 682 |
+
"dIncome5": "0",
|
| 683 |
+
"dIncome6": "0",
|
| 684 |
+
"dIncome7": "0",
|
| 685 |
+
"dIncome8": "0",
|
| 686 |
+
"dIndustry": "1",
|
| 687 |
+
"iKorean": "0",
|
| 688 |
+
"iLang1": "2",
|
| 689 |
+
"iLooking": "0",
|
| 690 |
+
"iMarital": "4",
|
| 691 |
+
"iMay75880": "0",
|
| 692 |
+
"iMeans": "10",
|
| 693 |
+
"iMilitary": "4",
|
| 694 |
+
"iMobility": "1",
|
| 695 |
+
"iMobillim": "2",
|
| 696 |
+
"dOccup": "4",
|
| 697 |
+
"iOthrserv": "0",
|
| 698 |
+
"iPerscare": "2",
|
| 699 |
+
"dPOB": "0",
|
| 700 |
+
"dPoverty": "2",
|
| 701 |
+
"dPwgt1": "1",
|
| 702 |
+
"iRagechld": "4",
|
| 703 |
+
"dRearning": "2",
|
| 704 |
+
"iRelat1": "2",
|
| 705 |
+
"iRelat2": "0",
|
| 706 |
+
"iRemplpar": "0",
|
| 707 |
+
"iRiders": "0",
|
| 708 |
+
"iRlabor": "1",
|
| 709 |
+
"iRownchld": "0",
|
| 710 |
+
"dRpincome": "2",
|
| 711 |
+
"iRPOB": "10",
|
| 712 |
+
"iRrelchld": "0",
|
| 713 |
+
"iRspouse": "6",
|
| 714 |
+
"iRvetserv": "0",
|
| 715 |
+
"iSchool": "1",
|
| 716 |
+
"iSept80": "0",
|
| 717 |
+
"iSex": "1",
|
| 718 |
+
"iSubfam1": "0",
|
| 719 |
+
"iSubfam2": "0",
|
| 720 |
+
"iTmpabsnt": "0",
|
| 721 |
+
"dTravtime": "2",
|
| 722 |
+
"iVietnam": "0",
|
| 723 |
+
"dWeek89": "2",
|
| 724 |
+
"iWork89": "1",
|
| 725 |
+
"iWorklwk": "1",
|
| 726 |
+
"iWWII": "0",
|
| 727 |
+
"iYearsch": "10",
|
| 728 |
+
"iYearwrk": "1",
|
| 729 |
+
"dYrsserv": "0"
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"caseid": "10003",
|
| 733 |
+
"dAge": "4",
|
| 734 |
+
"dAncstry1": "1",
|
| 735 |
+
"dAncstry2": "2",
|
| 736 |
+
"iAvail": "0",
|
| 737 |
+
"iCitizen": "0",
|
| 738 |
+
"iClass": "1",
|
| 739 |
+
"dDepart": "3",
|
| 740 |
+
"iDisabl1": "2",
|
| 741 |
+
"iDisabl2": "2",
|
| 742 |
+
"iEnglish": "0",
|
| 743 |
+
"iFeb55": "0",
|
| 744 |
+
"iFertil": "3",
|
| 745 |
+
"dHispanic": "0",
|
| 746 |
+
"dHour89": "3",
|
| 747 |
+
"dHours": "3",
|
| 748 |
+
"iImmigr": "0",
|
| 749 |
+
"dIncome1": "1",
|
| 750 |
+
"dIncome2": "0",
|
| 751 |
+
"dIncome3": "0",
|
| 752 |
+
"dIncome4": "0",
|
| 753 |
+
"dIncome5": "0",
|
| 754 |
+
"dIncome6": "0",
|
| 755 |
+
"dIncome7": "0",
|
| 756 |
+
"dIncome8": "1",
|
| 757 |
+
"dIndustry": "4",
|
| 758 |
+
"iKorean": "0",
|
| 759 |
+
"iLang1": "2",
|
| 760 |
+
"iLooking": "0",
|
| 761 |
+
"iMarital": "2",
|
| 762 |
+
"iMay75880": "0",
|
| 763 |
+
"iMeans": "1",
|
| 764 |
+
"iMilitary": "4",
|
| 765 |
+
"iMobility": "1",
|
| 766 |
+
"iMobillim": "2",
|
| 767 |
+
"dOccup": "2",
|
| 768 |
+
"iOthrserv": "0",
|
| 769 |
+
"iPerscare": "2",
|
| 770 |
+
"dPOB": "0",
|
| 771 |
+
"dPoverty": "2",
|
| 772 |
+
"dPwgt1": "1",
|
| 773 |
+
"iRagechld": "2",
|
| 774 |
+
"dRearning": "2",
|
| 775 |
+
"iRelat1": "0",
|
| 776 |
+
"iRelat2": "0",
|
| 777 |
+
"iRemplpar": "0",
|
| 778 |
+
"iRiders": "1",
|
| 779 |
+
"iRlabor": "1",
|
| 780 |
+
"iRownchld": "0",
|
| 781 |
+
"dRpincome": "2",
|
| 782 |
+
"iRPOB": "10",
|
| 783 |
+
"iRrelchld": "0",
|
| 784 |
+
"iRspouse": "4",
|
| 785 |
+
"iRvetserv": "0",
|
| 786 |
+
"iSchool": "1",
|
| 787 |
+
"iSept80": "0",
|
| 788 |
+
"iSex": "1",
|
| 789 |
+
"iSubfam1": "0",
|
| 790 |
+
"iSubfam2": "0",
|
| 791 |
+
"iTmpabsnt": "0",
|
| 792 |
+
"dTravtime": "1",
|
| 793 |
+
"iVietnam": "0",
|
| 794 |
+
"dWeek89": "1",
|
| 795 |
+
"iWork89": "1",
|
| 796 |
+
"iWorklwk": "1",
|
| 797 |
+
"iWWII": "0",
|
| 798 |
+
"iYearsch": "10",
|
| 799 |
+
"iYearwrk": "1",
|
| 800 |
+
"dYrsserv": "0"
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"caseid": "10004",
|
| 804 |
+
"dAge": "7",
|
| 805 |
+
"dAncstry1": "1",
|
| 806 |
+
"dAncstry2": "1",
|
| 807 |
+
"iAvail": "0",
|
| 808 |
+
"iCitizen": "0",
|
| 809 |
+
"iClass": "0",
|
| 810 |
+
"dDepart": "0",
|
| 811 |
+
"iDisabl1": "2",
|
| 812 |
+
"iDisabl2": "2",
|
| 813 |
+
"iEnglish": "0",
|
| 814 |
+
"iFeb55": "0",
|
| 815 |
+
"iFertil": "3",
|
| 816 |
+
"dHispanic": "0",
|
| 817 |
+
"dHour89": "0",
|
| 818 |
+
"dHours": "0",
|
| 819 |
+
"iImmigr": "0",
|
| 820 |
+
"dIncome1": "0",
|
| 821 |
+
"dIncome2": "0",
|
| 822 |
+
"dIncome3": "0",
|
| 823 |
+
"dIncome4": "0",
|
| 824 |
+
"dIncome5": "1",
|
| 825 |
+
"dIncome6": "0",
|
| 826 |
+
"dIncome7": "0",
|
| 827 |
+
"dIncome8": "0",
|
| 828 |
+
"dIndustry": "0",
|
| 829 |
+
"iKorean": "0",
|
| 830 |
+
"iLang1": "2",
|
| 831 |
+
"iLooking": "2",
|
| 832 |
+
"iMarital": "0",
|
| 833 |
+
"iMay75880": "0",
|
| 834 |
+
"iMeans": "0",
|
| 835 |
+
"iMilitary": "4",
|
| 836 |
+
"iMobility": "1",
|
| 837 |
+
"iMobillim": "2",
|
| 838 |
+
"dOccup": "0",
|
| 839 |
+
"iOthrserv": "0",
|
| 840 |
+
"iPerscare": "2",
|
| 841 |
+
"dPOB": "0",
|
| 842 |
+
"dPoverty": "2",
|
| 843 |
+
"dPwgt1": "1",
|
| 844 |
+
"iRagechld": "4",
|
| 845 |
+
"dRearning": "0",
|
| 846 |
+
"iRelat1": "1",
|
| 847 |
+
"iRelat2": "0",
|
| 848 |
+
"iRemplpar": "0",
|
| 849 |
+
"iRiders": "0",
|
| 850 |
+
"iRlabor": "6",
|
| 851 |
+
"iRownchld": "0",
|
| 852 |
+
"dRpincome": "2",
|
| 853 |
+
"iRPOB": "22",
|
| 854 |
+
"iRrelchld": "0",
|
| 855 |
+
"iRspouse": "1",
|
| 856 |
+
"iRvetserv": "0",
|
| 857 |
+
"iSchool": "1",
|
| 858 |
+
"iSept80": "0",
|
| 859 |
+
"iSex": "1",
|
| 860 |
+
"iSubfam1": "0",
|
| 861 |
+
"iSubfam2": "0",
|
| 862 |
+
"iTmpabsnt": "3",
|
| 863 |
+
"dTravtime": "0",
|
| 864 |
+
"iVietnam": "0",
|
| 865 |
+
"dWeek89": "0",
|
| 866 |
+
"iWork89": "2",
|
| 867 |
+
"iWorklwk": "2",
|
| 868 |
+
"iWWII": "0",
|
| 869 |
+
"iYearsch": "5",
|
| 870 |
+
"iYearwrk": "6",
|
| 871 |
+
"dYrsserv": "0"
|
| 872 |
+
}
|
| 873 |
+
]
|
| 874 |
+
}
|
| 875 |
+
|
| 876 |
+
Shortlisted templates:
|
| 877 |
+
[
|
| 878 |
+
{
|
| 879 |
+
"template_id": "tpl_m4_group_condition_rate",
|
| 880 |
+
"template_name": "Grouped Condition Rate",
|
| 881 |
+
"primary_family": "conditional_dependency_structure",
|
| 882 |
+
"portability": "yes",
|
| 883 |
+
"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;",
|
| 884 |
+
"required_roles": [
|
| 885 |
+
"group_col",
|
| 886 |
+
"condition_col"
|
| 887 |
+
]
|
| 888 |
+
}
|
| 889 |
+
]
|
| 890 |
+
|
| 891 |
+
Problem instance:
|
| 892 |
+
{
|
| 893 |
+
"dataset_id": "c13",
|
| 894 |
+
"question": "Use template Grouped Condition Rate to probe direction_consistency with semantic role focused_target_view. Focus on group_col=iMay75880, condition_col=iTmpabsnt.",
|
| 895 |
+
"planned_template_id": "tpl_m4_group_condition_rate",
|
| 896 |
+
"bindings": {
|
| 897 |
+
"group_col": "iMay75880",
|
| 898 |
+
"condition_col": "iTmpabsnt",
|
| 899 |
+
"condition_value": "0",
|
| 900 |
+
"positive_value": "0",
|
| 901 |
+
"negative_value": "3",
|
| 902 |
+
"top_k": 12,
|
| 903 |
+
"top_n": 4,
|
| 904 |
+
"num_tiles": 10,
|
| 905 |
+
"percentile_value": 0.9,
|
| 906 |
+
"z_threshold": 2.0,
|
| 907 |
+
"fraction_threshold": 0.1,
|
| 908 |
+
"baseline_multiplier": 1.5,
|
| 909 |
+
"baseline_fraction": 0.1,
|
| 910 |
+
"min_group_size": 5,
|
| 911 |
+
"min_support": 5,
|
| 912 |
+
"measure_threshold": 1.5,
|
| 913 |
+
"time_grain": "month",
|
| 914 |
+
"lookback_rows": 3,
|
| 915 |
+
"current_period_start": "'2024-01-01'",
|
| 916 |
+
"current_period_end": "'2024-04-01'",
|
| 917 |
+
"previous_period_start": "'2023-10-01'",
|
| 918 |
+
"previous_period_end": "'2024-01-01'",
|
| 919 |
+
"drift_ratio_threshold": 0.8
|
| 920 |
+
},
|
| 921 |
+
"can_vary": [],
|
| 922 |
+
"must_fix": [],
|
| 923 |
+
"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;"
|
| 924 |
+
}
|
| 925 |
+
|
| 926 |
+
Repair context:
|
| 927 |
+
{}
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_prompt_attempt_2.txt
ADDED
|
@@ -0,0 +1,927 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: c13
|
| 15 |
+
- dataset_name: Us Census Data 1990
|
| 16 |
+
- table_name: c13
|
| 17 |
+
- table_layout: single-table dataset (do not assume joins).
|
| 18 |
+
- row_semantics: One row is one tabular observation with 68 feature columns and target `iClass`.
|
| 19 |
+
- task_type: classification
|
| 20 |
+
- target_column: iClass
|
| 21 |
+
- main_row_count: 2458285
|
| 22 |
+
- important_fields:
|
| 23 |
+
- caseid: role=feature, type=identifier_numeric. tags=['identifier', 'probe_exclude', 'high_cardinality_candidate'] desc=Identifier-like field for caseid.
|
| 24 |
+
- dAge: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAge.
|
| 25 |
+
- dAncstry1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry1.
|
| 26 |
+
- dAncstry2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry2.
|
| 27 |
+
- iAvail: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iAvail.
|
| 28 |
+
- iCitizen: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iCitizen.
|
| 29 |
+
- iClass: role=target, type=categorical_ordinal_target. ordered=['0', '1', '4', '6', '8'] tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for iClass.
|
| 30 |
+
- dDepart: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dDepart.
|
| 31 |
+
- iDisabl1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl1.
|
| 32 |
+
- iDisabl2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl2.
|
| 33 |
+
- iEnglish: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iEnglish.
|
| 34 |
+
- iFeb55: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iFeb55.
|
| 35 |
+
- iFertil: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iFertil.
|
| 36 |
+
- dHispanic: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHispanic.
|
| 37 |
+
- dHour89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHour89.
|
| 38 |
+
- dHours: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHours.
|
| 39 |
+
- iImmigr: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iImmigr.
|
| 40 |
+
- dIncome1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIncome1.
|
| 41 |
+
- dIncome2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome2.
|
| 42 |
+
- dIncome3: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome3.
|
| 43 |
+
- dIncome4: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome4.
|
| 44 |
+
- dIncome5: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome5.
|
| 45 |
+
- dIncome6: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome6.
|
| 46 |
+
- dIncome7: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome7.
|
| 47 |
+
- dIncome8: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome8.
|
| 48 |
+
- dIndustry: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIndustry.
|
| 49 |
+
- iKorean: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iKorean.
|
| 50 |
+
- iLang1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLang1.
|
| 51 |
+
- iLooking: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLooking.
|
| 52 |
+
- iMarital: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMarital.
|
| 53 |
+
- iMay75880: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iMay75880.
|
| 54 |
+
- iMeans: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMeans.
|
| 55 |
+
- iMilitary: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMilitary.
|
| 56 |
+
- iMobility: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobility.
|
| 57 |
+
- iMobillim: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobillim.
|
| 58 |
+
- dOccup: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dOccup.
|
| 59 |
+
- iOthrserv: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iOthrserv.
|
| 60 |
+
- iPerscare: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iPerscare.
|
| 61 |
+
- dPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPOB.
|
| 62 |
+
- dPoverty: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPoverty.
|
| 63 |
+
- dPwgt1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPwgt1.
|
| 64 |
+
- iRagechld: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRagechld.
|
| 65 |
+
- dRearning: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRearning.
|
| 66 |
+
- iRelat1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRelat1.
|
| 67 |
+
- iRelat2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRelat2.
|
| 68 |
+
- iRemplpar: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRemplpar.
|
| 69 |
+
- iRiders: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRiders.
|
| 70 |
+
- iRlabor: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRlabor.
|
| 71 |
+
- iRownchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRownchld.
|
| 72 |
+
- dRpincome: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRpincome.
|
| 73 |
+
- iRPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRPOB.
|
| 74 |
+
- iRrelchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRrelchld.
|
| 75 |
+
- iRspouse: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRspouse.
|
| 76 |
+
- iRvetserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRvetserv.
|
| 77 |
+
- iSchool: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSchool.
|
| 78 |
+
- iSept80: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSept80.
|
| 79 |
+
- iSex: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSex.
|
| 80 |
+
- iSubfam1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSubfam1.
|
| 81 |
+
- iSubfam2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSubfam2.
|
| 82 |
+
- iTmpabsnt: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iTmpabsnt.
|
| 83 |
+
- dTravtime: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dTravtime.
|
| 84 |
+
- iVietnam: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iVietnam.
|
| 85 |
+
- dWeek89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dWeek89.
|
| 86 |
+
- iWork89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWork89.
|
| 87 |
+
- iWorklwk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWorklwk.
|
| 88 |
+
- iWWII: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iWWII.
|
| 89 |
+
- iYearsch: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearsch.
|
| 90 |
+
- iYearwrk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearwrk.
|
| 91 |
+
- dYrsserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dYrsserv.
|
| 92 |
+
- useful_field_combinations: [['dAge', 'dAncstry1', 'iClass'], ['dAge', 'dAge', 'iClass']]
|
| 93 |
+
- fields_requiring_caution: ['iClass']
|
| 94 |
+
- source_url: https://archive.ics.uci.edu/dataset/116/us+census+data+1990
|
| 95 |
+
|
| 96 |
+
SQLite schema snapshot:
|
| 97 |
+
{
|
| 98 |
+
"table_name": "c13",
|
| 99 |
+
"quoted_table_name": "\"c13\"",
|
| 100 |
+
"row_count": 2458285,
|
| 101 |
+
"columns": [
|
| 102 |
+
{
|
| 103 |
+
"name": "caseid",
|
| 104 |
+
"type": "TEXT",
|
| 105 |
+
"notnull": false,
|
| 106 |
+
"pk": false
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": "dAge",
|
| 110 |
+
"type": "TEXT",
|
| 111 |
+
"notnull": false,
|
| 112 |
+
"pk": false
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": "dAncstry1",
|
| 116 |
+
"type": "TEXT",
|
| 117 |
+
"notnull": false,
|
| 118 |
+
"pk": false
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": "dAncstry2",
|
| 122 |
+
"type": "TEXT",
|
| 123 |
+
"notnull": false,
|
| 124 |
+
"pk": false
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": "iAvail",
|
| 128 |
+
"type": "TEXT",
|
| 129 |
+
"notnull": false,
|
| 130 |
+
"pk": false
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": "iCitizen",
|
| 134 |
+
"type": "TEXT",
|
| 135 |
+
"notnull": false,
|
| 136 |
+
"pk": false
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": "iClass",
|
| 140 |
+
"type": "TEXT",
|
| 141 |
+
"notnull": false,
|
| 142 |
+
"pk": false
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": "dDepart",
|
| 146 |
+
"type": "TEXT",
|
| 147 |
+
"notnull": false,
|
| 148 |
+
"pk": false
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"name": "iDisabl1",
|
| 152 |
+
"type": "TEXT",
|
| 153 |
+
"notnull": false,
|
| 154 |
+
"pk": false
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": "iDisabl2",
|
| 158 |
+
"type": "TEXT",
|
| 159 |
+
"notnull": false,
|
| 160 |
+
"pk": false
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"name": "iEnglish",
|
| 164 |
+
"type": "TEXT",
|
| 165 |
+
"notnull": false,
|
| 166 |
+
"pk": false
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "iFeb55",
|
| 170 |
+
"type": "TEXT",
|
| 171 |
+
"notnull": false,
|
| 172 |
+
"pk": false
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"name": "iFertil",
|
| 176 |
+
"type": "TEXT",
|
| 177 |
+
"notnull": false,
|
| 178 |
+
"pk": false
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": "dHispanic",
|
| 182 |
+
"type": "TEXT",
|
| 183 |
+
"notnull": false,
|
| 184 |
+
"pk": false
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": "dHour89",
|
| 188 |
+
"type": "TEXT",
|
| 189 |
+
"notnull": false,
|
| 190 |
+
"pk": false
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"name": "dHours",
|
| 194 |
+
"type": "TEXT",
|
| 195 |
+
"notnull": false,
|
| 196 |
+
"pk": false
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"name": "iImmigr",
|
| 200 |
+
"type": "TEXT",
|
| 201 |
+
"notnull": false,
|
| 202 |
+
"pk": false
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"name": "dIncome1",
|
| 206 |
+
"type": "TEXT",
|
| 207 |
+
"notnull": false,
|
| 208 |
+
"pk": false
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"name": "dIncome2",
|
| 212 |
+
"type": "TEXT",
|
| 213 |
+
"notnull": false,
|
| 214 |
+
"pk": false
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"name": "dIncome3",
|
| 218 |
+
"type": "TEXT",
|
| 219 |
+
"notnull": false,
|
| 220 |
+
"pk": false
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"name": "dIncome4",
|
| 224 |
+
"type": "TEXT",
|
| 225 |
+
"notnull": false,
|
| 226 |
+
"pk": false
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"name": "dIncome5",
|
| 230 |
+
"type": "TEXT",
|
| 231 |
+
"notnull": false,
|
| 232 |
+
"pk": false
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"name": "dIncome6",
|
| 236 |
+
"type": "TEXT",
|
| 237 |
+
"notnull": false,
|
| 238 |
+
"pk": false
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"name": "dIncome7",
|
| 242 |
+
"type": "TEXT",
|
| 243 |
+
"notnull": false,
|
| 244 |
+
"pk": false
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"name": "dIncome8",
|
| 248 |
+
"type": "TEXT",
|
| 249 |
+
"notnull": false,
|
| 250 |
+
"pk": false
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"name": "dIndustry",
|
| 254 |
+
"type": "TEXT",
|
| 255 |
+
"notnull": false,
|
| 256 |
+
"pk": false
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"name": "iKorean",
|
| 260 |
+
"type": "TEXT",
|
| 261 |
+
"notnull": false,
|
| 262 |
+
"pk": false
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"name": "iLang1",
|
| 266 |
+
"type": "TEXT",
|
| 267 |
+
"notnull": false,
|
| 268 |
+
"pk": false
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"name": "iLooking",
|
| 272 |
+
"type": "TEXT",
|
| 273 |
+
"notnull": false,
|
| 274 |
+
"pk": false
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"name": "iMarital",
|
| 278 |
+
"type": "TEXT",
|
| 279 |
+
"notnull": false,
|
| 280 |
+
"pk": false
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"name": "iMay75880",
|
| 284 |
+
"type": "TEXT",
|
| 285 |
+
"notnull": false,
|
| 286 |
+
"pk": false
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"name": "iMeans",
|
| 290 |
+
"type": "TEXT",
|
| 291 |
+
"notnull": false,
|
| 292 |
+
"pk": false
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"name": "iMilitary",
|
| 296 |
+
"type": "TEXT",
|
| 297 |
+
"notnull": false,
|
| 298 |
+
"pk": false
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"name": "iMobility",
|
| 302 |
+
"type": "TEXT",
|
| 303 |
+
"notnull": false,
|
| 304 |
+
"pk": false
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"name": "iMobillim",
|
| 308 |
+
"type": "TEXT",
|
| 309 |
+
"notnull": false,
|
| 310 |
+
"pk": false
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"name": "dOccup",
|
| 314 |
+
"type": "TEXT",
|
| 315 |
+
"notnull": false,
|
| 316 |
+
"pk": false
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"name": "iOthrserv",
|
| 320 |
+
"type": "TEXT",
|
| 321 |
+
"notnull": false,
|
| 322 |
+
"pk": false
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"name": "iPerscare",
|
| 326 |
+
"type": "TEXT",
|
| 327 |
+
"notnull": false,
|
| 328 |
+
"pk": false
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"name": "dPOB",
|
| 332 |
+
"type": "TEXT",
|
| 333 |
+
"notnull": false,
|
| 334 |
+
"pk": false
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"name": "dPoverty",
|
| 338 |
+
"type": "TEXT",
|
| 339 |
+
"notnull": false,
|
| 340 |
+
"pk": false
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"name": "dPwgt1",
|
| 344 |
+
"type": "TEXT",
|
| 345 |
+
"notnull": false,
|
| 346 |
+
"pk": false
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"name": "iRagechld",
|
| 350 |
+
"type": "TEXT",
|
| 351 |
+
"notnull": false,
|
| 352 |
+
"pk": false
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"name": "dRearning",
|
| 356 |
+
"type": "TEXT",
|
| 357 |
+
"notnull": false,
|
| 358 |
+
"pk": false
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"name": "iRelat1",
|
| 362 |
+
"type": "TEXT",
|
| 363 |
+
"notnull": false,
|
| 364 |
+
"pk": false
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"name": "iRelat2",
|
| 368 |
+
"type": "TEXT",
|
| 369 |
+
"notnull": false,
|
| 370 |
+
"pk": false
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"name": "iRemplpar",
|
| 374 |
+
"type": "TEXT",
|
| 375 |
+
"notnull": false,
|
| 376 |
+
"pk": false
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"name": "iRiders",
|
| 380 |
+
"type": "TEXT",
|
| 381 |
+
"notnull": false,
|
| 382 |
+
"pk": false
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"name": "iRlabor",
|
| 386 |
+
"type": "TEXT",
|
| 387 |
+
"notnull": false,
|
| 388 |
+
"pk": false
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"name": "iRownchld",
|
| 392 |
+
"type": "TEXT",
|
| 393 |
+
"notnull": false,
|
| 394 |
+
"pk": false
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"name": "dRpincome",
|
| 398 |
+
"type": "TEXT",
|
| 399 |
+
"notnull": false,
|
| 400 |
+
"pk": false
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"name": "iRPOB",
|
| 404 |
+
"type": "TEXT",
|
| 405 |
+
"notnull": false,
|
| 406 |
+
"pk": false
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"name": "iRrelchld",
|
| 410 |
+
"type": "TEXT",
|
| 411 |
+
"notnull": false,
|
| 412 |
+
"pk": false
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"name": "iRspouse",
|
| 416 |
+
"type": "TEXT",
|
| 417 |
+
"notnull": false,
|
| 418 |
+
"pk": false
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"name": "iRvetserv",
|
| 422 |
+
"type": "TEXT",
|
| 423 |
+
"notnull": false,
|
| 424 |
+
"pk": false
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"name": "iSchool",
|
| 428 |
+
"type": "TEXT",
|
| 429 |
+
"notnull": false,
|
| 430 |
+
"pk": false
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"name": "iSept80",
|
| 434 |
+
"type": "TEXT",
|
| 435 |
+
"notnull": false,
|
| 436 |
+
"pk": false
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"name": "iSex",
|
| 440 |
+
"type": "TEXT",
|
| 441 |
+
"notnull": false,
|
| 442 |
+
"pk": false
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"name": "iSubfam1",
|
| 446 |
+
"type": "TEXT",
|
| 447 |
+
"notnull": false,
|
| 448 |
+
"pk": false
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"name": "iSubfam2",
|
| 452 |
+
"type": "TEXT",
|
| 453 |
+
"notnull": false,
|
| 454 |
+
"pk": false
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"name": "iTmpabsnt",
|
| 458 |
+
"type": "TEXT",
|
| 459 |
+
"notnull": false,
|
| 460 |
+
"pk": false
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"name": "dTravtime",
|
| 464 |
+
"type": "TEXT",
|
| 465 |
+
"notnull": false,
|
| 466 |
+
"pk": false
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"name": "iVietnam",
|
| 470 |
+
"type": "TEXT",
|
| 471 |
+
"notnull": false,
|
| 472 |
+
"pk": false
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"name": "dWeek89",
|
| 476 |
+
"type": "TEXT",
|
| 477 |
+
"notnull": false,
|
| 478 |
+
"pk": false
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"name": "iWork89",
|
| 482 |
+
"type": "TEXT",
|
| 483 |
+
"notnull": false,
|
| 484 |
+
"pk": false
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"name": "iWorklwk",
|
| 488 |
+
"type": "TEXT",
|
| 489 |
+
"notnull": false,
|
| 490 |
+
"pk": false
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"name": "iWWII",
|
| 494 |
+
"type": "TEXT",
|
| 495 |
+
"notnull": false,
|
| 496 |
+
"pk": false
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"name": "iYearsch",
|
| 500 |
+
"type": "TEXT",
|
| 501 |
+
"notnull": false,
|
| 502 |
+
"pk": false
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"name": "iYearwrk",
|
| 506 |
+
"type": "TEXT",
|
| 507 |
+
"notnull": false,
|
| 508 |
+
"pk": false
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"name": "dYrsserv",
|
| 512 |
+
"type": "TEXT",
|
| 513 |
+
"notnull": false,
|
| 514 |
+
"pk": false
|
| 515 |
+
}
|
| 516 |
+
],
|
| 517 |
+
"sample_rows": [
|
| 518 |
+
{
|
| 519 |
+
"caseid": "10000",
|
| 520 |
+
"dAge": "5",
|
| 521 |
+
"dAncstry1": "0",
|
| 522 |
+
"dAncstry2": "1",
|
| 523 |
+
"iAvail": "0",
|
| 524 |
+
"iCitizen": "0",
|
| 525 |
+
"iClass": "5",
|
| 526 |
+
"dDepart": "3",
|
| 527 |
+
"iDisabl1": "2",
|
| 528 |
+
"iDisabl2": "2",
|
| 529 |
+
"iEnglish": "1",
|
| 530 |
+
"iFeb55": "0",
|
| 531 |
+
"iFertil": "1",
|
| 532 |
+
"dHispanic": "0",
|
| 533 |
+
"dHour89": "4",
|
| 534 |
+
"dHours": "3",
|
| 535 |
+
"iImmigr": "0",
|
| 536 |
+
"dIncome1": "2",
|
| 537 |
+
"dIncome2": "0",
|
| 538 |
+
"dIncome3": "0",
|
| 539 |
+
"dIncome4": "1",
|
| 540 |
+
"dIncome5": "0",
|
| 541 |
+
"dIncome6": "0",
|
| 542 |
+
"dIncome7": "0",
|
| 543 |
+
"dIncome8": "0",
|
| 544 |
+
"dIndustry": "10",
|
| 545 |
+
"iKorean": "0",
|
| 546 |
+
"iLang1": "1",
|
| 547 |
+
"iLooking": "0",
|
| 548 |
+
"iMarital": "1",
|
| 549 |
+
"iMay75880": "0",
|
| 550 |
+
"iMeans": "1",
|
| 551 |
+
"iMilitary": "4",
|
| 552 |
+
"iMobility": "2",
|
| 553 |
+
"iMobillim": "2",
|
| 554 |
+
"dOccup": "3",
|
| 555 |
+
"iOthrserv": "0",
|
| 556 |
+
"iPerscare": "2",
|
| 557 |
+
"dPOB": "0",
|
| 558 |
+
"dPoverty": "2",
|
| 559 |
+
"dPwgt1": "1",
|
| 560 |
+
"iRagechld": "4",
|
| 561 |
+
"dRearning": "3",
|
| 562 |
+
"iRelat1": "0",
|
| 563 |
+
"iRelat2": "0",
|
| 564 |
+
"iRemplpar": "0",
|
| 565 |
+
"iRiders": "3",
|
| 566 |
+
"iRlabor": "1",
|
| 567 |
+
"iRownchld": "0",
|
| 568 |
+
"dRpincome": "3",
|
| 569 |
+
"iRPOB": "22",
|
| 570 |
+
"iRrelchld": "0",
|
| 571 |
+
"iRspouse": "3",
|
| 572 |
+
"iRvetserv": "0",
|
| 573 |
+
"iSchool": "1",
|
| 574 |
+
"iSept80": "0",
|
| 575 |
+
"iSex": "1",
|
| 576 |
+
"iSubfam1": "0",
|
| 577 |
+
"iSubfam2": "0",
|
| 578 |
+
"iTmpabsnt": "0",
|
| 579 |
+
"dTravtime": "5",
|
| 580 |
+
"iVietnam": "0",
|
| 581 |
+
"dWeek89": "2",
|
| 582 |
+
"iWork89": "1",
|
| 583 |
+
"iWorklwk": "1",
|
| 584 |
+
"iWWII": "0",
|
| 585 |
+
"iYearsch": "11",
|
| 586 |
+
"iYearwrk": "1",
|
| 587 |
+
"dYrsserv": "0"
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"caseid": "10001",
|
| 591 |
+
"dAge": "6",
|
| 592 |
+
"dAncstry1": "1",
|
| 593 |
+
"dAncstry2": "1",
|
| 594 |
+
"iAvail": "0",
|
| 595 |
+
"iCitizen": "0",
|
| 596 |
+
"iClass": "7",
|
| 597 |
+
"dDepart": "5",
|
| 598 |
+
"iDisabl1": "2",
|
| 599 |
+
"iDisabl2": "2",
|
| 600 |
+
"iEnglish": "0",
|
| 601 |
+
"iFeb55": "0",
|
| 602 |
+
"iFertil": "3",
|
| 603 |
+
"dHispanic": "0",
|
| 604 |
+
"dHour89": "1",
|
| 605 |
+
"dHours": "1",
|
| 606 |
+
"iImmigr": "0",
|
| 607 |
+
"dIncome1": "1",
|
| 608 |
+
"dIncome2": "0",
|
| 609 |
+
"dIncome3": "0",
|
| 610 |
+
"dIncome4": "0",
|
| 611 |
+
"dIncome5": "0",
|
| 612 |
+
"dIncome6": "1",
|
| 613 |
+
"dIncome7": "0",
|
| 614 |
+
"dIncome8": "0",
|
| 615 |
+
"dIndustry": "4",
|
| 616 |
+
"iKorean": "0",
|
| 617 |
+
"iLang1": "2",
|
| 618 |
+
"iLooking": "0",
|
| 619 |
+
"iMarital": "0",
|
| 620 |
+
"iMay75880": "0",
|
| 621 |
+
"iMeans": "1",
|
| 622 |
+
"iMilitary": "4",
|
| 623 |
+
"iMobility": "1",
|
| 624 |
+
"iMobillim": "2",
|
| 625 |
+
"dOccup": "2",
|
| 626 |
+
"iOthrserv": "0",
|
| 627 |
+
"iPerscare": "2",
|
| 628 |
+
"dPOB": "0",
|
| 629 |
+
"dPoverty": "2",
|
| 630 |
+
"dPwgt1": "2",
|
| 631 |
+
"iRagechld": "4",
|
| 632 |
+
"dRearning": "2",
|
| 633 |
+
"iRelat1": "1",
|
| 634 |
+
"iRelat2": "0",
|
| 635 |
+
"iRemplpar": "0",
|
| 636 |
+
"iRiders": "1",
|
| 637 |
+
"iRlabor": "1",
|
| 638 |
+
"iRownchld": "0",
|
| 639 |
+
"dRpincome": "2",
|
| 640 |
+
"iRPOB": "10",
|
| 641 |
+
"iRrelchld": "0",
|
| 642 |
+
"iRspouse": "1",
|
| 643 |
+
"iRvetserv": "0",
|
| 644 |
+
"iSchool": "1",
|
| 645 |
+
"iSept80": "0",
|
| 646 |
+
"iSex": "1",
|
| 647 |
+
"iSubfam1": "0",
|
| 648 |
+
"iSubfam2": "0",
|
| 649 |
+
"iTmpabsnt": "0",
|
| 650 |
+
"dTravtime": "1",
|
| 651 |
+
"iVietnam": "0",
|
| 652 |
+
"dWeek89": "2",
|
| 653 |
+
"iWork89": "1",
|
| 654 |
+
"iWorklwk": "1",
|
| 655 |
+
"iWWII": "0",
|
| 656 |
+
"iYearsch": "5",
|
| 657 |
+
"iYearwrk": "1",
|
| 658 |
+
"dYrsserv": "0"
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"caseid": "10002",
|
| 662 |
+
"dAge": "3",
|
| 663 |
+
"dAncstry1": "1",
|
| 664 |
+
"dAncstry2": "2",
|
| 665 |
+
"iAvail": "0",
|
| 666 |
+
"iCitizen": "0",
|
| 667 |
+
"iClass": "7",
|
| 668 |
+
"dDepart": "4",
|
| 669 |
+
"iDisabl1": "2",
|
| 670 |
+
"iDisabl2": "2",
|
| 671 |
+
"iEnglish": "0",
|
| 672 |
+
"iFeb55": "0",
|
| 673 |
+
"iFertil": "1",
|
| 674 |
+
"dHispanic": "0",
|
| 675 |
+
"dHour89": "4",
|
| 676 |
+
"dHours": "4",
|
| 677 |
+
"iImmigr": "0",
|
| 678 |
+
"dIncome1": "1",
|
| 679 |
+
"dIncome2": "0",
|
| 680 |
+
"dIncome3": "1",
|
| 681 |
+
"dIncome4": "0",
|
| 682 |
+
"dIncome5": "0",
|
| 683 |
+
"dIncome6": "0",
|
| 684 |
+
"dIncome7": "0",
|
| 685 |
+
"dIncome8": "0",
|
| 686 |
+
"dIndustry": "1",
|
| 687 |
+
"iKorean": "0",
|
| 688 |
+
"iLang1": "2",
|
| 689 |
+
"iLooking": "0",
|
| 690 |
+
"iMarital": "4",
|
| 691 |
+
"iMay75880": "0",
|
| 692 |
+
"iMeans": "10",
|
| 693 |
+
"iMilitary": "4",
|
| 694 |
+
"iMobility": "1",
|
| 695 |
+
"iMobillim": "2",
|
| 696 |
+
"dOccup": "4",
|
| 697 |
+
"iOthrserv": "0",
|
| 698 |
+
"iPerscare": "2",
|
| 699 |
+
"dPOB": "0",
|
| 700 |
+
"dPoverty": "2",
|
| 701 |
+
"dPwgt1": "1",
|
| 702 |
+
"iRagechld": "4",
|
| 703 |
+
"dRearning": "2",
|
| 704 |
+
"iRelat1": "2",
|
| 705 |
+
"iRelat2": "0",
|
| 706 |
+
"iRemplpar": "0",
|
| 707 |
+
"iRiders": "0",
|
| 708 |
+
"iRlabor": "1",
|
| 709 |
+
"iRownchld": "0",
|
| 710 |
+
"dRpincome": "2",
|
| 711 |
+
"iRPOB": "10",
|
| 712 |
+
"iRrelchld": "0",
|
| 713 |
+
"iRspouse": "6",
|
| 714 |
+
"iRvetserv": "0",
|
| 715 |
+
"iSchool": "1",
|
| 716 |
+
"iSept80": "0",
|
| 717 |
+
"iSex": "1",
|
| 718 |
+
"iSubfam1": "0",
|
| 719 |
+
"iSubfam2": "0",
|
| 720 |
+
"iTmpabsnt": "0",
|
| 721 |
+
"dTravtime": "2",
|
| 722 |
+
"iVietnam": "0",
|
| 723 |
+
"dWeek89": "2",
|
| 724 |
+
"iWork89": "1",
|
| 725 |
+
"iWorklwk": "1",
|
| 726 |
+
"iWWII": "0",
|
| 727 |
+
"iYearsch": "10",
|
| 728 |
+
"iYearwrk": "1",
|
| 729 |
+
"dYrsserv": "0"
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"caseid": "10003",
|
| 733 |
+
"dAge": "4",
|
| 734 |
+
"dAncstry1": "1",
|
| 735 |
+
"dAncstry2": "2",
|
| 736 |
+
"iAvail": "0",
|
| 737 |
+
"iCitizen": "0",
|
| 738 |
+
"iClass": "1",
|
| 739 |
+
"dDepart": "3",
|
| 740 |
+
"iDisabl1": "2",
|
| 741 |
+
"iDisabl2": "2",
|
| 742 |
+
"iEnglish": "0",
|
| 743 |
+
"iFeb55": "0",
|
| 744 |
+
"iFertil": "3",
|
| 745 |
+
"dHispanic": "0",
|
| 746 |
+
"dHour89": "3",
|
| 747 |
+
"dHours": "3",
|
| 748 |
+
"iImmigr": "0",
|
| 749 |
+
"dIncome1": "1",
|
| 750 |
+
"dIncome2": "0",
|
| 751 |
+
"dIncome3": "0",
|
| 752 |
+
"dIncome4": "0",
|
| 753 |
+
"dIncome5": "0",
|
| 754 |
+
"dIncome6": "0",
|
| 755 |
+
"dIncome7": "0",
|
| 756 |
+
"dIncome8": "1",
|
| 757 |
+
"dIndustry": "4",
|
| 758 |
+
"iKorean": "0",
|
| 759 |
+
"iLang1": "2",
|
| 760 |
+
"iLooking": "0",
|
| 761 |
+
"iMarital": "2",
|
| 762 |
+
"iMay75880": "0",
|
| 763 |
+
"iMeans": "1",
|
| 764 |
+
"iMilitary": "4",
|
| 765 |
+
"iMobility": "1",
|
| 766 |
+
"iMobillim": "2",
|
| 767 |
+
"dOccup": "2",
|
| 768 |
+
"iOthrserv": "0",
|
| 769 |
+
"iPerscare": "2",
|
| 770 |
+
"dPOB": "0",
|
| 771 |
+
"dPoverty": "2",
|
| 772 |
+
"dPwgt1": "1",
|
| 773 |
+
"iRagechld": "2",
|
| 774 |
+
"dRearning": "2",
|
| 775 |
+
"iRelat1": "0",
|
| 776 |
+
"iRelat2": "0",
|
| 777 |
+
"iRemplpar": "0",
|
| 778 |
+
"iRiders": "1",
|
| 779 |
+
"iRlabor": "1",
|
| 780 |
+
"iRownchld": "0",
|
| 781 |
+
"dRpincome": "2",
|
| 782 |
+
"iRPOB": "10",
|
| 783 |
+
"iRrelchld": "0",
|
| 784 |
+
"iRspouse": "4",
|
| 785 |
+
"iRvetserv": "0",
|
| 786 |
+
"iSchool": "1",
|
| 787 |
+
"iSept80": "0",
|
| 788 |
+
"iSex": "1",
|
| 789 |
+
"iSubfam1": "0",
|
| 790 |
+
"iSubfam2": "0",
|
| 791 |
+
"iTmpabsnt": "0",
|
| 792 |
+
"dTravtime": "1",
|
| 793 |
+
"iVietnam": "0",
|
| 794 |
+
"dWeek89": "1",
|
| 795 |
+
"iWork89": "1",
|
| 796 |
+
"iWorklwk": "1",
|
| 797 |
+
"iWWII": "0",
|
| 798 |
+
"iYearsch": "10",
|
| 799 |
+
"iYearwrk": "1",
|
| 800 |
+
"dYrsserv": "0"
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"caseid": "10004",
|
| 804 |
+
"dAge": "7",
|
| 805 |
+
"dAncstry1": "1",
|
| 806 |
+
"dAncstry2": "1",
|
| 807 |
+
"iAvail": "0",
|
| 808 |
+
"iCitizen": "0",
|
| 809 |
+
"iClass": "0",
|
| 810 |
+
"dDepart": "0",
|
| 811 |
+
"iDisabl1": "2",
|
| 812 |
+
"iDisabl2": "2",
|
| 813 |
+
"iEnglish": "0",
|
| 814 |
+
"iFeb55": "0",
|
| 815 |
+
"iFertil": "3",
|
| 816 |
+
"dHispanic": "0",
|
| 817 |
+
"dHour89": "0",
|
| 818 |
+
"dHours": "0",
|
| 819 |
+
"iImmigr": "0",
|
| 820 |
+
"dIncome1": "0",
|
| 821 |
+
"dIncome2": "0",
|
| 822 |
+
"dIncome3": "0",
|
| 823 |
+
"dIncome4": "0",
|
| 824 |
+
"dIncome5": "1",
|
| 825 |
+
"dIncome6": "0",
|
| 826 |
+
"dIncome7": "0",
|
| 827 |
+
"dIncome8": "0",
|
| 828 |
+
"dIndustry": "0",
|
| 829 |
+
"iKorean": "0",
|
| 830 |
+
"iLang1": "2",
|
| 831 |
+
"iLooking": "2",
|
| 832 |
+
"iMarital": "0",
|
| 833 |
+
"iMay75880": "0",
|
| 834 |
+
"iMeans": "0",
|
| 835 |
+
"iMilitary": "4",
|
| 836 |
+
"iMobility": "1",
|
| 837 |
+
"iMobillim": "2",
|
| 838 |
+
"dOccup": "0",
|
| 839 |
+
"iOthrserv": "0",
|
| 840 |
+
"iPerscare": "2",
|
| 841 |
+
"dPOB": "0",
|
| 842 |
+
"dPoverty": "2",
|
| 843 |
+
"dPwgt1": "1",
|
| 844 |
+
"iRagechld": "4",
|
| 845 |
+
"dRearning": "0",
|
| 846 |
+
"iRelat1": "1",
|
| 847 |
+
"iRelat2": "0",
|
| 848 |
+
"iRemplpar": "0",
|
| 849 |
+
"iRiders": "0",
|
| 850 |
+
"iRlabor": "6",
|
| 851 |
+
"iRownchld": "0",
|
| 852 |
+
"dRpincome": "2",
|
| 853 |
+
"iRPOB": "22",
|
| 854 |
+
"iRrelchld": "0",
|
| 855 |
+
"iRspouse": "1",
|
| 856 |
+
"iRvetserv": "0",
|
| 857 |
+
"iSchool": "1",
|
| 858 |
+
"iSept80": "0",
|
| 859 |
+
"iSex": "1",
|
| 860 |
+
"iSubfam1": "0",
|
| 861 |
+
"iSubfam2": "0",
|
| 862 |
+
"iTmpabsnt": "3",
|
| 863 |
+
"dTravtime": "0",
|
| 864 |
+
"iVietnam": "0",
|
| 865 |
+
"dWeek89": "0",
|
| 866 |
+
"iWork89": "2",
|
| 867 |
+
"iWorklwk": "2",
|
| 868 |
+
"iWWII": "0",
|
| 869 |
+
"iYearsch": "5",
|
| 870 |
+
"iYearwrk": "6",
|
| 871 |
+
"dYrsserv": "0"
|
| 872 |
+
}
|
| 873 |
+
]
|
| 874 |
+
}
|
| 875 |
+
|
| 876 |
+
Shortlisted templates:
|
| 877 |
+
[
|
| 878 |
+
{
|
| 879 |
+
"template_id": "tpl_m4_group_condition_rate",
|
| 880 |
+
"template_name": "Grouped Condition Rate",
|
| 881 |
+
"primary_family": "conditional_dependency_structure",
|
| 882 |
+
"portability": "yes",
|
| 883 |
+
"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;",
|
| 884 |
+
"required_roles": [
|
| 885 |
+
"group_col",
|
| 886 |
+
"condition_col"
|
| 887 |
+
]
|
| 888 |
+
}
|
| 889 |
+
]
|
| 890 |
+
|
| 891 |
+
Problem instance:
|
| 892 |
+
{
|
| 893 |
+
"dataset_id": "c13",
|
| 894 |
+
"question": "Use template Grouped Condition Rate to probe direction_consistency with semantic role focused_target_view. Focus on group_col=iMay75880, condition_col=iTmpabsnt.",
|
| 895 |
+
"planned_template_id": "tpl_m4_group_condition_rate",
|
| 896 |
+
"bindings": {
|
| 897 |
+
"group_col": "iMay75880",
|
| 898 |
+
"condition_col": "iTmpabsnt",
|
| 899 |
+
"condition_value": "0",
|
| 900 |
+
"positive_value": "0",
|
| 901 |
+
"negative_value": "3",
|
| 902 |
+
"top_k": 12,
|
| 903 |
+
"top_n": 4,
|
| 904 |
+
"num_tiles": 10,
|
| 905 |
+
"percentile_value": 0.9,
|
| 906 |
+
"z_threshold": 2.0,
|
| 907 |
+
"fraction_threshold": 0.1,
|
| 908 |
+
"baseline_multiplier": 1.5,
|
| 909 |
+
"baseline_fraction": 0.1,
|
| 910 |
+
"min_group_size": 5,
|
| 911 |
+
"min_support": 5,
|
| 912 |
+
"measure_threshold": 1.5,
|
| 913 |
+
"time_grain": "month",
|
| 914 |
+
"lookback_rows": 3,
|
| 915 |
+
"current_period_start": "'2024-01-01'",
|
| 916 |
+
"current_period_end": "'2024-04-01'",
|
| 917 |
+
"previous_period_start": "'2023-10-01'",
|
| 918 |
+
"previous_period_end": "'2024-01-01'",
|
| 919 |
+
"drift_ratio_threshold": 0.8
|
| 920 |
+
},
|
| 921 |
+
"can_vary": [],
|
| 922 |
+
"must_fix": [],
|
| 923 |
+
"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;"
|
| 924 |
+
}
|
| 925 |
+
|
| 926 |
+
Repair context:
|
| 927 |
+
{}
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_response_attempt_1.raw.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4109-e8e5-75e0-b725-c5c5b2b0b4b9"}
|
| 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_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_response_attempt_1.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4109-e8e5-75e0-b725-c5c5b2b0b4b9"}
|
| 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_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_response_attempt_2.raw.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e410a-121a-7172-bbfe-28339e243022"}
|
| 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_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_response_attempt_2.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e410a-121a-7172-bbfe-28339e243022"}
|
| 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_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_stderr_attempt_1.txt
ADDED
|
File without changes
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_07c4d9e1c5e3d207/cli/sql_stderr_attempt_2.txt
ADDED
|
File without changes
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/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:18:36.904978+00:00",
|
| 6 |
+
"ended_at": "2026-05-19T16:18:39.685935+00:00",
|
| 7 |
+
"elapsed_ms": 2780.92,
|
| 8 |
+
"returncode": 1,
|
| 9 |
+
"prompt_metrics": {
|
| 10 |
+
"chars": 27810,
|
| 11 |
+
"bytes_utf8": 27810,
|
| 12 |
+
"lines": 924,
|
| 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_e/c13/artifacts/v2q_c13_091497dcb3d0434a/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:18:40.687938+00:00",
|
| 6 |
+
"ended_at": "2026-05-19T16:18:43.867282+00:00",
|
| 7 |
+
"elapsed_ms": 3179.31,
|
| 8 |
+
"returncode": 1,
|
| 9 |
+
"prompt_metrics": {
|
| 10 |
+
"chars": 27810,
|
| 11 |
+
"bytes_utf8": 27810,
|
| 12 |
+
"lines": 924,
|
| 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_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_prompt_attempt_1.txt
ADDED
|
@@ -0,0 +1,924 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: c13
|
| 15 |
+
- dataset_name: Us Census Data 1990
|
| 16 |
+
- table_name: c13
|
| 17 |
+
- table_layout: single-table dataset (do not assume joins).
|
| 18 |
+
- row_semantics: One row is one tabular observation with 68 feature columns and target `iClass`.
|
| 19 |
+
- task_type: classification
|
| 20 |
+
- target_column: iClass
|
| 21 |
+
- main_row_count: 2458285
|
| 22 |
+
- important_fields:
|
| 23 |
+
- caseid: role=feature, type=identifier_numeric. tags=['identifier', 'probe_exclude', 'high_cardinality_candidate'] desc=Identifier-like field for caseid.
|
| 24 |
+
- dAge: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAge.
|
| 25 |
+
- dAncstry1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry1.
|
| 26 |
+
- dAncstry2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry2.
|
| 27 |
+
- iAvail: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iAvail.
|
| 28 |
+
- iCitizen: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iCitizen.
|
| 29 |
+
- iClass: role=target, type=categorical_ordinal_target. ordered=['0', '1', '4', '6', '8'] tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for iClass.
|
| 30 |
+
- dDepart: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dDepart.
|
| 31 |
+
- iDisabl1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl1.
|
| 32 |
+
- iDisabl2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl2.
|
| 33 |
+
- iEnglish: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iEnglish.
|
| 34 |
+
- iFeb55: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iFeb55.
|
| 35 |
+
- iFertil: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iFertil.
|
| 36 |
+
- dHispanic: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHispanic.
|
| 37 |
+
- dHour89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHour89.
|
| 38 |
+
- dHours: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHours.
|
| 39 |
+
- iImmigr: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iImmigr.
|
| 40 |
+
- dIncome1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIncome1.
|
| 41 |
+
- dIncome2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome2.
|
| 42 |
+
- dIncome3: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome3.
|
| 43 |
+
- dIncome4: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome4.
|
| 44 |
+
- dIncome5: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome5.
|
| 45 |
+
- dIncome6: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome6.
|
| 46 |
+
- dIncome7: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome7.
|
| 47 |
+
- dIncome8: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome8.
|
| 48 |
+
- dIndustry: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIndustry.
|
| 49 |
+
- iKorean: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iKorean.
|
| 50 |
+
- iLang1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLang1.
|
| 51 |
+
- iLooking: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLooking.
|
| 52 |
+
- iMarital: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMarital.
|
| 53 |
+
- iMay75880: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iMay75880.
|
| 54 |
+
- iMeans: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMeans.
|
| 55 |
+
- iMilitary: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMilitary.
|
| 56 |
+
- iMobility: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobility.
|
| 57 |
+
- iMobillim: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobillim.
|
| 58 |
+
- dOccup: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dOccup.
|
| 59 |
+
- iOthrserv: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iOthrserv.
|
| 60 |
+
- iPerscare: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iPerscare.
|
| 61 |
+
- dPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPOB.
|
| 62 |
+
- dPoverty: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPoverty.
|
| 63 |
+
- dPwgt1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPwgt1.
|
| 64 |
+
- iRagechld: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRagechld.
|
| 65 |
+
- dRearning: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRearning.
|
| 66 |
+
- iRelat1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRelat1.
|
| 67 |
+
- iRelat2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRelat2.
|
| 68 |
+
- iRemplpar: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRemplpar.
|
| 69 |
+
- iRiders: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRiders.
|
| 70 |
+
- iRlabor: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRlabor.
|
| 71 |
+
- iRownchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRownchld.
|
| 72 |
+
- dRpincome: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRpincome.
|
| 73 |
+
- iRPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRPOB.
|
| 74 |
+
- iRrelchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRrelchld.
|
| 75 |
+
- iRspouse: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRspouse.
|
| 76 |
+
- iRvetserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRvetserv.
|
| 77 |
+
- iSchool: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSchool.
|
| 78 |
+
- iSept80: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSept80.
|
| 79 |
+
- iSex: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSex.
|
| 80 |
+
- iSubfam1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSubfam1.
|
| 81 |
+
- iSubfam2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSubfam2.
|
| 82 |
+
- iTmpabsnt: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iTmpabsnt.
|
| 83 |
+
- dTravtime: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dTravtime.
|
| 84 |
+
- iVietnam: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iVietnam.
|
| 85 |
+
- dWeek89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dWeek89.
|
| 86 |
+
- iWork89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWork89.
|
| 87 |
+
- iWorklwk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWorklwk.
|
| 88 |
+
- iWWII: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iWWII.
|
| 89 |
+
- iYearsch: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearsch.
|
| 90 |
+
- iYearwrk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearwrk.
|
| 91 |
+
- dYrsserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dYrsserv.
|
| 92 |
+
- useful_field_combinations: [['dAge', 'dAncstry1', 'iClass'], ['dAge', 'dAge', 'iClass']]
|
| 93 |
+
- fields_requiring_caution: ['iClass']
|
| 94 |
+
- source_url: https://archive.ics.uci.edu/dataset/116/us+census+data+1990
|
| 95 |
+
|
| 96 |
+
SQLite schema snapshot:
|
| 97 |
+
{
|
| 98 |
+
"table_name": "c13",
|
| 99 |
+
"quoted_table_name": "\"c13\"",
|
| 100 |
+
"row_count": 2458285,
|
| 101 |
+
"columns": [
|
| 102 |
+
{
|
| 103 |
+
"name": "caseid",
|
| 104 |
+
"type": "TEXT",
|
| 105 |
+
"notnull": false,
|
| 106 |
+
"pk": false
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": "dAge",
|
| 110 |
+
"type": "TEXT",
|
| 111 |
+
"notnull": false,
|
| 112 |
+
"pk": false
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": "dAncstry1",
|
| 116 |
+
"type": "TEXT",
|
| 117 |
+
"notnull": false,
|
| 118 |
+
"pk": false
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": "dAncstry2",
|
| 122 |
+
"type": "TEXT",
|
| 123 |
+
"notnull": false,
|
| 124 |
+
"pk": false
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": "iAvail",
|
| 128 |
+
"type": "TEXT",
|
| 129 |
+
"notnull": false,
|
| 130 |
+
"pk": false
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": "iCitizen",
|
| 134 |
+
"type": "TEXT",
|
| 135 |
+
"notnull": false,
|
| 136 |
+
"pk": false
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": "iClass",
|
| 140 |
+
"type": "TEXT",
|
| 141 |
+
"notnull": false,
|
| 142 |
+
"pk": false
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": "dDepart",
|
| 146 |
+
"type": "TEXT",
|
| 147 |
+
"notnull": false,
|
| 148 |
+
"pk": false
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"name": "iDisabl1",
|
| 152 |
+
"type": "TEXT",
|
| 153 |
+
"notnull": false,
|
| 154 |
+
"pk": false
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": "iDisabl2",
|
| 158 |
+
"type": "TEXT",
|
| 159 |
+
"notnull": false,
|
| 160 |
+
"pk": false
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"name": "iEnglish",
|
| 164 |
+
"type": "TEXT",
|
| 165 |
+
"notnull": false,
|
| 166 |
+
"pk": false
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "iFeb55",
|
| 170 |
+
"type": "TEXT",
|
| 171 |
+
"notnull": false,
|
| 172 |
+
"pk": false
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"name": "iFertil",
|
| 176 |
+
"type": "TEXT",
|
| 177 |
+
"notnull": false,
|
| 178 |
+
"pk": false
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": "dHispanic",
|
| 182 |
+
"type": "TEXT",
|
| 183 |
+
"notnull": false,
|
| 184 |
+
"pk": false
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": "dHour89",
|
| 188 |
+
"type": "TEXT",
|
| 189 |
+
"notnull": false,
|
| 190 |
+
"pk": false
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"name": "dHours",
|
| 194 |
+
"type": "TEXT",
|
| 195 |
+
"notnull": false,
|
| 196 |
+
"pk": false
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"name": "iImmigr",
|
| 200 |
+
"type": "TEXT",
|
| 201 |
+
"notnull": false,
|
| 202 |
+
"pk": false
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"name": "dIncome1",
|
| 206 |
+
"type": "TEXT",
|
| 207 |
+
"notnull": false,
|
| 208 |
+
"pk": false
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"name": "dIncome2",
|
| 212 |
+
"type": "TEXT",
|
| 213 |
+
"notnull": false,
|
| 214 |
+
"pk": false
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"name": "dIncome3",
|
| 218 |
+
"type": "TEXT",
|
| 219 |
+
"notnull": false,
|
| 220 |
+
"pk": false
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"name": "dIncome4",
|
| 224 |
+
"type": "TEXT",
|
| 225 |
+
"notnull": false,
|
| 226 |
+
"pk": false
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"name": "dIncome5",
|
| 230 |
+
"type": "TEXT",
|
| 231 |
+
"notnull": false,
|
| 232 |
+
"pk": false
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"name": "dIncome6",
|
| 236 |
+
"type": "TEXT",
|
| 237 |
+
"notnull": false,
|
| 238 |
+
"pk": false
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"name": "dIncome7",
|
| 242 |
+
"type": "TEXT",
|
| 243 |
+
"notnull": false,
|
| 244 |
+
"pk": false
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"name": "dIncome8",
|
| 248 |
+
"type": "TEXT",
|
| 249 |
+
"notnull": false,
|
| 250 |
+
"pk": false
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"name": "dIndustry",
|
| 254 |
+
"type": "TEXT",
|
| 255 |
+
"notnull": false,
|
| 256 |
+
"pk": false
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"name": "iKorean",
|
| 260 |
+
"type": "TEXT",
|
| 261 |
+
"notnull": false,
|
| 262 |
+
"pk": false
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"name": "iLang1",
|
| 266 |
+
"type": "TEXT",
|
| 267 |
+
"notnull": false,
|
| 268 |
+
"pk": false
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"name": "iLooking",
|
| 272 |
+
"type": "TEXT",
|
| 273 |
+
"notnull": false,
|
| 274 |
+
"pk": false
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"name": "iMarital",
|
| 278 |
+
"type": "TEXT",
|
| 279 |
+
"notnull": false,
|
| 280 |
+
"pk": false
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"name": "iMay75880",
|
| 284 |
+
"type": "TEXT",
|
| 285 |
+
"notnull": false,
|
| 286 |
+
"pk": false
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"name": "iMeans",
|
| 290 |
+
"type": "TEXT",
|
| 291 |
+
"notnull": false,
|
| 292 |
+
"pk": false
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"name": "iMilitary",
|
| 296 |
+
"type": "TEXT",
|
| 297 |
+
"notnull": false,
|
| 298 |
+
"pk": false
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"name": "iMobility",
|
| 302 |
+
"type": "TEXT",
|
| 303 |
+
"notnull": false,
|
| 304 |
+
"pk": false
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"name": "iMobillim",
|
| 308 |
+
"type": "TEXT",
|
| 309 |
+
"notnull": false,
|
| 310 |
+
"pk": false
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"name": "dOccup",
|
| 314 |
+
"type": "TEXT",
|
| 315 |
+
"notnull": false,
|
| 316 |
+
"pk": false
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"name": "iOthrserv",
|
| 320 |
+
"type": "TEXT",
|
| 321 |
+
"notnull": false,
|
| 322 |
+
"pk": false
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"name": "iPerscare",
|
| 326 |
+
"type": "TEXT",
|
| 327 |
+
"notnull": false,
|
| 328 |
+
"pk": false
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"name": "dPOB",
|
| 332 |
+
"type": "TEXT",
|
| 333 |
+
"notnull": false,
|
| 334 |
+
"pk": false
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"name": "dPoverty",
|
| 338 |
+
"type": "TEXT",
|
| 339 |
+
"notnull": false,
|
| 340 |
+
"pk": false
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"name": "dPwgt1",
|
| 344 |
+
"type": "TEXT",
|
| 345 |
+
"notnull": false,
|
| 346 |
+
"pk": false
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"name": "iRagechld",
|
| 350 |
+
"type": "TEXT",
|
| 351 |
+
"notnull": false,
|
| 352 |
+
"pk": false
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"name": "dRearning",
|
| 356 |
+
"type": "TEXT",
|
| 357 |
+
"notnull": false,
|
| 358 |
+
"pk": false
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"name": "iRelat1",
|
| 362 |
+
"type": "TEXT",
|
| 363 |
+
"notnull": false,
|
| 364 |
+
"pk": false
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"name": "iRelat2",
|
| 368 |
+
"type": "TEXT",
|
| 369 |
+
"notnull": false,
|
| 370 |
+
"pk": false
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"name": "iRemplpar",
|
| 374 |
+
"type": "TEXT",
|
| 375 |
+
"notnull": false,
|
| 376 |
+
"pk": false
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"name": "iRiders",
|
| 380 |
+
"type": "TEXT",
|
| 381 |
+
"notnull": false,
|
| 382 |
+
"pk": false
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"name": "iRlabor",
|
| 386 |
+
"type": "TEXT",
|
| 387 |
+
"notnull": false,
|
| 388 |
+
"pk": false
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"name": "iRownchld",
|
| 392 |
+
"type": "TEXT",
|
| 393 |
+
"notnull": false,
|
| 394 |
+
"pk": false
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"name": "dRpincome",
|
| 398 |
+
"type": "TEXT",
|
| 399 |
+
"notnull": false,
|
| 400 |
+
"pk": false
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"name": "iRPOB",
|
| 404 |
+
"type": "TEXT",
|
| 405 |
+
"notnull": false,
|
| 406 |
+
"pk": false
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"name": "iRrelchld",
|
| 410 |
+
"type": "TEXT",
|
| 411 |
+
"notnull": false,
|
| 412 |
+
"pk": false
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"name": "iRspouse",
|
| 416 |
+
"type": "TEXT",
|
| 417 |
+
"notnull": false,
|
| 418 |
+
"pk": false
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"name": "iRvetserv",
|
| 422 |
+
"type": "TEXT",
|
| 423 |
+
"notnull": false,
|
| 424 |
+
"pk": false
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"name": "iSchool",
|
| 428 |
+
"type": "TEXT",
|
| 429 |
+
"notnull": false,
|
| 430 |
+
"pk": false
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"name": "iSept80",
|
| 434 |
+
"type": "TEXT",
|
| 435 |
+
"notnull": false,
|
| 436 |
+
"pk": false
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"name": "iSex",
|
| 440 |
+
"type": "TEXT",
|
| 441 |
+
"notnull": false,
|
| 442 |
+
"pk": false
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"name": "iSubfam1",
|
| 446 |
+
"type": "TEXT",
|
| 447 |
+
"notnull": false,
|
| 448 |
+
"pk": false
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"name": "iSubfam2",
|
| 452 |
+
"type": "TEXT",
|
| 453 |
+
"notnull": false,
|
| 454 |
+
"pk": false
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"name": "iTmpabsnt",
|
| 458 |
+
"type": "TEXT",
|
| 459 |
+
"notnull": false,
|
| 460 |
+
"pk": false
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"name": "dTravtime",
|
| 464 |
+
"type": "TEXT",
|
| 465 |
+
"notnull": false,
|
| 466 |
+
"pk": false
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"name": "iVietnam",
|
| 470 |
+
"type": "TEXT",
|
| 471 |
+
"notnull": false,
|
| 472 |
+
"pk": false
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"name": "dWeek89",
|
| 476 |
+
"type": "TEXT",
|
| 477 |
+
"notnull": false,
|
| 478 |
+
"pk": false
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"name": "iWork89",
|
| 482 |
+
"type": "TEXT",
|
| 483 |
+
"notnull": false,
|
| 484 |
+
"pk": false
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"name": "iWorklwk",
|
| 488 |
+
"type": "TEXT",
|
| 489 |
+
"notnull": false,
|
| 490 |
+
"pk": false
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"name": "iWWII",
|
| 494 |
+
"type": "TEXT",
|
| 495 |
+
"notnull": false,
|
| 496 |
+
"pk": false
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"name": "iYearsch",
|
| 500 |
+
"type": "TEXT",
|
| 501 |
+
"notnull": false,
|
| 502 |
+
"pk": false
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"name": "iYearwrk",
|
| 506 |
+
"type": "TEXT",
|
| 507 |
+
"notnull": false,
|
| 508 |
+
"pk": false
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"name": "dYrsserv",
|
| 512 |
+
"type": "TEXT",
|
| 513 |
+
"notnull": false,
|
| 514 |
+
"pk": false
|
| 515 |
+
}
|
| 516 |
+
],
|
| 517 |
+
"sample_rows": [
|
| 518 |
+
{
|
| 519 |
+
"caseid": "10000",
|
| 520 |
+
"dAge": "5",
|
| 521 |
+
"dAncstry1": "0",
|
| 522 |
+
"dAncstry2": "1",
|
| 523 |
+
"iAvail": "0",
|
| 524 |
+
"iCitizen": "0",
|
| 525 |
+
"iClass": "5",
|
| 526 |
+
"dDepart": "3",
|
| 527 |
+
"iDisabl1": "2",
|
| 528 |
+
"iDisabl2": "2",
|
| 529 |
+
"iEnglish": "1",
|
| 530 |
+
"iFeb55": "0",
|
| 531 |
+
"iFertil": "1",
|
| 532 |
+
"dHispanic": "0",
|
| 533 |
+
"dHour89": "4",
|
| 534 |
+
"dHours": "3",
|
| 535 |
+
"iImmigr": "0",
|
| 536 |
+
"dIncome1": "2",
|
| 537 |
+
"dIncome2": "0",
|
| 538 |
+
"dIncome3": "0",
|
| 539 |
+
"dIncome4": "1",
|
| 540 |
+
"dIncome5": "0",
|
| 541 |
+
"dIncome6": "0",
|
| 542 |
+
"dIncome7": "0",
|
| 543 |
+
"dIncome8": "0",
|
| 544 |
+
"dIndustry": "10",
|
| 545 |
+
"iKorean": "0",
|
| 546 |
+
"iLang1": "1",
|
| 547 |
+
"iLooking": "0",
|
| 548 |
+
"iMarital": "1",
|
| 549 |
+
"iMay75880": "0",
|
| 550 |
+
"iMeans": "1",
|
| 551 |
+
"iMilitary": "4",
|
| 552 |
+
"iMobility": "2",
|
| 553 |
+
"iMobillim": "2",
|
| 554 |
+
"dOccup": "3",
|
| 555 |
+
"iOthrserv": "0",
|
| 556 |
+
"iPerscare": "2",
|
| 557 |
+
"dPOB": "0",
|
| 558 |
+
"dPoverty": "2",
|
| 559 |
+
"dPwgt1": "1",
|
| 560 |
+
"iRagechld": "4",
|
| 561 |
+
"dRearning": "3",
|
| 562 |
+
"iRelat1": "0",
|
| 563 |
+
"iRelat2": "0",
|
| 564 |
+
"iRemplpar": "0",
|
| 565 |
+
"iRiders": "3",
|
| 566 |
+
"iRlabor": "1",
|
| 567 |
+
"iRownchld": "0",
|
| 568 |
+
"dRpincome": "3",
|
| 569 |
+
"iRPOB": "22",
|
| 570 |
+
"iRrelchld": "0",
|
| 571 |
+
"iRspouse": "3",
|
| 572 |
+
"iRvetserv": "0",
|
| 573 |
+
"iSchool": "1",
|
| 574 |
+
"iSept80": "0",
|
| 575 |
+
"iSex": "1",
|
| 576 |
+
"iSubfam1": "0",
|
| 577 |
+
"iSubfam2": "0",
|
| 578 |
+
"iTmpabsnt": "0",
|
| 579 |
+
"dTravtime": "5",
|
| 580 |
+
"iVietnam": "0",
|
| 581 |
+
"dWeek89": "2",
|
| 582 |
+
"iWork89": "1",
|
| 583 |
+
"iWorklwk": "1",
|
| 584 |
+
"iWWII": "0",
|
| 585 |
+
"iYearsch": "11",
|
| 586 |
+
"iYearwrk": "1",
|
| 587 |
+
"dYrsserv": "0"
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"caseid": "10001",
|
| 591 |
+
"dAge": "6",
|
| 592 |
+
"dAncstry1": "1",
|
| 593 |
+
"dAncstry2": "1",
|
| 594 |
+
"iAvail": "0",
|
| 595 |
+
"iCitizen": "0",
|
| 596 |
+
"iClass": "7",
|
| 597 |
+
"dDepart": "5",
|
| 598 |
+
"iDisabl1": "2",
|
| 599 |
+
"iDisabl2": "2",
|
| 600 |
+
"iEnglish": "0",
|
| 601 |
+
"iFeb55": "0",
|
| 602 |
+
"iFertil": "3",
|
| 603 |
+
"dHispanic": "0",
|
| 604 |
+
"dHour89": "1",
|
| 605 |
+
"dHours": "1",
|
| 606 |
+
"iImmigr": "0",
|
| 607 |
+
"dIncome1": "1",
|
| 608 |
+
"dIncome2": "0",
|
| 609 |
+
"dIncome3": "0",
|
| 610 |
+
"dIncome4": "0",
|
| 611 |
+
"dIncome5": "0",
|
| 612 |
+
"dIncome6": "1",
|
| 613 |
+
"dIncome7": "0",
|
| 614 |
+
"dIncome8": "0",
|
| 615 |
+
"dIndustry": "4",
|
| 616 |
+
"iKorean": "0",
|
| 617 |
+
"iLang1": "2",
|
| 618 |
+
"iLooking": "0",
|
| 619 |
+
"iMarital": "0",
|
| 620 |
+
"iMay75880": "0",
|
| 621 |
+
"iMeans": "1",
|
| 622 |
+
"iMilitary": "4",
|
| 623 |
+
"iMobility": "1",
|
| 624 |
+
"iMobillim": "2",
|
| 625 |
+
"dOccup": "2",
|
| 626 |
+
"iOthrserv": "0",
|
| 627 |
+
"iPerscare": "2",
|
| 628 |
+
"dPOB": "0",
|
| 629 |
+
"dPoverty": "2",
|
| 630 |
+
"dPwgt1": "2",
|
| 631 |
+
"iRagechld": "4",
|
| 632 |
+
"dRearning": "2",
|
| 633 |
+
"iRelat1": "1",
|
| 634 |
+
"iRelat2": "0",
|
| 635 |
+
"iRemplpar": "0",
|
| 636 |
+
"iRiders": "1",
|
| 637 |
+
"iRlabor": "1",
|
| 638 |
+
"iRownchld": "0",
|
| 639 |
+
"dRpincome": "2",
|
| 640 |
+
"iRPOB": "10",
|
| 641 |
+
"iRrelchld": "0",
|
| 642 |
+
"iRspouse": "1",
|
| 643 |
+
"iRvetserv": "0",
|
| 644 |
+
"iSchool": "1",
|
| 645 |
+
"iSept80": "0",
|
| 646 |
+
"iSex": "1",
|
| 647 |
+
"iSubfam1": "0",
|
| 648 |
+
"iSubfam2": "0",
|
| 649 |
+
"iTmpabsnt": "0",
|
| 650 |
+
"dTravtime": "1",
|
| 651 |
+
"iVietnam": "0",
|
| 652 |
+
"dWeek89": "2",
|
| 653 |
+
"iWork89": "1",
|
| 654 |
+
"iWorklwk": "1",
|
| 655 |
+
"iWWII": "0",
|
| 656 |
+
"iYearsch": "5",
|
| 657 |
+
"iYearwrk": "1",
|
| 658 |
+
"dYrsserv": "0"
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"caseid": "10002",
|
| 662 |
+
"dAge": "3",
|
| 663 |
+
"dAncstry1": "1",
|
| 664 |
+
"dAncstry2": "2",
|
| 665 |
+
"iAvail": "0",
|
| 666 |
+
"iCitizen": "0",
|
| 667 |
+
"iClass": "7",
|
| 668 |
+
"dDepart": "4",
|
| 669 |
+
"iDisabl1": "2",
|
| 670 |
+
"iDisabl2": "2",
|
| 671 |
+
"iEnglish": "0",
|
| 672 |
+
"iFeb55": "0",
|
| 673 |
+
"iFertil": "1",
|
| 674 |
+
"dHispanic": "0",
|
| 675 |
+
"dHour89": "4",
|
| 676 |
+
"dHours": "4",
|
| 677 |
+
"iImmigr": "0",
|
| 678 |
+
"dIncome1": "1",
|
| 679 |
+
"dIncome2": "0",
|
| 680 |
+
"dIncome3": "1",
|
| 681 |
+
"dIncome4": "0",
|
| 682 |
+
"dIncome5": "0",
|
| 683 |
+
"dIncome6": "0",
|
| 684 |
+
"dIncome7": "0",
|
| 685 |
+
"dIncome8": "0",
|
| 686 |
+
"dIndustry": "1",
|
| 687 |
+
"iKorean": "0",
|
| 688 |
+
"iLang1": "2",
|
| 689 |
+
"iLooking": "0",
|
| 690 |
+
"iMarital": "4",
|
| 691 |
+
"iMay75880": "0",
|
| 692 |
+
"iMeans": "10",
|
| 693 |
+
"iMilitary": "4",
|
| 694 |
+
"iMobility": "1",
|
| 695 |
+
"iMobillim": "2",
|
| 696 |
+
"dOccup": "4",
|
| 697 |
+
"iOthrserv": "0",
|
| 698 |
+
"iPerscare": "2",
|
| 699 |
+
"dPOB": "0",
|
| 700 |
+
"dPoverty": "2",
|
| 701 |
+
"dPwgt1": "1",
|
| 702 |
+
"iRagechld": "4",
|
| 703 |
+
"dRearning": "2",
|
| 704 |
+
"iRelat1": "2",
|
| 705 |
+
"iRelat2": "0",
|
| 706 |
+
"iRemplpar": "0",
|
| 707 |
+
"iRiders": "0",
|
| 708 |
+
"iRlabor": "1",
|
| 709 |
+
"iRownchld": "0",
|
| 710 |
+
"dRpincome": "2",
|
| 711 |
+
"iRPOB": "10",
|
| 712 |
+
"iRrelchld": "0",
|
| 713 |
+
"iRspouse": "6",
|
| 714 |
+
"iRvetserv": "0",
|
| 715 |
+
"iSchool": "1",
|
| 716 |
+
"iSept80": "0",
|
| 717 |
+
"iSex": "1",
|
| 718 |
+
"iSubfam1": "0",
|
| 719 |
+
"iSubfam2": "0",
|
| 720 |
+
"iTmpabsnt": "0",
|
| 721 |
+
"dTravtime": "2",
|
| 722 |
+
"iVietnam": "0",
|
| 723 |
+
"dWeek89": "2",
|
| 724 |
+
"iWork89": "1",
|
| 725 |
+
"iWorklwk": "1",
|
| 726 |
+
"iWWII": "0",
|
| 727 |
+
"iYearsch": "10",
|
| 728 |
+
"iYearwrk": "1",
|
| 729 |
+
"dYrsserv": "0"
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"caseid": "10003",
|
| 733 |
+
"dAge": "4",
|
| 734 |
+
"dAncstry1": "1",
|
| 735 |
+
"dAncstry2": "2",
|
| 736 |
+
"iAvail": "0",
|
| 737 |
+
"iCitizen": "0",
|
| 738 |
+
"iClass": "1",
|
| 739 |
+
"dDepart": "3",
|
| 740 |
+
"iDisabl1": "2",
|
| 741 |
+
"iDisabl2": "2",
|
| 742 |
+
"iEnglish": "0",
|
| 743 |
+
"iFeb55": "0",
|
| 744 |
+
"iFertil": "3",
|
| 745 |
+
"dHispanic": "0",
|
| 746 |
+
"dHour89": "3",
|
| 747 |
+
"dHours": "3",
|
| 748 |
+
"iImmigr": "0",
|
| 749 |
+
"dIncome1": "1",
|
| 750 |
+
"dIncome2": "0",
|
| 751 |
+
"dIncome3": "0",
|
| 752 |
+
"dIncome4": "0",
|
| 753 |
+
"dIncome5": "0",
|
| 754 |
+
"dIncome6": "0",
|
| 755 |
+
"dIncome7": "0",
|
| 756 |
+
"dIncome8": "1",
|
| 757 |
+
"dIndustry": "4",
|
| 758 |
+
"iKorean": "0",
|
| 759 |
+
"iLang1": "2",
|
| 760 |
+
"iLooking": "0",
|
| 761 |
+
"iMarital": "2",
|
| 762 |
+
"iMay75880": "0",
|
| 763 |
+
"iMeans": "1",
|
| 764 |
+
"iMilitary": "4",
|
| 765 |
+
"iMobility": "1",
|
| 766 |
+
"iMobillim": "2",
|
| 767 |
+
"dOccup": "2",
|
| 768 |
+
"iOthrserv": "0",
|
| 769 |
+
"iPerscare": "2",
|
| 770 |
+
"dPOB": "0",
|
| 771 |
+
"dPoverty": "2",
|
| 772 |
+
"dPwgt1": "1",
|
| 773 |
+
"iRagechld": "2",
|
| 774 |
+
"dRearning": "2",
|
| 775 |
+
"iRelat1": "0",
|
| 776 |
+
"iRelat2": "0",
|
| 777 |
+
"iRemplpar": "0",
|
| 778 |
+
"iRiders": "1",
|
| 779 |
+
"iRlabor": "1",
|
| 780 |
+
"iRownchld": "0",
|
| 781 |
+
"dRpincome": "2",
|
| 782 |
+
"iRPOB": "10",
|
| 783 |
+
"iRrelchld": "0",
|
| 784 |
+
"iRspouse": "4",
|
| 785 |
+
"iRvetserv": "0",
|
| 786 |
+
"iSchool": "1",
|
| 787 |
+
"iSept80": "0",
|
| 788 |
+
"iSex": "1",
|
| 789 |
+
"iSubfam1": "0",
|
| 790 |
+
"iSubfam2": "0",
|
| 791 |
+
"iTmpabsnt": "0",
|
| 792 |
+
"dTravtime": "1",
|
| 793 |
+
"iVietnam": "0",
|
| 794 |
+
"dWeek89": "1",
|
| 795 |
+
"iWork89": "1",
|
| 796 |
+
"iWorklwk": "1",
|
| 797 |
+
"iWWII": "0",
|
| 798 |
+
"iYearsch": "10",
|
| 799 |
+
"iYearwrk": "1",
|
| 800 |
+
"dYrsserv": "0"
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"caseid": "10004",
|
| 804 |
+
"dAge": "7",
|
| 805 |
+
"dAncstry1": "1",
|
| 806 |
+
"dAncstry2": "1",
|
| 807 |
+
"iAvail": "0",
|
| 808 |
+
"iCitizen": "0",
|
| 809 |
+
"iClass": "0",
|
| 810 |
+
"dDepart": "0",
|
| 811 |
+
"iDisabl1": "2",
|
| 812 |
+
"iDisabl2": "2",
|
| 813 |
+
"iEnglish": "0",
|
| 814 |
+
"iFeb55": "0",
|
| 815 |
+
"iFertil": "3",
|
| 816 |
+
"dHispanic": "0",
|
| 817 |
+
"dHour89": "0",
|
| 818 |
+
"dHours": "0",
|
| 819 |
+
"iImmigr": "0",
|
| 820 |
+
"dIncome1": "0",
|
| 821 |
+
"dIncome2": "0",
|
| 822 |
+
"dIncome3": "0",
|
| 823 |
+
"dIncome4": "0",
|
| 824 |
+
"dIncome5": "1",
|
| 825 |
+
"dIncome6": "0",
|
| 826 |
+
"dIncome7": "0",
|
| 827 |
+
"dIncome8": "0",
|
| 828 |
+
"dIndustry": "0",
|
| 829 |
+
"iKorean": "0",
|
| 830 |
+
"iLang1": "2",
|
| 831 |
+
"iLooking": "2",
|
| 832 |
+
"iMarital": "0",
|
| 833 |
+
"iMay75880": "0",
|
| 834 |
+
"iMeans": "0",
|
| 835 |
+
"iMilitary": "4",
|
| 836 |
+
"iMobility": "1",
|
| 837 |
+
"iMobillim": "2",
|
| 838 |
+
"dOccup": "0",
|
| 839 |
+
"iOthrserv": "0",
|
| 840 |
+
"iPerscare": "2",
|
| 841 |
+
"dPOB": "0",
|
| 842 |
+
"dPoverty": "2",
|
| 843 |
+
"dPwgt1": "1",
|
| 844 |
+
"iRagechld": "4",
|
| 845 |
+
"dRearning": "0",
|
| 846 |
+
"iRelat1": "1",
|
| 847 |
+
"iRelat2": "0",
|
| 848 |
+
"iRemplpar": "0",
|
| 849 |
+
"iRiders": "0",
|
| 850 |
+
"iRlabor": "6",
|
| 851 |
+
"iRownchld": "0",
|
| 852 |
+
"dRpincome": "2",
|
| 853 |
+
"iRPOB": "22",
|
| 854 |
+
"iRrelchld": "0",
|
| 855 |
+
"iRspouse": "1",
|
| 856 |
+
"iRvetserv": "0",
|
| 857 |
+
"iSchool": "1",
|
| 858 |
+
"iSept80": "0",
|
| 859 |
+
"iSex": "1",
|
| 860 |
+
"iSubfam1": "0",
|
| 861 |
+
"iSubfam2": "0",
|
| 862 |
+
"iTmpabsnt": "3",
|
| 863 |
+
"dTravtime": "0",
|
| 864 |
+
"iVietnam": "0",
|
| 865 |
+
"dWeek89": "0",
|
| 866 |
+
"iWork89": "2",
|
| 867 |
+
"iWorklwk": "2",
|
| 868 |
+
"iWWII": "0",
|
| 869 |
+
"iYearsch": "5",
|
| 870 |
+
"iYearwrk": "6",
|
| 871 |
+
"dYrsserv": "0"
|
| 872 |
+
}
|
| 873 |
+
]
|
| 874 |
+
}
|
| 875 |
+
|
| 876 |
+
Shortlisted templates:
|
| 877 |
+
[
|
| 878 |
+
{
|
| 879 |
+
"template_id": "tpl_grouped_percentile_point",
|
| 880 |
+
"template_name": "Grouped Percentile Point",
|
| 881 |
+
"primary_family": "tail_rarity_structure",
|
| 882 |
+
"portability": "yes",
|
| 883 |
+
"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;",
|
| 884 |
+
"required_roles": [
|
| 885 |
+
"group_col",
|
| 886 |
+
"measure_col"
|
| 887 |
+
]
|
| 888 |
+
}
|
| 889 |
+
]
|
| 890 |
+
|
| 891 |
+
Problem instance:
|
| 892 |
+
{
|
| 893 |
+
"dataset_id": "c13",
|
| 894 |
+
"question": "Use template Grouped Percentile Point to probe tail_concentration_consistency with semantic role ranked_signal_view. Focus on group_col=dIncome5, measure_col=iSchool.",
|
| 895 |
+
"planned_template_id": "tpl_grouped_percentile_point",
|
| 896 |
+
"bindings": {
|
| 897 |
+
"group_col": "dIncome5",
|
| 898 |
+
"measure_col": "iSchool",
|
| 899 |
+
"top_k": 18,
|
| 900 |
+
"top_n": 4,
|
| 901 |
+
"num_tiles": 10,
|
| 902 |
+
"percentile_value": 0.9,
|
| 903 |
+
"z_threshold": 2.0,
|
| 904 |
+
"fraction_threshold": 0.05,
|
| 905 |
+
"baseline_multiplier": 1.75,
|
| 906 |
+
"baseline_fraction": 0.1,
|
| 907 |
+
"min_group_size": 5,
|
| 908 |
+
"min_support": 4,
|
| 909 |
+
"measure_threshold": 1.98,
|
| 910 |
+
"time_grain": "month",
|
| 911 |
+
"lookback_rows": 3,
|
| 912 |
+
"current_period_start": "'2024-01-01'",
|
| 913 |
+
"current_period_end": "'2024-04-01'",
|
| 914 |
+
"previous_period_start": "'2023-10-01'",
|
| 915 |
+
"previous_period_end": "'2024-01-01'",
|
| 916 |
+
"drift_ratio_threshold": 0.8
|
| 917 |
+
},
|
| 918 |
+
"can_vary": [],
|
| 919 |
+
"must_fix": [],
|
| 920 |
+
"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;"
|
| 921 |
+
}
|
| 922 |
+
|
| 923 |
+
Repair context:
|
| 924 |
+
{}
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_prompt_attempt_2.txt
ADDED
|
@@ -0,0 +1,924 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: c13
|
| 15 |
+
- dataset_name: Us Census Data 1990
|
| 16 |
+
- table_name: c13
|
| 17 |
+
- table_layout: single-table dataset (do not assume joins).
|
| 18 |
+
- row_semantics: One row is one tabular observation with 68 feature columns and target `iClass`.
|
| 19 |
+
- task_type: classification
|
| 20 |
+
- target_column: iClass
|
| 21 |
+
- main_row_count: 2458285
|
| 22 |
+
- important_fields:
|
| 23 |
+
- caseid: role=feature, type=identifier_numeric. tags=['identifier', 'probe_exclude', 'high_cardinality_candidate'] desc=Identifier-like field for caseid.
|
| 24 |
+
- dAge: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAge.
|
| 25 |
+
- dAncstry1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry1.
|
| 26 |
+
- dAncstry2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry2.
|
| 27 |
+
- iAvail: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iAvail.
|
| 28 |
+
- iCitizen: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iCitizen.
|
| 29 |
+
- iClass: role=target, type=categorical_ordinal_target. ordered=['0', '1', '4', '6', '8'] tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for iClass.
|
| 30 |
+
- dDepart: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dDepart.
|
| 31 |
+
- iDisabl1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl1.
|
| 32 |
+
- iDisabl2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl2.
|
| 33 |
+
- iEnglish: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iEnglish.
|
| 34 |
+
- iFeb55: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iFeb55.
|
| 35 |
+
- iFertil: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iFertil.
|
| 36 |
+
- dHispanic: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHispanic.
|
| 37 |
+
- dHour89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHour89.
|
| 38 |
+
- dHours: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHours.
|
| 39 |
+
- iImmigr: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iImmigr.
|
| 40 |
+
- dIncome1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIncome1.
|
| 41 |
+
- dIncome2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome2.
|
| 42 |
+
- dIncome3: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome3.
|
| 43 |
+
- dIncome4: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome4.
|
| 44 |
+
- dIncome5: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome5.
|
| 45 |
+
- dIncome6: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome6.
|
| 46 |
+
- dIncome7: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome7.
|
| 47 |
+
- dIncome8: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome8.
|
| 48 |
+
- dIndustry: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIndustry.
|
| 49 |
+
- iKorean: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iKorean.
|
| 50 |
+
- iLang1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLang1.
|
| 51 |
+
- iLooking: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLooking.
|
| 52 |
+
- iMarital: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMarital.
|
| 53 |
+
- iMay75880: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iMay75880.
|
| 54 |
+
- iMeans: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMeans.
|
| 55 |
+
- iMilitary: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMilitary.
|
| 56 |
+
- iMobility: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobility.
|
| 57 |
+
- iMobillim: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobillim.
|
| 58 |
+
- dOccup: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dOccup.
|
| 59 |
+
- iOthrserv: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iOthrserv.
|
| 60 |
+
- iPerscare: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iPerscare.
|
| 61 |
+
- dPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPOB.
|
| 62 |
+
- dPoverty: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPoverty.
|
| 63 |
+
- dPwgt1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPwgt1.
|
| 64 |
+
- iRagechld: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRagechld.
|
| 65 |
+
- dRearning: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRearning.
|
| 66 |
+
- iRelat1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRelat1.
|
| 67 |
+
- iRelat2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRelat2.
|
| 68 |
+
- iRemplpar: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRemplpar.
|
| 69 |
+
- iRiders: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRiders.
|
| 70 |
+
- iRlabor: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRlabor.
|
| 71 |
+
- iRownchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRownchld.
|
| 72 |
+
- dRpincome: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRpincome.
|
| 73 |
+
- iRPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRPOB.
|
| 74 |
+
- iRrelchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRrelchld.
|
| 75 |
+
- iRspouse: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRspouse.
|
| 76 |
+
- iRvetserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRvetserv.
|
| 77 |
+
- iSchool: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSchool.
|
| 78 |
+
- iSept80: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSept80.
|
| 79 |
+
- iSex: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSex.
|
| 80 |
+
- iSubfam1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSubfam1.
|
| 81 |
+
- iSubfam2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSubfam2.
|
| 82 |
+
- iTmpabsnt: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iTmpabsnt.
|
| 83 |
+
- dTravtime: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dTravtime.
|
| 84 |
+
- iVietnam: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iVietnam.
|
| 85 |
+
- dWeek89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dWeek89.
|
| 86 |
+
- iWork89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWork89.
|
| 87 |
+
- iWorklwk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWorklwk.
|
| 88 |
+
- iWWII: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iWWII.
|
| 89 |
+
- iYearsch: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearsch.
|
| 90 |
+
- iYearwrk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearwrk.
|
| 91 |
+
- dYrsserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dYrsserv.
|
| 92 |
+
- useful_field_combinations: [['dAge', 'dAncstry1', 'iClass'], ['dAge', 'dAge', 'iClass']]
|
| 93 |
+
- fields_requiring_caution: ['iClass']
|
| 94 |
+
- source_url: https://archive.ics.uci.edu/dataset/116/us+census+data+1990
|
| 95 |
+
|
| 96 |
+
SQLite schema snapshot:
|
| 97 |
+
{
|
| 98 |
+
"table_name": "c13",
|
| 99 |
+
"quoted_table_name": "\"c13\"",
|
| 100 |
+
"row_count": 2458285,
|
| 101 |
+
"columns": [
|
| 102 |
+
{
|
| 103 |
+
"name": "caseid",
|
| 104 |
+
"type": "TEXT",
|
| 105 |
+
"notnull": false,
|
| 106 |
+
"pk": false
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": "dAge",
|
| 110 |
+
"type": "TEXT",
|
| 111 |
+
"notnull": false,
|
| 112 |
+
"pk": false
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": "dAncstry1",
|
| 116 |
+
"type": "TEXT",
|
| 117 |
+
"notnull": false,
|
| 118 |
+
"pk": false
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": "dAncstry2",
|
| 122 |
+
"type": "TEXT",
|
| 123 |
+
"notnull": false,
|
| 124 |
+
"pk": false
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": "iAvail",
|
| 128 |
+
"type": "TEXT",
|
| 129 |
+
"notnull": false,
|
| 130 |
+
"pk": false
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": "iCitizen",
|
| 134 |
+
"type": "TEXT",
|
| 135 |
+
"notnull": false,
|
| 136 |
+
"pk": false
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": "iClass",
|
| 140 |
+
"type": "TEXT",
|
| 141 |
+
"notnull": false,
|
| 142 |
+
"pk": false
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": "dDepart",
|
| 146 |
+
"type": "TEXT",
|
| 147 |
+
"notnull": false,
|
| 148 |
+
"pk": false
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"name": "iDisabl1",
|
| 152 |
+
"type": "TEXT",
|
| 153 |
+
"notnull": false,
|
| 154 |
+
"pk": false
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": "iDisabl2",
|
| 158 |
+
"type": "TEXT",
|
| 159 |
+
"notnull": false,
|
| 160 |
+
"pk": false
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"name": "iEnglish",
|
| 164 |
+
"type": "TEXT",
|
| 165 |
+
"notnull": false,
|
| 166 |
+
"pk": false
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "iFeb55",
|
| 170 |
+
"type": "TEXT",
|
| 171 |
+
"notnull": false,
|
| 172 |
+
"pk": false
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"name": "iFertil",
|
| 176 |
+
"type": "TEXT",
|
| 177 |
+
"notnull": false,
|
| 178 |
+
"pk": false
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": "dHispanic",
|
| 182 |
+
"type": "TEXT",
|
| 183 |
+
"notnull": false,
|
| 184 |
+
"pk": false
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": "dHour89",
|
| 188 |
+
"type": "TEXT",
|
| 189 |
+
"notnull": false,
|
| 190 |
+
"pk": false
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"name": "dHours",
|
| 194 |
+
"type": "TEXT",
|
| 195 |
+
"notnull": false,
|
| 196 |
+
"pk": false
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"name": "iImmigr",
|
| 200 |
+
"type": "TEXT",
|
| 201 |
+
"notnull": false,
|
| 202 |
+
"pk": false
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"name": "dIncome1",
|
| 206 |
+
"type": "TEXT",
|
| 207 |
+
"notnull": false,
|
| 208 |
+
"pk": false
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"name": "dIncome2",
|
| 212 |
+
"type": "TEXT",
|
| 213 |
+
"notnull": false,
|
| 214 |
+
"pk": false
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"name": "dIncome3",
|
| 218 |
+
"type": "TEXT",
|
| 219 |
+
"notnull": false,
|
| 220 |
+
"pk": false
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"name": "dIncome4",
|
| 224 |
+
"type": "TEXT",
|
| 225 |
+
"notnull": false,
|
| 226 |
+
"pk": false
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"name": "dIncome5",
|
| 230 |
+
"type": "TEXT",
|
| 231 |
+
"notnull": false,
|
| 232 |
+
"pk": false
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"name": "dIncome6",
|
| 236 |
+
"type": "TEXT",
|
| 237 |
+
"notnull": false,
|
| 238 |
+
"pk": false
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"name": "dIncome7",
|
| 242 |
+
"type": "TEXT",
|
| 243 |
+
"notnull": false,
|
| 244 |
+
"pk": false
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"name": "dIncome8",
|
| 248 |
+
"type": "TEXT",
|
| 249 |
+
"notnull": false,
|
| 250 |
+
"pk": false
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"name": "dIndustry",
|
| 254 |
+
"type": "TEXT",
|
| 255 |
+
"notnull": false,
|
| 256 |
+
"pk": false
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"name": "iKorean",
|
| 260 |
+
"type": "TEXT",
|
| 261 |
+
"notnull": false,
|
| 262 |
+
"pk": false
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"name": "iLang1",
|
| 266 |
+
"type": "TEXT",
|
| 267 |
+
"notnull": false,
|
| 268 |
+
"pk": false
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"name": "iLooking",
|
| 272 |
+
"type": "TEXT",
|
| 273 |
+
"notnull": false,
|
| 274 |
+
"pk": false
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"name": "iMarital",
|
| 278 |
+
"type": "TEXT",
|
| 279 |
+
"notnull": false,
|
| 280 |
+
"pk": false
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"name": "iMay75880",
|
| 284 |
+
"type": "TEXT",
|
| 285 |
+
"notnull": false,
|
| 286 |
+
"pk": false
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"name": "iMeans",
|
| 290 |
+
"type": "TEXT",
|
| 291 |
+
"notnull": false,
|
| 292 |
+
"pk": false
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"name": "iMilitary",
|
| 296 |
+
"type": "TEXT",
|
| 297 |
+
"notnull": false,
|
| 298 |
+
"pk": false
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"name": "iMobility",
|
| 302 |
+
"type": "TEXT",
|
| 303 |
+
"notnull": false,
|
| 304 |
+
"pk": false
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"name": "iMobillim",
|
| 308 |
+
"type": "TEXT",
|
| 309 |
+
"notnull": false,
|
| 310 |
+
"pk": false
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"name": "dOccup",
|
| 314 |
+
"type": "TEXT",
|
| 315 |
+
"notnull": false,
|
| 316 |
+
"pk": false
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"name": "iOthrserv",
|
| 320 |
+
"type": "TEXT",
|
| 321 |
+
"notnull": false,
|
| 322 |
+
"pk": false
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"name": "iPerscare",
|
| 326 |
+
"type": "TEXT",
|
| 327 |
+
"notnull": false,
|
| 328 |
+
"pk": false
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"name": "dPOB",
|
| 332 |
+
"type": "TEXT",
|
| 333 |
+
"notnull": false,
|
| 334 |
+
"pk": false
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"name": "dPoverty",
|
| 338 |
+
"type": "TEXT",
|
| 339 |
+
"notnull": false,
|
| 340 |
+
"pk": false
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"name": "dPwgt1",
|
| 344 |
+
"type": "TEXT",
|
| 345 |
+
"notnull": false,
|
| 346 |
+
"pk": false
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"name": "iRagechld",
|
| 350 |
+
"type": "TEXT",
|
| 351 |
+
"notnull": false,
|
| 352 |
+
"pk": false
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"name": "dRearning",
|
| 356 |
+
"type": "TEXT",
|
| 357 |
+
"notnull": false,
|
| 358 |
+
"pk": false
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"name": "iRelat1",
|
| 362 |
+
"type": "TEXT",
|
| 363 |
+
"notnull": false,
|
| 364 |
+
"pk": false
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"name": "iRelat2",
|
| 368 |
+
"type": "TEXT",
|
| 369 |
+
"notnull": false,
|
| 370 |
+
"pk": false
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"name": "iRemplpar",
|
| 374 |
+
"type": "TEXT",
|
| 375 |
+
"notnull": false,
|
| 376 |
+
"pk": false
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"name": "iRiders",
|
| 380 |
+
"type": "TEXT",
|
| 381 |
+
"notnull": false,
|
| 382 |
+
"pk": false
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"name": "iRlabor",
|
| 386 |
+
"type": "TEXT",
|
| 387 |
+
"notnull": false,
|
| 388 |
+
"pk": false
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"name": "iRownchld",
|
| 392 |
+
"type": "TEXT",
|
| 393 |
+
"notnull": false,
|
| 394 |
+
"pk": false
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"name": "dRpincome",
|
| 398 |
+
"type": "TEXT",
|
| 399 |
+
"notnull": false,
|
| 400 |
+
"pk": false
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"name": "iRPOB",
|
| 404 |
+
"type": "TEXT",
|
| 405 |
+
"notnull": false,
|
| 406 |
+
"pk": false
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"name": "iRrelchld",
|
| 410 |
+
"type": "TEXT",
|
| 411 |
+
"notnull": false,
|
| 412 |
+
"pk": false
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"name": "iRspouse",
|
| 416 |
+
"type": "TEXT",
|
| 417 |
+
"notnull": false,
|
| 418 |
+
"pk": false
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"name": "iRvetserv",
|
| 422 |
+
"type": "TEXT",
|
| 423 |
+
"notnull": false,
|
| 424 |
+
"pk": false
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"name": "iSchool",
|
| 428 |
+
"type": "TEXT",
|
| 429 |
+
"notnull": false,
|
| 430 |
+
"pk": false
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"name": "iSept80",
|
| 434 |
+
"type": "TEXT",
|
| 435 |
+
"notnull": false,
|
| 436 |
+
"pk": false
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"name": "iSex",
|
| 440 |
+
"type": "TEXT",
|
| 441 |
+
"notnull": false,
|
| 442 |
+
"pk": false
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"name": "iSubfam1",
|
| 446 |
+
"type": "TEXT",
|
| 447 |
+
"notnull": false,
|
| 448 |
+
"pk": false
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"name": "iSubfam2",
|
| 452 |
+
"type": "TEXT",
|
| 453 |
+
"notnull": false,
|
| 454 |
+
"pk": false
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"name": "iTmpabsnt",
|
| 458 |
+
"type": "TEXT",
|
| 459 |
+
"notnull": false,
|
| 460 |
+
"pk": false
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"name": "dTravtime",
|
| 464 |
+
"type": "TEXT",
|
| 465 |
+
"notnull": false,
|
| 466 |
+
"pk": false
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"name": "iVietnam",
|
| 470 |
+
"type": "TEXT",
|
| 471 |
+
"notnull": false,
|
| 472 |
+
"pk": false
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"name": "dWeek89",
|
| 476 |
+
"type": "TEXT",
|
| 477 |
+
"notnull": false,
|
| 478 |
+
"pk": false
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"name": "iWork89",
|
| 482 |
+
"type": "TEXT",
|
| 483 |
+
"notnull": false,
|
| 484 |
+
"pk": false
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"name": "iWorklwk",
|
| 488 |
+
"type": "TEXT",
|
| 489 |
+
"notnull": false,
|
| 490 |
+
"pk": false
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"name": "iWWII",
|
| 494 |
+
"type": "TEXT",
|
| 495 |
+
"notnull": false,
|
| 496 |
+
"pk": false
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"name": "iYearsch",
|
| 500 |
+
"type": "TEXT",
|
| 501 |
+
"notnull": false,
|
| 502 |
+
"pk": false
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"name": "iYearwrk",
|
| 506 |
+
"type": "TEXT",
|
| 507 |
+
"notnull": false,
|
| 508 |
+
"pk": false
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"name": "dYrsserv",
|
| 512 |
+
"type": "TEXT",
|
| 513 |
+
"notnull": false,
|
| 514 |
+
"pk": false
|
| 515 |
+
}
|
| 516 |
+
],
|
| 517 |
+
"sample_rows": [
|
| 518 |
+
{
|
| 519 |
+
"caseid": "10000",
|
| 520 |
+
"dAge": "5",
|
| 521 |
+
"dAncstry1": "0",
|
| 522 |
+
"dAncstry2": "1",
|
| 523 |
+
"iAvail": "0",
|
| 524 |
+
"iCitizen": "0",
|
| 525 |
+
"iClass": "5",
|
| 526 |
+
"dDepart": "3",
|
| 527 |
+
"iDisabl1": "2",
|
| 528 |
+
"iDisabl2": "2",
|
| 529 |
+
"iEnglish": "1",
|
| 530 |
+
"iFeb55": "0",
|
| 531 |
+
"iFertil": "1",
|
| 532 |
+
"dHispanic": "0",
|
| 533 |
+
"dHour89": "4",
|
| 534 |
+
"dHours": "3",
|
| 535 |
+
"iImmigr": "0",
|
| 536 |
+
"dIncome1": "2",
|
| 537 |
+
"dIncome2": "0",
|
| 538 |
+
"dIncome3": "0",
|
| 539 |
+
"dIncome4": "1",
|
| 540 |
+
"dIncome5": "0",
|
| 541 |
+
"dIncome6": "0",
|
| 542 |
+
"dIncome7": "0",
|
| 543 |
+
"dIncome8": "0",
|
| 544 |
+
"dIndustry": "10",
|
| 545 |
+
"iKorean": "0",
|
| 546 |
+
"iLang1": "1",
|
| 547 |
+
"iLooking": "0",
|
| 548 |
+
"iMarital": "1",
|
| 549 |
+
"iMay75880": "0",
|
| 550 |
+
"iMeans": "1",
|
| 551 |
+
"iMilitary": "4",
|
| 552 |
+
"iMobility": "2",
|
| 553 |
+
"iMobillim": "2",
|
| 554 |
+
"dOccup": "3",
|
| 555 |
+
"iOthrserv": "0",
|
| 556 |
+
"iPerscare": "2",
|
| 557 |
+
"dPOB": "0",
|
| 558 |
+
"dPoverty": "2",
|
| 559 |
+
"dPwgt1": "1",
|
| 560 |
+
"iRagechld": "4",
|
| 561 |
+
"dRearning": "3",
|
| 562 |
+
"iRelat1": "0",
|
| 563 |
+
"iRelat2": "0",
|
| 564 |
+
"iRemplpar": "0",
|
| 565 |
+
"iRiders": "3",
|
| 566 |
+
"iRlabor": "1",
|
| 567 |
+
"iRownchld": "0",
|
| 568 |
+
"dRpincome": "3",
|
| 569 |
+
"iRPOB": "22",
|
| 570 |
+
"iRrelchld": "0",
|
| 571 |
+
"iRspouse": "3",
|
| 572 |
+
"iRvetserv": "0",
|
| 573 |
+
"iSchool": "1",
|
| 574 |
+
"iSept80": "0",
|
| 575 |
+
"iSex": "1",
|
| 576 |
+
"iSubfam1": "0",
|
| 577 |
+
"iSubfam2": "0",
|
| 578 |
+
"iTmpabsnt": "0",
|
| 579 |
+
"dTravtime": "5",
|
| 580 |
+
"iVietnam": "0",
|
| 581 |
+
"dWeek89": "2",
|
| 582 |
+
"iWork89": "1",
|
| 583 |
+
"iWorklwk": "1",
|
| 584 |
+
"iWWII": "0",
|
| 585 |
+
"iYearsch": "11",
|
| 586 |
+
"iYearwrk": "1",
|
| 587 |
+
"dYrsserv": "0"
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"caseid": "10001",
|
| 591 |
+
"dAge": "6",
|
| 592 |
+
"dAncstry1": "1",
|
| 593 |
+
"dAncstry2": "1",
|
| 594 |
+
"iAvail": "0",
|
| 595 |
+
"iCitizen": "0",
|
| 596 |
+
"iClass": "7",
|
| 597 |
+
"dDepart": "5",
|
| 598 |
+
"iDisabl1": "2",
|
| 599 |
+
"iDisabl2": "2",
|
| 600 |
+
"iEnglish": "0",
|
| 601 |
+
"iFeb55": "0",
|
| 602 |
+
"iFertil": "3",
|
| 603 |
+
"dHispanic": "0",
|
| 604 |
+
"dHour89": "1",
|
| 605 |
+
"dHours": "1",
|
| 606 |
+
"iImmigr": "0",
|
| 607 |
+
"dIncome1": "1",
|
| 608 |
+
"dIncome2": "0",
|
| 609 |
+
"dIncome3": "0",
|
| 610 |
+
"dIncome4": "0",
|
| 611 |
+
"dIncome5": "0",
|
| 612 |
+
"dIncome6": "1",
|
| 613 |
+
"dIncome7": "0",
|
| 614 |
+
"dIncome8": "0",
|
| 615 |
+
"dIndustry": "4",
|
| 616 |
+
"iKorean": "0",
|
| 617 |
+
"iLang1": "2",
|
| 618 |
+
"iLooking": "0",
|
| 619 |
+
"iMarital": "0",
|
| 620 |
+
"iMay75880": "0",
|
| 621 |
+
"iMeans": "1",
|
| 622 |
+
"iMilitary": "4",
|
| 623 |
+
"iMobility": "1",
|
| 624 |
+
"iMobillim": "2",
|
| 625 |
+
"dOccup": "2",
|
| 626 |
+
"iOthrserv": "0",
|
| 627 |
+
"iPerscare": "2",
|
| 628 |
+
"dPOB": "0",
|
| 629 |
+
"dPoverty": "2",
|
| 630 |
+
"dPwgt1": "2",
|
| 631 |
+
"iRagechld": "4",
|
| 632 |
+
"dRearning": "2",
|
| 633 |
+
"iRelat1": "1",
|
| 634 |
+
"iRelat2": "0",
|
| 635 |
+
"iRemplpar": "0",
|
| 636 |
+
"iRiders": "1",
|
| 637 |
+
"iRlabor": "1",
|
| 638 |
+
"iRownchld": "0",
|
| 639 |
+
"dRpincome": "2",
|
| 640 |
+
"iRPOB": "10",
|
| 641 |
+
"iRrelchld": "0",
|
| 642 |
+
"iRspouse": "1",
|
| 643 |
+
"iRvetserv": "0",
|
| 644 |
+
"iSchool": "1",
|
| 645 |
+
"iSept80": "0",
|
| 646 |
+
"iSex": "1",
|
| 647 |
+
"iSubfam1": "0",
|
| 648 |
+
"iSubfam2": "0",
|
| 649 |
+
"iTmpabsnt": "0",
|
| 650 |
+
"dTravtime": "1",
|
| 651 |
+
"iVietnam": "0",
|
| 652 |
+
"dWeek89": "2",
|
| 653 |
+
"iWork89": "1",
|
| 654 |
+
"iWorklwk": "1",
|
| 655 |
+
"iWWII": "0",
|
| 656 |
+
"iYearsch": "5",
|
| 657 |
+
"iYearwrk": "1",
|
| 658 |
+
"dYrsserv": "0"
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"caseid": "10002",
|
| 662 |
+
"dAge": "3",
|
| 663 |
+
"dAncstry1": "1",
|
| 664 |
+
"dAncstry2": "2",
|
| 665 |
+
"iAvail": "0",
|
| 666 |
+
"iCitizen": "0",
|
| 667 |
+
"iClass": "7",
|
| 668 |
+
"dDepart": "4",
|
| 669 |
+
"iDisabl1": "2",
|
| 670 |
+
"iDisabl2": "2",
|
| 671 |
+
"iEnglish": "0",
|
| 672 |
+
"iFeb55": "0",
|
| 673 |
+
"iFertil": "1",
|
| 674 |
+
"dHispanic": "0",
|
| 675 |
+
"dHour89": "4",
|
| 676 |
+
"dHours": "4",
|
| 677 |
+
"iImmigr": "0",
|
| 678 |
+
"dIncome1": "1",
|
| 679 |
+
"dIncome2": "0",
|
| 680 |
+
"dIncome3": "1",
|
| 681 |
+
"dIncome4": "0",
|
| 682 |
+
"dIncome5": "0",
|
| 683 |
+
"dIncome6": "0",
|
| 684 |
+
"dIncome7": "0",
|
| 685 |
+
"dIncome8": "0",
|
| 686 |
+
"dIndustry": "1",
|
| 687 |
+
"iKorean": "0",
|
| 688 |
+
"iLang1": "2",
|
| 689 |
+
"iLooking": "0",
|
| 690 |
+
"iMarital": "4",
|
| 691 |
+
"iMay75880": "0",
|
| 692 |
+
"iMeans": "10",
|
| 693 |
+
"iMilitary": "4",
|
| 694 |
+
"iMobility": "1",
|
| 695 |
+
"iMobillim": "2",
|
| 696 |
+
"dOccup": "4",
|
| 697 |
+
"iOthrserv": "0",
|
| 698 |
+
"iPerscare": "2",
|
| 699 |
+
"dPOB": "0",
|
| 700 |
+
"dPoverty": "2",
|
| 701 |
+
"dPwgt1": "1",
|
| 702 |
+
"iRagechld": "4",
|
| 703 |
+
"dRearning": "2",
|
| 704 |
+
"iRelat1": "2",
|
| 705 |
+
"iRelat2": "0",
|
| 706 |
+
"iRemplpar": "0",
|
| 707 |
+
"iRiders": "0",
|
| 708 |
+
"iRlabor": "1",
|
| 709 |
+
"iRownchld": "0",
|
| 710 |
+
"dRpincome": "2",
|
| 711 |
+
"iRPOB": "10",
|
| 712 |
+
"iRrelchld": "0",
|
| 713 |
+
"iRspouse": "6",
|
| 714 |
+
"iRvetserv": "0",
|
| 715 |
+
"iSchool": "1",
|
| 716 |
+
"iSept80": "0",
|
| 717 |
+
"iSex": "1",
|
| 718 |
+
"iSubfam1": "0",
|
| 719 |
+
"iSubfam2": "0",
|
| 720 |
+
"iTmpabsnt": "0",
|
| 721 |
+
"dTravtime": "2",
|
| 722 |
+
"iVietnam": "0",
|
| 723 |
+
"dWeek89": "2",
|
| 724 |
+
"iWork89": "1",
|
| 725 |
+
"iWorklwk": "1",
|
| 726 |
+
"iWWII": "0",
|
| 727 |
+
"iYearsch": "10",
|
| 728 |
+
"iYearwrk": "1",
|
| 729 |
+
"dYrsserv": "0"
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"caseid": "10003",
|
| 733 |
+
"dAge": "4",
|
| 734 |
+
"dAncstry1": "1",
|
| 735 |
+
"dAncstry2": "2",
|
| 736 |
+
"iAvail": "0",
|
| 737 |
+
"iCitizen": "0",
|
| 738 |
+
"iClass": "1",
|
| 739 |
+
"dDepart": "3",
|
| 740 |
+
"iDisabl1": "2",
|
| 741 |
+
"iDisabl2": "2",
|
| 742 |
+
"iEnglish": "0",
|
| 743 |
+
"iFeb55": "0",
|
| 744 |
+
"iFertil": "3",
|
| 745 |
+
"dHispanic": "0",
|
| 746 |
+
"dHour89": "3",
|
| 747 |
+
"dHours": "3",
|
| 748 |
+
"iImmigr": "0",
|
| 749 |
+
"dIncome1": "1",
|
| 750 |
+
"dIncome2": "0",
|
| 751 |
+
"dIncome3": "0",
|
| 752 |
+
"dIncome4": "0",
|
| 753 |
+
"dIncome5": "0",
|
| 754 |
+
"dIncome6": "0",
|
| 755 |
+
"dIncome7": "0",
|
| 756 |
+
"dIncome8": "1",
|
| 757 |
+
"dIndustry": "4",
|
| 758 |
+
"iKorean": "0",
|
| 759 |
+
"iLang1": "2",
|
| 760 |
+
"iLooking": "0",
|
| 761 |
+
"iMarital": "2",
|
| 762 |
+
"iMay75880": "0",
|
| 763 |
+
"iMeans": "1",
|
| 764 |
+
"iMilitary": "4",
|
| 765 |
+
"iMobility": "1",
|
| 766 |
+
"iMobillim": "2",
|
| 767 |
+
"dOccup": "2",
|
| 768 |
+
"iOthrserv": "0",
|
| 769 |
+
"iPerscare": "2",
|
| 770 |
+
"dPOB": "0",
|
| 771 |
+
"dPoverty": "2",
|
| 772 |
+
"dPwgt1": "1",
|
| 773 |
+
"iRagechld": "2",
|
| 774 |
+
"dRearning": "2",
|
| 775 |
+
"iRelat1": "0",
|
| 776 |
+
"iRelat2": "0",
|
| 777 |
+
"iRemplpar": "0",
|
| 778 |
+
"iRiders": "1",
|
| 779 |
+
"iRlabor": "1",
|
| 780 |
+
"iRownchld": "0",
|
| 781 |
+
"dRpincome": "2",
|
| 782 |
+
"iRPOB": "10",
|
| 783 |
+
"iRrelchld": "0",
|
| 784 |
+
"iRspouse": "4",
|
| 785 |
+
"iRvetserv": "0",
|
| 786 |
+
"iSchool": "1",
|
| 787 |
+
"iSept80": "0",
|
| 788 |
+
"iSex": "1",
|
| 789 |
+
"iSubfam1": "0",
|
| 790 |
+
"iSubfam2": "0",
|
| 791 |
+
"iTmpabsnt": "0",
|
| 792 |
+
"dTravtime": "1",
|
| 793 |
+
"iVietnam": "0",
|
| 794 |
+
"dWeek89": "1",
|
| 795 |
+
"iWork89": "1",
|
| 796 |
+
"iWorklwk": "1",
|
| 797 |
+
"iWWII": "0",
|
| 798 |
+
"iYearsch": "10",
|
| 799 |
+
"iYearwrk": "1",
|
| 800 |
+
"dYrsserv": "0"
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"caseid": "10004",
|
| 804 |
+
"dAge": "7",
|
| 805 |
+
"dAncstry1": "1",
|
| 806 |
+
"dAncstry2": "1",
|
| 807 |
+
"iAvail": "0",
|
| 808 |
+
"iCitizen": "0",
|
| 809 |
+
"iClass": "0",
|
| 810 |
+
"dDepart": "0",
|
| 811 |
+
"iDisabl1": "2",
|
| 812 |
+
"iDisabl2": "2",
|
| 813 |
+
"iEnglish": "0",
|
| 814 |
+
"iFeb55": "0",
|
| 815 |
+
"iFertil": "3",
|
| 816 |
+
"dHispanic": "0",
|
| 817 |
+
"dHour89": "0",
|
| 818 |
+
"dHours": "0",
|
| 819 |
+
"iImmigr": "0",
|
| 820 |
+
"dIncome1": "0",
|
| 821 |
+
"dIncome2": "0",
|
| 822 |
+
"dIncome3": "0",
|
| 823 |
+
"dIncome4": "0",
|
| 824 |
+
"dIncome5": "1",
|
| 825 |
+
"dIncome6": "0",
|
| 826 |
+
"dIncome7": "0",
|
| 827 |
+
"dIncome8": "0",
|
| 828 |
+
"dIndustry": "0",
|
| 829 |
+
"iKorean": "0",
|
| 830 |
+
"iLang1": "2",
|
| 831 |
+
"iLooking": "2",
|
| 832 |
+
"iMarital": "0",
|
| 833 |
+
"iMay75880": "0",
|
| 834 |
+
"iMeans": "0",
|
| 835 |
+
"iMilitary": "4",
|
| 836 |
+
"iMobility": "1",
|
| 837 |
+
"iMobillim": "2",
|
| 838 |
+
"dOccup": "0",
|
| 839 |
+
"iOthrserv": "0",
|
| 840 |
+
"iPerscare": "2",
|
| 841 |
+
"dPOB": "0",
|
| 842 |
+
"dPoverty": "2",
|
| 843 |
+
"dPwgt1": "1",
|
| 844 |
+
"iRagechld": "4",
|
| 845 |
+
"dRearning": "0",
|
| 846 |
+
"iRelat1": "1",
|
| 847 |
+
"iRelat2": "0",
|
| 848 |
+
"iRemplpar": "0",
|
| 849 |
+
"iRiders": "0",
|
| 850 |
+
"iRlabor": "6",
|
| 851 |
+
"iRownchld": "0",
|
| 852 |
+
"dRpincome": "2",
|
| 853 |
+
"iRPOB": "22",
|
| 854 |
+
"iRrelchld": "0",
|
| 855 |
+
"iRspouse": "1",
|
| 856 |
+
"iRvetserv": "0",
|
| 857 |
+
"iSchool": "1",
|
| 858 |
+
"iSept80": "0",
|
| 859 |
+
"iSex": "1",
|
| 860 |
+
"iSubfam1": "0",
|
| 861 |
+
"iSubfam2": "0",
|
| 862 |
+
"iTmpabsnt": "3",
|
| 863 |
+
"dTravtime": "0",
|
| 864 |
+
"iVietnam": "0",
|
| 865 |
+
"dWeek89": "0",
|
| 866 |
+
"iWork89": "2",
|
| 867 |
+
"iWorklwk": "2",
|
| 868 |
+
"iWWII": "0",
|
| 869 |
+
"iYearsch": "5",
|
| 870 |
+
"iYearwrk": "6",
|
| 871 |
+
"dYrsserv": "0"
|
| 872 |
+
}
|
| 873 |
+
]
|
| 874 |
+
}
|
| 875 |
+
|
| 876 |
+
Shortlisted templates:
|
| 877 |
+
[
|
| 878 |
+
{
|
| 879 |
+
"template_id": "tpl_grouped_percentile_point",
|
| 880 |
+
"template_name": "Grouped Percentile Point",
|
| 881 |
+
"primary_family": "tail_rarity_structure",
|
| 882 |
+
"portability": "yes",
|
| 883 |
+
"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;",
|
| 884 |
+
"required_roles": [
|
| 885 |
+
"group_col",
|
| 886 |
+
"measure_col"
|
| 887 |
+
]
|
| 888 |
+
}
|
| 889 |
+
]
|
| 890 |
+
|
| 891 |
+
Problem instance:
|
| 892 |
+
{
|
| 893 |
+
"dataset_id": "c13",
|
| 894 |
+
"question": "Use template Grouped Percentile Point to probe tail_concentration_consistency with semantic role ranked_signal_view. Focus on group_col=dIncome5, measure_col=iSchool.",
|
| 895 |
+
"planned_template_id": "tpl_grouped_percentile_point",
|
| 896 |
+
"bindings": {
|
| 897 |
+
"group_col": "dIncome5",
|
| 898 |
+
"measure_col": "iSchool",
|
| 899 |
+
"top_k": 18,
|
| 900 |
+
"top_n": 4,
|
| 901 |
+
"num_tiles": 10,
|
| 902 |
+
"percentile_value": 0.9,
|
| 903 |
+
"z_threshold": 2.0,
|
| 904 |
+
"fraction_threshold": 0.05,
|
| 905 |
+
"baseline_multiplier": 1.75,
|
| 906 |
+
"baseline_fraction": 0.1,
|
| 907 |
+
"min_group_size": 5,
|
| 908 |
+
"min_support": 4,
|
| 909 |
+
"measure_threshold": 1.98,
|
| 910 |
+
"time_grain": "month",
|
| 911 |
+
"lookback_rows": 3,
|
| 912 |
+
"current_period_start": "'2024-01-01'",
|
| 913 |
+
"current_period_end": "'2024-04-01'",
|
| 914 |
+
"previous_period_start": "'2023-10-01'",
|
| 915 |
+
"previous_period_end": "'2024-01-01'",
|
| 916 |
+
"drift_ratio_threshold": 0.8
|
| 917 |
+
},
|
| 918 |
+
"can_vary": [],
|
| 919 |
+
"must_fix": [],
|
| 920 |
+
"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;"
|
| 921 |
+
}
|
| 922 |
+
|
| 923 |
+
Repair context:
|
| 924 |
+
{}
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_response_attempt_1.raw.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4108-33e4-7a81-8288-6961f398cf32"}
|
| 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_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_response_attempt_1.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4108-33e4-7a81-8288-6961f398cf32"}
|
| 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_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_response_attempt_2.raw.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4108-42ac-73b3-aa6f-733bae5328e3"}
|
| 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_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_response_attempt_2.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4108-42ac-73b3-aa6f-733bae5328e3"}
|
| 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_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_stderr_attempt_1.txt
ADDED
|
File without changes
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_091497dcb3d0434a/cli/sql_stderr_attempt_2.txt
ADDED
|
File without changes
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/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:12:54.472566+00:00",
|
| 6 |
+
"ended_at": "2026-05-19T16:12:57.394797+00:00",
|
| 7 |
+
"elapsed_ms": 2922.2,
|
| 8 |
+
"returncode": 1,
|
| 9 |
+
"prompt_metrics": {
|
| 10 |
+
"chars": 27929,
|
| 11 |
+
"bytes_utf8": 27929,
|
| 12 |
+
"lines": 928,
|
| 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_e/c13/artifacts/v2q_c13_096effcef7b87b25/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:12:58.396921+00:00",
|
| 6 |
+
"ended_at": "2026-05-19T16:13:01.494694+00:00",
|
| 7 |
+
"elapsed_ms": 3097.74,
|
| 8 |
+
"returncode": 1,
|
| 9 |
+
"prompt_metrics": {
|
| 10 |
+
"chars": 27929,
|
| 11 |
+
"bytes_utf8": 27929,
|
| 12 |
+
"lines": 928,
|
| 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 |
+
"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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: c13
|
| 15 |
+
- dataset_name: Us Census Data 1990
|
| 16 |
+
- table_name: c13
|
| 17 |
+
- table_layout: single-table dataset (do not assume joins).
|
| 18 |
+
- row_semantics: One row is one tabular observation with 68 feature columns and target `iClass`.
|
| 19 |
+
- task_type: classification
|
| 20 |
+
- target_column: iClass
|
| 21 |
+
- main_row_count: 2458285
|
| 22 |
+
- important_fields:
|
| 23 |
+
- caseid: role=feature, type=identifier_numeric. tags=['identifier', 'probe_exclude', 'high_cardinality_candidate'] desc=Identifier-like field for caseid.
|
| 24 |
+
- dAge: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAge.
|
| 25 |
+
- dAncstry1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry1.
|
| 26 |
+
- dAncstry2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry2.
|
| 27 |
+
- iAvail: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iAvail.
|
| 28 |
+
- iCitizen: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iCitizen.
|
| 29 |
+
- iClass: role=target, type=categorical_ordinal_target. ordered=['0', '1', '4', '6', '8'] tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for iClass.
|
| 30 |
+
- dDepart: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dDepart.
|
| 31 |
+
- iDisabl1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl1.
|
| 32 |
+
- iDisabl2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl2.
|
| 33 |
+
- iEnglish: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iEnglish.
|
| 34 |
+
- iFeb55: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iFeb55.
|
| 35 |
+
- iFertil: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iFertil.
|
| 36 |
+
- dHispanic: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHispanic.
|
| 37 |
+
- dHour89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHour89.
|
| 38 |
+
- dHours: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHours.
|
| 39 |
+
- iImmigr: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iImmigr.
|
| 40 |
+
- dIncome1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIncome1.
|
| 41 |
+
- dIncome2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome2.
|
| 42 |
+
- dIncome3: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome3.
|
| 43 |
+
- dIncome4: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome4.
|
| 44 |
+
- dIncome5: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome5.
|
| 45 |
+
- dIncome6: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome6.
|
| 46 |
+
- dIncome7: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome7.
|
| 47 |
+
- dIncome8: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome8.
|
| 48 |
+
- dIndustry: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIndustry.
|
| 49 |
+
- iKorean: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iKorean.
|
| 50 |
+
- iLang1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLang1.
|
| 51 |
+
- iLooking: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLooking.
|
| 52 |
+
- iMarital: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMarital.
|
| 53 |
+
- iMay75880: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iMay75880.
|
| 54 |
+
- iMeans: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMeans.
|
| 55 |
+
- iMilitary: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMilitary.
|
| 56 |
+
- iMobility: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobility.
|
| 57 |
+
- iMobillim: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobillim.
|
| 58 |
+
- dOccup: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dOccup.
|
| 59 |
+
- iOthrserv: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iOthrserv.
|
| 60 |
+
- iPerscare: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iPerscare.
|
| 61 |
+
- dPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPOB.
|
| 62 |
+
- dPoverty: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPoverty.
|
| 63 |
+
- dPwgt1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPwgt1.
|
| 64 |
+
- iRagechld: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRagechld.
|
| 65 |
+
- dRearning: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRearning.
|
| 66 |
+
- iRelat1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRelat1.
|
| 67 |
+
- iRelat2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRelat2.
|
| 68 |
+
- iRemplpar: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRemplpar.
|
| 69 |
+
- iRiders: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRiders.
|
| 70 |
+
- iRlabor: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRlabor.
|
| 71 |
+
- iRownchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRownchld.
|
| 72 |
+
- dRpincome: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRpincome.
|
| 73 |
+
- iRPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRPOB.
|
| 74 |
+
- iRrelchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRrelchld.
|
| 75 |
+
- iRspouse: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRspouse.
|
| 76 |
+
- iRvetserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRvetserv.
|
| 77 |
+
- iSchool: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSchool.
|
| 78 |
+
- iSept80: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSept80.
|
| 79 |
+
- iSex: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSex.
|
| 80 |
+
- iSubfam1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSubfam1.
|
| 81 |
+
- iSubfam2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSubfam2.
|
| 82 |
+
- iTmpabsnt: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iTmpabsnt.
|
| 83 |
+
- dTravtime: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dTravtime.
|
| 84 |
+
- iVietnam: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iVietnam.
|
| 85 |
+
- dWeek89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dWeek89.
|
| 86 |
+
- iWork89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWork89.
|
| 87 |
+
- iWorklwk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWorklwk.
|
| 88 |
+
- iWWII: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iWWII.
|
| 89 |
+
- iYearsch: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearsch.
|
| 90 |
+
- iYearwrk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearwrk.
|
| 91 |
+
- dYrsserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dYrsserv.
|
| 92 |
+
- useful_field_combinations: [['dAge', 'dAncstry1', 'iClass'], ['dAge', 'dAge', 'iClass']]
|
| 93 |
+
- fields_requiring_caution: ['iClass']
|
| 94 |
+
- source_url: https://archive.ics.uci.edu/dataset/116/us+census+data+1990
|
| 95 |
+
|
| 96 |
+
SQLite schema snapshot:
|
| 97 |
+
{
|
| 98 |
+
"table_name": "c13",
|
| 99 |
+
"quoted_table_name": "\"c13\"",
|
| 100 |
+
"row_count": 2458285,
|
| 101 |
+
"columns": [
|
| 102 |
+
{
|
| 103 |
+
"name": "caseid",
|
| 104 |
+
"type": "TEXT",
|
| 105 |
+
"notnull": false,
|
| 106 |
+
"pk": false
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": "dAge",
|
| 110 |
+
"type": "TEXT",
|
| 111 |
+
"notnull": false,
|
| 112 |
+
"pk": false
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": "dAncstry1",
|
| 116 |
+
"type": "TEXT",
|
| 117 |
+
"notnull": false,
|
| 118 |
+
"pk": false
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": "dAncstry2",
|
| 122 |
+
"type": "TEXT",
|
| 123 |
+
"notnull": false,
|
| 124 |
+
"pk": false
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": "iAvail",
|
| 128 |
+
"type": "TEXT",
|
| 129 |
+
"notnull": false,
|
| 130 |
+
"pk": false
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": "iCitizen",
|
| 134 |
+
"type": "TEXT",
|
| 135 |
+
"notnull": false,
|
| 136 |
+
"pk": false
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": "iClass",
|
| 140 |
+
"type": "TEXT",
|
| 141 |
+
"notnull": false,
|
| 142 |
+
"pk": false
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": "dDepart",
|
| 146 |
+
"type": "TEXT",
|
| 147 |
+
"notnull": false,
|
| 148 |
+
"pk": false
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"name": "iDisabl1",
|
| 152 |
+
"type": "TEXT",
|
| 153 |
+
"notnull": false,
|
| 154 |
+
"pk": false
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": "iDisabl2",
|
| 158 |
+
"type": "TEXT",
|
| 159 |
+
"notnull": false,
|
| 160 |
+
"pk": false
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"name": "iEnglish",
|
| 164 |
+
"type": "TEXT",
|
| 165 |
+
"notnull": false,
|
| 166 |
+
"pk": false
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "iFeb55",
|
| 170 |
+
"type": "TEXT",
|
| 171 |
+
"notnull": false,
|
| 172 |
+
"pk": false
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"name": "iFertil",
|
| 176 |
+
"type": "TEXT",
|
| 177 |
+
"notnull": false,
|
| 178 |
+
"pk": false
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": "dHispanic",
|
| 182 |
+
"type": "TEXT",
|
| 183 |
+
"notnull": false,
|
| 184 |
+
"pk": false
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": "dHour89",
|
| 188 |
+
"type": "TEXT",
|
| 189 |
+
"notnull": false,
|
| 190 |
+
"pk": false
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"name": "dHours",
|
| 194 |
+
"type": "TEXT",
|
| 195 |
+
"notnull": false,
|
| 196 |
+
"pk": false
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"name": "iImmigr",
|
| 200 |
+
"type": "TEXT",
|
| 201 |
+
"notnull": false,
|
| 202 |
+
"pk": false
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"name": "dIncome1",
|
| 206 |
+
"type": "TEXT",
|
| 207 |
+
"notnull": false,
|
| 208 |
+
"pk": false
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"name": "dIncome2",
|
| 212 |
+
"type": "TEXT",
|
| 213 |
+
"notnull": false,
|
| 214 |
+
"pk": false
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"name": "dIncome3",
|
| 218 |
+
"type": "TEXT",
|
| 219 |
+
"notnull": false,
|
| 220 |
+
"pk": false
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"name": "dIncome4",
|
| 224 |
+
"type": "TEXT",
|
| 225 |
+
"notnull": false,
|
| 226 |
+
"pk": false
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"name": "dIncome5",
|
| 230 |
+
"type": "TEXT",
|
| 231 |
+
"notnull": false,
|
| 232 |
+
"pk": false
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"name": "dIncome6",
|
| 236 |
+
"type": "TEXT",
|
| 237 |
+
"notnull": false,
|
| 238 |
+
"pk": false
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"name": "dIncome7",
|
| 242 |
+
"type": "TEXT",
|
| 243 |
+
"notnull": false,
|
| 244 |
+
"pk": false
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"name": "dIncome8",
|
| 248 |
+
"type": "TEXT",
|
| 249 |
+
"notnull": false,
|
| 250 |
+
"pk": false
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"name": "dIndustry",
|
| 254 |
+
"type": "TEXT",
|
| 255 |
+
"notnull": false,
|
| 256 |
+
"pk": false
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"name": "iKorean",
|
| 260 |
+
"type": "TEXT",
|
| 261 |
+
"notnull": false,
|
| 262 |
+
"pk": false
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"name": "iLang1",
|
| 266 |
+
"type": "TEXT",
|
| 267 |
+
"notnull": false,
|
| 268 |
+
"pk": false
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"name": "iLooking",
|
| 272 |
+
"type": "TEXT",
|
| 273 |
+
"notnull": false,
|
| 274 |
+
"pk": false
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"name": "iMarital",
|
| 278 |
+
"type": "TEXT",
|
| 279 |
+
"notnull": false,
|
| 280 |
+
"pk": false
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"name": "iMay75880",
|
| 284 |
+
"type": "TEXT",
|
| 285 |
+
"notnull": false,
|
| 286 |
+
"pk": false
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"name": "iMeans",
|
| 290 |
+
"type": "TEXT",
|
| 291 |
+
"notnull": false,
|
| 292 |
+
"pk": false
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"name": "iMilitary",
|
| 296 |
+
"type": "TEXT",
|
| 297 |
+
"notnull": false,
|
| 298 |
+
"pk": false
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"name": "iMobility",
|
| 302 |
+
"type": "TEXT",
|
| 303 |
+
"notnull": false,
|
| 304 |
+
"pk": false
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"name": "iMobillim",
|
| 308 |
+
"type": "TEXT",
|
| 309 |
+
"notnull": false,
|
| 310 |
+
"pk": false
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"name": "dOccup",
|
| 314 |
+
"type": "TEXT",
|
| 315 |
+
"notnull": false,
|
| 316 |
+
"pk": false
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"name": "iOthrserv",
|
| 320 |
+
"type": "TEXT",
|
| 321 |
+
"notnull": false,
|
| 322 |
+
"pk": false
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"name": "iPerscare",
|
| 326 |
+
"type": "TEXT",
|
| 327 |
+
"notnull": false,
|
| 328 |
+
"pk": false
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"name": "dPOB",
|
| 332 |
+
"type": "TEXT",
|
| 333 |
+
"notnull": false,
|
| 334 |
+
"pk": false
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"name": "dPoverty",
|
| 338 |
+
"type": "TEXT",
|
| 339 |
+
"notnull": false,
|
| 340 |
+
"pk": false
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"name": "dPwgt1",
|
| 344 |
+
"type": "TEXT",
|
| 345 |
+
"notnull": false,
|
| 346 |
+
"pk": false
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"name": "iRagechld",
|
| 350 |
+
"type": "TEXT",
|
| 351 |
+
"notnull": false,
|
| 352 |
+
"pk": false
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"name": "dRearning",
|
| 356 |
+
"type": "TEXT",
|
| 357 |
+
"notnull": false,
|
| 358 |
+
"pk": false
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"name": "iRelat1",
|
| 362 |
+
"type": "TEXT",
|
| 363 |
+
"notnull": false,
|
| 364 |
+
"pk": false
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"name": "iRelat2",
|
| 368 |
+
"type": "TEXT",
|
| 369 |
+
"notnull": false,
|
| 370 |
+
"pk": false
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"name": "iRemplpar",
|
| 374 |
+
"type": "TEXT",
|
| 375 |
+
"notnull": false,
|
| 376 |
+
"pk": false
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"name": "iRiders",
|
| 380 |
+
"type": "TEXT",
|
| 381 |
+
"notnull": false,
|
| 382 |
+
"pk": false
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"name": "iRlabor",
|
| 386 |
+
"type": "TEXT",
|
| 387 |
+
"notnull": false,
|
| 388 |
+
"pk": false
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"name": "iRownchld",
|
| 392 |
+
"type": "TEXT",
|
| 393 |
+
"notnull": false,
|
| 394 |
+
"pk": false
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"name": "dRpincome",
|
| 398 |
+
"type": "TEXT",
|
| 399 |
+
"notnull": false,
|
| 400 |
+
"pk": false
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"name": "iRPOB",
|
| 404 |
+
"type": "TEXT",
|
| 405 |
+
"notnull": false,
|
| 406 |
+
"pk": false
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"name": "iRrelchld",
|
| 410 |
+
"type": "TEXT",
|
| 411 |
+
"notnull": false,
|
| 412 |
+
"pk": false
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"name": "iRspouse",
|
| 416 |
+
"type": "TEXT",
|
| 417 |
+
"notnull": false,
|
| 418 |
+
"pk": false
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"name": "iRvetserv",
|
| 422 |
+
"type": "TEXT",
|
| 423 |
+
"notnull": false,
|
| 424 |
+
"pk": false
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"name": "iSchool",
|
| 428 |
+
"type": "TEXT",
|
| 429 |
+
"notnull": false,
|
| 430 |
+
"pk": false
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"name": "iSept80",
|
| 434 |
+
"type": "TEXT",
|
| 435 |
+
"notnull": false,
|
| 436 |
+
"pk": false
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"name": "iSex",
|
| 440 |
+
"type": "TEXT",
|
| 441 |
+
"notnull": false,
|
| 442 |
+
"pk": false
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"name": "iSubfam1",
|
| 446 |
+
"type": "TEXT",
|
| 447 |
+
"notnull": false,
|
| 448 |
+
"pk": false
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"name": "iSubfam2",
|
| 452 |
+
"type": "TEXT",
|
| 453 |
+
"notnull": false,
|
| 454 |
+
"pk": false
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"name": "iTmpabsnt",
|
| 458 |
+
"type": "TEXT",
|
| 459 |
+
"notnull": false,
|
| 460 |
+
"pk": false
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"name": "dTravtime",
|
| 464 |
+
"type": "TEXT",
|
| 465 |
+
"notnull": false,
|
| 466 |
+
"pk": false
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"name": "iVietnam",
|
| 470 |
+
"type": "TEXT",
|
| 471 |
+
"notnull": false,
|
| 472 |
+
"pk": false
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"name": "dWeek89",
|
| 476 |
+
"type": "TEXT",
|
| 477 |
+
"notnull": false,
|
| 478 |
+
"pk": false
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"name": "iWork89",
|
| 482 |
+
"type": "TEXT",
|
| 483 |
+
"notnull": false,
|
| 484 |
+
"pk": false
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"name": "iWorklwk",
|
| 488 |
+
"type": "TEXT",
|
| 489 |
+
"notnull": false,
|
| 490 |
+
"pk": false
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"name": "iWWII",
|
| 494 |
+
"type": "TEXT",
|
| 495 |
+
"notnull": false,
|
| 496 |
+
"pk": false
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"name": "iYearsch",
|
| 500 |
+
"type": "TEXT",
|
| 501 |
+
"notnull": false,
|
| 502 |
+
"pk": false
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"name": "iYearwrk",
|
| 506 |
+
"type": "TEXT",
|
| 507 |
+
"notnull": false,
|
| 508 |
+
"pk": false
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"name": "dYrsserv",
|
| 512 |
+
"type": "TEXT",
|
| 513 |
+
"notnull": false,
|
| 514 |
+
"pk": false
|
| 515 |
+
}
|
| 516 |
+
],
|
| 517 |
+
"sample_rows": [
|
| 518 |
+
{
|
| 519 |
+
"caseid": "10000",
|
| 520 |
+
"dAge": "5",
|
| 521 |
+
"dAncstry1": "0",
|
| 522 |
+
"dAncstry2": "1",
|
| 523 |
+
"iAvail": "0",
|
| 524 |
+
"iCitizen": "0",
|
| 525 |
+
"iClass": "5",
|
| 526 |
+
"dDepart": "3",
|
| 527 |
+
"iDisabl1": "2",
|
| 528 |
+
"iDisabl2": "2",
|
| 529 |
+
"iEnglish": "1",
|
| 530 |
+
"iFeb55": "0",
|
| 531 |
+
"iFertil": "1",
|
| 532 |
+
"dHispanic": "0",
|
| 533 |
+
"dHour89": "4",
|
| 534 |
+
"dHours": "3",
|
| 535 |
+
"iImmigr": "0",
|
| 536 |
+
"dIncome1": "2",
|
| 537 |
+
"dIncome2": "0",
|
| 538 |
+
"dIncome3": "0",
|
| 539 |
+
"dIncome4": "1",
|
| 540 |
+
"dIncome5": "0",
|
| 541 |
+
"dIncome6": "0",
|
| 542 |
+
"dIncome7": "0",
|
| 543 |
+
"dIncome8": "0",
|
| 544 |
+
"dIndustry": "10",
|
| 545 |
+
"iKorean": "0",
|
| 546 |
+
"iLang1": "1",
|
| 547 |
+
"iLooking": "0",
|
| 548 |
+
"iMarital": "1",
|
| 549 |
+
"iMay75880": "0",
|
| 550 |
+
"iMeans": "1",
|
| 551 |
+
"iMilitary": "4",
|
| 552 |
+
"iMobility": "2",
|
| 553 |
+
"iMobillim": "2",
|
| 554 |
+
"dOccup": "3",
|
| 555 |
+
"iOthrserv": "0",
|
| 556 |
+
"iPerscare": "2",
|
| 557 |
+
"dPOB": "0",
|
| 558 |
+
"dPoverty": "2",
|
| 559 |
+
"dPwgt1": "1",
|
| 560 |
+
"iRagechld": "4",
|
| 561 |
+
"dRearning": "3",
|
| 562 |
+
"iRelat1": "0",
|
| 563 |
+
"iRelat2": "0",
|
| 564 |
+
"iRemplpar": "0",
|
| 565 |
+
"iRiders": "3",
|
| 566 |
+
"iRlabor": "1",
|
| 567 |
+
"iRownchld": "0",
|
| 568 |
+
"dRpincome": "3",
|
| 569 |
+
"iRPOB": "22",
|
| 570 |
+
"iRrelchld": "0",
|
| 571 |
+
"iRspouse": "3",
|
| 572 |
+
"iRvetserv": "0",
|
| 573 |
+
"iSchool": "1",
|
| 574 |
+
"iSept80": "0",
|
| 575 |
+
"iSex": "1",
|
| 576 |
+
"iSubfam1": "0",
|
| 577 |
+
"iSubfam2": "0",
|
| 578 |
+
"iTmpabsnt": "0",
|
| 579 |
+
"dTravtime": "5",
|
| 580 |
+
"iVietnam": "0",
|
| 581 |
+
"dWeek89": "2",
|
| 582 |
+
"iWork89": "1",
|
| 583 |
+
"iWorklwk": "1",
|
| 584 |
+
"iWWII": "0",
|
| 585 |
+
"iYearsch": "11",
|
| 586 |
+
"iYearwrk": "1",
|
| 587 |
+
"dYrsserv": "0"
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"caseid": "10001",
|
| 591 |
+
"dAge": "6",
|
| 592 |
+
"dAncstry1": "1",
|
| 593 |
+
"dAncstry2": "1",
|
| 594 |
+
"iAvail": "0",
|
| 595 |
+
"iCitizen": "0",
|
| 596 |
+
"iClass": "7",
|
| 597 |
+
"dDepart": "5",
|
| 598 |
+
"iDisabl1": "2",
|
| 599 |
+
"iDisabl2": "2",
|
| 600 |
+
"iEnglish": "0",
|
| 601 |
+
"iFeb55": "0",
|
| 602 |
+
"iFertil": "3",
|
| 603 |
+
"dHispanic": "0",
|
| 604 |
+
"dHour89": "1",
|
| 605 |
+
"dHours": "1",
|
| 606 |
+
"iImmigr": "0",
|
| 607 |
+
"dIncome1": "1",
|
| 608 |
+
"dIncome2": "0",
|
| 609 |
+
"dIncome3": "0",
|
| 610 |
+
"dIncome4": "0",
|
| 611 |
+
"dIncome5": "0",
|
| 612 |
+
"dIncome6": "1",
|
| 613 |
+
"dIncome7": "0",
|
| 614 |
+
"dIncome8": "0",
|
| 615 |
+
"dIndustry": "4",
|
| 616 |
+
"iKorean": "0",
|
| 617 |
+
"iLang1": "2",
|
| 618 |
+
"iLooking": "0",
|
| 619 |
+
"iMarital": "0",
|
| 620 |
+
"iMay75880": "0",
|
| 621 |
+
"iMeans": "1",
|
| 622 |
+
"iMilitary": "4",
|
| 623 |
+
"iMobility": "1",
|
| 624 |
+
"iMobillim": "2",
|
| 625 |
+
"dOccup": "2",
|
| 626 |
+
"iOthrserv": "0",
|
| 627 |
+
"iPerscare": "2",
|
| 628 |
+
"dPOB": "0",
|
| 629 |
+
"dPoverty": "2",
|
| 630 |
+
"dPwgt1": "2",
|
| 631 |
+
"iRagechld": "4",
|
| 632 |
+
"dRearning": "2",
|
| 633 |
+
"iRelat1": "1",
|
| 634 |
+
"iRelat2": "0",
|
| 635 |
+
"iRemplpar": "0",
|
| 636 |
+
"iRiders": "1",
|
| 637 |
+
"iRlabor": "1",
|
| 638 |
+
"iRownchld": "0",
|
| 639 |
+
"dRpincome": "2",
|
| 640 |
+
"iRPOB": "10",
|
| 641 |
+
"iRrelchld": "0",
|
| 642 |
+
"iRspouse": "1",
|
| 643 |
+
"iRvetserv": "0",
|
| 644 |
+
"iSchool": "1",
|
| 645 |
+
"iSept80": "0",
|
| 646 |
+
"iSex": "1",
|
| 647 |
+
"iSubfam1": "0",
|
| 648 |
+
"iSubfam2": "0",
|
| 649 |
+
"iTmpabsnt": "0",
|
| 650 |
+
"dTravtime": "1",
|
| 651 |
+
"iVietnam": "0",
|
| 652 |
+
"dWeek89": "2",
|
| 653 |
+
"iWork89": "1",
|
| 654 |
+
"iWorklwk": "1",
|
| 655 |
+
"iWWII": "0",
|
| 656 |
+
"iYearsch": "5",
|
| 657 |
+
"iYearwrk": "1",
|
| 658 |
+
"dYrsserv": "0"
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"caseid": "10002",
|
| 662 |
+
"dAge": "3",
|
| 663 |
+
"dAncstry1": "1",
|
| 664 |
+
"dAncstry2": "2",
|
| 665 |
+
"iAvail": "0",
|
| 666 |
+
"iCitizen": "0",
|
| 667 |
+
"iClass": "7",
|
| 668 |
+
"dDepart": "4",
|
| 669 |
+
"iDisabl1": "2",
|
| 670 |
+
"iDisabl2": "2",
|
| 671 |
+
"iEnglish": "0",
|
| 672 |
+
"iFeb55": "0",
|
| 673 |
+
"iFertil": "1",
|
| 674 |
+
"dHispanic": "0",
|
| 675 |
+
"dHour89": "4",
|
| 676 |
+
"dHours": "4",
|
| 677 |
+
"iImmigr": "0",
|
| 678 |
+
"dIncome1": "1",
|
| 679 |
+
"dIncome2": "0",
|
| 680 |
+
"dIncome3": "1",
|
| 681 |
+
"dIncome4": "0",
|
| 682 |
+
"dIncome5": "0",
|
| 683 |
+
"dIncome6": "0",
|
| 684 |
+
"dIncome7": "0",
|
| 685 |
+
"dIncome8": "0",
|
| 686 |
+
"dIndustry": "1",
|
| 687 |
+
"iKorean": "0",
|
| 688 |
+
"iLang1": "2",
|
| 689 |
+
"iLooking": "0",
|
| 690 |
+
"iMarital": "4",
|
| 691 |
+
"iMay75880": "0",
|
| 692 |
+
"iMeans": "10",
|
| 693 |
+
"iMilitary": "4",
|
| 694 |
+
"iMobility": "1",
|
| 695 |
+
"iMobillim": "2",
|
| 696 |
+
"dOccup": "4",
|
| 697 |
+
"iOthrserv": "0",
|
| 698 |
+
"iPerscare": "2",
|
| 699 |
+
"dPOB": "0",
|
| 700 |
+
"dPoverty": "2",
|
| 701 |
+
"dPwgt1": "1",
|
| 702 |
+
"iRagechld": "4",
|
| 703 |
+
"dRearning": "2",
|
| 704 |
+
"iRelat1": "2",
|
| 705 |
+
"iRelat2": "0",
|
| 706 |
+
"iRemplpar": "0",
|
| 707 |
+
"iRiders": "0",
|
| 708 |
+
"iRlabor": "1",
|
| 709 |
+
"iRownchld": "0",
|
| 710 |
+
"dRpincome": "2",
|
| 711 |
+
"iRPOB": "10",
|
| 712 |
+
"iRrelchld": "0",
|
| 713 |
+
"iRspouse": "6",
|
| 714 |
+
"iRvetserv": "0",
|
| 715 |
+
"iSchool": "1",
|
| 716 |
+
"iSept80": "0",
|
| 717 |
+
"iSex": "1",
|
| 718 |
+
"iSubfam1": "0",
|
| 719 |
+
"iSubfam2": "0",
|
| 720 |
+
"iTmpabsnt": "0",
|
| 721 |
+
"dTravtime": "2",
|
| 722 |
+
"iVietnam": "0",
|
| 723 |
+
"dWeek89": "2",
|
| 724 |
+
"iWork89": "1",
|
| 725 |
+
"iWorklwk": "1",
|
| 726 |
+
"iWWII": "0",
|
| 727 |
+
"iYearsch": "10",
|
| 728 |
+
"iYearwrk": "1",
|
| 729 |
+
"dYrsserv": "0"
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"caseid": "10003",
|
| 733 |
+
"dAge": "4",
|
| 734 |
+
"dAncstry1": "1",
|
| 735 |
+
"dAncstry2": "2",
|
| 736 |
+
"iAvail": "0",
|
| 737 |
+
"iCitizen": "0",
|
| 738 |
+
"iClass": "1",
|
| 739 |
+
"dDepart": "3",
|
| 740 |
+
"iDisabl1": "2",
|
| 741 |
+
"iDisabl2": "2",
|
| 742 |
+
"iEnglish": "0",
|
| 743 |
+
"iFeb55": "0",
|
| 744 |
+
"iFertil": "3",
|
| 745 |
+
"dHispanic": "0",
|
| 746 |
+
"dHour89": "3",
|
| 747 |
+
"dHours": "3",
|
| 748 |
+
"iImmigr": "0",
|
| 749 |
+
"dIncome1": "1",
|
| 750 |
+
"dIncome2": "0",
|
| 751 |
+
"dIncome3": "0",
|
| 752 |
+
"dIncome4": "0",
|
| 753 |
+
"dIncome5": "0",
|
| 754 |
+
"dIncome6": "0",
|
| 755 |
+
"dIncome7": "0",
|
| 756 |
+
"dIncome8": "1",
|
| 757 |
+
"dIndustry": "4",
|
| 758 |
+
"iKorean": "0",
|
| 759 |
+
"iLang1": "2",
|
| 760 |
+
"iLooking": "0",
|
| 761 |
+
"iMarital": "2",
|
| 762 |
+
"iMay75880": "0",
|
| 763 |
+
"iMeans": "1",
|
| 764 |
+
"iMilitary": "4",
|
| 765 |
+
"iMobility": "1",
|
| 766 |
+
"iMobillim": "2",
|
| 767 |
+
"dOccup": "2",
|
| 768 |
+
"iOthrserv": "0",
|
| 769 |
+
"iPerscare": "2",
|
| 770 |
+
"dPOB": "0",
|
| 771 |
+
"dPoverty": "2",
|
| 772 |
+
"dPwgt1": "1",
|
| 773 |
+
"iRagechld": "2",
|
| 774 |
+
"dRearning": "2",
|
| 775 |
+
"iRelat1": "0",
|
| 776 |
+
"iRelat2": "0",
|
| 777 |
+
"iRemplpar": "0",
|
| 778 |
+
"iRiders": "1",
|
| 779 |
+
"iRlabor": "1",
|
| 780 |
+
"iRownchld": "0",
|
| 781 |
+
"dRpincome": "2",
|
| 782 |
+
"iRPOB": "10",
|
| 783 |
+
"iRrelchld": "0",
|
| 784 |
+
"iRspouse": "4",
|
| 785 |
+
"iRvetserv": "0",
|
| 786 |
+
"iSchool": "1",
|
| 787 |
+
"iSept80": "0",
|
| 788 |
+
"iSex": "1",
|
| 789 |
+
"iSubfam1": "0",
|
| 790 |
+
"iSubfam2": "0",
|
| 791 |
+
"iTmpabsnt": "0",
|
| 792 |
+
"dTravtime": "1",
|
| 793 |
+
"iVietnam": "0",
|
| 794 |
+
"dWeek89": "1",
|
| 795 |
+
"iWork89": "1",
|
| 796 |
+
"iWorklwk": "1",
|
| 797 |
+
"iWWII": "0",
|
| 798 |
+
"iYearsch": "10",
|
| 799 |
+
"iYearwrk": "1",
|
| 800 |
+
"dYrsserv": "0"
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"caseid": "10004",
|
| 804 |
+
"dAge": "7",
|
| 805 |
+
"dAncstry1": "1",
|
| 806 |
+
"dAncstry2": "1",
|
| 807 |
+
"iAvail": "0",
|
| 808 |
+
"iCitizen": "0",
|
| 809 |
+
"iClass": "0",
|
| 810 |
+
"dDepart": "0",
|
| 811 |
+
"iDisabl1": "2",
|
| 812 |
+
"iDisabl2": "2",
|
| 813 |
+
"iEnglish": "0",
|
| 814 |
+
"iFeb55": "0",
|
| 815 |
+
"iFertil": "3",
|
| 816 |
+
"dHispanic": "0",
|
| 817 |
+
"dHour89": "0",
|
| 818 |
+
"dHours": "0",
|
| 819 |
+
"iImmigr": "0",
|
| 820 |
+
"dIncome1": "0",
|
| 821 |
+
"dIncome2": "0",
|
| 822 |
+
"dIncome3": "0",
|
| 823 |
+
"dIncome4": "0",
|
| 824 |
+
"dIncome5": "1",
|
| 825 |
+
"dIncome6": "0",
|
| 826 |
+
"dIncome7": "0",
|
| 827 |
+
"dIncome8": "0",
|
| 828 |
+
"dIndustry": "0",
|
| 829 |
+
"iKorean": "0",
|
| 830 |
+
"iLang1": "2",
|
| 831 |
+
"iLooking": "2",
|
| 832 |
+
"iMarital": "0",
|
| 833 |
+
"iMay75880": "0",
|
| 834 |
+
"iMeans": "0",
|
| 835 |
+
"iMilitary": "4",
|
| 836 |
+
"iMobility": "1",
|
| 837 |
+
"iMobillim": "2",
|
| 838 |
+
"dOccup": "0",
|
| 839 |
+
"iOthrserv": "0",
|
| 840 |
+
"iPerscare": "2",
|
| 841 |
+
"dPOB": "0",
|
| 842 |
+
"dPoverty": "2",
|
| 843 |
+
"dPwgt1": "1",
|
| 844 |
+
"iRagechld": "4",
|
| 845 |
+
"dRearning": "0",
|
| 846 |
+
"iRelat1": "1",
|
| 847 |
+
"iRelat2": "0",
|
| 848 |
+
"iRemplpar": "0",
|
| 849 |
+
"iRiders": "0",
|
| 850 |
+
"iRlabor": "6",
|
| 851 |
+
"iRownchld": "0",
|
| 852 |
+
"dRpincome": "2",
|
| 853 |
+
"iRPOB": "22",
|
| 854 |
+
"iRrelchld": "0",
|
| 855 |
+
"iRspouse": "1",
|
| 856 |
+
"iRvetserv": "0",
|
| 857 |
+
"iSchool": "1",
|
| 858 |
+
"iSept80": "0",
|
| 859 |
+
"iSex": "1",
|
| 860 |
+
"iSubfam1": "0",
|
| 861 |
+
"iSubfam2": "0",
|
| 862 |
+
"iTmpabsnt": "3",
|
| 863 |
+
"dTravtime": "0",
|
| 864 |
+
"iVietnam": "0",
|
| 865 |
+
"dWeek89": "0",
|
| 866 |
+
"iWork89": "2",
|
| 867 |
+
"iWorklwk": "2",
|
| 868 |
+
"iWWII": "0",
|
| 869 |
+
"iYearsch": "5",
|
| 870 |
+
"iYearwrk": "6",
|
| 871 |
+
"dYrsserv": "0"
|
| 872 |
+
}
|
| 873 |
+
]
|
| 874 |
+
}
|
| 875 |
+
|
| 876 |
+
Shortlisted templates:
|
| 877 |
+
[
|
| 878 |
+
{
|
| 879 |
+
"template_id": "tpl_c2_filtered_group_count_2d",
|
| 880 |
+
"template_name": "Filtered Two-Dimensional Group Count",
|
| 881 |
+
"primary_family": "conditional_dependency_structure",
|
| 882 |
+
"portability": "yes",
|
| 883 |
+
"sql_skeleton": "SELECT {group_col}, {group_col_2}, COUNT(*) AS row_count\nFROM {table}\nWHERE {predicate_col} {predicate_op} {predicate_value}\nGROUP BY {group_col}, {group_col_2}\nORDER BY row_count DESC;",
|
| 884 |
+
"required_roles": [
|
| 885 |
+
"group_col",
|
| 886 |
+
"group_col_2",
|
| 887 |
+
"predicate_col"
|
| 888 |
+
]
|
| 889 |
+
}
|
| 890 |
+
]
|
| 891 |
+
|
| 892 |
+
Problem instance:
|
| 893 |
+
{
|
| 894 |
+
"dataset_id": "c13",
|
| 895 |
+
"question": "Use template Filtered Two-Dimensional Group Count to probe slice_level_consistency with semantic role count_distribution. Focus on group_col=dAge, group_col_2=iSubfam2.",
|
| 896 |
+
"planned_template_id": "tpl_c2_filtered_group_count_2d",
|
| 897 |
+
"bindings": {
|
| 898 |
+
"group_col": "dAge",
|
| 899 |
+
"group_col_2": "iSubfam2",
|
| 900 |
+
"predicate_col": "iSex",
|
| 901 |
+
"predicate_op": "=",
|
| 902 |
+
"predicate_value": "0",
|
| 903 |
+
"top_k": 11,
|
| 904 |
+
"top_n": 3,
|
| 905 |
+
"num_tiles": 10,
|
| 906 |
+
"percentile_value": 0.95,
|
| 907 |
+
"z_threshold": 2.0,
|
| 908 |
+
"fraction_threshold": 0.1,
|
| 909 |
+
"baseline_multiplier": 1.5,
|
| 910 |
+
"baseline_fraction": 0.1,
|
| 911 |
+
"min_group_size": 5,
|
| 912 |
+
"min_support": 5,
|
| 913 |
+
"measure_threshold": 1.5,
|
| 914 |
+
"time_grain": "month",
|
| 915 |
+
"lookback_rows": 3,
|
| 916 |
+
"current_period_start": "'2024-01-01'",
|
| 917 |
+
"current_period_end": "'2024-04-01'",
|
| 918 |
+
"previous_period_start": "'2023-10-01'",
|
| 919 |
+
"previous_period_end": "'2024-01-01'",
|
| 920 |
+
"drift_ratio_threshold": 0.8
|
| 921 |
+
},
|
| 922 |
+
"can_vary": [],
|
| 923 |
+
"must_fix": [],
|
| 924 |
+
"runtime_sql_skeleton": "SELECT {group_col}, {group_col_2}, COUNT(*) AS row_count\nFROM {table}\nWHERE {predicate_col} {predicate_op} {predicate_value}\nGROUP BY {group_col}, {group_col_2}\nORDER BY row_count DESC;"
|
| 925 |
+
}
|
| 926 |
+
|
| 927 |
+
Repair context:
|
| 928 |
+
{}
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_prompt_attempt_2.txt
ADDED
|
@@ -0,0 +1,928 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: c13
|
| 15 |
+
- dataset_name: Us Census Data 1990
|
| 16 |
+
- table_name: c13
|
| 17 |
+
- table_layout: single-table dataset (do not assume joins).
|
| 18 |
+
- row_semantics: One row is one tabular observation with 68 feature columns and target `iClass`.
|
| 19 |
+
- task_type: classification
|
| 20 |
+
- target_column: iClass
|
| 21 |
+
- main_row_count: 2458285
|
| 22 |
+
- important_fields:
|
| 23 |
+
- caseid: role=feature, type=identifier_numeric. tags=['identifier', 'probe_exclude', 'high_cardinality_candidate'] desc=Identifier-like field for caseid.
|
| 24 |
+
- dAge: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAge.
|
| 25 |
+
- dAncstry1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry1.
|
| 26 |
+
- dAncstry2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dAncstry2.
|
| 27 |
+
- iAvail: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iAvail.
|
| 28 |
+
- iCitizen: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iCitizen.
|
| 29 |
+
- iClass: role=target, type=categorical_ordinal_target. ordered=['0', '1', '4', '6', '8'] tags=['subgroup_candidate', 'condition_candidate', 'target_candidate'] desc=Target field for iClass.
|
| 30 |
+
- dDepart: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dDepart.
|
| 31 |
+
- iDisabl1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl1.
|
| 32 |
+
- iDisabl2: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iDisabl2.
|
| 33 |
+
- iEnglish: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iEnglish.
|
| 34 |
+
- iFeb55: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iFeb55.
|
| 35 |
+
- iFertil: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iFertil.
|
| 36 |
+
- dHispanic: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHispanic.
|
| 37 |
+
- dHour89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHour89.
|
| 38 |
+
- dHours: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dHours.
|
| 39 |
+
- iImmigr: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iImmigr.
|
| 40 |
+
- dIncome1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIncome1.
|
| 41 |
+
- dIncome2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome2.
|
| 42 |
+
- dIncome3: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome3.
|
| 43 |
+
- dIncome4: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome4.
|
| 44 |
+
- dIncome5: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome5.
|
| 45 |
+
- dIncome6: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome6.
|
| 46 |
+
- dIncome7: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome7.
|
| 47 |
+
- dIncome8: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for dIncome8.
|
| 48 |
+
- dIndustry: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dIndustry.
|
| 49 |
+
- iKorean: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iKorean.
|
| 50 |
+
- iLang1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLang1.
|
| 51 |
+
- iLooking: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iLooking.
|
| 52 |
+
- iMarital: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMarital.
|
| 53 |
+
- iMay75880: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iMay75880.
|
| 54 |
+
- iMeans: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMeans.
|
| 55 |
+
- iMilitary: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMilitary.
|
| 56 |
+
- iMobility: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobility.
|
| 57 |
+
- iMobillim: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iMobillim.
|
| 58 |
+
- dOccup: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dOccup.
|
| 59 |
+
- iOthrserv: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iOthrserv.
|
| 60 |
+
- iPerscare: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iPerscare.
|
| 61 |
+
- dPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPOB.
|
| 62 |
+
- dPoverty: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPoverty.
|
| 63 |
+
- dPwgt1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dPwgt1.
|
| 64 |
+
- iRagechld: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRagechld.
|
| 65 |
+
- dRearning: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRearning.
|
| 66 |
+
- iRelat1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRelat1.
|
| 67 |
+
- iRelat2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRelat2.
|
| 68 |
+
- iRemplpar: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRemplpar.
|
| 69 |
+
- iRiders: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRiders.
|
| 70 |
+
- iRlabor: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRlabor.
|
| 71 |
+
- iRownchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRownchld.
|
| 72 |
+
- dRpincome: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dRpincome.
|
| 73 |
+
- iRPOB: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRPOB.
|
| 74 |
+
- iRrelchld: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iRrelchld.
|
| 75 |
+
- iRspouse: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRspouse.
|
| 76 |
+
- iRvetserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iRvetserv.
|
| 77 |
+
- iSchool: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSchool.
|
| 78 |
+
- iSept80: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSept80.
|
| 79 |
+
- iSex: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSex.
|
| 80 |
+
- iSubfam1: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iSubfam1.
|
| 81 |
+
- iSubfam2: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iSubfam2.
|
| 82 |
+
- iTmpabsnt: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iTmpabsnt.
|
| 83 |
+
- dTravtime: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dTravtime.
|
| 84 |
+
- iVietnam: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iVietnam.
|
| 85 |
+
- dWeek89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dWeek89.
|
| 86 |
+
- iWork89: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWork89.
|
| 87 |
+
- iWorklwk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iWorklwk.
|
| 88 |
+
- iWWII: role=feature, type=categorical_binary. tags=['subgroup_candidate', 'condition_candidate'] desc=Categorical field for iWWII.
|
| 89 |
+
- iYearsch: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearsch.
|
| 90 |
+
- iYearwrk: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for iYearwrk.
|
| 91 |
+
- dYrsserv: role=feature, type=numeric_discrete. tags=['subgroup_candidate', 'condition_candidate', 'measure'] desc=Numeric field for dYrsserv.
|
| 92 |
+
- useful_field_combinations: [['dAge', 'dAncstry1', 'iClass'], ['dAge', 'dAge', 'iClass']]
|
| 93 |
+
- fields_requiring_caution: ['iClass']
|
| 94 |
+
- source_url: https://archive.ics.uci.edu/dataset/116/us+census+data+1990
|
| 95 |
+
|
| 96 |
+
SQLite schema snapshot:
|
| 97 |
+
{
|
| 98 |
+
"table_name": "c13",
|
| 99 |
+
"quoted_table_name": "\"c13\"",
|
| 100 |
+
"row_count": 2458285,
|
| 101 |
+
"columns": [
|
| 102 |
+
{
|
| 103 |
+
"name": "caseid",
|
| 104 |
+
"type": "TEXT",
|
| 105 |
+
"notnull": false,
|
| 106 |
+
"pk": false
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": "dAge",
|
| 110 |
+
"type": "TEXT",
|
| 111 |
+
"notnull": false,
|
| 112 |
+
"pk": false
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": "dAncstry1",
|
| 116 |
+
"type": "TEXT",
|
| 117 |
+
"notnull": false,
|
| 118 |
+
"pk": false
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": "dAncstry2",
|
| 122 |
+
"type": "TEXT",
|
| 123 |
+
"notnull": false,
|
| 124 |
+
"pk": false
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": "iAvail",
|
| 128 |
+
"type": "TEXT",
|
| 129 |
+
"notnull": false,
|
| 130 |
+
"pk": false
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": "iCitizen",
|
| 134 |
+
"type": "TEXT",
|
| 135 |
+
"notnull": false,
|
| 136 |
+
"pk": false
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": "iClass",
|
| 140 |
+
"type": "TEXT",
|
| 141 |
+
"notnull": false,
|
| 142 |
+
"pk": false
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": "dDepart",
|
| 146 |
+
"type": "TEXT",
|
| 147 |
+
"notnull": false,
|
| 148 |
+
"pk": false
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"name": "iDisabl1",
|
| 152 |
+
"type": "TEXT",
|
| 153 |
+
"notnull": false,
|
| 154 |
+
"pk": false
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": "iDisabl2",
|
| 158 |
+
"type": "TEXT",
|
| 159 |
+
"notnull": false,
|
| 160 |
+
"pk": false
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"name": "iEnglish",
|
| 164 |
+
"type": "TEXT",
|
| 165 |
+
"notnull": false,
|
| 166 |
+
"pk": false
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "iFeb55",
|
| 170 |
+
"type": "TEXT",
|
| 171 |
+
"notnull": false,
|
| 172 |
+
"pk": false
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"name": "iFertil",
|
| 176 |
+
"type": "TEXT",
|
| 177 |
+
"notnull": false,
|
| 178 |
+
"pk": false
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": "dHispanic",
|
| 182 |
+
"type": "TEXT",
|
| 183 |
+
"notnull": false,
|
| 184 |
+
"pk": false
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": "dHour89",
|
| 188 |
+
"type": "TEXT",
|
| 189 |
+
"notnull": false,
|
| 190 |
+
"pk": false
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"name": "dHours",
|
| 194 |
+
"type": "TEXT",
|
| 195 |
+
"notnull": false,
|
| 196 |
+
"pk": false
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"name": "iImmigr",
|
| 200 |
+
"type": "TEXT",
|
| 201 |
+
"notnull": false,
|
| 202 |
+
"pk": false
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"name": "dIncome1",
|
| 206 |
+
"type": "TEXT",
|
| 207 |
+
"notnull": false,
|
| 208 |
+
"pk": false
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"name": "dIncome2",
|
| 212 |
+
"type": "TEXT",
|
| 213 |
+
"notnull": false,
|
| 214 |
+
"pk": false
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"name": "dIncome3",
|
| 218 |
+
"type": "TEXT",
|
| 219 |
+
"notnull": false,
|
| 220 |
+
"pk": false
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"name": "dIncome4",
|
| 224 |
+
"type": "TEXT",
|
| 225 |
+
"notnull": false,
|
| 226 |
+
"pk": false
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"name": "dIncome5",
|
| 230 |
+
"type": "TEXT",
|
| 231 |
+
"notnull": false,
|
| 232 |
+
"pk": false
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"name": "dIncome6",
|
| 236 |
+
"type": "TEXT",
|
| 237 |
+
"notnull": false,
|
| 238 |
+
"pk": false
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"name": "dIncome7",
|
| 242 |
+
"type": "TEXT",
|
| 243 |
+
"notnull": false,
|
| 244 |
+
"pk": false
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"name": "dIncome8",
|
| 248 |
+
"type": "TEXT",
|
| 249 |
+
"notnull": false,
|
| 250 |
+
"pk": false
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"name": "dIndustry",
|
| 254 |
+
"type": "TEXT",
|
| 255 |
+
"notnull": false,
|
| 256 |
+
"pk": false
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"name": "iKorean",
|
| 260 |
+
"type": "TEXT",
|
| 261 |
+
"notnull": false,
|
| 262 |
+
"pk": false
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"name": "iLang1",
|
| 266 |
+
"type": "TEXT",
|
| 267 |
+
"notnull": false,
|
| 268 |
+
"pk": false
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"name": "iLooking",
|
| 272 |
+
"type": "TEXT",
|
| 273 |
+
"notnull": false,
|
| 274 |
+
"pk": false
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"name": "iMarital",
|
| 278 |
+
"type": "TEXT",
|
| 279 |
+
"notnull": false,
|
| 280 |
+
"pk": false
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"name": "iMay75880",
|
| 284 |
+
"type": "TEXT",
|
| 285 |
+
"notnull": false,
|
| 286 |
+
"pk": false
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"name": "iMeans",
|
| 290 |
+
"type": "TEXT",
|
| 291 |
+
"notnull": false,
|
| 292 |
+
"pk": false
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"name": "iMilitary",
|
| 296 |
+
"type": "TEXT",
|
| 297 |
+
"notnull": false,
|
| 298 |
+
"pk": false
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"name": "iMobility",
|
| 302 |
+
"type": "TEXT",
|
| 303 |
+
"notnull": false,
|
| 304 |
+
"pk": false
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"name": "iMobillim",
|
| 308 |
+
"type": "TEXT",
|
| 309 |
+
"notnull": false,
|
| 310 |
+
"pk": false
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"name": "dOccup",
|
| 314 |
+
"type": "TEXT",
|
| 315 |
+
"notnull": false,
|
| 316 |
+
"pk": false
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"name": "iOthrserv",
|
| 320 |
+
"type": "TEXT",
|
| 321 |
+
"notnull": false,
|
| 322 |
+
"pk": false
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"name": "iPerscare",
|
| 326 |
+
"type": "TEXT",
|
| 327 |
+
"notnull": false,
|
| 328 |
+
"pk": false
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"name": "dPOB",
|
| 332 |
+
"type": "TEXT",
|
| 333 |
+
"notnull": false,
|
| 334 |
+
"pk": false
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"name": "dPoverty",
|
| 338 |
+
"type": "TEXT",
|
| 339 |
+
"notnull": false,
|
| 340 |
+
"pk": false
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"name": "dPwgt1",
|
| 344 |
+
"type": "TEXT",
|
| 345 |
+
"notnull": false,
|
| 346 |
+
"pk": false
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"name": "iRagechld",
|
| 350 |
+
"type": "TEXT",
|
| 351 |
+
"notnull": false,
|
| 352 |
+
"pk": false
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"name": "dRearning",
|
| 356 |
+
"type": "TEXT",
|
| 357 |
+
"notnull": false,
|
| 358 |
+
"pk": false
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"name": "iRelat1",
|
| 362 |
+
"type": "TEXT",
|
| 363 |
+
"notnull": false,
|
| 364 |
+
"pk": false
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"name": "iRelat2",
|
| 368 |
+
"type": "TEXT",
|
| 369 |
+
"notnull": false,
|
| 370 |
+
"pk": false
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"name": "iRemplpar",
|
| 374 |
+
"type": "TEXT",
|
| 375 |
+
"notnull": false,
|
| 376 |
+
"pk": false
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"name": "iRiders",
|
| 380 |
+
"type": "TEXT",
|
| 381 |
+
"notnull": false,
|
| 382 |
+
"pk": false
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"name": "iRlabor",
|
| 386 |
+
"type": "TEXT",
|
| 387 |
+
"notnull": false,
|
| 388 |
+
"pk": false
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"name": "iRownchld",
|
| 392 |
+
"type": "TEXT",
|
| 393 |
+
"notnull": false,
|
| 394 |
+
"pk": false
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"name": "dRpincome",
|
| 398 |
+
"type": "TEXT",
|
| 399 |
+
"notnull": false,
|
| 400 |
+
"pk": false
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"name": "iRPOB",
|
| 404 |
+
"type": "TEXT",
|
| 405 |
+
"notnull": false,
|
| 406 |
+
"pk": false
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"name": "iRrelchld",
|
| 410 |
+
"type": "TEXT",
|
| 411 |
+
"notnull": false,
|
| 412 |
+
"pk": false
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"name": "iRspouse",
|
| 416 |
+
"type": "TEXT",
|
| 417 |
+
"notnull": false,
|
| 418 |
+
"pk": false
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"name": "iRvetserv",
|
| 422 |
+
"type": "TEXT",
|
| 423 |
+
"notnull": false,
|
| 424 |
+
"pk": false
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"name": "iSchool",
|
| 428 |
+
"type": "TEXT",
|
| 429 |
+
"notnull": false,
|
| 430 |
+
"pk": false
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"name": "iSept80",
|
| 434 |
+
"type": "TEXT",
|
| 435 |
+
"notnull": false,
|
| 436 |
+
"pk": false
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"name": "iSex",
|
| 440 |
+
"type": "TEXT",
|
| 441 |
+
"notnull": false,
|
| 442 |
+
"pk": false
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"name": "iSubfam1",
|
| 446 |
+
"type": "TEXT",
|
| 447 |
+
"notnull": false,
|
| 448 |
+
"pk": false
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"name": "iSubfam2",
|
| 452 |
+
"type": "TEXT",
|
| 453 |
+
"notnull": false,
|
| 454 |
+
"pk": false
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"name": "iTmpabsnt",
|
| 458 |
+
"type": "TEXT",
|
| 459 |
+
"notnull": false,
|
| 460 |
+
"pk": false
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"name": "dTravtime",
|
| 464 |
+
"type": "TEXT",
|
| 465 |
+
"notnull": false,
|
| 466 |
+
"pk": false
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"name": "iVietnam",
|
| 470 |
+
"type": "TEXT",
|
| 471 |
+
"notnull": false,
|
| 472 |
+
"pk": false
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"name": "dWeek89",
|
| 476 |
+
"type": "TEXT",
|
| 477 |
+
"notnull": false,
|
| 478 |
+
"pk": false
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"name": "iWork89",
|
| 482 |
+
"type": "TEXT",
|
| 483 |
+
"notnull": false,
|
| 484 |
+
"pk": false
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"name": "iWorklwk",
|
| 488 |
+
"type": "TEXT",
|
| 489 |
+
"notnull": false,
|
| 490 |
+
"pk": false
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"name": "iWWII",
|
| 494 |
+
"type": "TEXT",
|
| 495 |
+
"notnull": false,
|
| 496 |
+
"pk": false
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"name": "iYearsch",
|
| 500 |
+
"type": "TEXT",
|
| 501 |
+
"notnull": false,
|
| 502 |
+
"pk": false
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"name": "iYearwrk",
|
| 506 |
+
"type": "TEXT",
|
| 507 |
+
"notnull": false,
|
| 508 |
+
"pk": false
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"name": "dYrsserv",
|
| 512 |
+
"type": "TEXT",
|
| 513 |
+
"notnull": false,
|
| 514 |
+
"pk": false
|
| 515 |
+
}
|
| 516 |
+
],
|
| 517 |
+
"sample_rows": [
|
| 518 |
+
{
|
| 519 |
+
"caseid": "10000",
|
| 520 |
+
"dAge": "5",
|
| 521 |
+
"dAncstry1": "0",
|
| 522 |
+
"dAncstry2": "1",
|
| 523 |
+
"iAvail": "0",
|
| 524 |
+
"iCitizen": "0",
|
| 525 |
+
"iClass": "5",
|
| 526 |
+
"dDepart": "3",
|
| 527 |
+
"iDisabl1": "2",
|
| 528 |
+
"iDisabl2": "2",
|
| 529 |
+
"iEnglish": "1",
|
| 530 |
+
"iFeb55": "0",
|
| 531 |
+
"iFertil": "1",
|
| 532 |
+
"dHispanic": "0",
|
| 533 |
+
"dHour89": "4",
|
| 534 |
+
"dHours": "3",
|
| 535 |
+
"iImmigr": "0",
|
| 536 |
+
"dIncome1": "2",
|
| 537 |
+
"dIncome2": "0",
|
| 538 |
+
"dIncome3": "0",
|
| 539 |
+
"dIncome4": "1",
|
| 540 |
+
"dIncome5": "0",
|
| 541 |
+
"dIncome6": "0",
|
| 542 |
+
"dIncome7": "0",
|
| 543 |
+
"dIncome8": "0",
|
| 544 |
+
"dIndustry": "10",
|
| 545 |
+
"iKorean": "0",
|
| 546 |
+
"iLang1": "1",
|
| 547 |
+
"iLooking": "0",
|
| 548 |
+
"iMarital": "1",
|
| 549 |
+
"iMay75880": "0",
|
| 550 |
+
"iMeans": "1",
|
| 551 |
+
"iMilitary": "4",
|
| 552 |
+
"iMobility": "2",
|
| 553 |
+
"iMobillim": "2",
|
| 554 |
+
"dOccup": "3",
|
| 555 |
+
"iOthrserv": "0",
|
| 556 |
+
"iPerscare": "2",
|
| 557 |
+
"dPOB": "0",
|
| 558 |
+
"dPoverty": "2",
|
| 559 |
+
"dPwgt1": "1",
|
| 560 |
+
"iRagechld": "4",
|
| 561 |
+
"dRearning": "3",
|
| 562 |
+
"iRelat1": "0",
|
| 563 |
+
"iRelat2": "0",
|
| 564 |
+
"iRemplpar": "0",
|
| 565 |
+
"iRiders": "3",
|
| 566 |
+
"iRlabor": "1",
|
| 567 |
+
"iRownchld": "0",
|
| 568 |
+
"dRpincome": "3",
|
| 569 |
+
"iRPOB": "22",
|
| 570 |
+
"iRrelchld": "0",
|
| 571 |
+
"iRspouse": "3",
|
| 572 |
+
"iRvetserv": "0",
|
| 573 |
+
"iSchool": "1",
|
| 574 |
+
"iSept80": "0",
|
| 575 |
+
"iSex": "1",
|
| 576 |
+
"iSubfam1": "0",
|
| 577 |
+
"iSubfam2": "0",
|
| 578 |
+
"iTmpabsnt": "0",
|
| 579 |
+
"dTravtime": "5",
|
| 580 |
+
"iVietnam": "0",
|
| 581 |
+
"dWeek89": "2",
|
| 582 |
+
"iWork89": "1",
|
| 583 |
+
"iWorklwk": "1",
|
| 584 |
+
"iWWII": "0",
|
| 585 |
+
"iYearsch": "11",
|
| 586 |
+
"iYearwrk": "1",
|
| 587 |
+
"dYrsserv": "0"
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"caseid": "10001",
|
| 591 |
+
"dAge": "6",
|
| 592 |
+
"dAncstry1": "1",
|
| 593 |
+
"dAncstry2": "1",
|
| 594 |
+
"iAvail": "0",
|
| 595 |
+
"iCitizen": "0",
|
| 596 |
+
"iClass": "7",
|
| 597 |
+
"dDepart": "5",
|
| 598 |
+
"iDisabl1": "2",
|
| 599 |
+
"iDisabl2": "2",
|
| 600 |
+
"iEnglish": "0",
|
| 601 |
+
"iFeb55": "0",
|
| 602 |
+
"iFertil": "3",
|
| 603 |
+
"dHispanic": "0",
|
| 604 |
+
"dHour89": "1",
|
| 605 |
+
"dHours": "1",
|
| 606 |
+
"iImmigr": "0",
|
| 607 |
+
"dIncome1": "1",
|
| 608 |
+
"dIncome2": "0",
|
| 609 |
+
"dIncome3": "0",
|
| 610 |
+
"dIncome4": "0",
|
| 611 |
+
"dIncome5": "0",
|
| 612 |
+
"dIncome6": "1",
|
| 613 |
+
"dIncome7": "0",
|
| 614 |
+
"dIncome8": "0",
|
| 615 |
+
"dIndustry": "4",
|
| 616 |
+
"iKorean": "0",
|
| 617 |
+
"iLang1": "2",
|
| 618 |
+
"iLooking": "0",
|
| 619 |
+
"iMarital": "0",
|
| 620 |
+
"iMay75880": "0",
|
| 621 |
+
"iMeans": "1",
|
| 622 |
+
"iMilitary": "4",
|
| 623 |
+
"iMobility": "1",
|
| 624 |
+
"iMobillim": "2",
|
| 625 |
+
"dOccup": "2",
|
| 626 |
+
"iOthrserv": "0",
|
| 627 |
+
"iPerscare": "2",
|
| 628 |
+
"dPOB": "0",
|
| 629 |
+
"dPoverty": "2",
|
| 630 |
+
"dPwgt1": "2",
|
| 631 |
+
"iRagechld": "4",
|
| 632 |
+
"dRearning": "2",
|
| 633 |
+
"iRelat1": "1",
|
| 634 |
+
"iRelat2": "0",
|
| 635 |
+
"iRemplpar": "0",
|
| 636 |
+
"iRiders": "1",
|
| 637 |
+
"iRlabor": "1",
|
| 638 |
+
"iRownchld": "0",
|
| 639 |
+
"dRpincome": "2",
|
| 640 |
+
"iRPOB": "10",
|
| 641 |
+
"iRrelchld": "0",
|
| 642 |
+
"iRspouse": "1",
|
| 643 |
+
"iRvetserv": "0",
|
| 644 |
+
"iSchool": "1",
|
| 645 |
+
"iSept80": "0",
|
| 646 |
+
"iSex": "1",
|
| 647 |
+
"iSubfam1": "0",
|
| 648 |
+
"iSubfam2": "0",
|
| 649 |
+
"iTmpabsnt": "0",
|
| 650 |
+
"dTravtime": "1",
|
| 651 |
+
"iVietnam": "0",
|
| 652 |
+
"dWeek89": "2",
|
| 653 |
+
"iWork89": "1",
|
| 654 |
+
"iWorklwk": "1",
|
| 655 |
+
"iWWII": "0",
|
| 656 |
+
"iYearsch": "5",
|
| 657 |
+
"iYearwrk": "1",
|
| 658 |
+
"dYrsserv": "0"
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"caseid": "10002",
|
| 662 |
+
"dAge": "3",
|
| 663 |
+
"dAncstry1": "1",
|
| 664 |
+
"dAncstry2": "2",
|
| 665 |
+
"iAvail": "0",
|
| 666 |
+
"iCitizen": "0",
|
| 667 |
+
"iClass": "7",
|
| 668 |
+
"dDepart": "4",
|
| 669 |
+
"iDisabl1": "2",
|
| 670 |
+
"iDisabl2": "2",
|
| 671 |
+
"iEnglish": "0",
|
| 672 |
+
"iFeb55": "0",
|
| 673 |
+
"iFertil": "1",
|
| 674 |
+
"dHispanic": "0",
|
| 675 |
+
"dHour89": "4",
|
| 676 |
+
"dHours": "4",
|
| 677 |
+
"iImmigr": "0",
|
| 678 |
+
"dIncome1": "1",
|
| 679 |
+
"dIncome2": "0",
|
| 680 |
+
"dIncome3": "1",
|
| 681 |
+
"dIncome4": "0",
|
| 682 |
+
"dIncome5": "0",
|
| 683 |
+
"dIncome6": "0",
|
| 684 |
+
"dIncome7": "0",
|
| 685 |
+
"dIncome8": "0",
|
| 686 |
+
"dIndustry": "1",
|
| 687 |
+
"iKorean": "0",
|
| 688 |
+
"iLang1": "2",
|
| 689 |
+
"iLooking": "0",
|
| 690 |
+
"iMarital": "4",
|
| 691 |
+
"iMay75880": "0",
|
| 692 |
+
"iMeans": "10",
|
| 693 |
+
"iMilitary": "4",
|
| 694 |
+
"iMobility": "1",
|
| 695 |
+
"iMobillim": "2",
|
| 696 |
+
"dOccup": "4",
|
| 697 |
+
"iOthrserv": "0",
|
| 698 |
+
"iPerscare": "2",
|
| 699 |
+
"dPOB": "0",
|
| 700 |
+
"dPoverty": "2",
|
| 701 |
+
"dPwgt1": "1",
|
| 702 |
+
"iRagechld": "4",
|
| 703 |
+
"dRearning": "2",
|
| 704 |
+
"iRelat1": "2",
|
| 705 |
+
"iRelat2": "0",
|
| 706 |
+
"iRemplpar": "0",
|
| 707 |
+
"iRiders": "0",
|
| 708 |
+
"iRlabor": "1",
|
| 709 |
+
"iRownchld": "0",
|
| 710 |
+
"dRpincome": "2",
|
| 711 |
+
"iRPOB": "10",
|
| 712 |
+
"iRrelchld": "0",
|
| 713 |
+
"iRspouse": "6",
|
| 714 |
+
"iRvetserv": "0",
|
| 715 |
+
"iSchool": "1",
|
| 716 |
+
"iSept80": "0",
|
| 717 |
+
"iSex": "1",
|
| 718 |
+
"iSubfam1": "0",
|
| 719 |
+
"iSubfam2": "0",
|
| 720 |
+
"iTmpabsnt": "0",
|
| 721 |
+
"dTravtime": "2",
|
| 722 |
+
"iVietnam": "0",
|
| 723 |
+
"dWeek89": "2",
|
| 724 |
+
"iWork89": "1",
|
| 725 |
+
"iWorklwk": "1",
|
| 726 |
+
"iWWII": "0",
|
| 727 |
+
"iYearsch": "10",
|
| 728 |
+
"iYearwrk": "1",
|
| 729 |
+
"dYrsserv": "0"
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"caseid": "10003",
|
| 733 |
+
"dAge": "4",
|
| 734 |
+
"dAncstry1": "1",
|
| 735 |
+
"dAncstry2": "2",
|
| 736 |
+
"iAvail": "0",
|
| 737 |
+
"iCitizen": "0",
|
| 738 |
+
"iClass": "1",
|
| 739 |
+
"dDepart": "3",
|
| 740 |
+
"iDisabl1": "2",
|
| 741 |
+
"iDisabl2": "2",
|
| 742 |
+
"iEnglish": "0",
|
| 743 |
+
"iFeb55": "0",
|
| 744 |
+
"iFertil": "3",
|
| 745 |
+
"dHispanic": "0",
|
| 746 |
+
"dHour89": "3",
|
| 747 |
+
"dHours": "3",
|
| 748 |
+
"iImmigr": "0",
|
| 749 |
+
"dIncome1": "1",
|
| 750 |
+
"dIncome2": "0",
|
| 751 |
+
"dIncome3": "0",
|
| 752 |
+
"dIncome4": "0",
|
| 753 |
+
"dIncome5": "0",
|
| 754 |
+
"dIncome6": "0",
|
| 755 |
+
"dIncome7": "0",
|
| 756 |
+
"dIncome8": "1",
|
| 757 |
+
"dIndustry": "4",
|
| 758 |
+
"iKorean": "0",
|
| 759 |
+
"iLang1": "2",
|
| 760 |
+
"iLooking": "0",
|
| 761 |
+
"iMarital": "2",
|
| 762 |
+
"iMay75880": "0",
|
| 763 |
+
"iMeans": "1",
|
| 764 |
+
"iMilitary": "4",
|
| 765 |
+
"iMobility": "1",
|
| 766 |
+
"iMobillim": "2",
|
| 767 |
+
"dOccup": "2",
|
| 768 |
+
"iOthrserv": "0",
|
| 769 |
+
"iPerscare": "2",
|
| 770 |
+
"dPOB": "0",
|
| 771 |
+
"dPoverty": "2",
|
| 772 |
+
"dPwgt1": "1",
|
| 773 |
+
"iRagechld": "2",
|
| 774 |
+
"dRearning": "2",
|
| 775 |
+
"iRelat1": "0",
|
| 776 |
+
"iRelat2": "0",
|
| 777 |
+
"iRemplpar": "0",
|
| 778 |
+
"iRiders": "1",
|
| 779 |
+
"iRlabor": "1",
|
| 780 |
+
"iRownchld": "0",
|
| 781 |
+
"dRpincome": "2",
|
| 782 |
+
"iRPOB": "10",
|
| 783 |
+
"iRrelchld": "0",
|
| 784 |
+
"iRspouse": "4",
|
| 785 |
+
"iRvetserv": "0",
|
| 786 |
+
"iSchool": "1",
|
| 787 |
+
"iSept80": "0",
|
| 788 |
+
"iSex": "1",
|
| 789 |
+
"iSubfam1": "0",
|
| 790 |
+
"iSubfam2": "0",
|
| 791 |
+
"iTmpabsnt": "0",
|
| 792 |
+
"dTravtime": "1",
|
| 793 |
+
"iVietnam": "0",
|
| 794 |
+
"dWeek89": "1",
|
| 795 |
+
"iWork89": "1",
|
| 796 |
+
"iWorklwk": "1",
|
| 797 |
+
"iWWII": "0",
|
| 798 |
+
"iYearsch": "10",
|
| 799 |
+
"iYearwrk": "1",
|
| 800 |
+
"dYrsserv": "0"
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"caseid": "10004",
|
| 804 |
+
"dAge": "7",
|
| 805 |
+
"dAncstry1": "1",
|
| 806 |
+
"dAncstry2": "1",
|
| 807 |
+
"iAvail": "0",
|
| 808 |
+
"iCitizen": "0",
|
| 809 |
+
"iClass": "0",
|
| 810 |
+
"dDepart": "0",
|
| 811 |
+
"iDisabl1": "2",
|
| 812 |
+
"iDisabl2": "2",
|
| 813 |
+
"iEnglish": "0",
|
| 814 |
+
"iFeb55": "0",
|
| 815 |
+
"iFertil": "3",
|
| 816 |
+
"dHispanic": "0",
|
| 817 |
+
"dHour89": "0",
|
| 818 |
+
"dHours": "0",
|
| 819 |
+
"iImmigr": "0",
|
| 820 |
+
"dIncome1": "0",
|
| 821 |
+
"dIncome2": "0",
|
| 822 |
+
"dIncome3": "0",
|
| 823 |
+
"dIncome4": "0",
|
| 824 |
+
"dIncome5": "1",
|
| 825 |
+
"dIncome6": "0",
|
| 826 |
+
"dIncome7": "0",
|
| 827 |
+
"dIncome8": "0",
|
| 828 |
+
"dIndustry": "0",
|
| 829 |
+
"iKorean": "0",
|
| 830 |
+
"iLang1": "2",
|
| 831 |
+
"iLooking": "2",
|
| 832 |
+
"iMarital": "0",
|
| 833 |
+
"iMay75880": "0",
|
| 834 |
+
"iMeans": "0",
|
| 835 |
+
"iMilitary": "4",
|
| 836 |
+
"iMobility": "1",
|
| 837 |
+
"iMobillim": "2",
|
| 838 |
+
"dOccup": "0",
|
| 839 |
+
"iOthrserv": "0",
|
| 840 |
+
"iPerscare": "2",
|
| 841 |
+
"dPOB": "0",
|
| 842 |
+
"dPoverty": "2",
|
| 843 |
+
"dPwgt1": "1",
|
| 844 |
+
"iRagechld": "4",
|
| 845 |
+
"dRearning": "0",
|
| 846 |
+
"iRelat1": "1",
|
| 847 |
+
"iRelat2": "0",
|
| 848 |
+
"iRemplpar": "0",
|
| 849 |
+
"iRiders": "0",
|
| 850 |
+
"iRlabor": "6",
|
| 851 |
+
"iRownchld": "0",
|
| 852 |
+
"dRpincome": "2",
|
| 853 |
+
"iRPOB": "22",
|
| 854 |
+
"iRrelchld": "0",
|
| 855 |
+
"iRspouse": "1",
|
| 856 |
+
"iRvetserv": "0",
|
| 857 |
+
"iSchool": "1",
|
| 858 |
+
"iSept80": "0",
|
| 859 |
+
"iSex": "1",
|
| 860 |
+
"iSubfam1": "0",
|
| 861 |
+
"iSubfam2": "0",
|
| 862 |
+
"iTmpabsnt": "3",
|
| 863 |
+
"dTravtime": "0",
|
| 864 |
+
"iVietnam": "0",
|
| 865 |
+
"dWeek89": "0",
|
| 866 |
+
"iWork89": "2",
|
| 867 |
+
"iWorklwk": "2",
|
| 868 |
+
"iWWII": "0",
|
| 869 |
+
"iYearsch": "5",
|
| 870 |
+
"iYearwrk": "6",
|
| 871 |
+
"dYrsserv": "0"
|
| 872 |
+
}
|
| 873 |
+
]
|
| 874 |
+
}
|
| 875 |
+
|
| 876 |
+
Shortlisted templates:
|
| 877 |
+
[
|
| 878 |
+
{
|
| 879 |
+
"template_id": "tpl_c2_filtered_group_count_2d",
|
| 880 |
+
"template_name": "Filtered Two-Dimensional Group Count",
|
| 881 |
+
"primary_family": "conditional_dependency_structure",
|
| 882 |
+
"portability": "yes",
|
| 883 |
+
"sql_skeleton": "SELECT {group_col}, {group_col_2}, COUNT(*) AS row_count\nFROM {table}\nWHERE {predicate_col} {predicate_op} {predicate_value}\nGROUP BY {group_col}, {group_col_2}\nORDER BY row_count DESC;",
|
| 884 |
+
"required_roles": [
|
| 885 |
+
"group_col",
|
| 886 |
+
"group_col_2",
|
| 887 |
+
"predicate_col"
|
| 888 |
+
]
|
| 889 |
+
}
|
| 890 |
+
]
|
| 891 |
+
|
| 892 |
+
Problem instance:
|
| 893 |
+
{
|
| 894 |
+
"dataset_id": "c13",
|
| 895 |
+
"question": "Use template Filtered Two-Dimensional Group Count to probe slice_level_consistency with semantic role count_distribution. Focus on group_col=dAge, group_col_2=iSubfam2.",
|
| 896 |
+
"planned_template_id": "tpl_c2_filtered_group_count_2d",
|
| 897 |
+
"bindings": {
|
| 898 |
+
"group_col": "dAge",
|
| 899 |
+
"group_col_2": "iSubfam2",
|
| 900 |
+
"predicate_col": "iSex",
|
| 901 |
+
"predicate_op": "=",
|
| 902 |
+
"predicate_value": "0",
|
| 903 |
+
"top_k": 11,
|
| 904 |
+
"top_n": 3,
|
| 905 |
+
"num_tiles": 10,
|
| 906 |
+
"percentile_value": 0.95,
|
| 907 |
+
"z_threshold": 2.0,
|
| 908 |
+
"fraction_threshold": 0.1,
|
| 909 |
+
"baseline_multiplier": 1.5,
|
| 910 |
+
"baseline_fraction": 0.1,
|
| 911 |
+
"min_group_size": 5,
|
| 912 |
+
"min_support": 5,
|
| 913 |
+
"measure_threshold": 1.5,
|
| 914 |
+
"time_grain": "month",
|
| 915 |
+
"lookback_rows": 3,
|
| 916 |
+
"current_period_start": "'2024-01-01'",
|
| 917 |
+
"current_period_end": "'2024-04-01'",
|
| 918 |
+
"previous_period_start": "'2023-10-01'",
|
| 919 |
+
"previous_period_end": "'2024-01-01'",
|
| 920 |
+
"drift_ratio_threshold": 0.8
|
| 921 |
+
},
|
| 922 |
+
"can_vary": [],
|
| 923 |
+
"must_fix": [],
|
| 924 |
+
"runtime_sql_skeleton": "SELECT {group_col}, {group_col_2}, COUNT(*) AS row_count\nFROM {table}\nWHERE {predicate_col} {predicate_op} {predicate_value}\nGROUP BY {group_col}, {group_col_2}\nORDER BY row_count DESC;"
|
| 925 |
+
}
|
| 926 |
+
|
| 927 |
+
Repair context:
|
| 928 |
+
{}
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_response_attempt_1.raw.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4102-fa70-7190-89d4-29ef97f137a1"}
|
| 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_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_response_attempt_1.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4102-fa70-7190-89d4-29ef97f137a1"}
|
| 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_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_response_attempt_2.raw.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4103-09a4-70f2-af2b-953d530e69ce"}
|
| 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_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_response_attempt_2.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"type":"thread.started","thread_id":"019e4103-09a4-70f2-af2b-953d530e69ce"}
|
| 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_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_stderr_attempt_1.txt
ADDED
|
File without changes
|
Query/sql/v2/runs/v2_cli_20260502_081223_e/c13/artifacts/v2q_c13_096effcef7b87b25/cli/sql_stderr_attempt_2.txt
ADDED
|
File without changes
|