Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,14 +23,10 @@ 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 [
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
"CAP Theorem",
|
| 31 |
-
"Security (SQL injection, XSS, Hashing)",
|
| 32 |
-
"Caching",
|
| 33 |
-
"Load Balancing"])],
|
| 34 |
|
| 35 |
'Competency-Based Interview': [q for q in all_questions if any(keyword in q['question'].lower() for keyword in [
|
| 36 |
"Debugging",
|
|
|
|
| 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.lower() in q['question'].lower() for keyword in [
|
| 27 |
+
"Algorithms","System Design","SQL (Group By, Joins)",
|
| 28 |
+
"REST vs GraphQL","Garbage Collection","CAP Theorem",
|
| 29 |
+
"Security (SQL injection, XSS, Hashing)","Caching","Load Balancing"])],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
'Competency-Based Interview': [q for q in all_questions if any(keyword in q['question'].lower() for keyword in [
|
| 32 |
"Debugging",
|