How 07jatin/collage-placement-readiness-and-gap-analysis-testing-1- works
1. System shape
This is a locally run education-to-job alignment platform with a clear split between a FastAPI backend and a React frontend. The backend performs all scoring, parsing, and recommendation logic; the frontend is a presentation layer for students and admins.
2. Primary data sources
The application is intentionally data-local. Core inputs live under backend/data/ as market_data.json, student_data.json, historical_placement.csv, and test_history.json. The repo README also implies mock data generation is part of the workflow, so the system can run without an external database.
3. Backend API boundary
backend/main.py is the API entrypoint and exposes the main endpoints:
- GET /gap_report/{student_id}
- GET /predict_readiness/{student_id}
- GET /admin/skill_gaps
This is the main integration point for the frontend and the place where student-specific reports are assembled.
4. Backend service layer
The backend business logic is split into focused services under backend/services/:
- skill_analyzer.py computes skill overlap/gaps and certification suggestions.
- predict_readiness.py trains or applies a readiness model based on historical placement data.
- resume_parser.py extracts structured signals from uploaded resumes.
- llm_resume_analyzer.py suggests there is an optional AI-assisted resume analysis path.
- adzuna_client.py indicates a market-data ingestion boundary for job postings or labor-market signals.
5. Readiness prediction pipeline
The readiness score is not a UI-only metric; it is produced server-side from historical data. The README states predict_readiness.py uses a RandomForest trained on the local CSV, so the flow is: historical placements → model training/inference → readiness percentage returned through the API.
6. Skill gap analysis pipeline
The gap-analysis path compares a student profile against market/job skill data. The README explicitly calls out Jaccard similarity, missing skills, and recommended certifications, which means this subsystem is rule/statistics driven rather than purely model driven.
7. Resume-centric flow
The frontend includes a ResumeUploadView, and the backend has parser and LLM analyzer services. That suggests a pipeline where a resume is uploaded, parsed into structured skill/experience data, then fed into gap analysis and readiness scoring.
8. Frontend application structure
The React app under frontend/src/ is organized into feature views rather than a heavy state-management architecture. Components such as DashboardView, GapAnalysisView, LearningPathView, MockTestView, ProfileView, ResumeUploadView, AdminDashboardView, and ManageStudentsView indicate role-based screens for students and administrators.
9. Learning and assessment content
The frontend bundles static domain content in frontend/src/data/ and utilities in frontend/src/utils/. Files like mockTestQuestionBank.js, questions.js, skillData.js, questionTemplates.js, and resumeTestGenerator.js imply that mock tests and learning-path generation are driven by local templates and skill metadata, not a remote LMS.
10. UI-to-backend interaction
The frontend likely calls the FastAPI endpoints to populate dashboard tiles, readiness gauges, gap reports, and admin summaries. App.js is the top-level composition point, while Common.js and the view components provide reusable UI building blocks and page-level sections.
11. Admin vs student boundary
The repository distinguishes student-facing workflows from admin workflows. Student views focus on profile, resume, gap analysis, mock tests, and learning paths; admin views focus on aggregated skill gaps and student management. This separation is important for diagramming user roles and API consumers.
12. Offline analysis and testing
Exploratory_Data_Analysis.ipynb, test_backend.py, test_predict.py, and backend/test_adzuna.py show that the repo includes analysis and verification artifacts alongside the product code. That means the architecture has an offline iteration loop for data exploration, model validation, and API/service testing.
13. External dependency boundary
The only clear external-service boundary is the Adzuna client, which likely fetches job-market data when live market enrichment is needed. Everything else is designed to run from local files and local compute, which keeps deployment simple and makes the data flow deterministic.
14. High-level diagram takeaway
A good architecture diagram should show: frontend React views → FastAPI endpoints → service layer → local data/model files. Optionally show a side branch for resume upload/parsing and another for job-market data ingestion via Adzuna.
Main entry points: main.py API entrypoint · App.js App shell · skill_analyzer.py Skill analyzer · predict_readiness.py Readiness model
Components 22
Frontend
React UI for students and admins
- App shell · Top-level UI composition and routing
frontend/src/App.js - Dashboard · Student summary and readiness tiles
frontend/src/components/DashboardView.js - Gap analysis · Skill gap and certification recommendations
frontend/src/components/GapAnalysisView.js - Resume upload · Resume upload and analysis entry point
frontend/src/components/ResumeUploadView.js - Learning path · Recommended study and practice path
frontend/src/components/LearningPathView.js - Mock tests · Practice assessment and test flow
frontend/src/components/MockTestView.js - Admin dashboard · Admin summary of skill gaps and students
frontend/src/components/AdminDashboardView.js - Student mgmt · Student administration and oversight
frontend/src/components/ManageStudentsView.js - Profile · Student profile and baseline data
frontend/src/components/ProfileView.js - Local content · Question banks, skill metadata, and generators
frontend/src/data/skillData.js
Backend
FastAPI app plus service layer
- API entrypoint · Main HTTP boundary for reports and predictions
backend/main.py - Skill analyzer · Computes overlaps, gaps, and certification suggestions
backend/services/skill_analyzer.py - Readiness model · Trains and applies readiness prediction from placements
backend/services/predict_readiness.py - Resume parser · Extracts structured signals from uploaded resumes
backend/services/resume_parser.py - LLM resume assist · Optional AI-assisted resume analysis path
backend/services/llm_resume_analyzer.py - Adzuna client · External job-market ingestion boundary
backend/services/adzuna_client.py
Local Data
Repository-managed inputs and model artifacts
- Student data · Local student profiles and attributes
backend/data/student_data.json - Market data · Local job-skill market snapshot
backend/data/market_data.json - Placement history · Historical placements used for model training
backend/data/historical_placement.csv - Test history · Historical mock-test or assessment outcomes
backend/data/test_history.json
Offline Workbench
Analysis and test artifacts
- EDA notebook · Exploratory data analysis and iteration loop
Exploratory_Data_Analysis.ipynb - Backend tests · API and model checks for backend behavior
test_backend.py
Connections 24
- App shell → Dashboard: routes to · App composes student dashboard screen
- App shell → Gap analysis: routes to · App composes skill-gap screen
- App shell → Resume upload: routes to · App composes resume upload flow
- App shell → Learning path: routes to · App composes learning-path screen
- App shell → Mock tests: routes to · App composes mock-test screen
- App shell → Admin dashboard: routes to · App composes admin dashboard
- App shell → Student mgmt: routes to · App composes student-management screen
- Dashboard → API entrypoint: calls · Fetches readiness and gap reports
- Gap analysis → API entrypoint: calls · Requests gap analysis data
- Resume upload → API entrypoint: uploads to · Sends resume for parsing and analysis
- Admin dashboard → API entrypoint: calls · Requests admin skill-gap summaries
- API entrypoint → Skill analyzer: uses · Assembles gap reports from skill analysis
- API entrypoint → Readiness model: uses · Serves readiness predictions
- API entrypoint → Resume parser: uses · Parses uploaded resumes
- API entrypoint → LLM resume assist: optional · AI-assisted resume analysis path
- API entrypoint → Adzuna client: uses · Enriches market skill signals when needed
- Skill analyzer → Student data: reads · Uses student profile inputs
- Skill analyzer → Market data: reads · Compares against local market skills
- Readiness model → Placement history: trains on · RandomForest fits historical placement data
- Readiness model → Test history: optionally reads · Can incorporate test-history signals
- Resume parser → Local content: aligns with · Uses resume and skill templates indirectly
- Mock tests → Local content: uses · Builds practice tests from local question data
- EDA notebook → Placement history: explores · Data analysis over placement history
- Backend tests → API entrypoint: verifies · Checks API behavior and predictions