A modern educational testing platform with AI-powered test generation and automated essay grading
📄 Research Paper: AI Evaluator: An AI-Powered Educational Assessment Platform (STM Journals, 2024)
AI Evaluator is an advanced educational assessment platform that enables teachers to create, manage, and evaluate tests while providing students with a streamlined interface for taking tests and reviewing detailed feedback. The application leverages artificial intelligence to generate test content and evaluate free-response answers.
- Test Creation: Create multiple-choice and free-response questions manually
- AI Test Generation: Generate complete tests on any subject using AI
- Test Management: Edit, delete, and track all created tests
- Automatic Grading: AI-powered evaluation of student paragraph/essay responses
- Dashboard: Overview of all tests with status and statistics
- Test Taking: User-friendly interface for taking tests with timer functionality
- Detailed Feedback: Comprehensive feedback on test performance
- Progress Tracking: Dashboard showing completed tests and scores
- AI-Generated Feedback: Receive personalized feedback on paragraph answers
- Teacher Approval: Manage teacher account approvals
- System Management: Monitor system usage and performance
- React.js with React Router for navigation
- Tailwind CSS for styling
- Axios for API communication
- Flask RESTful API
- MongoDB database
- Mistral LLM for AI capabilities
- Authentication system with role-based permissions
- Node.js (v14 or higher)
- Python (v3.8 or higher)
- MongoDB
-
Clone the repository:
git clone https://github.com/yourusername/ai-evaluator.git cd ai-evaluator -
Install dependencies:
npm install -
Run development server:
npm run dev
-
Navigate to the API directory:
cd api -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate -
Install dependencies:
pip install -r requirements.txt -
Create a
.envfile with the following variables:MISTRAL_API_URL=your_mistral_api_url MONGODB_URI=your_mongodb_connection_string -
Run the API server:
python app.py
- Username: admin
- Password: admin
- Student: Can take tests and view results
- Teacher: Can create and manage tests (requires admin approval)
- Admin: Can approve teacher accounts and manage the system
ai-evaluator/
├── api/ # Backend Flask API
│ ├── app.py # Main API application
│ ├── controllers.py # API controllers
│ ├── models.py # Data models
│ ├── database.py # Database connection
│ └── mistral_wrapper.py # AI integration
├── src/ # React frontend
│ ├── components/ # UI components
│ ├── services/ # API service layer
│ └── App.jsx # Main application component
├── public/ # Static assets
├── package.json # Frontend dependencies
└── README.md # Project documentation
The application integrates with the Mistral Large Language Model (LLM) for:
- Generating complete tests with questions and answers
- Evaluating student paragraph/essay responses
- Providing meaningful feedback on written answers
- Interactive question types (drag-and-drop, fill-in-blanks)
- Advanced analytics for teachers
- Plagiarism detection
- Group/class management capabilities
- Mobile app version
- Mistral AI for providing the LLM API
- The MongoDB team for the database solution
- TailwindCSS for the styling framework






