跳到正文
cccskills
免费在 GitHub 公开

model-code-analyzer

Translate a human-approved main method and usable baseline into a minimal language-neutral implementation and experiment contract. Use after G2.5 and data readiness, before Python or MATLAB code generation.

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

查看安装方法

包含的文件(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

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

Purpose

Define exactly what code must implement and save. Do not expand the approved experiment scope or fully plan a dormant fallback.

Preconditions

  • methods/Qx/qx_method_card.md and probe summary exist.
  • methods/Qx/qx_decisions.jsonl contains a human DECIDED method choice.
  • A usable baseline is identified.
  • Cleaned data and data_profile.json are ready when data is required.
  • Implementation target and round are known.

Read legacy candidate/decision artifacts only when the new artifacts are absent.

Workflow

  1. Read the approved choice, method card, probe conditions, and experiment budget.
  2. Plan only:
    • approved main;
    • approved usable_baseline;
    • shared helpers and comparison logic.
  3. Record the fallback ID and trigger, but do not plan its full implementation unless the trigger is already evidenced and the human chose activation.
  4. Map mathematical definitions to inputs, processing steps, intermediate evidence, outputs, and validation checks.
  5. Define a directly comparable metric/output contract for main and baseline.
  6. Define the round output:
results/Qx/experiments/roundN/
├── figures/
├── tables/
├── metrics/
└── run_summary.json

Create logs/ only for failures, warnings, or reproducibility needs. 7. Write code/Qx/qx_code_plan.md for Python or code/matlab/Qx/qx_code_plan.md for MATLAB. 8. Hand off to the matching language generator.

Run Summary Contract

Require:

{
  "schema_version": 1,
  "question": "Q1",
  "round": "round1",
  "implementation_target": "python",
  "random_seed": 2026,
  "approved_decision_id": "q1_method_choice",
  "methods": [
    {
      "method_id": "M1",
      "role": "usable_baseline",
      "script": "code/Q1/q1_baseline.py",
      "status": "success",
      "execution_time_seconds": 0,
      "input_files": [],
      "output_files": [],
      "figure_files": [],
      "metrics_summary": {},
      "warnings": [],
      "errors": []
    }
  ],
  "comparison": {},
  "fallback_trigger": {
    "fallback_id": null,
    "condition": null,
    "observed": false,
    "evidence": null
  },
  "environment": {}
}

Code Plan Contents

  • target language and round purpose;
  • approved decision ID;
  • main and baseline IDs and roles;
  • input fields and units;
  • per-method computation steps;
  • comparable outputs and metrics;
  • risk-probe conditions that implementation must monitor;
  • fallback trigger evaluation;
  • paths, seed, dependencies, and expected runtime;
  • named review checks expected downstream.

Rules

  • Do not write executable model code.
  • Do not add candidates or change model meaning.
  • Do not plan a diagnostic reference as the official baseline.
  • Do not implement a fallback before activation.
  • Do not require success logs.
  • Do not create a README when the code plan already provides the same instructions.
  • Stop if a human choice, required parameter, input field, or comparable baseline output is missing.

Verification

  • Plan scope is exactly main plus usable baseline unless fallback activation is recorded.
  • Outputs are directly comparable.
  • Probe risks and fallback trigger are represented in run_summary.json.
  • Paths follow the experiment contract.
  • Handoff targets the correct language generator.

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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-skills10612026年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-skills10612026年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-skills10612026年9月24日 更新

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.

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

zhnnky329/MathModeling-skills10612026年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-skills10612026年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-skills10612026年9月24日 更新

查看 zhnnky329 的全部技能

报告此技能的问题