Skip to content

Latest commit

ย 

History

197 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽ“ HelpMate - AI-Based Personalized Learning & Wellness Assistant

Transforming Academic Experience Through Intelligent Automation

Project Status License SLIIT

Project ID: 25-26J-228
Research Group: CoEAI - Centre of Excellence for AI
Specialization: Information Technology

HelpMate Banner

๐Ÿ“‹ Table of Contents


๐ŸŒŸ Overview

HelpMate is an all-in-one AI-powered platform designed to revolutionize the academic experience for undergraduate students in Sri Lankan universities. It integrates intelligent academic planning, wellness guidance, collaborative learning, and performance analytics into a unified, adaptive ecosystem.

Platform Overview

๐ŸŽฏ What Makes HelpMate Special?

An integrated, AI-driven solution that merges academic personalization with emotional intelligence and peer-to-peer interaction in a responsive environment.

HelpMate addresses the fragmented nature of current educational tools by providing:

  • โœ… Personalized Study Planning with AI-driven content generation
  • โœ… Fair Group Work Management with contribution tracking
  • โœ… Intelligent Task Scheduling using Reinforcement Learning
  • โœ… Peer Collaboration through ML-based matching
  • โœ… Emotional Wellness Support with mood tracking
  • โœ… Career Path Guidance with CV analysis and job matching

๐Ÿ”ด The Problem

Challenges Faced by Students Today

๐Ÿ“š Academic Struggles

  • Overwhelming volume of content without structured tools
  • Difficulty converting notes into active learning
  • Poor time management and procrastination
  • Inability to identify weak topics early
  • Last-minute cramming and exam anxiety

๐Ÿ‘ฅ Collaboration Issues

  • Free-riding in group projects
  • Lack of transparency in contribution tracking
  • Unfair academic evaluation
  • Poor coordination among team members
  • Difficulty finding compatible study partners

โฐ Planning & Productivity

  • Static to-do lists that don't adapt
  • No consideration of energy patterns
  • Inefficient task prioritization
  • Ignoring fatigue and subject difficulty
  • One-size-fits-all scheduling approaches

๐ŸŽฏ Career & Community

  • Fragmented digital resources
  • Lack of mentorship networks
  • No career path guidance
  • Isolated learning experiences
  • Missing skill gap identification
Problem Illustration

๐ŸŽ“ Research Gap

Traditional learning platforms focus solely on content delivery, with no regard for individual needs, emotional factors, or collaborative dynamics. Existing tools operate in isolation, forcing students to juggle multiple disconnected applications without adaptive intelligence.


โœจ The Solution

HelpMate: Four Integrated AI Modules

Solution Pipeline

HelpMate brings together four fundamental components under one intelligent roof:

graph TD
    A[Student Profile & Behavior] --> B[Smart Learning Profiler]
    B --> C[Personalized Study Planner]
    C --> D[Content Generation Module]
    D --> E[RL Task Scheduler]
    E --> F[Group Work Manager]
    F --> G[Community & Collaboration]
    G --> H[Performance Analytics]
    H --> A
Loading

๐Ÿงฉ System Modules

1๏ธโƒฃ Intelligent Study Content Generation Module

Content Generation

๐ŸŽฏ Purpose

Automatically transforms uploaded lecture materials into interactive learning assetsโ€”quizzes, flashcards, and summarized notesโ€”while intelligently aligning delivery with exam deadlines.

โœจ Key Features

๐Ÿ“„ Lecture Note Upload & Processing

  • Upload PDFs via drag-and-drop interface
  • Secure storage using Multer
  • Text extraction with pdf-parse
  • Automatic cleaning and segmentation

๐Ÿค– AI-Powered Generation (Fine-tuned T5 Model)

๐Ÿ“ MCQ Generation

Q: What is normalization?
A) Data encryption
B) Reducing redundancy โœ“
C) Query optimization
D) Index creation

๐Ÿ—‚๏ธ Flashcards

Front: ACID Properties

Back: Atomicity, 
Consistency, Isolation, 
Durability

๐Ÿ“„ Summaries

Abstractive summary 
using BART/T5:

"Database normalization 
eliminates redundancy 
through normal forms..."

