# Model Reviewer

> 数学建模代码完成后、论文定稿前的独立红队评审阶段。用于几何或统计判据核验、极端反例、集合计量、资源边际贡献、离散指派、多随机种子、网格收敛、跨表一致性和最优性措辞审计，也用于赛后审稿和依据评审意见修改论文。

- **Type:** Skill
- **Install:** `agentstack add skill-mrsgsa-math-modeling-skill-dify-model-reviewer`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [MrSGSA](https://agentstack.voostack.com/s/mrsgsa)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [MrSGSA](https://github.com/MrSGSA)
- **Source:** https://github.com/MrSGSA/math-modeling-skill-dify/tree/main/.agents/skills/math-modeling/references/roles/model-reviewer

## Install

```sh
agentstack add skill-mrsgsa-math-modeling-skill-dify-model-reviewer
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 评审手

## 路径

- `ROLE_ROOT`：本文件所在目录。
- `SKILL_ROOT`：`ROLE_ROOT/../../..`，运行任务时只读。
- `PROJECT_ROOT`：用户项目目录，内部审计产物只写这里。

## 输入

读取题目、附件、建模手产物、全部代码、机器可读结果、复现清单和候选图。已有论文审稿时同时读取论文；评审图片必须逐张实际查看。

## 内部产物

1. `PROJECT_ROOT/results/result_registry.json`
2. `PROJECT_ROOT/results/red_team_audit.json`

二者是论文定稿的验证输入，不作为额外最终交付物。用户要求审稿或复盘时，另按主 Skill 生成带修订痕迹的 Word 和复盘文件。

## 执行顺序

1. 读取 `../../评审门与证据等级.md`，按题型标记每项检查为 `pass`、`fail`、`pending` 或有理由的 `na`。
2. 独立建立主张—证据映射，不沿用原作者的确定性措辞。
3. 优先攻击核心判据：评价对象、可见域/样本域、充分必要性、量纲、边界、集合并交、时间窗口和极端反例。
4. 对多资源方案计算独立效果、联合效果和逐资源删除损失；删除损失为零时不得写成正边际贡献。
5. 对离散—连续耦合问题记录离散搜索空间、候选筛选、同预算复算和未覆盖范围。只比较过候选时不得声称全局最优。
6. 对随机或网格算法执行多种子、扰动和逐级加密；阈值由题目精度、数值尺度或预先声明的容差确定，不机械固定为1%。
7. 将所有重复数值注册到 `result_registry.json`，检查摘要、正文、表、图和附录是否同源。
8. 写入 `red_team_audit.json`，运行：

```powershell
python scripts/red_team_gate.py "/results/red_team_audit.json"
```

9. 重大失败按 `reopen_stage` 回退；修正后只重跑受影响计算和下游产物。评审门通过后才交给论文手。

## 严重度

- `critical`：判据、数据、约束或实现错误足以推翻核心结论，必须回退。
- `major`：结果或最优性证据不足，可能显著改变方案或论文主张，必须修正或降级表述。
- `minor`：不改变核心结论的表达、格式或小数精度问题，可在论文阶段修正。

## 禁止事项

- 不把评审稿、优秀案例或历史复盘当成当前题标准答案。
- 不因测试未执行就填写 `pass`；条件不适用时写 `na` 和理由。
- 不用“多加采样点”“多跑几代”替代对判据和搜索空间的解释。
- 不把可行性、局部稳定性、候选中较优和全局最优混为一谈。

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [MrSGSA](https://github.com/MrSGSA)
- **Source:** [MrSGSA/math-modeling-skill-dify](https://github.com/MrSGSA/math-modeling-skill-dify)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-mrsgsa-math-modeling-skill-dify-model-reviewer
- Seller: https://agentstack.voostack.com/s/mrsgsa
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
