maahikachitagi commited on
Commit
63963db
Β·
verified Β·
1 Parent(s): b130fe8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -23,7 +23,14 @@ all_questions = load_questions('knowledge.txt')
23
  # ---- Simple way to assign questions to interview types ----
24
  # You can replace this later with better tagging
25
  questions_by_type = {
26
- 'Technical': [q for q in all_questions if any(keyword in q['question'].lower() for keyword in ['function', 'algorithm', 'sql', 'system', 'java', 'programming', 'data', 'design', 'api', 'distributed', 'garbage', 'hash', 'stack', 'bfs', 'dfs'])],
 
 
 
 
 
 
 
27
  'Competency-Based Interview': [q for q in all_questions if any(keyword in q['question'].lower() for keyword in ['tell me about a time', 'describe a situation', 'example of', 'negotiation', 'lead', 'mistake', 'stakeholder'])],
28
  'Case': []
29
  }
 
23
  # ---- Simple way to assign questions to interview types ----
24
  # You can replace this later with better tagging
25
  questions_by_type = {
26
+ 'Technical': [q for q in all_questions if any(keyword in q['question'].lower() for keyword in ["Algorithms","System Design",
27
+ "SQL (Group By, Joins)",
28
+ "REST vs GraphQL",
29
+ "Garbage Collection",
30
+ "CAP Theorem",
31
+ "Security (SQL injection, XSS, Hashing)",
32
+ "Caching",
33
+ "Load Balancing"])],
34
  'Competency-Based Interview': [q for q in all_questions if any(keyword in q['question'].lower() for keyword in ['tell me about a time', 'describe a situation', 'example of', 'negotiation', 'lead', 'mistake', 'stakeholder'])],
35
  'Case': []
36
  }