๐Ÿ“… Deadline-Based Adaptive Delivery

Time Until Exam Strategy Frequency
> 3 weeks Generate all content Weekly reviews
2โ€“3 weeks Spaced repetition Every 5 days
1โ€“2 weeks Focus weak areas Every 2-3 days
< 1 week Intensive revision Daily drills

๐ŸŽฏ Interactive Quiz Engine

  • Multiple-choice interface with instant feedback
  • Score tracking and weak topic detection
  • Performance data feeds into prediction models
Quiz Interface

๐Ÿ”ฌ Technical Implementation

// Content Generation Pipeline
Upload PDF โ†’ Extract Text โ†’ NLP Processing (T5/BERT) 
โ†’ Generate MCQs/Flashcards/Summaries โ†’ Store โ†’ Schedule Delivery
โ†’ Track Performance โ†’ Feed Prediction Engine

Tech Stack:

  • NLP Models: Fine-tuned T5-base, BERT, BART
  • Backend: Node.js, Express, Python Flask
  • Processing: spaCy, Hugging Face Transformers

2๏ธโƒฃ Smart Academic Group Work Management System

Group Management

๐ŸŽฏ Purpose

Improve fairness and transparency in university group projects by tracking individual contributions, reducing free-riding, and supporting better academic evaluation.

โœจ Key Features

๐Ÿ“ Project & Task Management

  • Create and manage group projects
  • Assign tasks to members with deadlines
  • Track completion status in real-time
  • Group leader dashboard for coordination
  • Student self-management tools
Task Dashboard

๐Ÿ“Š Contribution & Performance Tracking

Metrics Tracked:
โ”œโ”€โ”€ Number of tasks completed
โ”œโ”€โ”€ Contribution percentage
โ”œโ”€โ”€ Active time (project interactions)
โ”œโ”€โ”€ Task complexity weighting
โ””โ”€โ”€ Participation frequency

๐Ÿ” Free-Riding Detection (Rule-Based)

Identifies low participation using:

  • Active time significantly below team average
  • Task completion count outliers
  • Contribution percentage thresholds
  • Automated alerts for supervisors

๐Ÿ“ˆ Analytics Dashboard

Quick Overview Cards

  • ๐Ÿ“Š Total open projects
  • โœ… To-do tasks
  • ๐Ÿ”„ Ongoing tasks
  • ๐Ÿ“… Upcoming deadlines

Visual Insights

  • ๐Ÿฅฏ Donut charts for task distribution
  • ๐Ÿ“Š Line charts for daily activity
  • ๐Ÿ“ˆ Project-wise activity filters
  • โฐ Last active timestamps
Analytics Dashboard

๐Ÿค– ML-Based Contribution Scoring

# Research Component: Predictive Scoring
Model: Random Forest / Gradient Boosting
Features: [active_time, tasks_completed, complexity_score, 
          interaction_frequency, commit_history]
Output: Contribution Score (0-100)
Training: FastAPI + Google Colab
  • Training separate from main system
  • Predictions used for scoring only (not decision-making)
  • Frontend displays predicted contribution scores
  • Helps supervisors make informed evaluations

๐Ÿ”ฌ Technical Implementation

Backend: Node.js, Express
ML Server: Python FastAPI
Visualization: Chart.js, D3.js
Database: Firebase Firestore


3๏ธโƒฃ Adaptive Student Task Scheduler with Reinforcement Learning

RL Scheduler

๐ŸŽฏ Purpose

An intelligent, personalized study planner that fights procrastination by learning your energy patterns using Reinforcement Learning.

๐Ÿ’ก The Innovation

Traditional to-do lists are static. They don't care if you're tired, overwhelmed, or biased against Math.

This Next-Generation Scheduler uses RL to dynamically generate daily study plans by learning:

  • ๐ŸŒ… Are you a morning person or night owl?
  • โฑ๏ธ Do you underestimate coding assignment durations?
  • ๐Ÿ˜ด Are you too fatigued for a Difficulty-5 Physics task right now?

โœจ Key Features

๐Ÿค– PPO Reinforcement Learning Agent

