capwitf/My-MathModeling-skills / math-templates
math-templates
VerifiedUse when 高教社杯/CUMCM mathematical modeling work needs lightweight reusable paper assets, national-prize style paragraph templates, section controls, per-question code/plot/test scaffolds, evidence registries, paper fragments, reproduction scripts, or safe reuse of prior contest project structure without copying old problem-specific content.
references/prior-contest-patterns.md
View on GitHub# 既有竞赛项目模式
这些可复用模式来自之前的电工杯项目。它们是资产和结构模式,不是新比赛的事实来源。
## 可复用结构
- 每问代码文件夹将计算和绘图分开。
- 每个 `results/qX` 文件夹包含正式结果表、图像和 `qX_figure_plan.csv`。
- 根目录登记表追踪正式运行、结果、图像和数值诊断。
- 论文片段允许各子问题先独立起草,再进行最终 LaTeX 合并。
- 回归测试不仅检查行数,也检查状态字段、非空图像和诊断内容不得自动进入正文。
- 根目录 `reproduce_all.py` 可从项目根目录重建正式输出。
## 可迁移模式
1. **先计算,后绘图**:计算脚本导出带单位和验证字段的表;绘图脚本只读取正式表。
2. **先有图像计划,再进正文**:每个候选图都有作用、claim id、源表、图注草稿、图后结论、风险说明和验证状态。
3. **诊断不自动提升**:灵敏度扫描和求解器检查可以写出,但在提升前不加入最终登记行。
4. **论文片段引用表格**:片段应指向结果表和图,而不是控制台输出或截图。
5. **测试编码论文风险**:测试应能抓住缺列、空图、状态误提升和旧图中文字残留。
## 不要复制的内容
- 旧 CSV 行中的 Windows 绝对路径。
- 旧竞赛标题、题目标题、队号或场景名。
- 旧公式或阈值,除非当前题目给出完全相同规则。
- 旧图像选择决策。
- 旧页数限制和格式规则。
## 模板审查问题
- 哪些字段来自当前题面?
- 哪些字段来自代码输出?
- 哪些字段仍只是占位符?
- 哪些输出只能作为诊断?
- 搜索后是否仍出现旧标签或旧数值?
- `reproduce_all.py` 能否从干净根目录重建正式表和图?
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |