graphify
GRGraphify-Labs/graphify156k2,564 new stars in the last 7 days
Convert academic papers (.pdf/.docx), theses, grant proposals, and research reports into professor-convincing, publication-grade 16:9 Chinese Navy-White-Crimson (学院蓝白红) strict image-only PPT decks for lab group meetings (组会汇报/文献精读), thesis proposals (开题答辩), grant reports (基金结题), and graduation defenses (毕业答辩). Follows a strict 3-stage pipeline with a Stage-1 Advisor Rigor Gate: (1) Full-fidelity paper/OMML-equation/table parsing, real figure cropping/stitching & 4-ledger high-density outline (ppt_outline.md), (2) Locked visual scheme preview (visual_preview.png), and (3) Full-slide $imagegen generation with lossless real paper figure embedding, complete paper equations, multi-baseline trade-off attribution, Speaker Notes, and automated content+visual validation.
Turn research papers (.pdf or .docx), proposals, and theses into high-rigor, professor-convincing 16:9 Chinese academic PPT decks (defense_presentation.pptx) that thoroughly explain the paper's problem positioning, mathematical mechanisms, training/inference protocols, multi-baseline evidence, and causal trade-offs—eliminating shallow 40-word slogan flashcards, dropped equations, and generic AI filler.
Clear 3-Stage Pipeline + Stage-1 Depth Gate (Strict Execution Order):
scripts/extract_paper_assets.py 提取全文、OMML/LaTeX 编号公式、结构化数据表及高清原图/拼合组图 → 建立四大前置证据台账(原图台账 + 编号公式上屏台账 + 既有基线卡点与训练/推理协议台账 + 多维实证与权衡台账)→ 编写高含金量 outputs/ppt_outline.md,并强制通过 scripts/validate_outputs.py --base-dir ./outputs --outline-only 深度门禁后再进入 Stage 2!Style Bible(体系 A 或 体系 B,或用户模板)→ 用 $imagegen 生成并审校全套缩略图视觉方案 outputs/imagegen/visual_preview.png;$imagegen 生成完整高清页图 → 对引用论文原图的页面用 scripts/embed_paper_figure.py 像素级无损精嵌论文真图(支持单图 L11a/L11b 与双图并列 L11c) → 8 维导师级质检 → 装配带演讲备注的严格全图 outputs/defense_presentation.pptx 并通过 validate_outputs.py。Pass the "Advisor's 5-Question Interrogation" (导师五连问硬核内容标准 — 拒绝提词卡式空壳!): Every deck MUST thoroughly answer the 5 questions a thesis advisor or reviewer immediately asks:
1.2 页!):严禁跳过相关工作直接讲自身网络! 必须具名梳理 3–4 条代表性技术路线及关键基线(如确定性回归 Retinexformer、像素扩散 Diff-Retinex、非扩散细节通路 DiffLight、二元潜在扩散 Reti-Diff),明确各自做对了什么、卡在哪个结构瓶颈,从而导出本文不可替代的破局闭环。Formula Integrity, Substantive Density & Zero-Echo Law (公式必上屏 · 高密度干货 · 零复读零注水):
式(1), 式(2)–(5), 式(6)–(8), 式(9)–(13)) in its rationale or footer, those exact paper equations MUST be written explicitly on the slide canvas! Never put 式(6)-(8) in the footer while rendering zero equations on the slide!PSNR = 10 log10(MAX^2/MSE), FID = ||μ_r - μ_g||^2 + Tr(...), SSIM = ...) unless proposing a new metric is the paper's actual contribution! Formula space belongs strictly to the paper's own modeling, operator, and loss equations.3 .. N-1, excluding Cover/TOC/Divider/Thanks) MUST carry 140–260 Chinese characters of structured academic substance in ### 上屏文案 (organized cleanly into 1 句顶栏定调结论 + 2–3 张各司其职的结构化剖析卡(每卡 2–3 条紧凑机制/公式/数据要点)+ 1 条底部边界/启示总结条). Slides with < 100 chars of bare 12-word slogans are strictly rejected!论点标题 → 全局机制横幅 → 具体公式/张量/数据拆解卡 → 适用边界底栏). NEVER repeat the banner sentence inside a card, and NEVER render the same formula twice on one slide!Real Paper Figure Integration (No Toy Hallucinations!):
outputs/source_assets/figures/ in Stage 1 (for .docx manuscripts, extract_paper_assets.py automatically extracts embedded figures AND stitches multi-panel (a)..(h) comparison tables into composite_panel_XX.png).L11a (left figure + right 3-card deep analysis), L11b (top wide figure + bottom 3-column deep analysis), or L11c (top dual side-by-side figures + bottom 3-column architecture/formula/mechanism breakdown), compositing real figures losslessly via scripts/embed_paper_figure.py.Strict Image-Only Slide Canvas, Provenance & Zero Style Cross-Contamination:
defense_presentation.pptx contains exactly one unified 16:9 bitmap and zero editable visible text boxes, with oral scripts (演讲备注, 130–220 chars/slide) attached to PPTX Speaker Notes (ppt/notesSlides/).$CODEX_HOME/skills/.system/imagegen/SKILL.md before Stage 2 and Stage 3 when available (built_in_image_gen primary; imagegen_cli_fallback via gpt-image-2 on transient/bounded failure; never print OPENAI_API_KEY). Never use HTML/SVG/python-pptx text shapes as slide substitutes.南京审计大学, 北京交通大学, NIH/NIDCD), cross-discipline motifs (brain/neurons), or Style A campus-building footer line-art onto a Style B deck; keep bottom-right page badge color/geometry 100% identical across ALL slides.Priority: (1) Current user instructions → (2) User-provided PPT/PPTX template (visual system only) → (3) Default 学院蓝白红(Navy-White-Crimson) in references/visual-style-spec.md:
style-a-*.png):深海蓝 #0B2954 顶底通栏 + 实心深蓝小标题条白底卡片 + 右置红顶「结论」锚定卡 + 大数字章节过渡页 + 居中白字红线页码。style-b-*.png, style-c-engineering-pipeline.png):纯白底 + 编号宝蓝 #105091 断言式主标题与细蓝线 + 浅冰蓝底红蓝双色核心结论横幅 + 实心宝蓝/绛红头微影结构化卡片 + 论文无损原图框/Origin 高精多维图表 + 统一深蓝斜角梯形页码 XX/NN(严禁混入体系 A 校园建筑线稿或末页突变红底角标)。front-cover-anchor.png, front-toc-anchor.png, closing-synthesis-anchor.png, closing-thanks-anchor.png.Before Stage 1, read:
references/academic-narrative-guide.mdreferences/layout-library.mdreferences/visual-style-spec.mdreferences/slide-prompt-guide.mdreferences/outline-template.mdoutputs/ppt_outline.md)Extract Full Paper Text, OMML/PDF Equations, Structured Tables & Real Figures:
PYTHON_BIN="$(command -v python3)"
[ -x "$HOME/.cache/codex-runtimes/codex-primary-runtime/dependencies/python/bin/python3" ] && \
PYTHON_BIN="$HOME/.cache/codex-runtimes/codex-primary-runtime/dependencies/python/bin/python3"
"$PYTHON_BIN" scripts/extract_paper_assets.py --input <source_file> --out-dir ./outputs/source_assets
outputs/source_assets/extracted_text.md AND outputs/source_assets/figure_guide.md thoroughly (including all extracted numbered equations 式(1)..式(K), structured data tables 表1..表M, and stitched/embedded figures).outputs/source_assets/pages/page_XX.png and crop every high-value figure cleanly at high resolution into outputs/source_assets/figures/ via extract_paper_assets.py crop. For .docx inputs, inspect all figures/image*.png and auto-stitched figures/composite_panel_*.png visually to verify crispness and exact figure-number mapping.Build the 4 Mandatory Pre-Outline Ledgers & Persuasive Outline (outputs/ppt_outline.md):
L01 庄重学术封面(含底部深蓝四大模块通栏,1 页)L02a 深蓝竖栏汇报提纲(每章必须写出核心科学子问题 + 方法/实验抓手 + 页码区间 P03–P04,严禁只写 8 字裸标题!1 页)L03 + L03b 研究背景、物理/数学问题建模 & 既有技术路线卡点对比(必设 2 页!):
1.1 工业/科学场景痛点、退化混叠机理与本文核心建模方程(如二元 vs 三元方程 + 各符号与非线性映射具体结构);1.2 既有主流路线对比矩阵(如表 1 四类代表方法:确定性回归 / 像素扩散 / 结构细节分支 / 二元潜在扩散各自局限)与本文破局定位闭环。L11a/b/c + L04/L05 核心方法、编号公式与训练/推理协议深度拆解(4–5 页):覆盖总体两阶段/多模块训练与推理闭环(标清冻结 vs 更新模块)、各子网络原图精嵌 + 输入输出张量维度 + 完整编号公式组与损失权重分工。L06/L08 实验数据集构建、防泄漏划分协议与多维评价体系(1 页):交代采集/对齐质控、训练/验证/测试严格隔离、公开基准定位、硬件与阶段超参、互补评价指标含义。L06/L07 + L11a/b 多路线定量实证、取舍归因与真实定性对比(4–6 页):公开集多路线代表基线多指标对比(严禁砍剩 2 点连线!)+ 像素保真 vs 感知质量权衡机理 + 原文放大细节对比读图 + 领域自建集重训全指标优势与场景归因。L11a/b + L08 分量消融、逐步模块叠加(全指标)与超参敏感性剖析(2 页):展示移除各分量的物理崩溃表现(全四列指标)+ 逐步引入各模块的边际增益分工 + 关键损失权重寻优(如 $\lambda=1.5$)。L05/L09/L10a + L10b 真实部署边界、全文三维机制收束与庄重致谢讨论(2–3 页)。"$PYTHON_BIN" scripts/validate_outputs.py --base-dir ./outputs --outline-only
Fix any flagged shallow slide (<110 chars 上屏文案), missing cited equation, verbatim banner echo, or generic cliché before generating visuals!outputs/imagegen/visual_preview.png)front-cover-anchor.png, front-toc-anchor.png, closing-synthesis-anchor.png, closing-thanks-anchor.png, and matching sub-system anchors (style-a-*.png or style-b-*.png).outputs/imagegen/visual_preview.png via $imagegen reflecting exact slide count, locked Style Bible, diverse layout sequence, real-figure slots (L11a/b/c), and rich multi-card/multi-metric visual density.Generate Complete Slide Bitmaps (slide_01.png ... slide_NN.png):
references/slide-prompt-guide.md, prepending verbatim LOCKED STYLE BIBLE and explicit math symbol/subscript spelling locks.front-cover-anchor.png; Slide 2 → front-toc-anchor.png;visual_preview.png + matching layout anchor;closing-synthesis-anchor.png (pure Style B footer if Style B—DO NOT copy Style A's bottom campus building sketch!);closing-thanks-anchor.png (centered compact discussion card + uniform navy bottom ribbon & navy page badge matching Slide 1).L11a / L11b / L11c 原文真图精嵌剖析页: render ALL Chinese titles, thesis banners, structured multi-point analysis cards with exact paper equations, bottom takeaway bar, and page badge via $imagegen, leaving clean pure-white framed 原文图展示框 at exact target coordinates (--slot).Pixel-Exact Lossless Paper Figure Compositing (embed_paper_figure.py):
L11a/b) or dual (L11c, run twice for left & right slots) real paper figures cleanly:
"$PYTHON_BIN" scripts/embed_paper_figure.py \
--slide ./outputs/imagegen/generated_slides/slide_05.png \
--figure ./outputs/source_assets/figures/image1.png \
--slot 0.035,0.25,0.57,0.85 \
--backup-dir ./outputs/imagegen/raw_before_composite \
--output ./outputs/imagegen/generated_slides/slide_05.png
method, layout, embedded_source_figures, and exact prompt in outputs/imagegen_manifest.json.Assemble PPTX + 8-Point Advisor Visual/Content Audit + Automated Validation:
"$PYTHON_BIN" scripts/build_ppt_from_images.py \
--image-dir ./outputs/imagegen/generated_slides \
--outline ./outputs/ppt_outline.md \
--contact-sheet ./outputs/imagegen/final_contact_sheet.png \
--output ./outputs/defense_presentation.pptx
"$PYTHON_BIN" scripts/validate_outputs.py --base-dir ./outputs
final_contact_sheet.png AND every equation / real-figure / quantitative slide at full resolution: verify zero missing equations, zero textbook PSNR/FID filler formulas, zero banner-card verbatim echoes, crisp embedded figures, accurate multi-baseline numbers, and 100% uniform footer geometry. Regenerate/re-composite any defective slide (max 2 passes) and re-run validation.After completing all 3 stages, reply concisely with:
outputs/ppt_outline.md(含四大前置台账与逐页口播备注)outputs/imagegen/final_contact_sheet.png 与成品 outputs/defense_presentation.pptxGRGraphify-Labs/graphify156k2,564 new stars in the last 7 days
PApaperclipai/paperclip119k1,966 new stars in the last 7 days
NEnexu-io/open-design111k1,277 new stars in the last 7 days
HEheygen-com/hyperframes94k4,558 new stars in the last 7 days
BYbytedance/deer-flow86k276 new stars in the last 7 days
BYbytedance/deer-flow86k276 new stars in the last 7 days