State Space:
โ”œโ”€โ”€ Current fatigue level (0-10)
โ”œโ”€โ”€ Time of day (0-23)
โ”œโ”€โ”€ Subject difficulty (1-5)
โ”œโ”€โ”€ Recent focus ratings
โ”œโ”€โ”€ Deadline urgency
โ””โ”€โ”€ Historical completion rates

Action Space:
โ”œโ”€โ”€ Schedule task in time slot
โ”œโ”€โ”€ Skip to next slot
โ””โ”€โ”€ Mark break time

Reward Function:
R = ฮฑ(task_completion) + ฮฒ(focus_quality) 
    - ฮณ(deadline_penalty) - ฮด(fatigue_violation)

Training Process:

  • Tracks Pomodoro sessions (25-min focus blocks)
  • Records focus ratings after each session
  • Learns subject-level strengths/weaknesses
  • Adapts to energy patterns over time
RL Training

๐Ÿ“Š The Pepsi Challenge: AI vs. Heuristic

Method Approach Advantages Limitations
๐ŸŽฏ Heuristic Baseline Priority + Deadline Greedy Algorithm โ€ข Fast execution
โ€ข Predictable results
โ€ข Easy to understand
โ€ข Rigid ordering
โ€ข Ignores energy levels
โ€ข No personalization
๐Ÿค– RL Agent PPO-based Dynamic Scheduling โ€ข Adapts to fatigue
โ€ข Learns preferences
โ€ข Optimizes long-term productivity
โ€ข Requires training data
โ€ข Computationally intensive
โ€ข Black-box decisions

๐Ÿ“ก API Endpoints for Testing

# Get Heuristic Schedule (Baseline)
GET /api/schedule/heuristic
# Result: Strict deadline ordering - efficient but rigid

# Get AI Schedule (RL Agent)
GET /api/schedule/rl
# Result: Dynamic ordering by priority + energy patterns

โฐ Smart Task Management

  • Tasks divided into 25-minute Pomodoro sessions
  • In-progress tasks stay prioritized (momentum maintenance)
  • Exam-linked tasks get higher urgency
  • Respects sleep schedules and class timings
  • Avoids reward hacking through balanced objectives
Pomodoro Interface

๐Ÿ”ฌ Technical Implementation

RL Framework: Stable-Baselines3 (PPO)
Backend: Node.js, Express
Training: Python, TensorFlow/PyTorch
State Management: Redis for fast lookups
Deployment: Separate microservice architecture


4๏ธโƒฃ Community & Collaboration Zone

Community Zone

๐ŸŽฏ Purpose

Facilitate peer collaboration, mentorship networks, and career development through intelligent matching algorithms and CV analysis.

โœจ Key Features

๐Ÿค Peer Matching via K-Means Clustering

K-Means

Mathematical Foundation:

The algorithm minimizes Within-Cluster Sum of Squares (WCSS):

WCSS = ฮฃ(i=1 to k) ฮฃ(x โˆˆ Ci) ||x - ฮผi||ยฒ

where:
- k = number of clusters
- Ci = cluster i
- ฮผi = centroid of cluster i
- x = student profile vector

Implementation Process:

  1. Data Vectorization: Convert student profiles (interests, skills, goals) into numerical vectors
  2. Clustering: Use ml-kmeans library to partition students into k groups
  3. Matching: Assign students to clusters with nearest centroid
  4. Refinement: Self-improving algorithm with reinforcement learning

Features Considered:

  • Academic interests and specialization
  • Programming language proficiency
  • Project experience and skills
  • Learning style preferences
  • Availability and timezone

๐ŸŽ“ Mentorship Network

  • Senior-Junior Pairing: Connect experienced students with newcomers
  • Adaptive Pairing: Dynamic adjustment based on interaction quality
  • Academic Guidance: Domain expertise sharing
  • Skill Development: Collaborative learning opportunities
  • Compatibility Ratings: Feedback-driven refinement
Mentorship Network

๐Ÿ“„ CV Analysis & Career Path Suggestions

PDF Extraction Pipeline:

