Conversation
Introduce map-reduce paper review system that generates 12-section analysis (executive summary, methodology, math, experiments, etc.) with per-section caching. Reviews load instantly from cache and support translation with both original and translated files saved. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace f-string escape sequences with variables for Python 3.11 - Add `from None` to exception re-raise (B904) - Remove unused imports and fix import sorting in tests Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Add a comprehensive AI-powered paper review system with map-reduce architecture. Reviews are generated section-by-section with incremental caching, so interrupted reviews resume automatically. Cached reviews load instantly for immediate translation and saving.
Changes
New Files
services/review_service.py— Map-reduce review engine (12-section pipeline with per-section AI prompts, caching, and translation)cli/review.py— CLI command (axp review <arxiv_id>) with progress bar,--translate,--force,--status,--deleteoptionstui/screens/review_screen.py— TUI modal screen with[s]save,[t]translate,[esc]closetests/test_review_service.py— Unit tests for review serviceModified Files
core/models.py— AddReviewSectionTypeenum,ReviewSection,PaperReviewdataclassescore/database.py— Addpaper_review_sectionstable and indexcli/main.py— Registerreviewcommandtui/workers.py— AddPaperReviewServicetoServiceBridgetui/screens/daily.py,search.py,paper_detail.py— Add Review[w]button and keybindingtests/test_database.py— Update expected tables/indexesKey Features
_review.md+_review_ko.md)Checklist
uv run pytest --cov)uv run ruff check src/ tests/)uv run ruff format --check src/ tests/)