ワンクリックで
quality-assurance-auditor
Audit the complete mathematical modeling solution before final submission and identify blocking issues.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Audit the complete mathematical modeling solution before final submission and identify blocking issues.
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.
Plan figures and tables that support the modeling logic, results, and paper narrative.
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.
| name | quality-assurance-auditor |
| description | Audit the complete mathematical modeling solution before final submission and identify blocking issues. |
| license | MIT |
Audit the complete mathematical modeling contest solution before final submission.
This skill is the third of three independent auditors that together form Gate G6. It runs after consistency-auditor and completeness-auditor and consumes their reports as inputs — it does NOT re-do their checks. Each auditor catches a different failure mode:
consistency-auditor → cross-media numbers / files / symbols / parameters (does the paper claim match the code?)completeness-auditor → audit/review files exist on disk with ≥ 5 pass items (did the producer skills actually write what they claimed?)quality-assurance-auditor (this skill) → workflow completeness, three critical rules, anti-fabrication, paper quality (is the whole pipeline coherent and defensible?)This skill checks whether the solution answers every subquestion, whether models / code / results / figures / robustness checks / paper sections are mutually coherent, whether the full workflow completeness requirements are met, and whether unsupported claims or missing artifacts block final delivery.
This skill verifies that every subquestion has gone through the full delivery chain: candidate methods (with PoC) → experiments → final method explanation → final result analysis → solution package (with frozen_numbers.json) → paper sections.
This skill does not invent missing results, rewrite the full paper, rerun models, or approve submission when evidence is incomplete. It also does not approve assembly if the other two audits (consistency / completeness) are missing or failed — the three are orthogonal and all must converge.
Use this skill:
paper-section-writer has drafted paper sections for all subquestions.The following should already exist or be provided:
If paper sections are missing, hand back to paper-section-writer.
If model results are missing, hand back to python-model-code-generator, matlab-model-code-generator, or code-reviewer.
Use or request:
workspace/problem/problem-parser/problem_parse.jsonworkspace/problem/problem-classifier/problem_classification.jsonmethods/Qx/qx_method_candidates.md (all subquestions)methods/Qx/qx_method_iteration_log.md (all subquestions)methods/Qx/qx_final_method_explanation.md (all subquestions)results/Qx/reports/qx_final_result_analysis.md (all subquestions)results/Qx/reports/qx_solution_package_for_writer.md (all subquestions)results/Qx/experiments/robustness/Qx/methods/Qx/results/Qx/experiments/*/figures/ and paper/figures/paper/sections/code/planning/progress_dashboard.md (workflow status)Verify sibling auditors have run (independent audit layer prerequisite).
paper/audits/cross_media_consistency_audit.md exists with verdict PASSED.paper/audits/completeness_audit.md exists with verdict PASSED.QA is the third independent auditor, not a super-auditor that subsumes the others.
Check problem coverage.
Check workflow completeness (NEW — expanded check).
methods/Qx/qx_method_candidates.md).results/Qx/experiments/roundN/).methods/Qx/qx_method_iteration_log.md).methods/Qx/qx_final_method_explanation.md).results/Qx/reports/qx_final_result_analysis.md).results/Qx/reports/qx_solution_package_for_writer.md).robustness/Qx/qx_robustness_report.md) or a justified exception.methods/Qx/qx_figure_table_plan.md).Check the three critical rules.
Check artifact lineage.
Check model consistency.
qx_final_method_explanation.md), not an earlier candidate.Check data and result consistency.
Check paper quality.
Check for fabrication and exaggeration.
Produce a QA report — MANDATORY substantive file on disk.
paper/qa_report.md.completeness-auditor.Produce a QA report at:
paper/qa_report.mdContaining:
qa_status (passed / failed)final_assembly_allowed (true / false)blocking_issuesminor_issuesworkflow_completeness_check (per subquestion)three_critical_rules_checkunsupported_claimsfabrication_risksartifact_traceabilitysubquestion_coveragerepair_planrecommended_next_skill# QA Report
## Overall Status
- **QA Status**: passed / failed
- **Final Assembly Allowed**: true / false (only if ALL THREE auditors PASS — see below)
- **Date**: [timestamp]
## Sibling Auditor Status (Gate G6 prerequisite)
| Auditor | Report Path | Verdict |
|---------|-------------|---------|
| consistency-auditor | paper/audits/cross_media_consistency_audit.md | PASSED / FAILED / MISSING |
| completeness-auditor | paper/audits/completeness_audit.md | PASSED / FAILED / MISSING |
| quality-assurance-auditor (this report) | paper/qa_report.md | PASSED / FAILED |
**Cross-auditor verdict**: ALL_PASSED (assembly allowed) / ONE_OR_MORE_FAILED (assembly blocked)
## Pass Items (≥ 5 REQUIRED for this audit to count as substantive)
1. ✅ Every subquestion (Q1, Q2, Q3, Q4) has paper/sections/qx.tex on disk and non-empty.
2. ✅ All `frozen_numbers.json` files exist and are newer than their referenced code (no stale freeze).
3. ✅ Every main model has a baseline comparison in its results section.
4. ✅ No fabricated references detected (cross-checked against reference-manager's reference_audit.md).
5. ✅ Every figure in `paper/figures/` is Type 3 (论文图) or Type 4 (附录图); no Type 1 (诊断图) leaked in.
6. ✅ ...
## Workflow Completeness Check
| Check | Q1 | Q2 | Q3 | Q4 |
|-------|----|----|----|-----|
| 1. Candidate method pool | ✅ | ✅ | ✅ | ❌ |
| 2. Experiment report(s) | ✅ (R2) | ✅ (R1) | ❌ | ❌ |
| 3. Method iteration log | ✅ | ❌ | ❌ | ❌ |
| 4. Final method explanation | ✅ | ❌ | ❌ | ❌ |
| 5. Final result analysis | ✅ | ❌ | ❌ | ❌ |
| 6. Solution package | ✅ | ❌ | ❌ | ❌ |
| 7. Robustness report | ✅ | ❌ | ❌ | ❌ |
| 8. Figure-table plan | ✅ | ❌ | ❌ | ❌ |
## Three Critical Rules Check
| Rule | Q1 | Q2 | Q3 | Q4 | Status |
|------|----|----|----|-----|--------|
| Rule 1: Paper method matches final method explanation | ✅ | ❌ (no final explanation) | N/A | N/A | Q2 FAIL |
| Rule 2: Paper results from final result analysis | ✅ | N/A | N/A | N/A | PASS |
| Rule 3: Solution package exists and was used | ✅ | ❌ (no package) | N/A | N/A | Q2 FAIL |
## Subquestion Coverage
| Subquestion | Answered in Paper | Model Exists | Results Exist | Robustness Exists | Status |
|-------------|-------------------|-------------|---------------|-------------------|--------|
| Q1 | ✅ | ✅ (entropy-TOPSIS) | ✅ | ✅ | Complete |
| Q2 | ⏳ (partial draft) | ❌ (no final) | ❌ | ❌ | Blocked |
| Q3 | ❌ | ❌ | ❌ | ❌ | Blocked |
| Q4 | ❌ | ❌ | ❌ | ❌ | Blocked |
## Blocking Issues
| # | Issue | Affects | Why It Matters | Repair Skill |
|---|-------|---------|---------------|--------------|
| 1 | Q2 has no final method explanation | Q2 completion | Paper cannot describe the final model | `final-method-explainer` |
| 2 | Q3 not started | Q3 completion | Subquestion unanswered | `workflow-orchestrator` |
| 3 | Q4 not started | Q4 completion | Subquestion unanswered | `workflow-orchestrator` |
## Minor Issues
| # | Issue | Affects | Repair Skill |
|---|-------|---------|--------------|
| 1 | Q1 Figure 1.3 caption does not state the main takeaway | Q1 paper section | `paper-section-writer` |
| 2 | Q1 robustness report missing boundary condition statement | Q1 robustness section | `robustness-checker` |
## Unsupported Claims
| # | Claim | Location | Why Unsupported | Action |
|---|-------|----------|----------------|--------|
| 1 | "The model is globally stable." | paper/sections/q1.tex | Robustness only checked ±10% weight perturbation | Downgrade to "stable under moderate perturbation" |
## Fabrication Risks
| # | Risk | Location | Evidence |
|---|------|----------|----------|
| — | (none detected) | — | — |
## Artifact Traceability (spot check)
| Paper Claim | Source Artifact | Traceable? |
|-------------|----------------|------------|
| "City A ranks highest with score 0.88." | `results/Q1/experiments/final/tables/m2_scores.csv` | ✅ |
## Repair Plan
1. **BLOCKING**: Run `final-method-explainer` for Q2 to produce `methods/Q2/q2_final_method_explanation.md`.
2. **BLOCKING**: Run `workflow-orchestrator` to plan Q3 and Q4 execution.
3. **MINOR**: Update Q1 Figure 1.3 caption via `paper-section-writer`.
4. **MINOR**: Add boundary condition statement to Q1 robustness report via `robustness-checker`.
## Recommended Next Skill
- **If QA failed**: `workflow-orchestrator` (with repair plan)
- **If QA passed**: `workflow-orchestrator` (for final assembly)
consistency-auditor (cross-media number/file/symbol checks) or completeness-auditor (audit-file existence checks). Consume their reports as inputs.paper/qa_report.md with ≥ 5 explicit pass items. completeness-auditor will flag a verbal-only QA as MISSING.Before approving final assembly, verify:
blocking_issues is empty.workflow_completeness_check passes for all subquestions (8/8 checks per subquestion, or justified exceptions).three_critical_rules_check passes for all subquestions.unsupported_claims is empty or explicitly removed from final text.paper/audits/cross_media_consistency_audit.md (PASSED) AND paper/audits/completeness_audit.md (PASSED).paper/qa_report.md exists with ≥ 5 explicit pass items — this file is the output of THIS skill; verify it was actually written.final_assembly_allowed is true only when the cross-auditor verdict is ALL_PASSED.Stop and report a blocker if:
This skill must stop instead of guessing when:
When stopping, output:
If QA passes:
→ workflow-orchestrator with final_assembly_allowed: true.
If QA fails:
→ workflow-orchestrator with repair plan routing to the relevant upstream skill.
Repair routing:
problem-parser → missing or misread subquestionsproblem-classifier → wrong task type mappingmethod-selector → missing candidate pooldata-auditor-cleaner → data issuesmodel-code-analyzer or code generators → missing codecode-reviewer → code or artifact issuesresult-report-generator → missing experiment report or final result analysisfinal-method-explainer → missing final method explanationsolution-package-builder → missing solution packagerobustness-checker → missing stability evidencefigure-table-planner → unsupported visuals or missing figure planpaper-section-writer → writing or traceability issues{
"qa_status": "failed",
"final_assembly_allowed": false,
"blocking_issues": [
{
"issue": "Q2 has no final method explanation (methods/Q2/q2_final_method_explanation.md missing).",
"why_it_matters": "The paper cannot write the Q2 model construction section. Rule 1 violated.",
"repair_skill": "final-method-explainer"
}
],
"workflow_completeness_check": {
"Q1": {"passed": true, "missing": []},
"Q2": {"passed": false, "missing": ["final_method_explanation", "final_result_analysis", "solution_package", "robustness_report"]},
"Q3": {"passed": false, "missing": ["all"]},
"Q4": {"passed": false, "missing": ["all"]}
},
"recommended_next_skill": "workflow-orchestrator"
}
{
"qa_status": "failed",
"final_assembly_allowed": false,
"unsupported_claims": [
{
"claim": "The prediction model is highly accurate.",
"location": "paper/sections/q2.tex",
"reason": "No error metric or baseline comparison is provided.",
"repair_skill": "robustness-checker"
}
],
"recommended_next_skill": "robustness-checker"
}
{
"qa_status": "passed",
"final_assembly_allowed": true,
"blocking_issues": [],
"minor_issues": [
{
"issue": "Figure caption for Q1 Fig.1.3 could be more specific.",
"repair_skill": "paper-section-writer"
}
],
"workflow_completeness_check": {
"Q1": {"passed": true, "missing": []},
"Q2": {"passed": true, "missing": []},
"Q3": {"passed": true, "missing": []},
"Q4": {"passed": true, "missing": []}
},
"three_critical_rules_check": {
"Q1": {"all_passed": true},
"Q2": {"all_passed": true},
"Q3": {"all_passed": true},
"Q4": {"all_passed": true}
},
"recommended_next_skill": "workflow-orchestrator"
}