3coding-visual
数学建模编程实现与数据图表生成阶段。根据 ANALYSIS_MODELING_REPORT.md 编写可复现代码、运行求解、验证约束、输出 RESULTS_REPORT.md 并生成论文可用的数据驱动图表 PDF。
npx skills add jihe520/MathModelAgent --skill 3coding-visual --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 编程实现与数据图表生成 本 skill 承接 `2analysis-modeling`。目标是把 `reports/ANALYSIS_MODELING_REPORT.md` 里的模型和算法落实为可复现程序,跑出可信结果,并生成论文中需要的数据型图表。 ## 数学建模规范参考 如需领域判断,读取 `../_references/math_modeling_norms.md` 中的“题型防错速查”“代码实现与结果”“编码阶段常见错误”和“图表与可视化”小节。该文件只作为规范知识库,不新增本阶段的固定产物。 ## 阶段边界 - 本阶段负责:代码、实验运行、结果、结果表、数据驱动图表。 - 本阶段不负责:技术路线图、算法流程图、系统架构图、概念示意图。这些交给 `4drawio`。 - 本阶段不写论文正文,只为 `5writing` 提供可信数值和图表资产。 ### Step 1: 代码结构 按 `plan.md` 中"项目目录结构"创建 `code/` 和 `figures/` 骨架,再开始写代码。子问题数不一定是 3,按赛题实际数量调整。 ### Step 2: 逐子问题实现 按子问题顺序实现,不要一次性写完不跑。 每个子问题必须完成: 1. 读取所需数据。 2. 实现模型或算法。 3. 验证约束。 4. 输出核心结果。 5. 绘制丰富的图表。 6. 在 `reports/RESULTS_REPORT.md` 中写清楚方法、关键数值和校验结果。 优化类问题必须先保证可行解,再优化目标值。预测类问题必须做训练/验证划分或合理误差评估。评价类问题必须说明指标方向、归一化方法和权重来源。 ### Step 3: 结果文件格式 AI 在实现、求解和作图过程中,必须把关键中间过程保存成数据并做好记录,例如清洗后的数据摘要、模型参数、迭代历史、约束检查、灵敏度分析过程、图表所用数据和运行日志。中间数据优先保存到 `figures/` 或 `code/outputs/`,并在 `reports/RESULTS_REPORT.md` 中说明文件用途。 `reports/RESULTS_REPORT.md` 推荐结构: ```markdown # 计算结果 ## 运行环境 ## 数据读取与预处理 ## 问题一结果 ## 问题二结果 ## 问题三结果 ## 灵敏度分析 ## 约束与一致性校验 ## 与建模报告的一致性说明 ## 可复现运行方式 ``` 所有数据和图表结果都必须出现在 `reports/RESULTS_REPORT.md` 中引用 ### Step 4: 生成数据驱动图表 根据 `reports/ANALYSIS_MODELING_REPORT.md` 和 `reports/RESULTS_REPORT.md` 规划图表,生成 PDF 到 `figures/`。
- 数学建模规范参考
- 阶段边界
- Step 1: 代码结构
- Step 2: 逐子问题实现
- Step 3: 结果文件格式
- Step 4: 生成数据驱动图表
What does the 3coding-visual skill do?
数学建模编程实现与数据图表生成阶段。根据 ANALYSIS_MODELING_REPORT.md 编写可复现代码、运行求解、验证约束、输出 RESULTS_REPORT.md 并生成论文可用的数据驱动图表 PDF。
How do I install it?
Run `npx skills add jihe520/MathModelAgent --skill 3coding-visual --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From jihe520/MathModelAgent, a repository with 3,177 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
