Skip to content

Commit 2272665

Browse files
add assessment (#804)
* add assessment * fix type error
1 parent c87d67d commit 2272665

File tree

8 files changed

+1185
-1
lines changed

8 files changed

+1185
-1
lines changed

prisma/dev.db

0 Bytes
Binary file not shown.

prisma/schema.prisma

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ model User {
4646
isActive Boolean @default(true)
4747
cohort String? // Which cohort they belong to
4848
graduationDate DateTime? // When they graduated/completed program
49+
50+
// Assessment and skill level
51+
skillLevel SkillLevel? // Assessed coding skill level
52+
assessmentDate DateTime? // When last assessed
53+
assessmentScore Int? // Score from last assessment (0-100)
4954
5055
// Learning relationships
5156
enrollments Enrollment[]
@@ -62,6 +67,14 @@ enum UserRole {
6267
ADMIN
6368
MENTOR
6469
}
70+
71+
enum SkillLevel {
72+
NEWBIE // No prior coding experience
73+
BEGINNER // Basic understanding of programming concepts
74+
JUNIOR // Can write functional code with some guidance
75+
MID // Independent developer with solid fundamentals
76+
SENIOR // Advanced skills and problem-solving abilities
77+
}
6578

6679
model Account {
6780
userId String

0 commit comments

Comments
 (0)