Add manuscript review system and port simulation dashboards#236
Open
chenhaozhou1996 wants to merge 9 commits intostreamlit:masterfrom
Open
Add manuscript review system and port simulation dashboards#236chenhaozhou1996 wants to merge 9 commits intostreamlit:masterfrom
chenhaozhou1996 wants to merge 9 commits intostreamlit:masterfrom
Conversation
- Implement discrete-event simulation using SimPy for port operations - Add 3D port visualization with Plotly (ships, cranes, containers, water) - Create 2D top-down view for operational overview - Design analytics dashboard with KPIs (ships processed, containers moved) - Include berth utilization charts, queue gauges, and throughput metrics - Add professional dark theme CSS styling - Support configurable parameters (berths, cranes, arrival rates) - Track simulation events and ship statistics in data tables
…ation-01B7D51cciFTrGpRaghDNXcv
Implement multi-agent review coordination model with: - EIC (Editor-in-Chief) agent: orchestrates review process, synthesizes feedback, assigns reviewers, makes accept/reject decisions - Reviewer agents (3 profiles): evaluate manuscripts across 5 dimensions (novelty, methodology, writing, significance, data analysis) - Author agent: processes feedback, generates point-by-point responses, revises manuscript Key architecture: - DistributedStore: distributed state coordination with partitioned storage for manuscripts, reviews, messages, and agent states - ReviewCoordinator: manages multi-round review cycles until convergence - Streamlit UI: interactive dashboard with workflow visualization, score trends, message flow, and event logging The system runs iterative rounds: EIC assigns reviewers -> reviewers evaluate -> EIC synthesizes feedback -> author revises -> repeat until reviewers are satisfied or max rounds reached. https://claude.ai/code/session_01RevzPW3GHZfXrsm6AufG36
…, and smart loop termination Major improvements to the distributed manuscript review system: 1. EIC Decision Intelligence: - Expertise-weighted scoring (1.5x weight for expert dimensions) - Reviewer disagreement detection (variance > 2.0 flags) - Outlier reviewer identification - Score trajectory analysis with convergence prediction - Consensus level metric (0-100%) 2. Reviewer Re-Review Verification: - Check actual author response against previous comments - Resolution tracking: ADDRESSED / PARTIALLY_ADDRESSED / NOT_ADDRESSED - Score-comment consistency enforcement (low score must have matching severity) - Expertise-based confidence calculation 3. Author Strategy: - Conflict detection between reviewers on same dimension - Rebuttal generation for conflicting feedback - Priority-ordered responses (critical > major > minor) - Section-specific revisions based on feedback categories 4. Decision Loop Fix: - is_process_complete() now enforces max_rounds - Minor revision after revision cycle with no critical issues → accept - Diminishing returns detection (< 0.5 improvement for 2 rounds) - Formal make_final_decision() integrated into UI flow 5. New UI Components: - Comment resolution tracker dashboard with progress bar - Version diff viewer (section-level comparison) - Convergence chart with accept/reject threshold lines - Reviewer disagreement heatmap - Fixed workflow diagram bug (ValueError on missing phase) 6. Bug Fixes: - Fixed line 552: ManuscriptState.get() crash (dataclass not dict) - Fixed workflow diagram: safe phase ordering without ValueError https://claude.ai/code/session_01RevzPW3GHZfXrsm6AufG36
Users can now download complete review history in three formats: - TXT: Full review report with all rounds, comments, and decisions - JSON: Complete structured data for programmatic analysis - CSV: Score summary table (per reviewer, per round, per dimension) Download panel appears in the completion phase after review concludes. https://claude.ai/code/session_01RevzPW3GHZfXrsm6AufG36
Step-by-step instructions for Mac users covering git clone, pip install, streamlit run, and UI walkthrough with FAQ. https://claude.ai/code/session_01RevzPW3GHZfXrsm6AufG36
Two new entry points for the review coordination system:
1. mcp_review_server.py - MCP Server Plugin
- 8 tools: init_review, run_review, author_revise, next_round,
get_status, list_sessions, export_report, auto_run
- Simulated review logic (no API cost)
- Configurable via Claude Code MCP settings
2. review_agent.py - Claude Agent SDK version
- Real AI-powered multi-agent system using Claude API
- EIC, Reviewer (x3), Author agents with distinct prompts
- Multi-round orchestration with convergence detection
- CLI interface with --title, --abstract, --export flags
- Also usable as Python module
Plus usage guide (README_插件使用指南.md) with setup instructions.
https://claude.ai/code/session_01RevzPW3GHZfXrsm6AufG36
Adds dual-mode support to the web interface: - Simulation mode (default): Template-based review (no API needed) - AI mode: Real Claude-powered review via Anthropic API New features: - AIReviewEngine class with ai_review(), ai_synthesize(), ai_author_respond() - Sidebar toggle for AI mode with API key input and model selector - ReviewCoordinator now accepts optional ai_engine parameter - AI reasoning and key issues displayed in EIC synthesis tab - Mode badge shown during review execution Usage: Toggle "AI 审稿模式" in sidebar, enter API key, select model (Haiku for speed/cost, Sonnet for quality) https://claude.ai/code/session_01RevzPW3GHZfXrsm6AufG36
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
This PR introduces two major new applications to the codebase:
manuscript_review_app.py): A distributed multi-agent system for academic manuscript peer review coordinationstreamlit_app.py): A discrete-event simulation dashboard for container port operations with 3D/2D visualizationKey Changes
Manuscript Review System (New File)
Port Operations Simulation (Refactored)
Dependencies
plotly>=5.18.0for 3D/2D visualizationsimpy>=4.1.1for discrete-event simulationnumpy>=1.24.0for numerical operationsstreamlit,pandas, andaltairto recent stable versionsNotable Implementation Details
https://claude.ai/code/session_01RevzPW3GHZfXrsm6AufG36