mirror of
https://github.com/robertjakob/rigorous.git
synced 2025-05-31 22:15:21 +03:00
2.3 KiB
2.3 KiB
Academic Manuscript Peer Review Tool
This tool uses OpenAI's GPT-4 to perform automated peer reviews of academic manuscripts. It analyzes PDF manuscripts against a set of review criteria and provides detailed feedback, scores, and recommendations.
Features
- Automated peer review of academic manuscripts
- Comprehensive analysis across multiple review criteria
- Detailed feedback with specific examples and suggestions
- Metadata extraction and document structure analysis
- Support for multiple PDF files
- Configurable review criteria
Installation
- Clone the repository
- Install the required dependencies:
pip install -r requirements.txt - Create a
.envfile in the root directory with your OpenAI API key:Note: The tool will look for the .env file in the current directory first, then in the parent directory.OPENAI_API_KEY=your_api_key_here
Usage
- Place your PDF manuscripts in the
manuscriptsdirectory - (Optional) Customize the review criteria in
review_criteria.json - Run the review tool:
python src/main.py --criteria review_criteria.json
Command Line Arguments
--manuscripts-dir: Directory containing PDF manuscripts (default:manuscripts)--criteria: Path to the review criteria JSON file (required)--output-dir: Directory to save review results (default:analysis_results)--api-key: OpenAI API key (optional if set in environment)
Review Criteria
The tool evaluates manuscripts against the following criteria:
- Originality and Innovation
- Methodology
- Results and Analysis
- Writing and Presentation
- Technical Accuracy
- Literature Review
- Figures and Tables
- References
- Ethical Considerations
- Impact and Significance
Each criterion is scored on a scale of 1-5, with detailed feedback and specific examples provided.
Output Format
The review results are saved in text files with the following sections:
- Manuscript Metadata
- Document Statistics
- Overall Assessment
- Detailed Assessment (per criterion)
- Score
- Feedback
- Examples
- Suggestions for Improvement
Requirements
- Python 3.7+
- OpenAI API key
- PDF manuscripts to review
License
This project is licensed under the MIT License - see the LICENSE file for details.