跳到正文
cccskills
免费在 GitHub 公开

data-auditor-cleaner

Map contest attachments to subquestions, audit and clean raw data, and emit one reusable data profile with quality, coverage, imbalance, concentration, and method-readiness evidence for downstream risk screening.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md4.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Purpose

Create traceable cleaned data and one reusable profile. Do not repeat the same data inspection separately for every candidate method.

Preconditions

  • Problem parse and subquestion IDs exist.
  • Raw files are available under workspace/data_raw/ or the workspace's documented legacy raw-data path.
  • Required outputs and known field needs are available.

Stop rather than fabricate a missing attachment, unit, field meaning, or label.

Workflow

  1. Map attachments before cleaning.

    • List each attachment with name, size, sheet names, headers, and a small preview.
    • Map it to Qx or mark it shared.
    • Ask the user only when two mappings remain materially plausible.
  2. Preserve raw data.

    • Treat raw files as read-only.
    • Record hashes or stable file metadata when practical.
    • Write cleaned copies under workspace/data_clean/.
  3. Audit structure and semantics.

    • Rows, columns, keys, types, units, categories, time granularity, and encoding.
    • Missing values, duplicates, impossible values, outliers, discontinuities, and leakage risks.
    • Field-to-subquestion and field-to-required-output mapping.
  4. Compute reusable risk-profile statistics.

    • Effective sample size and rows usable per Qx.
    • Missingness by field and row.
    • Numeric distribution summaries and extreme-value rates.
    • Category/class counts, imbalance ratios, rare levels, and cardinality.
    • Time coverage, gaps, sampling interval, and chronological split constraints.
    • Correlation/redundancy warnings where relevant.
    • Target or score concentration indicators when a target exists.
    • Record facts; do not convert them into a final method verdict.
  5. Plan and apply cleaning.

    • Separate safe normalization of representation from assumption-bearing imputations or removals.
    • Explain and record every assumption-bearing operation.
    • Keep reproducible cleaning code only when transformations are nontrivial.
  6. Assess readiness per Qx.

    • ready, ready_with_warnings, or blocked.
    • Name missing fields and risks precisely.
    • Hand the profile to method-selector for method-specific risk probes.

Canonical Outputs

workspace/data/data_report.md
workspace/data/data_profile.json
workspace/data_clean/<cleaned files>
workspace/code/scripts/<cleaning script>   # only when needed

Accept legacy workspace/data/data_clean/ as an input/output location during migration.

Data Profile Contract

data_profile.json contains:

{
  "schema_version": 1,
  "raw_files": [],
  "attachment_mapping": [],
  "fields": [],
  "quality": {
    "missingness": {},
    "duplicates": {},
    "impossible_values": {},
    "outliers": {}
  },
  "coverage": {
    "rows": 0,
    "effective_sample_size": null,
    "time_range": null,
    "time_gaps": null
  },
  "distribution_risks": {
    "class_imbalance": null,
    "rare_categories": [],
    "high_cardinality": [],
    "redundancy_warnings": [],
    "concentration_metrics": {}
  },
  "per_question_readiness": {},
  "cleaned_files": [],
  "unresolved_risks": []
}

Use null with an explanation when a field is not applicable; do not invent a value to fill the schema.

Rules

  • Do not select the model.
  • Do not overwrite raw data.
  • Do not silently delete, impute, winsorize, rescale, or recode.
  • Do not produce decorative EDA.
  • Reuse one profile downstream instead of regenerating statistics.
  • Store detailed row-level change logs only when changes occurred; successful no-op checks need only summary counts.

Verification

  • Attachment mapping is unambiguous or human-confirmed.
  • Raw files remain untouched.
  • Cleaned files trace to raw sources and transformation rules.
  • Profile includes effective sample size, imbalance/cardinality, and concentration evidence when applicable.
  • Readiness is reported per subquestion.
  • Downstream handoff points to paths rather than pasting the full report.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Detect whether approved modeling code is Python or MATLAB/Beita Tianyuan and route it to the matching reviewer using the compact named-check review contract.

中文简介正在准备中。当前显示原文说明。

zhnnky329/MathModeling-skills10602026年9月24日 更新

Audit whether the semantic evidence required by the active lean or submission profile exists and is current, without requiring one verbose artifact per skill or an arbitrary number of pass bullets.

中文简介正在准备中。当前显示原文说明。

zhnnky329/MathModeling-skills10602026年9月24日 更新

Run scoped or final cross-media consistency checks for mathematical-modeling artifacts, comparing canonical numbers, symbols, parameters, decisions, files, and paper claims without performing full-workspace audits for low-risk changes.

中文简介正在准备中。当前显示原文说明。

zhnnky329/MathModeling-skills10602026年9月24日 更新

Build one compact choice card at a genuine mathematical-modeling judgment point. Use before method screening, after a meaningful experiment, or before final claim/freeze approval so the human chooses the trade-off while AI handles mechanical consequences.

中文简介正在准备中。当前显示原文说明。

zhnnky329/MathModeling-skills10602026年9月24日 更新

Plan the smallest set of diagnostic, comparison, paper, and appendix figures or tables needed to support verified mathematical-modeling decisions and claims.

中文简介正在准备中。当前显示原文说明。

zhnnky329/MathModeling-skills10602026年9月24日 更新

Build the authoritative final method explanation for a submission-ready subquestion from the method card, human decision ledger, code plan, final results, and robustness evidence.

中文简介正在准备中。当前显示原文说明。

zhnnky329/MathModeling-skills10602026年9月24日 更新

查看 zhnnky329 的全部技能

报告此技能的问题