Upload CV (PDF) โ†’ Extract Text (pdf-parse / pdfjs-dist)
โ†’ Pattern Matching (Regex + NLP) โ†’ Identify Skills/Experience
โ†’ Compare with Industry Standards โ†’ Generate Skill Gap Report
โ†’ Suggest Certifications/Projects โ†’ Job API Integration

Components:

1๏ธโƒฃ Text Extraction

const pdfParse = require('pdf-parse');
// Extract raw text streams from PDF
const data = await pdfParse(cvBuffer);
const cvText = data.text;

2๏ธโƒฃ Pattern Matching & NLP

// Extract key sections using Regex
const skills = extractSection(cvText, /skills?:/i);
const experience = extractSection(cvText, /experience:/i);
const education = extractSection(cvText, /education:/i);

3๏ธโƒฃ Skill Gap Analysis

// Compare against industry requirements
const requiredSkills = getCareerRequirements(targetRole);
const missingSkills = requiredSkills.filter(
  skill => !skills.includes(skill)
);

4๏ธโƒฃ Job API Integration

// Asynchronous HTTPS requests to job platforms
const jobResults = await axios.get('https://api.linkedin.com/jobs', {
  params: { skills: extractedSkills, location: 'Sri Lanka' }
});

Supported APIs:

  • ๐Ÿ”— LinkedIn Jobs API
  • ๐ŸŒ Indeed API
  • ๐ŸŽฏ Adzuna API
  • ๐Ÿ“Š Glassdoor API
CV Analysis

๐Ÿ“Š Career Analytics Engine

  • Personalized Recommendations: Based on current profile
  • Skill Gap Identification: What's missing for target roles
  • Market Demand Analysis: Trending skills in job market
  • Certification Suggestions: Relevant courses and certifications
  • Predictive Modeling: Career success probability estimation
  • Learning Path Generation: Step-by-step skill development plan

๐ŸŽฏ Goal-Sharing Dashboards

  • Collaborative goal tracking among peers
  • Progress visualization and milestones
  • Motivational analytics and achievements
  • Study group formation tools
  • Project collaboration features

๐Ÿ”ฌ Technical Implementation

Clustering: ml-kmeans (Node.js ML library)
PDF Processing: pdf-parse, pdfjs-dist
NLP: Basic pattern matching + Regex
Job APIs: axios for HTTP requests
File Upload: multer middleware
Backend: Node.js, Express

๐Ÿ“ฆ Key Dependencies

Library Purpose
express Web framework for API routing
pdf-parse Extracting text from CVs
ml-kmeans Clustering logic for peer matching
axios API calls to job platforms
multer Handling PDF uploads
natural NLP utilities
compromise Text parsing

๐Ÿ—๏ธ System Architecture

Overall Platform Architecture

System Architecture

Component Flow Diagram

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    React Frontend (Port 3000)                โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”      โ”‚
โ”‚  โ”‚ Content  โ”‚ โ”‚  Group   โ”‚ โ”‚    RL    โ”‚ โ”‚Community โ”‚      โ”‚
โ”‚  โ”‚   Gen    โ”‚ โ”‚   Work   โ”‚ โ”‚Scheduler โ”‚ โ”‚   Zone   โ”‚      โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                     โ”‚
          โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
          โ”‚                     โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Node.js Backend  โ”‚  โ”‚  Python AI      โ”‚
โ”‚   (Express API)   โ”‚โ—„โ”€โ”ค  Servers        โ”‚
โ”‚   Port 8080       โ”‚  โ”‚  Flask/FastAPI  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚  Port 4000      โ”‚
          โ”‚            โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
          โ”‚
    โ”Œโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
    โ”‚           โ”‚          โ”‚           โ”‚
โ”Œโ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”
โ”‚Firebaseโ”‚ โ”‚ Google  โ”‚ โ”‚  Redis โ”‚ โ”‚  Job   โ”‚
โ”‚  Store โ”‚ โ”‚Calendar โ”‚ โ”‚ Cache  โ”‚ โ”‚  APIs  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Microservices Architecture

