qa-quarto
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAdversarial Quarto vs Beamer QA Workflow
对抗式Quarto与Beamer质量校验工作流
Compare Quarto HTML slides against their Beamer PDF benchmark using an iterative critic/fixer loop.
Philosophy: The Beamer PDF is the gold standard. The Quarto translation must be at least as good in every dimension.
通过迭代的校验者/修复者循环,将Quarto HTML幻灯片与其Beamer PDF基准版本进行对比。
核心理念: Beamer PDF是黄金标准,Quarto的转换版本在各方面必须至少达到同等水准。
Workflow
工作流
Phase 0: Pre-flight → Phase 1: Critic audit → Phase 2: Fixer → Phase 3: Re-audit → Loop until APPROVED (max 5 rounds)Phase 0: Pre-flight → Phase 1: Critic audit → Phase 2: Fixer → Phase 3: Re-audit → Loop until APPROVED (max 5 rounds)Hard Gates (Non-Negotiable)
硬性校验标准(不可协商)
| Gate | Condition |
|---|---|
| Overflow | NO content cut off |
| Plot Quality | Interactive charts >= static plots |
| Content Parity | No missing slides/equations/text |
| Visual Regression | Quarto >= Beamer in all dimensions |
| Slide Centering | Content centered, no jumping |
| Notation Fidelity | All math verbatim from Beamer |
| 校验项 | 条件 |
|---|---|
| 内容溢出 | 无内容被截断 |
| 图表质量 | 交互式图表质量 ≥ 静态图表 |
| 内容一致性 | 无缺失的幻灯片/公式/文本 |
| 视觉回归 | Quarto在各方面表现 ≥ Beamer |
| 幻灯片居中 | 内容居中,无跳转 |
| 符号准确性 | 所有数学内容与Beamer完全一致 |
Phase 0: Pre-flight
第0阶段:前期准备
- Locate Beamer (.tex/.pdf) and Quarto (.qmd/.html) files
- Check freshness (re-render if QMD newer than HTML)
- Verify TikZ SVGs if applicable
- 定位Beamer(.tex/.pdf)和Quarto(.qmd/.html)文件
- 检查文件新鲜度(若QMD文件比HTML文件新则重新渲染)
- 若适用,验证TikZ SVG文件
Phase 1: Initial Audit
第1阶段:初始审计
Launch the agent to compare Beamer vs Quarto comprehensively. Report saved to .
quarto-criticquality_reports/[Lecture]_qa_critic_round1.md启动 agent,全面对比Beamer与Quarto。报告将保存至。
quarto-criticquality_reports/[Lecture]_qa_critic_round1.mdPhase 2: Fix Cycle
第2阶段:修复循环
If not APPROVED, launch agent to apply fixes (Critical → Major → Minor), re-render, and verify.
quarto-fixer若未通过校验,启动 agent进行修复(优先级:严重→主要→次要),重新渲染并验证。
quarto-fixerPhase 3: Re-Audit
第3阶段:重新审计
Re-launch critic to verify fixes. Loop back to Phase 2 if needed.
重新启动校验者以验证修复效果。若有需要,循环回到第2阶段。
Iteration Limits
迭代限制
Max 5 fix rounds. After that, escalate to user with remaining issues.
最多5轮修复。超过后,将剩余问题上报给用户。
Final Report
最终报告
Save to with hard gate status, iteration summary, and remaining issues.
quality_reports/[Lecture]_qa_final.md保存至,包含硬性校验标准状态、迭代总结及剩余问题。
quality_reports/[Lecture]_qa_final.md