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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "id": 1,
4
+ "trait": "Openness",
5
+ "question": "Have a vivid imagination"
6
+ },
7
+ {
8
+ "id": 2,
9
+ "trait": "Openness",
10
+ "question": "Enjoy hearing new ideas"
11
+ },
12
+ {
13
+ "id": 3,
14
+ "trait": "Openness",
15
+ "question": "Believe in the importance of art"
16
+ },
17
+ {
18
+ "id": 4,
19
+ "trait": "Openness",
20
+ "question": "Have difficulty imagining things (R)"
21
+ },
22
+ {
23
+ "id": 5,
24
+ "trait": "Openness",
25
+ "question": "Do not like poetry (R)"
26
+ },
27
+ {
28
+ "id": 6,
29
+ "trait": "Openness",
30
+ "question": "Avoid philosophical discussions (R)"
31
+ },
32
+ {
33
+ "id": 7,
34
+ "trait": "Openness",
35
+ "question": "Enjoy thinking about abstract ideas"
36
+ },
37
+ {
38
+ "id": 8,
39
+ "trait": "Openness",
40
+ "question": "Am not interested in theoretical discussions (R)"
41
+ },
42
+ {
43
+ "id": 9,
44
+ "trait": "Openness",
45
+ "question": "Have a rich vocabulary"
46
+ },
47
+ {
48
+ "id": 10,
49
+ "trait": "Openness",
50
+ "question": "Enjoy wild flights of fantasy"
51
+ },
52
+ {
53
+ "id": 11,
54
+ "trait": "Openness",
55
+ "question": "Tend to vote for liberal political candidates"
56
+ },
57
+ {
58
+ "id": 12,
59
+ "trait": "Openness",
60
+ "question": "Enjoy art museums"
61
+ },
62
+ {
63
+ "id": 13,
64
+ "trait": "Openness",
65
+ "question": "Get excited by new ideas"
66
+ },
67
+ {
68
+ "id": 14,
69
+ "trait": "Openness",
70
+ "question": "Like to reflect and play with ideas"
71
+ },
72
+ {
73
+ "id": 15,
74
+ "trait": "Openness",
75
+ "question": "Am full of ideas"
76
+ },
77
+ {
78
+ "id": 16,
79
+ "trait": "Openness",
80
+ "question": "Prefer work that is routine (R)"
81
+ },
82
+ {
83
+ "id": 17,
84
+ "trait": "Openness",
85
+ "question": "Have a difficult time understanding abstract ideas (R)"
86
+ },
87
+ {
88
+ "id": 18,
89
+ "trait": "Openness",
90
+ "question": "Am not interested in abstract ideas (R)"
91
+ },
92
+ {
93
+ "id": 19,
94
+ "trait": "Openness",
95
+ "question": "Do not enjoy going to art museums (R)"
96
+ },
97
+ {
98
+ "id": 20,
99
+ "trait": "Openness",
100
+ "question": "Like to solve complex problems"
101
+ },
102
+ {
103
+ "id": 21,
104
+ "trait": "Openness",
105
+ "question": "Am quick to understand things"
106
+ },
107
+ {
108
+ "id": 22,
109
+ "trait": "Openness",
110
+ "question": "Spend time reflecting on things"
111
+ },
112
+ {
113
+ "id": 23,
114
+ "trait": "Openness",
115
+ "question": "Use difficult words"
116
+ },
117
+ {
118
+ "id": 24,
119
+ "trait": "Openness",
120
+ "question": "Carry the conversation to a higher level"
121
+ },
122
+ {
123
+ "id": 25,
124
+ "trait": "Conscientiousness",
125
+ "question": "Am always prepared"
126
+ },
127
+ {
128
+ "id": 26,
129
+ "trait": "Conscientiousness",
130
+ "question": "Pay attention to details"
131
+ },
132
+ {
133
+ "id": 27,
134
+ "trait": "Conscientiousness",
135
+ "question": "Get chores done right away"
136
+ },
137
+ {
138
+ "id": 28,
139
+ "trait": "Conscientiousness",
140
+ "question": "Like order"
141
+ },
142
+ {
143
+ "id": 29,
144
+ "trait": "Conscientiousness",
145
+ "question": "Follow a schedule"
146
+ },
147
+ {
148
+ "id": 30,
149
+ "trait": "Conscientiousness",
150
+ "question": "Leave my belongings around (R)"
151
+ },
152
+ {
153
+ "id": 31,
154
+ "trait": "Conscientiousness",
155
+ "question": "Make plans and stick to them"
156
+ },
157
+ {
158
+ "id": 32,
159
+ "trait": "Conscientiousness",
160
+ "question": "Shirk my duties (R)"
161
+ },
162
+ {
163
+ "id": 33,
164
+ "trait": "Conscientiousness",
165
+ "question": "Often forget to put things back in their proper place (R)"
166
+ },
167
+ {
168
+ "id": 34,
169
+ "trait": "Conscientiousness",
170
+ "question": "Like to tidy up"
171
+ },
172
+ {
173
+ "id": 35,
174
+ "trait": "Conscientiousness",
175
+ "question": "Finish what I start"
176
+ },
177
+ {
178
+ "id": 36,
179
+ "trait": "Conscientiousness",
180
+ "question": "Am exacting in my work"
181
+ },
182
+ {
183
+ "id": 37,
184
+ "trait": "Conscientiousness",
185
+ "question": "Find it difficult to get down to work (R)"
186
+ },
187
+ {
188
+ "id": 38,
189
+ "trait": "Conscientiousness",
190
+ "question": "Do things according to a plan"
191
+ },
192
+ {
193
+ "id": 39,
194
+ "trait": "Conscientiousness",
195
+ "question": "Continue until everything is perfect"
196
+ },
197
+ {
198
+ "id": 40,
199
+ "trait": "Conscientiousness",
200
+ "question": "Waste my time (R)"
201
+ },
202
+ {
203
+ "id": 41,
204
+ "trait": "Conscientiousness",
205
+ "question": "Find it difficult to stay organized (R)"
206
+ },
207
+ {
208
+ "id": 42,
209
+ "trait": "Conscientiousness",
210
+ "question": "Am not easily distracted"
211
+ },
212
+ {
213
+ "id": 43,
214
+ "trait": "Conscientiousness",
215
+ "question": "Leave a mess in my room (R)"
216
+ },
217
+ {
218
+ "id": 44,
219
+ "trait": "Conscientiousness",
220
+ "question": "Do things efficiently"
221
+ },
222
+ {
223
+ "id": 45,
224
+ "trait": "Conscientiousness",
225
+ "question": "Need a push to get started (R)"
226
+ },
227
+ {
228
+ "id": 46,
229
+ "trait": "Conscientiousness",
230
+ "question": "Am easily distracted (R)"
231
+ },
232
+ {
233
+ "id": 47,
234
+ "trait": "Conscientiousness",
235
+ "question": "Work on things until done"
236
+ },
237
+ {
238
+ "id": 48,
239
+ "trait": "Conscientiousness",
240
+ "question": "Am very persistent"
241
+ },
242
+ {
243
+ "id": 49,
244
+ "trait": "Extraversion",
245
+ "question": "Am the life of the party"
246
+ },
247
+ {
248
+ "id": 50,
249
+ "trait": "Extraversion",
250
+ "question": "Talk to a lot of different people at parties"
251
+ },
252
+ {
253
+ "id": 51,
254
+ "trait": "Extraversion",
255
+ "question": "Feel comfortable around people"
256
+ },
257
+ {
258
+ "id": 52,
259
+ "trait": "Extraversion",
260
+ "question": "Start conversations"
261
+ },
262
+ {
263
+ "id": 53,
264
+ "trait": "Extraversion",
265
+ "question": "Don't mind being the center of attention"
266
+ },
267
+ {
268
+ "id": 54,
269
+ "trait": "Extraversion",
270
+ "question": "Make friends easily"
271
+ },
272
+ {
273
+ "id": 55,
274
+ "trait": "Extraversion",
275
+ "question": "Take charge"
276
+ },
277
+ {
278
+ "id": 56,
279
+ "trait": "Extraversion",
280
+ "question": "Know how to captivate people"
281
+ },
282
+ {
283
+ "id": 57,
284
+ "trait": "Extraversion",
285
+ "question": "Warm up quickly to others"
286
+ },
287
+ {
288
+ "id": 58,
289
+ "trait": "Extraversion",
290
+ "question": "Feel at ease with people"
291
+ },
292
+ {
293
+ "id": 59,
294
+ "trait": "Extraversion",
295
+ "question": "Am skilled in handling social situations"
296
+ },
297
+ {
298
+ "id": 60,
299
+ "trait": "Extraversion",
300
+ "question": "Show my feelings openly"
301
+ },
302
+ {
303
+ "id": 61,
304
+ "trait": "Extraversion",
305
+ "question": "Like to be around people"
306
+ },
307
+ {
308
+ "id": 62,
309
+ "trait": "Extraversion",
310
+ "question": "Prefer jobs that let me work alone (R)"
311
+ },
312
+ {
313
+ "id": 63,
314
+ "trait": "Extraversion",
315
+ "question": "Don't talk a lot (R)"
316
+ },
317
+ {
318
+ "id": 64,
319
+ "trait": "Extraversion",
320
+ "question": "Keep in the background (R)"
321
+ },
322
+ {
323
+ "id": 65,
324
+ "trait": "Extraversion",
325
+ "question": "Have little to say (R)"
326
+ },
327
+ {
328
+ "id": 66,
329
+ "trait": "Extraversion",
330
+ "question": "Don't like to draw attention to myself (R)"
331
+ },
332
+ {
333
+ "id": 67,
334
+ "trait": "Extraversion",
335
+ "question": "Am quiet around strangers (R)"
336
+ },
337
+ {
338
+ "id": 68,
339
+ "trait": "Extraversion",
340
+ "question": "Find it difficult to approach others (R)"
341
+ },
342
+ {
343
+ "id": 69,
344
+ "trait": "Extraversion",
345
+ "question": "Avoid contacts with others (R)"
346
+ },
347
+ {
348
+ "id": 70,
349
+ "trait": "Extraversion",
350
+ "question": "Have difficulty expressing my feelings (R)"
351
+ },
352
+ {
353
+ "id": 71,
354
+ "trait": "Extraversion",
355
+ "question": "Rarely get enthusiastic (R)"
356
+ },
357
+ {
358
+ "id": 72,
359
+ "trait": "Extraversion",
360
+ "question": "Often feel uncomfortable around others (R)"
361
+ },
362
+ {
363
+ "id": 73,
364
+ "trait": "Agreeableness",
365
+ "question": "Am interested in people"
366
+ },
367
+ {
368
+ "id": 74,
369
+ "trait": "Agreeableness",
370
+ "question": "Sympathize with others' feelings"
371
+ },
372
+ {
373
+ "id": 75,
374
+ "trait": "Agreeableness",
375
+ "question": "Have a soft heart"
376
+ },
377
+ {
378
+ "id": 76,
379
+ "trait": "Agreeableness",
380
+ "question": "Take time out for others"
381
+ },
382
+ {
383
+ "id": 77,
384
+ "trait": "Agreeableness",
385
+ "question": "Feel others\u2019 emotions"
386
+ },
387
+ {
388
+ "id": 78,
389
+ "trait": "Agreeableness",
390
+ "question": "Make people feel at ease"
391
+ },
392
+ {
393
+ "id": 79,
394
+ "trait": "Agreeableness",
395
+ "question": "Inquire about others\u2019 well-being"
396
+ },
397
+ {
398
+ "id": 80,
399
+ "trait": "Agreeableness",
400
+ "question": "Love to help others"
401
+ },
402
+ {
403
+ "id": 81,
404
+ "trait": "Agreeableness",
405
+ "question": "Am concerned about others"
406
+ },
407
+ {
408
+ "id": 82,
409
+ "trait": "Agreeableness",
410
+ "question": "Cheat to get ahead (R)"
411
+ },
412
+ {
413
+ "id": 83,
414
+ "trait": "Agreeableness",
415
+ "question": "Use others for my own ends (R)"
416
+ },
417
+ {
418
+ "id": 84,
419
+ "trait": "Agreeableness",
420
+ "question": "Feel little concern for others (R)"
421
+ },
422
+ {
423
+ "id": 85,
424
+ "trait": "Agreeableness",
425
+ "question": "Am not really interested in others (R)"
426
+ },
427
+ {
428
+ "id": 86,
429
+ "trait": "Agreeableness",
430
+ "question": "Insult people (R)"
431
+ },
432
+ {
433
+ "id": 87,
434
+ "trait": "Agreeableness",
435
+ "question": "Take advantage of others (R)"
436
+ },
437
+ {
438
+ "id": 88,
439
+ "trait": "Agreeableness",
440
+ "question": "Am indifferent to the feelings of others (R)"
441
+ },
442
+ {
443
+ "id": 89,
444
+ "trait": "Agreeableness",
445
+ "question": "Have a good word for everyone"
446
+ },
447
+ {
448
+ "id": 90,
449
+ "trait": "Agreeableness",
450
+ "question": "Respect others"
451
+ },
452
+ {
453
+ "id": 91,
454
+ "trait": "Agreeableness",
455
+ "question": "Trust others"
456
+ },
457
+ {
458
+ "id": 92,
459
+ "trait": "Agreeableness",
460
+ "question": "Believe that others have good intentions"
461
+ },
462
+ {
463
+ "id": 93,
464
+ "trait": "Agreeableness",
465
+ "question": "Accept people as they are"
466
+ },
467
+ {
468
+ "id": 94,
469
+ "trait": "Agreeableness",
470
+ "question": "Like to cooperate with others"
471
+ },
472
+ {
473
+ "id": 95,
474
+ "trait": "Agreeableness",
475
+ "question": "Make people feel welcome"
476
+ },
477
+ {
478
+ "id": 96,
479
+ "trait": "Agreeableness",
480
+ "question": "Am easy to satisfy"
481
+ },
482
+ {
483
+ "id": 97,
484
+ "trait": "Neuroticism",
485
+ "question": "Get stressed out easily"
486
+ },
487
+ {
488
+ "id": 98,
489
+ "trait": "Neuroticism",
490
+ "question": "Worry about things"
491
+ },
492
+ {
493
+ "id": 99,
494
+ "trait": "Neuroticism",
495
+ "question": "Am easily disturbed"
496
+ },
497
+ {
498
+ "id": 100,
499
+ "trait": "Neuroticism",
500
+ "question": "Get upset easily"
501
+ },
502
+ {
503
+ "id": 101,
504
+ "trait": "Neuroticism",
505
+ "question": "Change my mood a lot"
506
+ },
507
+ {
508
+ "id": 102,
509
+ "trait": "Neuroticism",
510
+ "question": "Have frequent mood swings"
511
+ },
512
+ {
513
+ "id": 103,
514
+ "trait": "Neuroticism",
515
+ "question": "Get irritated easily"
516
+ },
517
+ {
518
+ "id": 104,
519
+ "trait": "Neuroticism",
520
+ "question": "Often feel blue"
521
+ },
522
+ {
523
+ "id": 105,
524
+ "trait": "Neuroticism",
525
+ "question": "Panic easily"
526
+ },
527
+ {
528
+ "id": 106,
529
+ "trait": "Neuroticism",
530
+ "question": "Am not easily bothered by things (R)"
531
+ },
532
+ {
533
+ "id": 107,
534
+ "trait": "Neuroticism",
535
+ "question": "Rarely get irritated (R)"
536
+ },
537
+ {
538
+ "id": 108,
539
+ "trait": "Neuroticism",
540
+ "question": "Seldom feel blue (R)"
541
+ },
542
+ {
543
+ "id": 109,
544
+ "trait": "Neuroticism",
545
+ "question": "Am relaxed most of the time (R)"
546
+ },
547
+ {
548
+ "id": 110,
549
+ "trait": "Neuroticism",
550
+ "question": "Handle stress well (R)"
551
+ },
552
+ {
553
+ "id": 111,
554
+ "trait": "Neuroticism",
555
+ "question": "Feel comfortable with myself (R)"
556
+ },
557
+ {
558
+ "id": 112,
559
+ "trait": "Neuroticism",
560
+ "question": "Feel secure (R)"
561
+ },
562
+ {
563
+ "id": 113,
564
+ "trait": "Neuroticism",
565
+ "question": "Am not easily frustrated (R)"
566
+ },
567
+ {
568
+ "id": 114,
569
+ "trait": "Neuroticism",
570
+ "question": "Remain calm under pressure (R)"
571
+ },
572
+ {
573
+ "id": 115,
574
+ "trait": "Neuroticism",
575
+ "question": "Am content with my life (R)"
576
+ },
577
+ {
578
+ "id": 116,
579
+ "trait": "Neuroticism",
580
+ "question": "Take things as they come (R)"
581
+ },
582
+ {
583
+ "id": 117,
584
+ "trait": "Neuroticism",
585
+ "question": "Keep my emotions under control (R)"
586
+ },
587
+ {
588
+ "id": 118,
589
+ "trait": "Neuroticism",
590
+ "question": "Am not embarrassed easily (R)"
591
+ },
592
+ {
593
+ "id": 119,
594
+ "trait": "Neuroticism",
595
+ "question": "Don't worry about things that can't be changed (R)"
596
+ },
597
+ {
598
+ "id": 120,
599
+ "trait": "Neuroticism",
600
+ "question": "Am not easily offended (R)"
601
+ }
602
+ ]
data/init_db.py ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sqlite3
2
+
3
+ def init_db():
4
+ conn = sqlite3.connect("data/mindmentor.db")
5
+ c = conn.cursor()
6
+
7
+ c.execute('''CREATE TABLE IF NOT EXISTS user_sessions (
8
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
9
+ name TEXT,
10
+ session_date TEXT
11
+ )''')
12
+
13
+ c.execute('''CREATE TABLE IF NOT EXISTS cognitive_logs (
14
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
15
+ session_id INTEGER,
16
+ task_name TEXT,
17
+ score INTEGER,
18
+ reaction_time REAL
19
+ )''')
20
+
21
+ c.execute('''CREATE TABLE IF NOT EXISTS ei_logs (
22
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
23
+ session_id INTEGER,
24
+ drill_type TEXT,
25
+ entry TEXT,
26
+ timestamp TEXT
27
+ )''')
28
+
29
+ c.execute('''CREATE TABLE IF NOT EXISTS bigfive_scores (
30
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
31
+ user_id INTEGER,
32
+ trait TEXT,
33
+ score INTEGER
34
+ )''')
35
+
36
+ conn.commit()
37
+ conn.close()
38
+
39
+ if __name__ == "__main__":
40
+ init_db()
data/mindmentor.db ADDED
Binary file (57.3 kB). View file
 
