一键导入
figure-table-planner
Plan figures and tables that support the modeling logic, results, and paper narrative.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Plan figures and tables that support the modeling logic, results, and paper narrative.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
At a judgment point, emit the 2-3 questions only the human modeler can answer — framed as trade-offs, not answers — and refuse to answer them. The inverse of "AI answers, human confirms": here the AI asks, the human answers, then the AI assists with the consequences.
Manage the full mathematical modeling contest workflow and decide which skill should be used next.
Verify every skill that claims "completed" produced a substantive audit/review artifact on disk with ≥ 5 explicit pass items. Runs as part of the independent audit layer that does not trust any single skill's self-declaration of done.
Generate publication-quality mathematical modeling figures with matplotlib, covering evaluation charts, prediction plots, optimization diagrams, mechanism schematics, heatmaps, and multi-panel layouts. Use when creating or revising figures for contest papers.
Extract, organize, and document unified model assumptions from the problem parse and candidate method pools, distinguishing necessary from simplifying assumptions.
Write mathematical modeling paper sections based only on available problem analysis, model plans, results, figures, and robustness reports.
| name | figure-table-planner |
| description | Plan figures and tables that support the modeling logic, results, and paper narrative. |
| license | MIT |
Plan figures and tables for a mathematical modeling contest solution, classifying each visual by its audience and purpose.
This skill determines which figures and tables are needed, what claim each artifact supports, which subquestion it belongs to, which data or result artifact it should use, which of four audience categories it falls into (diagnostic, comparison, paper, appendix), and where it should appear in the paper.
This skill ensures that visual materials serve the modeling logic rather than decoration, and that different audiences (modeler, method selector, paper reader) get the right visuals.
This skill does not fabricate data, generate unsupported figures, write final paper sections, or perform final QA.
B-layer posture — the AI drafts, the modeler owns the claim. Two spans in this plan are interpretive modeling judgments a judge grades, not mechanical bookkeeping: (a) the figure TYPE (1 诊断 / 2 对比 / 3 论文 / 4 附录) — what audience and purpose a figure serves — and (b) the core_claim — the single conclusion a figure is asked to defend in the paper. The AI may DRAFT both, but it must not FINALIZE either on the modeler's behalf:
[AI-DRAFT — modeler must confirm: <type>]. The human ratifies or changes it.[MODELER INPUT NEEDED: what single claim does this figure defend?] and stops there. A figure's claim is the sentence a judge weighs the figure against; the human authors it.[AI-DRAFT, [MODELER INPUT NEEDED) are exactly like the C-layer <<<HUMAN>>> sentinel: a surviving sentinel in a finalized plan is a GATE FAIL. completeness-auditor treats them as "not done". See Rules and Verification.Use this skill:
robustness-checker has produced usable robustness evidence.paper-section-writer.The following should already exist or be provided:
If model results do not exist, hand back to code-reviewer, python-model-code-generator, matlab-model-code-generator, or robustness-checker.
If robustness evidence is required but missing, hand back to robustness-checker.
Use or request:
workspace/problem/problem-parser/problem_parse.json, if available.methods/.methods/ (if available).workspace/data/data_report.md, if available.results/Qx/experiments/.robustness/.results/Qx/experiments/*/figures/.Every planned figure MUST be classified into one of four types:
Audience: The modeler. Purpose: Diagnose model problems, check assumptions, identify where the model is failing. When generated: During experimentation rounds, before final method selection. Paper use: Usually NOT included in the paper. For internal model debugging only. Examples:
Requirements:
results/Qx/experiments/roundN/figures/ (not paper figures).Audience: The modeler AND the paper writer (for method selection narrative). Purpose: Compare multiple candidate methods head-to-head, supporting method selection. When generated: During multi-method experiment rounds. Paper use: MAY be included in the paper to demonstrate thorough method selection, or may be referenced in text only. Examples:
Requirements:
results/Qx/experiments/roundN/figures/; if selected for paper, copy to paper/figures/.Audience: The paper reader (contest judges). Purpose: Support the main claims in the paper — final results, model structure, key findings. When generated: After final method is locked in. Paper use: MUST be included in the paper. Examples:
Requirements:
core_claim is a judgment a judge grades — the AI must NOT finalize it. Write the claim cell as [MODELER INPUT NEEDED: what single claim does this figure defend?] and leave it for the human. (The AI may still draft the figure's type/title/source artifact; only the claim is off-limits to author.)paper/figures/ (final location).Audience: The paper reader (for supplementary reference). Purpose: Provide supplementary evidence, detailed results, or additional validation. When generated: After final method is locked in, when the main paper cannot fit all figures. Paper use: Referenced in main text, shown in appendix. Examples:
Requirements:
paper/figures/ with clear appendix labeling.Identify paper claims and evidence needs.
Inventory available artifacts.
Plan structural figures (typically Type 3 or Type 1).
Plan result figures (classify each).
Plan tables (classify similarly).
Link figures and tables to paper sections.
Check visual evidence quality.
Produce a figure-table plan per subquestion.
methods/Qx/qx_figure_table_plan.md.Produce per-subquestion figure-table plans:
methods/Q1/q1_figure_table_plan.mdmethods/Q2/q2_figure_table_plan.mdmethods/Q3/q3_figure_table_plan.mdmethods/Q4/q4_figure_table_plan.md (if needed)Each plan includes:
Each methods/Qx/qx_figure_table_plan.md must follow this structure:
# Qx Figure and Table Plan
## 1. Figure Inventory
### Type 3 — 论文图 (Paper Figures — MUST appear in paper)
The figure **type** is an AI draft the modeler confirms; the **Claim Supported** for every Type 3 figure is `[MODELER INPUT NEEDED: ...]` — the AI must not author it. A surviving sentinel here is a GATE FAIL.
| ID | Title | Type | Claim Supported | Source Artifact | Paper Section | Status | Caption |
|----|-------|------|----------------|-----------------|---------------|--------|---------|
| Fig.X.1 | Final Ranking Comparison | `[AI-DRAFT — modeler must confirm: bar chart / 论文图]` | `[MODELER INPUT NEEDED: what single claim does this figure defend?]` | `results/Q1/experiments/final/tables/m2_scores.csv` | Results Analysis | exists / planned | "Figure X: Final city rankings based on entropy-weight TOPSIS scores..." |
### Type 2 — 对比图 (Comparison Figures — MAY appear in paper)
| ID | Title | Type | Comparison | Source Artifact | Paper Section (if used) | Status | Caption |
|----|-------|------|-----------|-----------------|------------------------|--------|---------|
| Fig.X.2 | Method Comparison: Ranking Overlap | venn/heatmap | M1 vs M2 vs M3 | `results/Q1/experiments/round2/metrics/comparison_metrics.json` | Method Selection or Appendix | exists / planned | "Figure X: Overlap of top-5 rankings across three candidate methods..." |
### Type 1 — 诊断图 (Diagnostic Figures — Internal use, NOT for paper)
| ID | Title | Type | Diagnostic Purpose | Source Artifact | Status |
|----|-------|------|-------------------|-----------------|--------|
| Fig.X.D1 | Indicator Correlation Heatmap | heatmap | Check multicollinearity among indicators | `workspace/data/data_clean/indicator_data.csv` | exists / planned |
### Type 4 — 附录图 (Appendix Figures — Reference from main text)
| ID | Title | Type | Claim Supported | Source Artifact | Status |
|----|-------|------|----------------|-----------------|--------|
| Fig.X.A1 | Full Weight Sensitivity for All Indicators | sensitivity curves | Extended sensitivity analysis (main paper shows top-3 indicators only) | `robustness/Q1/weight_sensitivity.csv` | planned |
## 2. Table Inventory
| ID | Title | Type | Claim Supported | Source Artifact | Paper Section | Status |
|----|-------|------|----------------|-----------------|---------------|--------|
| Table X.1 | Indicator Weights (Entropy Method) | result table | "Indicator weights are objectively determined by data dispersion." | `results/Q1/experiments/final/tables/m2_weights.csv` | Model Construction | exists |
| Table X.2 | Method Comparison Metrics | comparison table | "Entropy-TOPSIS provides better differentiation than equal-weight scoring." | `results/Q1/experiments/round2/metrics/comparison_metrics.json` | Method Selection | exists |
| Table X.3 | Weight Sensitivity Results | sensitivity table | "Top-3 ranking remains stable under ±10% weight perturbation." | `robustness/Q1/weight_sensitivity.csv` | Robustness Analysis | exists |
## 3. Existing vs Planned Summary
- **Existing figures**: [count] (Type 1: [n], Type 2: [n], Type 3: [n], Type 4: [n])
- **Planned figures**: [count] (Type 1: [n], Type 2: [n], Type 3: [n], Type 4: [n])
- **Existing tables**: [count]
- **Planned tables**: [count]
## 4. Missing Artifacts
| Artifact | Type | Reason Needed | Blocking? |
|----------|------|---------------|-----------|
| `paper/figures/q1_final_ranking.png` | Type 3 | Required for Results Analysis section | Yes |
| `results/Q1/experiments/round2/figures/residual_diagnostic.png` | Type 1 | Useful for modeler to check indicator redundancy | No |
## 5. Visual Risks
- [Risk 1: e.g., "Final ranking figure does not yet have publication-quality formatting."]
- [Risk 2: e.g., "Comparison figure only covers 2 of 3 candidate methods."]
## 6. Handoff
- **Next skill**: `paper-section-writer`
- **Ready figures for paper**: [list]
- **Figures needing generation/improvement**: [list]
Use these table types consistently:
| Type | Purpose | Paper Use |
|---|---|---|
symbol_table | Define variables, parameters, units | Always in paper (Symbols section) |
data_summary_table | Describe data fields, quality, transformations | Usually in paper (Data Preprocessing) |
model_result_table | Show final scores, rankings, predictions, decisions | Always in paper (Results Analysis) |
comparison_table | Compare baseline vs main model, or multiple candidate methods | Often in paper (Method Selection or Results) |
sensitivity_table | Show parameter perturbation effects | Always in paper (Robustness) |
parameter_table | List model parameters and their values/sources | Often in paper (Model Construction) |
[AI-DRAFT — modeler must confirm: <type>]; the human ratifies or changes it. The four-type taxonomy and the "Type 1 诊断图 never in paper" rule are unchanged.[MODELER INPUT NEEDED: what single claim does this figure defend?]. The claim is the one sentence a judge weighs the figure against; the modeler owns it. (For Type 1/2/4 the AI may draft a claim, but a Type 3 claim is load-bearing and human-authored.)[AI-DRAFT or [MODELER INPUT NEEDED sentinel in a finalized plan is a GATE FAIL — identical to a surviving <<<HUMAN>>> in a C-layer decision artifact. completeness-auditor treats these as "not done". Do not strip a sentinel by inventing the human's answer; only the modeler resolves it.Before handing off, verify:
[AI-DRAFT and no [MODELER INPUT NEEDED sentinel survives in a plan that is being handed off as "ready". A surviving sentinel means the modeler has not yet confirmed the figure type or authored the Type 3 claim — the plan is NOT ready, exactly as a surviving <<<HUMAN>>> blocks a C-layer artifact. Grep each methods/Qx/qx_figure_table_plan.md for [AI-DRAFT and [MODELER INPUT NEEDED before claiming done.core_claim — not an AI sentence, not a copy of the AI's caption. If the claim cell still reads [MODELER INPUT NEEDED: ...], hand the plan back to the modeler; do not author the claim to make the gate pass.paper-section-writer or workflow-orchestrator.Stop and report a blocker if:
This skill must stop instead of guessing when:
When stopping, output:
After producing per-subquestion figure-table plans, hand off to:
paper-section-writer
The handoff should include:
If missing visuals require additional robustness results, hand back to robustness-checker.
If missing visuals require model outputs, hand back to code-reviewer or a language-specific model-code-generator.
Input state:
Output (methods/Q1/q1_figure_table_plan.md excerpt):
# Q1 Figure and Table Plan
## 1. Figure Inventory
### Type 3 — 论文图 (Paper Figures)
Type cells carry the AI's confirmable draft; every Claim Supported cell is left for the modeler. (Sentinels shown unresolved here on purpose — a finalized plan must have all of these replaced by the human, or the gate fails.)
| ID | Title | Type | Claim Supported | Paper Section | Status |
|----|-------|------|----------------|---------------|--------|
| Fig.1.1 | Overall Evaluation Workflow | `[AI-DRAFT — modeler must confirm: flowchart / 论文图]` | `[MODELER INPUT NEEDED: what single claim does this figure defend?]` | Model Construction | planned |
| Fig.1.2 | Indicator Weight Distribution | `[AI-DRAFT — modeler must confirm: bar chart / 论文图]` | `[MODELER INPUT NEEDED: what single claim does this figure defend?]` | Model Construction | exists |
| Fig.1.3 | Final City Ranking | `[AI-DRAFT — modeler must confirm: horizontal bar chart / 论文图]` | `[MODELER INPUT NEEDED: what single claim does this figure defend?]` | Results Analysis | exists |
### Type 2 — 对比图 (Comparison Figures)
| ID | Title | Type | Comparison | Paper Section | Status |
|----|-------|------|-----------|---------------|--------|
| Fig.1.4 | Ranking Comparison: Equal-Weight vs Entropy-TOPSIS | scatter/dumbbell | M1 (baseline) vs M2 (final) | Method Selection | exists |
| Fig.1.5 | Method Comparison Radar Chart | radar | M1 vs M2 vs M3 on 5 criteria | Method Selection (optional) | planned |
### Type 1 — 诊断图 (Internal Use)
| ID | Title | Type | Diagnostic Purpose | Status |
|----|-------|------|-------------------|--------|
| Fig.1.D1 | Indicator Correlation Matrix | heatmap | Check for redundant indicators before entropy weighting | exists |
| Fig.1.D2 | Score Distribution by Method | histogram | Check if scores are overly concentrated | exists |
### Type 4 — 附录图 (Appendix)
| ID | Title | Type | Claim Supported | Status |
|----|-------|------|----------------|--------|
| Fig.1.A1 | Full Weight Sensitivity (±20%) | sensitivity lines | Extended robustness (main paper shows ±10% only) | planned |
### Type 3 — 论文图
(Claim cells stay `[MODELER INPUT NEEDED]` until the modeler authors them; the type is the AI's confirmable draft.)
| ID | Title | Type | Claim Supported | Status |
|----|-------|------|----------------|--------|
| Fig.2.1 | Prediction vs Actual (Test Set) | `[AI-DRAFT — modeler must confirm: scatter + line / 论文图]` | `[MODELER INPUT NEEDED: what single claim does this figure defend?]` | exists |
| Fig.2.2 | Forecast with Confidence Intervals | `[AI-DRAFT — modeler must confirm: line + ribbon / 论文图]` | `[MODELER INPUT NEEDED: what single claim does this figure defend?]` | exists |
### Type 2 — 对比图
| ID | Title | Comparison | Status |
|----|-------|-----------|--------|
| Fig.2.3 | Method Error Comparison (RMSE) | Moving Average vs ARIMA vs Grey Prediction | exists |
| Fig.2.4 | Residual Comparison | M1 vs M2 vs M3 | planned |
### Type 1 — 诊断图
| ID | Title | Diagnostic Purpose | Status |
|----|-------|-------------------|--------|
| Fig.2.D1 | ACF/PACF Plot | Identify ARIMA order (p, d, q) | exists |
| Fig.2.D2 | Residual ACF | Check if residuals are white noise | exists |
### Type 4 — 附录图
| ID | Title | Claim Supported | Status |
|----|-------|----------------|--------|
| Fig.2.A1 | Rolling-Origin Forecast Evaluation | Extended validation | planned |