-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprd1.txt
More file actions
2548 lines (1184 loc) · 41.8 KB
/
prd1.txt
File metadata and controls
2548 lines (1184 loc) · 41.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Career Connect AI — Product Requirements Document
Confidential | v1.0
PRODUCT REQUIREMENTS DOCUMENT
Career Connect AI
Intelligent Job Screening & Resume Enhancement Platform
Version
1.0 — Initial Release
Project
Career Connect AI
Team
Shrey Joshi, Shatakshi Singh
Mentor
Dr. S. Girirajan, Asst. Professor, CTECH
Institution
SRM Institute of Science and Technology, Kattankulathur
Date
March 2025
Status
APPROVED FOR IMPLEMENTATION
1. Executive Summary
Career Connect AI is an end-to-end AI-powered recruitment automation platform that eliminates the inefficiencies of traditional hiring workflows. By unifying resume screening, semantic job-matching, skill gap analysis, live AI-conducted interviews, and multimodal candidate evaluation into a single platform, it delivers objective, data-driven hiring decisions at scale.
The system serves two primary user groups — job candidates who seek personalized coaching and fair evaluation, and HR recruiters who need fast, bias-reduced shortlisting tools. The platform is academically grounded in published research on LLMs, Doc2Vec embeddings, and multimodal AI, and is designed for real-world deployment as a cloud-based, microservices-driven SaaS product.
1.1 Problem Statement
Modern organizations receive thousands of applications per job opening. The current toolchain suffers from five critical failure modes:
Manual resume screening is slow — average HR team spends 6–8 seconds per resume, missing qualified candidates.
Keyword-based ATS systems strip semantic context, penalizing qualified candidates who phrase skills differently.
Interviews are subjective — different interviewers ask different questions, creating inconsistent, legally risky evaluations.
Candidates receive no actionable feedback — they do not know what skill gaps cost them the role.
Remote interviews lack integrity mechanisms — impersonation and cheating are undetected without dedicated tooling.
1.2 Proposed Solution
Career Connect AI addresses all five failure modes through a single unified platform with the following capability pillars:
Semantic Resume-JD Matching (Doc2Vec + Cosine Similarity) — evaluates meaning, not just keywords.
Skill Gap Engine — identifies exactly what is missing and recommends specific training resources.
Live AI Interview (Gemini LLM + RAG) — context-aware, role-specific questions generated from the actual JD.
Multimodal Behavioral Analysis (DeepFace + Speech Model) — captures emotion, tone, and communication quality.
Anti-Cheat & Identity Verification (YOLOv8, YOLOv11, Haarcascade) — ensures interview integrity.
Weighted Scoring Engine — produces a single, explainable final score with component breakdowns.
Bi-directional Dashboards — real-time insights for both candidates and recruiters.
1.3 Success Metrics (KPIs)
KPI
Target
Measurement Method
Resume matching accuracy
≥ 85% precision vs. HR baseline
A/B testing with HR team
Time-to-shortlist reduction
≥ 60% reduction
Benchmarked against manual flow
Interview consistency score
≤ 5% variance across same candidate
Repeat-interview correlation
Anti-cheat detection rate
≥ 95% anomaly detection
Controlled test scenarios
Candidate satisfaction (CSAT)
≥ 4.0 / 5.0
Post-session survey
Report generation time
< 30 seconds post-interview
Server-side timing logs
2. Scope & Constraints
2.1 In Scope
User registration, authentication, and role-based access (Candidate, HR User, Admin, Data Analyst, Moderator).
Resume upload (PDF / DOCX), NLP-based parsing, and structured storage of candidate profiles.
HR job description upload, parsing, and skill extraction.
Doc2Vec semantic embedding generation for both resumes and JDs, cosine similarity scoring.
Skill gap detection and personalized training recommendation engine.
Two interview modes: HR Interview (structured AI interview) and PIA Smart Interview (adaptive assessment).
Live WebRTC audio-video interview session with real-time recording.
Gemini LLM RAG pipeline for dynamic, JD-contextualised question generation and answer evaluation.
DeepFace-based facial emotion recognition and identity verification during interviews.
Speech analysis module (RAVDESS-trained) for audio feature extraction.
Anti-cheat monitoring using YOLOv8, YOLOv11, and Haarcascade algorithms.
Weighted composite scoring engine (semantic, JD similarity, emotion, audio).
Automated PDF report generation per candidate using ReportLab.
Candidate dashboard: interview history, scores, skill recommendations, weekly summary.
HR recruiter dashboard: ranked candidate list, evaluation cards, interview slot management.
Admin panel: user management, system configuration, monitoring.
Event-driven microservices architecture with RabbitMQ/Kafka message broker.
2.2 Out of Scope (v1.0)
Mobile native application (iOS / Android) — web responsive only in v1.0.
Multilingual interview support — English only in v1.0.
Blockchain-based credential verification — planned for v2.0.
Sentence-BERT or advanced transformer embeddings to replace Doc2Vec — v2.0 upgrade.
Reinforcement-learning adaptive follow-up questioning — v2.0 feature.
Integration with third-party HRIS/ATS systems (Workday, SAP SuccessFactors) — post-v1.0.
Video emotion analysis for asynchronous (pre-recorded) interviews.
2.3 Assumptions & Dependencies
Candidates have access to a device with a functioning webcam and microphone.
All interviews conducted in English with standard audio quality.
Google Gemini API is accessible with a valid API key and sufficient quota.
DeepFace and YOLOv8/v11 models are pre-loaded or pulled from accessible model registries.
Cloud infrastructure (AWS / GCP / Azure) is available for deployment.
All users accept explicit consent for audio/video recording before starting an interview.
Candidate data is processed in compliance with applicable data protection regulations (GDPR/PDPA).
3. User Personas & Role Matrix
3.1 Persona Descriptions
Candidate (Primary)
Demographics: Recent graduates, experienced professionals, and career changers. Digitally literate; comfortable using web applications. Primary goal is securing a job placement with personalised guidance on how to improve.
Pain points: Does not know why their resume was rejected. Has no insight into what specific skills they are lacking. Cannot access objective feedback from interviews.
Goals on platform: Upload resume, understand match score, receive skill recommendations, complete an AI interview, view their evaluation card.
HR Recruiter (Secondary)
Demographics: Talent acquisition professionals or hiring managers at companies of any size. Primary goal is efficient, unbiased shortlisting of qualified candidates from a large applicant pool.
Pain points: Overwhelmed by volume of resumes. Interview scheduling is manual and time-consuming. Post-interview calibration between panel members is inconsistent.
Goals on platform: Upload job descriptions, view ranked candidate list, review evaluation reports, schedule interview slots, make data-driven shortlisting decisions.
Administrator
System operator who manages platform configuration, user accounts, feature flags, and security settings. Has full access to all modules.
Data Analyst
Reviews aggregated recruitment analytics to surface trends, bias patterns, and efficiency metrics. Read-only access to dashboards and reports.
Moderator
Reviews flagged content, approves uploaded job descriptions, monitors anti-cheat alerts, and manages candidate submissions that are under review.
3.2 Role-Based Access Matrix
Feature / Module
Admin
HR User
Candidate
Analyst
Moderator
User management
Full
None
None
None
None
Upload Job Description
Full
Full
None
None
Review
Upload Resume
Full
View
Own
None
View
Start Interview
Full
None
Own
None
None
View Evaluation Reports
Full
All
Own
All RO
All RO
HR Analytics Dashboard
Full
Full
None
Read
Limited
Anti-Cheat Alerts
Full
View
None
None
Full
System Configuration
Full
None
None
None
None
Skill Recommendations
View
View
Own
None
None
4. Functional Requirements
FR-1 | User Authentication & Profile Management
The platform must support multi-role authentication with JWT-based session tokens. Registration flows must be role-specific (Candidate vs. HR User). Password recovery via email OTP must be available.
ID
Feature
Description
Priority
FR-1.1
Registration
Candidates and HR users register with name, email, password, and role. Email verification required before first login.
P0 — Critical
FR-1.2
Login / Logout
Secure JWT-based authentication. Token refresh mechanism. Auto-logout after 30 minutes of inactivity.
P0 — Critical
FR-1.3
Profile Edit
Candidates can update name, contact, experience, target role, and profile photo. HR users can update company name and department.
P1 — High
FR-1.4
Password Reset
Email-based OTP password recovery with 10-minute expiry window.
P1 — High
FR-1.5
Role-Based Routing
Post-login, users are routed to their role-specific dashboard (Candidate Dashboard vs. HR Dashboard vs. Admin Panel).
P0 — Critical
FR-2 | Resume Upload & Intelligent Parsing
The resume processing pipeline must accept PDF and DOCX files, extract structured candidate data using NLP, and store vector embeddings for matching. Unsupported file formats must be rejected with a user-facing error.
ID
Feature
Description
Priority
FR-2.1
File Upload
Accept PDF and DOCX only. Max file size: 5 MB. Validate format on upload, reject invalid formats with descriptive error message.
P0
FR-2.2
Text Extraction
Use PyPDF2 for PDF and python-docx for DOCX. Extract raw text content for NLP processing.
P0
FR-2.3
NLP Parsing
Extract structured entities: full name, email, phone, skills (technical and soft), work experience, education, certifications, and projects. Flag missing critical sections.
P0
FR-2.4
Preprocessing
Apply tokenization, stop-word removal, and lemmatization to cleaned text before embedding generation.
P0
FR-2.5
Embedding Storage
Generate Doc2Vec vector for resume text and store in database linked to candidate profile. Re-generate on resume update.
P0
FR-2.6
Parsing Feedback
Display extracted skills and experience back to candidate for confirmation. Allow manual correction of incorrectly parsed fields.
P1
FR-3 | Job Description Management
ID
Feature
Description
Priority
FR-3.1
JD Upload
HR users upload JDs as text input or PDF/DOCX file. System extracts required skills, experience level, responsibilities, job title, and industry.
P0
FR-3.2
JD Embedding
Generate and store Doc2Vec embedding for JD text using the same model as resume embeddings.
P0
FR-3.3
JD Management
HR can view, edit, archive, and delete their own job postings. Each JD has status: Draft, Active, Closed.
P1
FR-3.4
Skill Extraction
System automatically tags required skills from JD for use in skill gap analysis and RAG prompt injection.
P0
FR-4 | Semantic Resume-JD Matching
The matching engine uses Doc2Vec embeddings trained on the Kaggle Resume Dataset and Job Description Dataset. Cosine similarity is the primary metric. Gemini LLM provides a secondary semantic reasoning score via RAG.
ID
Feature
Description
Priority
FR-4.1
Cosine Similarity
Calculate cosine similarity between resume embedding and JD embedding. Score normalised to 0–1 (displayed as 0–100%).
P0
FR-4.2
Match Score Display
Show candidate a visual match score gauge with colour coding: < 40% Red, 40–70% Amber, > 70% Green.
P1
FR-4.3
Skill Overlap Report
Display matched skills, missing required skills, and additional skills not required by JD.
P1
FR-4.4
Hybrid Score
Combine Doc2Vec cosine similarity with Gemini RAG semantic reasoning score to produce a hybrid JD-fit score.
P0
FR-4.5
Recruiter View
HR dashboard shows match scores for all applicants against a selected JD, sortable and filterable.
P1
FR-5 | Skill Gap Analysis & Recommendations
ID
Feature
Description
Priority
FR-5.1
Gap Detection
Compare extracted skills from resume against required skills in JD. Identify missing, partial, and fully matched skills.
P0
FR-5.2
Training Recommendations
For each identified skill gap, generate personalised recommendations including: topic description, suggested course names, resource type (video/article/certification), and estimated learning time.
P1
FR-5.3
Prioritisation
Rank recommendations by impact on match score. High-impact gaps (core JD requirements) shown first.
P2
FR-5.4
Progress Tracking
Candidate can mark recommendations as "In Progress" or "Completed." Platform tracks completion history.
P2
FR-6 | AI-Powered Interview Engine
This is the core innovation of the platform. Two interview modes must be supported. Both modes use WebRTC for real-time video-audio communication and Gemini LLM with a RAG pipeline for dynamic question generation.
FR-6A — HR Interview Mode (Structured)
ID
Feature
Description
Priority
FR-6A.1
Session Init
Candidate selects target job role, inputs years of experience, optionally adds a description. System validates inputs before starting session.
P0
FR-6A.2
Permissions
System requests microphone AND camera access. Both must be granted to proceed. If denied, show actionable error with instructions.
P0
FR-6A.3
RAG Pipeline
JD text + candidate skill profile injected into Gemini prompt context. Questions generated are role-specific, context-aware, and non-repetitive across a session.
P0
FR-6A.4
Question Delivery
AI reads questions aloud via text-to-speech. Questions displayed as text simultaneously. Candidate responds verbally within a configurable time window (default: 90 seconds per question).
P0
FR-6A.5
Response Recording
Audio and video are recorded simultaneously throughout the session. Recordings stored securely per candidate session ID.
P0
FR-6A.6
Transcription
Gemini Speech-to-Text generates transcript of candidate audio responses in real time. Transcript used as input for semantic evaluation.
P0
FR-6A.7
Session End
After all questions answered (or session timeout), system confirms session completion, triggers evaluation pipeline asynchronously.
P0
FR-6B — PIA Smart Interview Mode (Adaptive)
ID
Feature
Description
Priority
FR-6B.1
Adaptive Mode
Question format includes text-input answers, MCQs, and scenario-based questions. Mix determined dynamically based on candidate skill profile.
P1
FR-6B.2
Auto Evaluation
Text answers automatically evaluated for semantic accuracy by Gemini. MCQ answers scored against correct answer key.
P1
FR-6B.3
Assessment Card
Immediate post-assessment card generated showing: overall score, topic-wise breakdown, correct/incorrect distribution.
P1
FR-7 | Multimodal Analysis Modules
FR-7A — Facial Emotion Analysis (DeepFace)
ID
Feature
Description
Priority
FR-7A.1
Frame Extraction
OpenCV extracts frames from candidate video at 1-second intervals throughout the interview.
P0
FR-7A.2
Emotion Labels
DeepFace classifies each frame into: Happy, Confident, Neutral, Stressed, Confused, Anxious. Seven-class FER2013-trained model.
P0
FR-7A.3
Stability Score
Calculate emotional stability score = inverse variance of emotion distribution across session. Normalised to 0–100.
P0
FR-7A.4
Timeline Chart
Generate timeline of emotional state transitions throughout interview for inclusion in evaluation report.
P1
FR-7B — Speech Analysis Module
ID
Feature
Description
Priority
FR-7B.1
Audio Features
Extract: pitch variation, speaking rate (WPM), pause frequency, filler word count (uh/um), tone modulation, and articulation clarity from RAVDESS-trained model.
P0
FR-7B.2
Communication Score
Compute communication effectiveness score (0–100) as a weighted combination of extracted audio features.
P0
FR-7B.3
Background Noise
Apply audio pre-processing: amplitude normalisation and background noise reduction before feature extraction.
P1
FR-8 | Identity Verification & Anti-Cheat
ID
Feature
Description
Priority
FR-8.1
Identity Verification
At session start, capture reference face. DeepFace compares candidate face against reference frame-by-frame throughout interview. Confidence threshold: ≥ 90%.
P0
FR-8.2
Face-Out Detection
If candidate face is not detected for > 5 seconds, trigger visible on-screen warning. Log event with timestamp.
P0
FR-8.3
Multiple Persons
YOLOv8 / YOLOv11 detect if more than one person appears in frame. Immediately flag and log the event. Repeat offences escalate to session termination.
P0
FR-8.4
Fake Video Detection
Haarcascade liveness checks detect pre-recorded video playback. Flag session if liveness probability < threshold.
P0
FR-8.5
Cheat Log
All anti-cheat events stored in structured log with timestamp, event type, severity level (Warning / Critical). Visible to HR and Moderator.
P0
FR-8.6
Screen Recording
Browser screen recording captures candidate activity. Suspicious tab-switching or secondary screen usage logged.
P1
FR-9 | Candidate Scoring Engine
The scoring engine aggregates outputs from all analysis modules into a single, explainable weighted composite score. Weights are configurable by HR users per job role.
S_final = (w1 × S_semantic) + (w2 × S_similarity) + (w3 × S_emotion) + (w4 × S_audio)
where w1 + w2 + w3 + w4 = 1.0 | All scores normalised to 0–100 before weighting
Score Component
Source Module
Range
Default Weight
Adjustable?
S_semantic
Gemini LLM Response Evaluation
0 – 100
35%
Yes
S_similarity
Doc2Vec Cosine Similarity
0 – 1 → 0–100
30%
Yes
S_emotion
DeepFace Stability Score
0 – 100
20%
Yes
S_audio
Speech Analysis Module
0 – 100
15%
Yes
S_final (Overall Composite)
0 – 100 (Shortlist threshold configurable; default: ≥ 70)
FR-10 | Evaluation Report Generation
ID
Feature
Description
Priority