Conversation
Update v1.0
Optimize now supports two strategies, selectable per run: - regenerate (default, unchanged): per-slide multi-agent deliberation that rewrites every slide from scratch. - refine (new): localized, frame-level rewrite via SlideRefiner. Builds an escaped baseline deck from the existing slides, then surgically edits only the frames most relevant to the feedback, leaving the rest byte-identical, with deterministic body/document validation and retries. SlideRefiner is extracted from the IA-aarsh refiner pipeline, decoupled from its LLM-as-judge evaluation: it takes (latex, feedback_text) and here the feedback is sourced from the user's requirements, analysis, and human feedback. Threads a `mode` option through optimize.py, ADDIE_optimize.py, run.py, the /api/optimize API, and the frontend optimize form (with zh/en strings). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…efine Add localized "refine" mode to optimize (alongside regenerate)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
I adedd a course-wide presentation-design decision and a deterministic frontend slide pipeline while preserving the existing Beamer workflow. Each chapter still produces
slides.texandslides.pdf, with additional offline HTML, HTML-derived PDF, and image-based PPTX outputs.New Features
The Beamer source/PDF path remains intact. Generated images and Carbon output affect only the frontend-derived artifacts. Playwright Chromium is required for HTML-derived PDF/PPTX export, while LaTeX remains required for Beamer PDF generation.
For implementation details, artifact schemas, configuration behavior, and operational notes, see the file in docs/BETTER_SLIDES_GENERATION.md for more info.
Validation