Math Modeling Templates
SkillDev toolsUse 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.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Math Modeling Templates skill
What this skill tells your AI
The instructions your AI receives, as published by capwitf/my-mathmodeling-skills in math-templates/SKILL.md and read by ahel’s review.
Purpose
Provide lightweight reusable assets for 高教社杯/CUMCM-style mathematical modeling papers and support packages. Use the assets to preserve good structure, not to import old conclusions.
Core rule: reuse structure, not old content. Unless the user explicitly says prior contest material is current source evidence, do not copy old problem names, numbers, scenario labels, file paths, figure titles, or conclusions into a new project.
National-first quality gate: 国一候选 is a quality target, not an award promise (不承诺获奖). Template use is acceptable only when it helps the current paper show 题目贴合, 建模洞察, 证据可信, 可复现, and 边界清楚. A template sentence, old project scaffold, or chart script cannot replace current evidence.
Language/output boundary: skill reasoning, template selection, schemas, code scaffolds, algorithms, file names, registry statuses, LaTeX commands, English literature terms, and official rule quotations may stay English; 该英文就用英文. Paper-facing deliverables should default to Chinese contest prose: paper body, abstract snippets, copyable paragraph templates, project manifests, and reproduction user messages. Do not sacrifice model judgment, evidence chains, reproducibility, or terminology precision for localization (不因中文化牺牲).
Exact boundary for audits: the skill's internal 判断 may use English; only final 产出 inside paper-facing 交付文件 defaults to Chinese. Keep 算法名, 字段, code identifiers, and 官方规则原文 unchanged when precision would otherwise be lost.
Default to light asset library mode. Load or copy only the asset the user needs: style profile, section controls, paragraph phrases, code scaffold, chart template, evidence registry, or reproduction helper. Do not impose a project-management workflow unless the user asks to build or reorganize a full project.
Asset Root
Reusable project assets live in:
assets/contest-project-template/
Use them when the user asks to:
- start a contest project;
- reuse code or paper assets from a prior project;
- create per-question computation, plotting, or test scaffolds;
- standardize
results/qX, registries, figure plans, or paper fragments; - create national-prize style paper sections or paragraph phrasing;
- borrow contest writing patterns without copying old content;
- prepare a reproducible support package.
Reference Routing
Open only the smallest relevant reference:
| Need | Open |
|---|---|
| Asset inventory or categorization | references/asset-library-index.md |
| Safe copying or rewriting of templates | references/template-usage.md |
| Patterns from prior contest projects | references/prior-contest-patterns.md |
| Official-exemplar style observations | references/official-exemplar-notes.md |
| Paper style only, no project structure | references/national-prize-style-profile.md |
| Section labels, bold subquestion labels, colon spacing, 总分 structure | references/section-format-controls.md |
| Assumptions, model evaluation, framework advantages, limitations, extension wording | references/assumption-evaluation-controls.md |
| Plain contest prose, empty-phrase removal, numbers/units, judge readability | references/contest-language-guardrails.md |
| Problem analysis, model-building, result, validation, and evaluation paragraph flow | references/paragraph-flow.md |
Optional Full Scaffold
Use this only when the user asks to build or reorganize a full contest project. If they only need writing style, paragraph phrases, paper skeletons, or chart templates, skip this section.
- Check the current problem statement, official rules, data files, and required subquestions.
- Create only needed folders such as
data/raw,q1/src,q1/tests,results/q1,paper/fragments,logs, andtmp. - Copy only the needed files from
assets/contest-project-template/. - Rename
problem_templateto the active subquestion folder, such asq1orq2. - Replace placeholder schemas with current data columns, units, constraints, and output tables.
- Add or update evidence registries:
run_record.csv,result_registry.csv,figure_evidence.csv, andnumerical_diagnostics.csv. - Keep official outputs under
results/qX/; exploratory files stay out of final registries unless promoted bymath-hub. - Build
paper/fragments/qX.mdonly from verified result tables and figure evidence. - Add tests before a new compute or plot script supports a paper claim.
Asset Selection
| Need | Asset |
|---|---|
| New subquestion computation | problem_template/src/compute_template.py |
| New subquestion plotting | problem_template/src/plot_template.py |
| Regression test scaffold | problem_template/tests/test_pipeline_template.py |
| Reproduce official runs | reproduce_all.py |
| Paper fragment handoff | paper/fragments/fragment_protocol.md |
| Subquestion writing guide | paper/problem_guide_template.md |
| National-prize paper section skeleton | paper/section_templates_national.md |
| National-prize paragraph phrases | paper/paragraph_phrases_national.md |
| Registry seeds | registries/*.csv |
Reuse Safety
- Prior-project audit: separate reusable structure from problem-specific residue.
- Path audit: remove absolute local paths before reuse or packaging.
- Evidence audit: any template output that may enter the paper needs a registry row or verified source.
- Figure audit: any main-body figure template needs a figure plan/evidence row before paper use.
- Paper audit: fragments may cite only
results/qX, figure evidence, checked formulas, and verified rules. - Submission audit: reproduction scripts must run from the project root and must not depend on hidden local files.
Output Contract
Return only what the current request needs:
- copied or created template paths;
- reused structure patterns;
- placeholders still needing current problem facts;
- tests or validation commands run;
- old-template residue removed or still open;
- evidence-chain or submission risks, returned to
math-hubwhen they affect paper-ready status.
Signals
- GitHub stars
- 51
- Forks
- 1
- Last commit
- Jul 2026
Advanced
- Catalog kind
- skill
- Gateway key
math-templates- Source
- github.com/capwitf/my-mathmodeling-skills