
igcse assessment tool
基于AI的IGCSE化学教学评估工具,支持多维数据分析和个性化学习。
Repository Info
About This Server
基于AI的IGCSE化学教学评估工具,支持多维数据分析和个性化学习。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
🧪 IGCSE Chemistry Assessment Tool
AI-Powered Comprehensive Performance Analysis for Cambridge IGCSE Chemistry Education
A sophisticated web-based assessment tool that combines psychometric analysis, learning analytics, and AI-driven insights to support evidence-based teaching and personalized learning in IGCSE Chemistry. This project integrates multi-stream data analysis with intelligent weakness detection to help teachers make data-driven instructional decisions.
🤖 AI-Human Collaboration: This project was primarily developed through Claude AI with strategic direction and oversight by Chen Yao. The majority of code, documentation, and system architecture was generated by Claude AI based on educational requirements and specifications provided through carefully crafted prompts.
Adaptive Teaching Tool Demo🧪📊
Personalized chemistry practice in two clicks.
!Demo
🏗️ System Architecture
Student Assessment → Weakness Diagnosis → Topic Mapping → Paper Generation → Comprehensive Reports
↓ ↓ ↓ ↓ ↓
Item Response Statistical Curriculum AI-Generated Learning Analytics
Collection Analysis Alignment Content & Predictions
Core Components
| Component | Technology | Purpose |
|---|---|---|
| Web Interface | Flask + Bootstrap 5 | Teacher dashboard and assessment input |
| AI Analysis Engine | Python + Statistical Models | Performance analysis and content generation |
| Statistical Engine | SciPy + NumPy | IRT modeling and psychometric analysis |
| Database Layer | SQLAlchemy + SQLite | Student data and assessment storage |
| Report Generator | Matplotlib + ReportLab | Interactive charts and PDF reports |
| Future: Generative AI | Google Gemini API | Advanced content generation and analysis |
| Future: Vector Database | ChromaDB/Pinecone + Embeddings | Semantic question search and retrieval |
🎯 Key Features
📊 Comprehensive Performance Analysis
- Two-Part Assessment System:
- Engagement Rate (1-9): Behavioral evidence tracking (questioning, answering, focus, activity participation)
- Attainment Analysis: Dual assessment of preparation outcomes and in-class practice
- AI-Powered Correlation: Multi-dimensional performance insights linking engagement, attainment, and test performance
- IGCSE Grade Prediction: Statistical modeling for early intervention and parent consultations
🔍 Intelligent Weakness Detection
- Item Response Theory: 1-Parameter Logistic Rasch model for precise ability estimation
- Multi-Stream Data Integration: Combines MCQ results, assignment marks, and classroom participation
- Statistical Validation: Point-biserial correlation analysis and reliability testing
- Topic Mapping: Automatic alignment with Cambridge IGCSE Chemistry specification
🤖 AI-Driven Content Generation
- Personalized Practice Papers: Automatically assembled from curriculum-aligned questions
- Adaptive Question Generation: AI-created assessment items based on identified weaknesses
- Study Plan Creation: Evidence-based recommendations with daily learning schedules
- Real-time Feedback: Instant analysis and intervention suggestions
- Future: Generative AI Enhancement: Planned integration with Google Gemini for advanced content generation
- Future: Vector Database: Local embedding storage for semantic question matching and retrieval
📈 Visual Analytics & Reporting
- Interactive Dashboards: Real-time performance monitoring and trend analysis
- Heat Maps: Class-wide topic mastery visualization
- Progress Tracking: Individual student learning trajectories over time
- Professional Reports: PDF exports for parent meetings and school documentation
🚀 Quick Start
Prerequisites
- Python 3.9+
- pip package manager
- Git
Installation
# Clone repository
git clone https://github.com/your-username/igcse-assessment-tool.git
cd igcse-assessment-tool
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Optional: Set up AI API keys for enhanced features (v2.0)
# export GEMINI_API_KEY="your-gemini-api-key"
# export OPENAI_API_KEY="your-openai-api-key"
# Initialize database and run application
python app.py
Demo Access
- URL: http://localhost:5000
- Demo Login:
day6_teacher/day6demo - Main Feature: http://localhost:5000/enhanced_input_results
Command Line Usage
# Run diagnostic analysis on sample data
python src/ingestion.py
# Generate practice papers
python src/paper_generator.py
# Create visual reports
python src/visualization.py
# View demo notebook
jupyter notebook demo.ipynb
Data Sources and Copyright Notice
📚 Educational Content Disclaimer
This IGCSE Chemistry Assessment Tool uses educational content under strict academic and research guidelines.
Past Papers and Assessment Materials
All past papers, question banks, and assessment materials included in this project are:
- ✅ For Educational Research Only: Content is used solely for academic research, educational tool development, and non-commercial teaching purposes
- ✅ Fair Use Compliance: Used under educational fair use provisions for research and development
- ❌ No Commercial Distribution: Content may not be redistributed commercially or sold
- ❌ No Unauthorized Publication: Full papers may not be republished without permission
Content Sources
-
IGCSE Chemistry Specification (0620)
- Source: Cambridge Assessment International Education
- Usage: Topic mapping and curriculum alignment
- License: Educational reference under fair use
-
Generated Assessment Items
- Source: AI-generated content based on specification
- Usage: Demonstration and testing purposes
- License: Open source (MIT) - see LICENSE file
-
Sample Questions and Solutions
- Source: Original content created for this project
- Usage: Educational demonstrations
- License: Open source (MIT) - see LICENSE file
-
Student information
- All information pertaining to the student is false and has been fabricated
Pseudo-Question Generation
To avoid copyright concerns, this tool primarily uses:
🔬 Assessment Methodology
This tool implements rigorous psychometric and learning analytics methodologies based on established educational research.
Statistical Framework
- IRT Model: 1-Parameter Logistic Rasch Model
P(θᵢ, bⱼ) = 1 / (1 + e^{-(θᵢ - bⱼ)}) - Reliability Analysis: Cronbach's α ≥ 0.80 target for high-stakes assessment
- Validity Testing: Point-biserial correlation with p < 0.05 significance threshold
- Engagement Metrics: 9-point behavioral evidence scale with inter-rater reliability
Learning Analytics Integration
- Knowledge Component Modeling: Additive Factor Model for skill decomposition
- Adaptive Assessment: Maximum information item selection for efficient testing
- Predictive Modeling: Early warning systems for at-risk student identification
For detailed methodology, see Assessment Methodology Documentation.
🏛️ Theoretical Foundation
This tool builds upon established research in learning analytics and educational data mining:
Core References
-
Baker, R. S., & Inventado, P. S. (2014). Learning analytics and educational data mining: towards communication and collaboration. Proceedings of the 2nd International Conference on Learning Analytics and Knowledge.
-
Pelánek, R. (2017). Bayesian knowledge tracing, logistic models, and beyond: an overview of learner modeling techniques. User Modeling and User-Adapted Interaction, 27(3-5), 313-350.
-
Rasch, G. (1960). Probabilistic models for some intelligence and attainment tests. Copenhagen: Danish Institute for Educational Research.
📁 Project Structure
igcse-assessment-tool/
├── 📄 README.md # This file
├── 📄 LICENSE # MIT License
├── 📄 requirements.txt # Python dependencies
├── 📄 app.py # Main Flask web application
├── 📄 demo.ipynb # Interactive demonstration notebook
│
├── 📁 src/ # Core analysis modules
│ ├── 📄 ingestion.py # Multi-stream data integration
│ ├── 📄 diagnostics.py # Weakness detection algorithms
│ ├── 📄 mapping.py # IGCSE syllabus topic mapping
│ ├── 📄 paper_generator.py # Automated paper assembly
│ ├── 📄 ai_analyzer.py # AI-powered analysis engine
│ ├── 📄 visualization.py # Report generation and charts
│ └── 📁 integrations/ # Future: External API integrations
│ ├── 📄 gemini_client.py # Google Gemini API wrapper
│ ├── 📄 vector_search.py # Vector database operations
│ └── 📄 content_generator.py # Advanced AI content generation
│
├── 📁 templates/ # Web interface templates
│ ├── 📄 dashboard.html # Teacher dashboard
│ ├── 📄 enhanced_input_results.html # Assessment input interface
│ └── 📄 base.html # Base template with styling
│
├── 📁 data/ # Sample data and configurations
│ ├── 📄 sample_mcq_results.csv # Example assessment data
│ ├── 📄 topics_mapping.json # IGCSE topic structure
│ ├── 📄 past_questions_bank.json # Question database
│ └── 📁 vector_db/ # Future: Local vector database storage
│ ├── 📄 question_embeddings.db # Semantic question representations
│ └── 📄 topic_clusters.json # AI-generated topic groupings
│
├── 📁 output/ # Generated content
│ ├── 📁 reports/ # PDF assessment reports
│ ├── 📁 visualizations/ # Charts and analytics
│ └── 📁 generated_papers/ # Custom practice assessments
│
├── 📁 tests/ # Comprehensive test suite
│ ├── 📄 test_ai_analyzer.py # AI functionality tests
│ ├── 📁 integration/ # Web interface tests
│ └── 📁 performance/ # Load testing
│
├── 📁 docs/ # Academic documentation
│ ├── 📄 methodology.md # Statistical methodology
│ └── 📄 api_documentation.md # Technical API reference
│
└── 📁 .github/workflows/ # CI/CD automation
└── 📄 ci.yml # Quality assurance pipeline
🎓 Educational Applications
For Chemistry Teachers
- Evidence-Based Assessment: Data-driven grading with statistical validation
- Early Intervention: Identify struggling students before formal examinations
- Curriculum Gap Analysis: Pinpoint topics requiring additional instruction time
- Parent Consultation: Professional reports with predictive IGCSE grade estimates
- Differentiated Instruction: Personalized learning paths based on individual needs
- Future: AI-Enhanced Analytics: Gemini-powered deep insights and natural language explanations
- Future: Massive Question Pool: Vector database enabling access to thousands of categorized questions
🧪 Testing and Quality Assurance
Comprehensive Test Coverage
# Run full test suite
pytest --cov=src --cov-report=html
# Run specific test categories
pytest tests/test_ai_analyzer.py -v # AI functionality
pytest tests/integration/ -v # Web interface
pytest tests/performance/ -v # Load testing
Quality Gates
- Code Quality: Automated linting with Ruff and Black formatting
- Type Safety: MyPy static type checking for reliability
- Security: Bandit vulnerability scanning for production deployment
- Performance: Locust load testing ensuring scalability
- Documentation: Automated API documentation generation
🔄 Development Roadmap
Current Version (v1.0)
- ✅ Two-part assessment system (engagement + attainment)
- ✅ Web-based teacher interface with responsive design
- ✅ Statistical analysis using IRT methodology
- ✅ AI-powered question generation and feedback
Future Enhancements (v2.0)
1. We plan to develop a locally-deployed adaptive learning platform utilizing transformer-based LLMs (70B+ parameters) with INT4/INT8 quantization, deployed via vLLM inference engine on high-memory GPUs, featuring RESTful APIs for web and mobile client integration with real-time WebSocket connections.
2. The system will implement a multi-agent architecture with specialized components (Tutor, Planner, Judge, Report, Guard agents) orchestrated through MCP event buses, utilizing dynamic LoRA adapter switching for pedagogical strategy routing (cognitive/constructivist/behaviorist) based on student profiling algorithms and question complexity scoring.
3. Advanced behavioral analytics will employ computer vision for handwritten work analysis, NLP-based submission pattern detection, and temporal sequence modeling to assess learning authenticity, integrated with Redis-based memory stores for persistent student interaction tracking and contextual response generation.
4. A comprehensive knowledge graph will map curriculum standards to question taxonomies using vector embeddings (sentence-transformers), implementing five-dimensional difficulty metrics computed through automated feature extraction, enabling graph-based learning path optimization with reinforcement learning for adaptive content sequencing.
5. The architecture will feature teacher persona modeling through parameter-efficient fine-tuning (LoRA rank-32 adapters), containerized deployment with Docker/Kubernetes for scalability, and integration of RAG systems with Pinecone/FAISS vector databases for domain-specific knowledge retrieval and personalized content generation.
🤝 Contributing
We welcome contributions from educators, developers, and researchers! This project benefits from diverse perspectives in educational technology.
Ways to Contribute
- 🧑🏫 Educators: Provide feedback on teaching workflow integration and assessment validity
- 👩💻 Developers: Enhance technical features, optimize performance, and expand functionality
- 🔬 Researchers: Validate statistical models, contribute to learning analytics methodology
- 🎨 Designers: Improve user interface and data visualization effectiveness
Development Setup
# Install development dependencies
pip install -r requirements-dev.txt
# Set up pre-commit hooks for code quality
pre-commit install
# Run development server with debugging
python app.py --debug
For detailed contribution guidelines, see CONTRIBUTING.md.
🤖 AI Development Partnership & Human Oversight
Development Process
This project represents a collaborative AI-human development model where:
🤖 Claude AI Contributions (Majority of Development):
- Code Architecture & Implementation: Complete Flask web application, database models, statistical analysis modules
- Documentation Creation: Comprehensive README, technical documentation, methodology papers
- Test Suite Development: Unit tests, integration tests, CI/CD pipeline configuration
- Educational Content: Assessment methodology, statistical frameworks, academic references
- User Interface Design: HTML templates, CSS styling, JavaScript functionality
- Quality Assurance: Code formatting, type checking, security analysis
👨💻 Chen Yao's Role (Project Direction & Quality Control):
- Strategic Planning: Defined project scope, educational requirements, and user needs
- Prompt Engineering: Crafted detailed prompts to guide AI development in educationally sound directions
- Content Validation: Reviewed and verified chemistry content accuracy and pedagogical appropriateness
- Code Review: Tested functionality, identified bugs, and requested specific improvements
- Educational Expertise: Ensured alignment with IGCSE chemistry curriculum and teaching practices
- User Experience Testing: Validated teacher workflow integration and interface usability
Collaboration Model Benefits
- Rapid Prototyping: AI enabled quick iteration through complex statistical implementations
- Educational Accuracy: Human oversight ensured content validity and pedagogical soundness
- Code Quality: AI provided consistent, well-documented, and tested code structure
- Domain Knowledge: Human expertise guided AI toward educationally meaningful solutions
This partnership demonstrates how AI can augment human expertise in specialized domains like educational technology, resulting in more sophisticated solutions than either approach could achieve independently.
📜 License and Acknowledgments
License
This project is licensed under the MIT License - see the LICENSE file for details.
Educational Content Compliance
All assessment materials comply with educational fair use guidelines. See DATA_SOURCES.md for comprehensive copyright information and attribution requirements.
Development Credits
Primary Development: Claude AI (Anthropic)
- System architecture and implementation
- Statistical methodology development
- Comprehensive documentation and testing
- User interface design and functionality
Project Lead & Educational Oversight: Chen Yao
- Educational requirements specification
- Content validation and quality assurance
- User experience design and testing
- Chemistry curriculum expertise
Academic Acknowledgments
We acknowledge the foundational research in learning analytics and educational data mining that makes this tool possible. Special recognition to the open science community for transparent methodology sharing and reproducible research practices.
Built with ❤️ for chemistry education through AI-human collaboration
This project exemplifies the potential of thoughtful AI-human partnership in educational technology development, combining artificial intelligence capabilities with human domain expertise to create tools that genuinely serve educational needs.
Quick Start
Clone the repository
git clone https://github.com/martianyao/igcse-assessment-toolInstall dependencies
cd igcse-assessment-tool
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.