Service Technology Port Purpose
๐ŸŽจ Frontend React, HTML5, CSS3 3000 User interface
โš™๏ธ Main API Node.js, Express 8080 Core business logic
๐Ÿค– Content Gen AI Python, Flask, T5 4000 NLP & content generation
๐Ÿ“Š ML Scoring Python, FastAPI 4001 Contribution predictions
๐Ÿง  RL Scheduler Python, TensorFlow 4002 Task scheduling agent
๐Ÿ—„๏ธ Database Firebase Firestore - Data persistence
๐Ÿ“… Calendar Google Calendar API - Exam scheduling
๐Ÿ’พ Cache Redis 6379 Fast state lookups

๐Ÿ’ป Tech Stack

Frontend Technologies

React HTML5 CSS3 Chart.js

Backend Technologies

Node.js Express Python Flask FastAPI

AI & Machine Learning

Hugging Face TensorFlow PyTorch scikit-learn

Database & Storage

Firebase Redis Google Calendar

Complete Technology Matrix

Category Technologies
NLP Models T5-base (fine-tuned), BERT, BART, spaCy
ML Algorithms K-Means Clustering, Random Forest, PPO (RL)
Libraries Transformers, Stable-Baselines3, ml-kmeans, pdf-parse
APIs Google Calendar, LinkedIn Jobs, Indeed, Adzuna
DevOps Docker, GitHub Actions, Heroku/AWS

๐Ÿ’ก Innovation Highlights

Innovation

๐ŸŒŸ Groundbreaking Features

Module Innovation Impact
๐Ÿ“ Content Generation Fine-tuned T5 on educational content First local system with exam-aware scheduling
๐Ÿ‘ฅ Group Management ML-based free-rider detection Fair evaluation through objective metrics
๐Ÿง  RL Scheduler PPO agent learns energy patterns Personalized planning beats static to-do lists
๐Ÿค Peer Matching K-Means clustering on profile vectors Intelligent collaboration > random grouping
๐Ÿ“„ CV Analysis Automated skill gap identification Career guidance with job market integration
๐Ÿ”„ Closed-Loop System All modules feed each other Holistic improvement > isolated tools

๐Ÿš€ Competitive Advantages

vs. Traditional Tools

โœ… Fully automated vs. manual input
โœ… Adaptive vs. static scheduling
โœ… Integrated vs. fragmented apps
โœ… AI-driven vs. rule-based
โœ… Predictive vs. reactive

vs. Generic AI Tools

โœ… Domain-specific training vs. prompts
โœ… Behavioral learning vs. one-shot
โœ… Multi-agent ecosystem vs. single tool
โœ… Sri Lankan context vs. global generic
โœ… Educational psychology vs. pure tech

๐ŸŽฏ Research Contributions

  1. Novel RL Application in academic task scheduling with fatigue modeling
  2. Hybrid Evaluation framework (The Pepsi Challenge: AI vs. Heuristic)
  3. Multi-dimensional clustering for peer matching beyond simple attributes
  4. Closed-loop learning where all modules enhance each other
  5. Context-aware content delivery based on deadline proximity
  6. Fair assessment methodology for group work using ML scoring

Unlike Quizlet, Anki, Trello, or ChatGPT wrappers, HelpMate is a purpose-built AI ecosystem designed from the ground up for Sri Lankan undergraduate students.


๐Ÿ› ๏ธ Installation & Setup

Prerequisites

โœ… Node.js (v14+)
โœ… Python (v3.8+)
โœ… npm or yarn
โœ… Git
โœ… Redis (optional, for caching)

๐Ÿ“ฆ Clone Repository

git clone https://github.com/osandalakshitha/helpmate.git
cd helpmate

๐Ÿ”ง Backend Setup

cd backend
npm install

# Install dependencies
npm install express multer pdf-parse axios ml-kmeans firebase-admin

npm start  # Runs on port 8080

๐Ÿค– AI Servers Setup

Content Generation Server (Port 4000)

cd ai_servers/content_generation
pip install -r requirements.txt
python app.py

requirements.txt:

fastapi
uvicorn
scikit-learn
pandas
numpy
joblib

RL Scheduler Server (Port 4002)

cd ai_servers/rl_scheduler
pip install -r requirements.txt
python scheduler_service.py

requirements.txt:

stable-baselines3
tensorflow
gym
redis
numpy

๐ŸŽจ Frontend Setup

