File size: 1,419 Bytes
3d015cd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
"""Text responses model"""
from typing import List, Dict
from dataclasses import dataclass

@dataclass
class TextResponses:
    student_id: str
    text_q1: str  # Strengths
    text_q2: str  # Career interests
    text_q3: str  # Extracurriculars + leadership
    
    def to_dict(self):
        return {
            'student_id': self.student_id,
            'text_q1': self.text_q1,
            'text_q2': self.text_q2,
            'text_q3': self.text_q3
        }
    
    @staticmethod
    def get_questions() -> List[Dict[str, str]]:
        """Return the 3 textual questions"""
        return [
            {
                "id": "text_q1",
                "text": "What are your key strengths and technical skills? (150-300 words)",
                "placeholder": "Describe your technical skills, soft skills, and what makes you stand out..."
            },
            {
                "id": "text_q2",
                "text": "What are your career interests and goals? (150-300 words)",
                "placeholder": "Describe your ideal career path, industries of interest, and long-term goals..."
            },
            {
                "id": "text_q3",
                "text": "Describe your extracurricular activities and leadership experiences. (150-300 words)",
                "placeholder": "Share your involvement in clubs, projects, leadership roles, and impact..."
            }
        ]