data/ncpt_tasks.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "task": "shape_recall",
4
+ "stimuli": ["🟥", "🟩", "🟨", "🟦"],
5
+ "distractor": "🟪"
6
+ },
7
+ {
8
+ "task": "reaction_time",
9
+ "stimulus": "🔴",
10
+ "min_delay": 2.5,
11
+ "max_delay": 5.0
12
+ },
13
+ {
14
+ "task": "number_series",
15
+ "series_pool": [
16
+ { "series": [2, 4, 6, 8], "answer": 10 },
17
+ { "series": [1, 4, 9, 16], "answer": 25 },
18
+ { "series": [3, 6, 12, 24], "answer": 48 },
19
+ { "series": [5, 10, 20, 40], "answer": 80 },
20
+ { "series": [7, 14, 21, 28], "answer": 35 }
21
+ ]
22
+ }
23
+ ]
data/view_db.py ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sqlite3
2
+ from tabulate import tabulate # Optional, for pretty output
3
+
4
+ def show_table(table_name):
5
+ conn = sqlite3.connect("data/mindmentor.db")
6
+ cursor = conn.cursor()
7
+
8
+ try:
9
+ cursor.execute(f"SELECT * FROM {table_name}")
10
+ rows = cursor.fetchall()
11
+ cols = [desc[0] for desc in cursor.description]
12
+ print(f"\n📄 Table: {table_name}")
13
+ print(tabulate(rows, headers=cols, tablefmt="grid"))
14
+ except sqlite3.OperationalError as e:
15
+ print(f"Error: {e}")
16
+
17
+ conn.close()
18
+
19
+ # Tables to inspect
20
+ tables = [
21
+ "user_sessions",
22
+ "cognitive_logs",
23
+ "ei_logs",
24
+ "bigfive_scores"
25
+ ]
26
+
27
+ for t in tables:
28
+ show_table(t)