cd frontend
npm install

# Install additional dependencies
npm install axios chart.js react-router-dom

npm start  # Runs on port 3000

๐Ÿ”‘ Environment Variables

Create .env files in respective directories:

Backend (.env):

PORT=8080
NODE_ENV=development

# Firebase
FIREBASE_API_KEY=your_firebase_key
FIREBASE_PROJECT_ID=your_project_id

# APIs
GOOGLE_CALENDAR_API_KEY=your_calendar_key
LINKEDIN_API_KEY=your_linkedin_key
INDEED_API_KEY=your_indeed_key

# AI Servers
CONTENT_GEN_URL=http://localhost:4000
ML_SCORING_URL=http://localhost:4001
RL_SCHEDULER_URL=http://localhost:4002

# Redis
REDIS_HOST=localhost
REDIS_PORT=6379

AI Servers (.env):

FLASK_PORT=4000
MODEL_PATH=./models/t5-base-finetuned
DEVICE=cuda  # or 'cpu'

๐Ÿš€ Quick Start with Docker (Optional)

# Build all services
docker-compose up --build

# Or run individually
docker-compose up frontend
docker-compose up backend
docker-compose up ai-services

๐Ÿ“– Usage Guide

Module 1: Content Generation

Content Gen Flow
  1. Upload Notes: Navigate to /upload and drag-drop PDFs
  2. Set Exam Date: Input deadline in dashboard
  3. Review Content: Access generated MCQs, flashcards, summaries
  4. Take Quizzes: Complete assessments and track scores

Module 2: Group Work Management

Group Work Flow
  1. Create Project: Set up group project with members
  2. Assign Tasks: Distribute work with deadlines
  3. Track Activity: Monitor contribution in real-time
  4. View Analytics: Check individual performance metrics
  5. Generate Reports: Export contribution summaries

Module 3: RL Task Scheduler

RL Scheduler Flow
  1. Add Tasks: Input assignments with deadlines and difficulty
  2. Get Schedule: Compare AI vs. Heuristic plans
  3. Complete Pomodoros: Work in 25-min blocks
  4. Rate Focus: Provide feedback after sessions
  5. Agent Learns: System adapts to your patterns

Module 4: Community & Career

Community Flow
  1. Upload CV: Submit resume for analysis
  2. View Matches: See compatible study partners
  3. Skill Gaps: Review missing competencies
  4. Job Suggestions: Browse relevant opportunities
  5. Connect: Join study groups or find mentors

๐ŸŽฏ Research Objectives

Main Objective

To develop HelpMate โ€” an integrated, AI-based platform that combines personalized study planning, fair group work management, intelligent task scheduling, and peer collaboration to enhance academic outcomes and emotional well-being for undergraduate students.

Module-Specific Objectives

Member Module Sub-Objectives Novelty
S. N. Ilukwaththage
IT22609908
Smart Learning Profiler โ€ข Classify learning styles using ML
โ€ข Generate dynamic study plans
โ€ข Predict academic performance
โ€ข Integrate behavior tracking
AI-driven learning style identification with behavior-based performance prediction
S.M.O.L. Chamikara
IT22596734
Content Generation & Productivity โ€ข Implement NLP-based flashcard/MCQ generator
โ€ข Develop smart task manager with reminders
โ€ข Enable short note generation
โ€ข Track progress visually
Combines personalized content generation with interactive productivity tools and deadline-aware delivery
R.A.D.B. Vishmi
IT22926326
Wellness & Emotion Assistant โ€ข Build mood tracking interface
โ€ข Integrate emotion detection (NLP)
โ€ข Design habit tracker
โ€ข Create relaxation tools
Adds mood-awareness to academic tools using sentiment-based journaling insights
M.M. Sandeep
IT22221100
Community & Collaboration โ€ข Implement smart peer matching (K-Means)
โ€ข Build mentorship network
โ€ข Create career analytics engine
โ€ข Develop CV analysis system
Self-improving algorithm with RL for peer matching + predictive career modeling with skill gap analysis

๐Ÿ“… Project Timeline

