一键导入
ds-model
Use when building or improving a predictive model — AIDE-style solution tree with leakage discipline and empirical leaderboard
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when building or improving a predictive model — AIDE-style solution tree with leakage discipline and empirical leaderboard
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | ds-model |
| description | Use when building or improving a predictive model — AIDE-style solution tree with leakage discipline and empirical leaderboard |
Use ds-model for any task that requires fitting a predictive or forecasting model:
Do not use for pure data aggregation, analytical questions, or EDA — those belong to ds-star-plus or eda-narrative.
The held-out metric is law. Never report training-set performance as the result. Every transformer (scaler, encoder, imputer) must be fit on the training split only, then applied to val/test. Before modeling, run the feasibility & leakage gate (
references/feasibility_gate.md): estimate the achievable ceiling and scan for leakage. A model that beats the ceiling is presumed leaking until proven otherwise. Confirm the full leakage checklist (references/leakage_cv.md) before finalising any result.
Run the gate in references/feasibility_gate.md first — estimate
the achievable ceiling and scan for leakage, picking the face by data shape:
dependence-forecastability; fallback ACF/PACF + entropy) · temporal split, never shuffle · target-leakage check.Record the ceiling and the leakage flags — the ceiling becomes the acceptance bar carried into the spec. A later model that beats it is a leakage alarm, not a win.
min or max).sklearn.Pipeline to avoid leakage.lb.add("draft-1", score, parent=None) using leaderboard.py.lb.add(node_id, score, parent).lb.node_to_expand() to identify the current best draft.lb.best().references/leakage_cv.md).Every ds-model run produces:
leakage_cv.md explicitly checked off| Resource | What it covers |
|---|---|
references/feasibility_gate.md | Pre-modeling feasibility & leakage gate — ceiling probe, single-feature leakage scan, adversarial validation, time-series forecastability |
references/solution_tree.md | AIDE loop, tree-of-drafts, stopping conditions, fair-comparison guarantee |
references/leakage_cv.md | Six-item leakage checklist, common pitfalls, Pipeline pattern |
references/evidence.md | AIDE (2502.13138), AutoKaggle (2410.20424), AutoML-Agent (2410.02958) |
scripts/leaderboard.py | Leaderboard class — add, best, node_to_expand, tree |
Use when setting up or repairing the Python env for analysis — detects uv/venv/conda/poetry/pipenv, installs core packages
Use when a data question is fuzzy or high-stakes — clarifies scope and writes analysis-spec.md before running a solver
Use when starting fresh with data and unsure which skills to use — peeks at data, asks targeted questions, assembles a crew plan
"Use when onboarding a dataset or asking 'what\'s in this data?' — per-column quality report with join-compatibility checks; flags possible PII/sensitive columns"
Use when browsing, pruning, or seeding a run from past analyses stored across sessions
Use when a single hard task keeps failing greedily — tree-searches alternative solution paths via MCTS mode