Gantt Chart
Week Phase Deliverables
1-2 ๐Ÿ“‹ Planning Requirements gathering, feasibility study, dataset collection
3-4 ๐ŸŽจ Design System architecture, UI/UX wireframes, API specifications, database schema
5-6 ๐Ÿค– AI Development T5 fine-tuning, K-Means implementation, RL agent training
7-8 ๐Ÿ’ป Implementation Module development, API integration, frontend components
9-10 ๐Ÿ”— Integration Multi-agent communication, calendar sync, testing workflows
11-12 ๐Ÿงช Testing & Deployment User testing, performance optimization, documentation, launch

Methodology: Agile-Scrum

  • 2-week sprints with sprint reviews
  • Daily standups for team coordination
  • Peer code reviews before merging
  • Continuous integration with GitHub Actions

๐Ÿ‘ฅ Team

๐ŸŽ“ HelpMate Research Group - SLIIT

Member 1
S. N. Ilukwaththage
IT22609908
๐Ÿง  Smart Learning Profiler
& Performance Prediction


๐Ÿ“ง Email
Member 2
S.M.O.L. Chamikara
IT22596734
๐Ÿ“ Intelligent Content Generation
& Resource Management


๐Ÿ“ง Email
Member 3
R.A.D.B. Vishmi
IT22926326
๐Ÿ’š Academic Wellness
& Emotion Assistant


๐Ÿ“ง Email
Member 4
M.M. Sandeep
IT22221100
๐Ÿค Community & Collaboration
Zone with Career Analytics


๐Ÿ“ง Email

๐Ÿ‘ฉโ€๐Ÿซ Supervision Team

Supervisor: Mrs. Uthpala Samarakoon
Co-Supervisor: Ms. Tharushi Rubasinghe


Institution: Sri Lanka Institute of Information Technology (SLIIT)
Faculty: Faculty of Computing
Research Group: CoEAI - Centre of Excellence for AI
Year: 2025


๐Ÿ”ฎ Future Enhancements

Future Roadmap

Phase 1: Enhanced Intelligence (Q1 2026)

Feature Description Priority
๐Ÿ” OCR Support Extract text from scanned PDFs using Tesseract.js High
๐ŸŽ™๏ธ Voice Notes Audio lecture transcription and summarization High
๐Ÿ“Š Advanced Analytics Predictive GPA calculator based on current performance High
๐ŸŒ Multi-language Support for Sinhala and Tamil content Medium

Phase 2: Collaboration 2.0 (Q2 2026)

Feature Description Priority
๐ŸŽฎ Gamification XP, badges, leaderboards for motivation High
๐Ÿ“ฑ Mobile Apps Native iOS/Android applications High
๐Ÿค Live Study Rooms Virtual co-working spaces with video Medium
๐Ÿ’ฌ Real-time Chat Integrated messaging for study groups Medium
๐Ÿ† Competitions Quiz tournaments and coding challenges Low

Phase 3: Advanced AI (Q3 2026)

Feature Description Priority
๐Ÿง  GPT Integration Advanced question answering on notes High
๐ŸŽฏ Personalized Tutoring AI tutor for concept clarification High
๐Ÿ“ˆ Predictive Interventions Early warning system for at-risk students High
๐Ÿ”ฎ Career Path Simulator AI-powered career trajectory modeling Medium
๐ŸŽจ Auto Diagram Generation Convert text to visual flowcharts Low

Phase 4: Institutional Integration (Q4 2026)

Feature Description Priority
๐Ÿซ LMS Integration Connect with Moodle, Canvas, Blackboard High
๐Ÿ“š Library API Access university digital resources Medium
๐Ÿ‘จโ€๐Ÿซ Faculty Portal Teacher dashboard for monitoring Medium
๐Ÿ“Š Institution Analytics Department-wide performance insights Medium
๐ŸŽ“ Graduation Pathway Automated degree requirement tracking Low

๐Ÿ› Challenges Overcome

Challenges
Challenge Solution
๐Ÿ”ฅ MCQ Quality Fine-tuned T5 on domain-specific educational Q&A pairs + implemented diversity sampling and deduplication logic
โšก RL Agent Convergence Balanced reward function to prevent reward hacking + added entropy bonus for exploration
๐Ÿ‘ฅ Free-Rider Detection Accuracy Combined multiple metrics (time, tasks, complexity) + statistical outlier detection with configurable thresholds
๐Ÿ”— Module Integration Microservices architecture with REST APIs + event-driven communication via Redis pub/sub
๐Ÿ“„ PDF Text Extraction Multi-library approach: pdf-parse for text, pdfjs-dist for scanned docs + text cleaning pipeline
๐ŸŽฏ Clustering Optimization Elbow method for optimal k + silhouette score validation + feature engineering for better separation
โฑ๏ธ Real-time Performance Redis caching layer + model quantization + asynchronous processing with worker queues
๐Ÿ” Data Privacy End-to-end encryption + anonymized analytics + GDPR-compliant data handling

๐Ÿ’ฐ Budget & Resources

Development Budget

Expense Cost (LKR) Justification
โ˜๏ธ Cloud Hosting 8,000 Firebase (backend, database), Heroku (AI servers)
๐ŸŒ Domain & SSL 2,500 Professional web presence + security certificate
๐Ÿค– API Credits 5,000 LinkedIn/Indeed APIs, Google Calendar, OCR services
๐Ÿ’พ Storage 3,000 PDF storage, model weights, user data
๐Ÿ“š Datasets 2,000 Educational Q&A corpus, job listings data
๐Ÿ“„ Documentation 1,500 Reports, printing, presentation materials
Total 22,000 Reasonable for 4-person research project

Computational Resources

  • Training: Google Colab Pro (free tier + paid sessions)
  • Inference: Local servers + cloud deployment
  • Storage: Firebase (5GB free) + AWS S3 (pay-as-you-go)

๐Ÿ“š References

Academic Papers

  1. Karpicke, J. D., & Roediger, H. L. (2008). The critical importance of retrieval for learning. Science, 319(5865), 966โ€“968.

  2. Laban, C., et al. (2022). Question Generation: A Review. ACM Computing Surveys.

  3. See, A., Liu, P. J., & Manning, C. D. (2017). Get to the point: Summarization with pointer-generator networks. ACL.

  4. Pane, J. F., Steiner, E. D., Baird, M. D., & Hamilton, L. S. (2015). Continued Progress: Promising Evidence on Personalized Learning. RAND Corporation.

  5. Keyes, C. L. M. (2007). Promoting and protecting mental health as flourishing. American Psychologist, 62(2), 95โ€“108.

  6. Schulman, J., Wolski, F., Dhariwal, P., Radford, A., & Klimov, O. (2017). Proximal Policy Optimization Algorithms. arXiv preprint arXiv:1707.06347.

  7. MacQueen, J. (1967). Some methods for classification and analysis of multivariate observations. Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, Volume 1: Statistics, 281--297.

Technical Documentation

  1. Hugging Face. (2023). Transformers Library. https://huggingface.co/transformers

  2. OpenAI. (2023). Reinforcement Learning with Human Feedback. https://openai.com/research/learning-from-human-preferences

  3. Google. (2023). Google Calendar API Documentation. https://developers.google.com/calendar


๐Ÿค Contributing

We welcome contributions from the community! Please read our Contributing Guidelines before submitting pull requests.

Development Workflow

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Code Standards

  • Frontend: ESLint + Prettier
  • Backend: Airbnb JavaScript Style Guide
  • Python: PEP 8
  • Testing: Jest (JS), pytest (Python)
  • Documentation: JSDoc, docstrings

๐Ÿ“„ License

This project is developed as part of academic research at SLIIT.

Project ID: 25-26J-228
Copyright ยฉ 2025 HelpMate Research Team

Licensed under the MIT License - see the LICENSE file for details.


๐ŸŽ“ Built with ๐Ÿ’™ for Sri Lankan Students

Footer Banner

๐ŸŒŸ Making Higher Education Smarter, Fairer, and More Supportive


โญ Star this repo if you find it helpful!

GitHub stars GitHub forks GitHub issues

๐Ÿ“ซ Contact Us

Email: helpmate.sliit@gmail.com
Website: helpmate.lk (Coming Soon)
LinkedIn: HelpMate Project


About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages