Dataset Viewer
Auto-converted to Parquet Duplicate
ping_id
stringlengths
16
16
lecture_id
stringclasses
120 values
segment_id
stringclasses
754 values
student_id
stringclasses
522 values
created_at
timestamp[s]date
2025-09-01 14:00:10
2025-10-24 18:49:36
offset_s
int64
0
3k
question
stringclasses
477 values
png_ae7c7ddfcbc9
lec_e952d97e967b
seg_6ce12eefa279
stu_830e07bc
2025-09-01T14:00:10
10
null
png_5699c0301b21
lec_e952d97e967b
seg_6ce12eefa279
stu_b2f14c94
2025-09-01T14:00:21
21
null
png_4d3089980c50
lec_e952d97e967b
seg_6ce12eefa279
stu_3898d190
2025-09-01T14:01:38
98
null
png_14ac47a164e4
lec_e952d97e967b
seg_6ce12eefa279
stu_7ebff206
2025-09-01T14:01:06
66
null
png_9877c1726f06
lec_e952d97e967b
seg_6ce12eefa279
stu_128b2f33
2025-09-01T14:02:19
139
null
png_38bd08a6ab0f
lec_e952d97e967b
seg_6ce12eefa279
stu_1600a35a
2025-09-01T14:03:46
226
I lost you at the last step of variables and types
png_4dc15aded3ca
lec_e952d97e967b
seg_6ce12eefa279
stu_eeeacbe2
2025-09-01T14:03:03
183
Is variables and types going to be on the exam?
png_88120fc05531
lec_e952d97e967b
seg_6ce12eefa279
stu_1a61dbe2
2025-09-01T14:04:57
297
Could you do another example of variables and types?
png_187f7da69370
lec_e952d97e967b
seg_6ce12eefa279
stu_93bd04cf
2025-09-01T14:05:03
303
null
png_126ef3a71b00
lec_e952d97e967b
seg_6ce12eefa279
stu_3898d190
2025-09-01T14:06:42
402
null
png_5218d73c8a36
lec_e952d97e967b
seg_6ce12eefa279
stu_4cdd2055
2025-09-01T14:06:47
407
null
png_d296df3648fb
lec_e952d97e967b
seg_6ce12eefa279
stu_1a61dbe2
2025-09-01T14:07:41
461
What's the intuition behind variables and types?
png_75b0628da935
lec_e952d97e967b
seg_6ce12eefa279
stu_6bf46c69
2025-09-01T14:07:48
468
null
png_f192d50dfdea
lec_e952d97e967b
seg_16aca26aa0ae
stu_a09f76b5
2025-09-01T14:09:28
568
null
png_65c64df0de9b
lec_e952d97e967b
seg_16aca26aa0ae
stu_ae2eb154
2025-09-01T14:11:35
695
null
png_c382d59304bd
lec_e952d97e967b
seg_16aca26aa0ae
stu_5051c1cc
2025-09-01T14:12:59
779
null
png_e416df41fd73
lec_e952d97e967b
seg_16aca26aa0ae
stu_0f4205b4
2025-09-01T14:15:21
921
Is conditionals going to be on the exam?
png_80449b9abe04
lec_e952d97e967b
seg_16aca26aa0ae
stu_099950d8
2025-09-01T14:16:40
1,000
null
png_a5b7bf0762fe
lec_e952d97e967b
seg_16aca26aa0ae
stu_11e20b8f
2025-09-01T14:16:36
996
null
png_bd8e3b7f9783
lec_e952d97e967b
seg_9bb11570266b
stu_5051c1cc
2025-09-01T14:17:52
1,072
Can you go over loops again?
png_16977f37a9b3
lec_e952d97e967b
seg_9bb11570266b
stu_12bd4ace
2025-09-01T14:17:52
1,072
null
png_df99a50f30bf
lec_e952d97e967b
seg_9bb11570266b
stu_6b0d549b
2025-09-01T14:18:21
1,101
null
png_329cc705b041
lec_e952d97e967b
seg_9bb11570266b
stu_13deef86
2025-09-01T14:21:33
1,293
null
png_ba5636ca965d
lec_e952d97e967b
seg_9bb11570266b
stu_34b9b5df
2025-09-01T14:21:08
1,268
null
png_079bd9f64aad
lec_e952d97e967b
seg_9bb11570266b
stu_49b64a08
2025-09-01T14:22:56
1,376
null
png_c7f2ad0be67d
lec_e952d97e967b
seg_9bb11570266b
stu_7ebff206
2025-09-01T14:24:44
1,484
Is loops going to be on the exam?
png_151c1d3e06ea
lec_e952d97e967b
seg_9bb11570266b
stu_0f21ddb6
2025-09-01T14:25:15
1,515
null
png_f183fb2cffcd
lec_e952d97e967b
seg_9bb11570266b
stu_39263059
2025-09-01T14:25:08
1,508
null
png_691bad0072be
lec_e952d97e967b
seg_02f4742a8063
stu_5790f82e
2025-09-01T14:26:14
1,574
null
png_6340cccdc94b
lec_e952d97e967b
seg_02f4742a8063
stu_0c5c7fd0
2025-09-01T14:27:16
1,636
Can you go over functions again?
png_e1a17061d352
lec_e952d97e967b
seg_02f4742a8063
stu_5051c1cc
2025-09-01T14:28:36
1,716
Is functions going to be on the exam?
png_c6ee96c68be2
lec_e952d97e967b
seg_02f4742a8063
stu_26e87555
2025-09-01T14:28:59
1,739
I lost you at the last step of functions
png_a96f39048114
lec_e952d97e967b
seg_02f4742a8063
stu_930d6eaf
2025-09-01T14:30:29
1,829
null
png_dfc50ad57047
lec_e952d97e967b
seg_02f4742a8063
stu_8d116ece
2025-09-01T14:30:14
1,814
null
png_9bbcf64453e6
lec_e952d97e967b
seg_02f4742a8063
stu_e8e25d94
2025-09-01T14:31:26
1,886
null
png_e7ad17efeb7f
lec_e952d97e967b
seg_02f4742a8063
stu_923a7369
2025-09-01T14:31:44
1,904
Is functions going to be on the exam?
png_a998ff9ae45f
lec_e952d97e967b
seg_02f4742a8063
stu_dbc496cb
2025-09-01T14:31:25
1,885
What notation are we using for functions?
png_3ad2e3e874ee
lec_e952d97e967b
seg_02f4742a8063
stu_12bd4ace
2025-09-01T14:32:01
1,921
null
png_a19edc8d02e9
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_8f6d0558
2025-09-01T14:34:29
2,069
null
png_7646197b9bac
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_6bf46c69
2025-09-01T14:34:15
2,055
null
png_be467b127923
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_3898d190
2025-09-01T14:35:01
2,101
null
png_a0c9622ede29
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_18f135d2
2025-09-01T14:35:20
2,120
Why does scope work that way?
png_e1fc75c0dfda
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_d17f9aca
2025-09-01T14:35:42
2,142
null
png_b5af5204b1f0
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_0c5c7fd0
2025-09-01T14:35:42
2,142
null
png_cbcc454e1a60
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_0f21ddb6
2025-09-01T14:36:23
2,183
null
png_e9a5de09d767
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_1012f037
2025-09-01T14:36:57
2,217
null
png_1f32df8390b5
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_12bd4ace
2025-09-01T14:36:44
2,204
What's the intuition behind scope?
png_192152b296b9
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_6f03675a
2025-09-01T14:36:49
2,209
null
png_3abb5481e010
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_86734721
2025-09-01T14:37:46
2,266
null
png_e4197dcd1392
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_d0eda82f
2025-09-01T14:38:22
2,302
null
png_b2886b4cb306
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_923a7369
2025-09-01T14:38:57
2,337
Why does scope work that way?
png_22d3b20604b3
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_72e6cc3a
2025-09-01T14:38:55
2,335
null
png_7a40ebbb3c8d
lec_e952d97e967b
seg_8d95fe8ad4a1
stu_86734721
2025-09-01T14:38:11
2,291
null
png_05d90b65393f
lec_e952d97e967b
seg_0b0f2114e068
stu_e8e25d94
2025-09-01T14:40:42
2,442
What's the intuition behind recursion?
png_61c19cc5c1d6
lec_e952d97e967b
seg_0b0f2114e068
stu_5f557203
2025-09-01T14:40:49
2,449
null
png_19d4190fbb8c
lec_e952d97e967b
seg_0b0f2114e068
stu_92b1d3f2
2025-09-01T14:40:26
2,426
I lost you at the last step of recursion
png_ed56cf5b8077
lec_e952d97e967b
seg_0b0f2114e068
stu_36f675cc
2025-09-01T14:40:27
2,427
null
png_0d3c3cf92ca8
lec_e952d97e967b
seg_0b0f2114e068
stu_eeeacbe2
2025-09-01T14:40:44
2,444
How does recursion connect to the last slide?
png_f85de5b2a561
lec_e952d97e967b
seg_0b0f2114e068
stu_1a61dbe2
2025-09-01T14:41:41
2,501
null
png_667591e88985
lec_e952d97e967b
seg_0b0f2114e068
stu_e01f5057
2025-09-01T14:41:30
2,490
null
png_89ffe8ad96b8
lec_e952d97e967b
seg_0b0f2114e068
stu_2a3af4d4
2025-09-01T14:41:41
2,501
null
png_4cf36b2430d6
lec_e952d97e967b
seg_0b0f2114e068
stu_92276658
2025-09-01T14:41:03
2,463
null
png_f281774c02d6
lec_e952d97e967b
seg_0b0f2114e068
stu_1fb17c23
2025-09-01T14:41:25
2,485
null
png_ffae3736e5cf
lec_e952d97e967b
seg_0b0f2114e068
stu_1738f7d9
2025-09-01T14:41:06
2,466
null
png_94f00ca18afa
lec_e952d97e967b
seg_0b0f2114e068
stu_72e6cc3a
2025-09-01T14:41:16
2,476
What notation are we using for recursion?
png_4138b25029ae
lec_e952d97e967b
seg_0b0f2114e068
stu_0f4205b4
2025-09-01T14:41:21
2,481
null
png_ec08cc49862c
lec_e952d97e967b
seg_0b0f2114e068
stu_8f6d0558
2025-09-01T14:41:36
2,496
null
png_06fcc116c9de
lec_e952d97e967b
seg_0b0f2114e068
stu_93bd04cf
2025-09-01T14:42:45
2,565
null
png_789266fceedb
lec_e952d97e967b
seg_0b0f2114e068
stu_0becd7b0
2025-09-01T14:42:59
2,579
null
png_1e2a4e61ef65
lec_e952d97e967b
seg_0b0f2114e068
stu_a170b338
2025-09-01T14:42:21
2,541
null
png_946312426c14
lec_e952d97e967b
seg_0b0f2114e068
stu_1fb17c23
2025-09-01T14:42:29
2,549
I lost you at the last step of recursion
png_f08786a6b6cf
lec_e952d97e967b
seg_0b0f2114e068
stu_0cb1e29c
2025-09-01T14:42:12
2,532
null
png_4c8eaa80bb6f
lec_e952d97e967b
seg_0b0f2114e068
stu_8ede0d7a
2025-09-01T14:42:32
2,552
Why does recursion work that way?
png_1eeee241cf78
lec_e952d97e967b
seg_0b0f2114e068
stu_72e6cc3a
2025-09-01T14:42:50
2,570
I lost you at the last step of recursion
png_84dffb9d5328
lec_e952d97e967b
seg_0b0f2114e068
stu_f9ebdacc
2025-09-01T14:42:38
2,558
null
png_3b9ac0279ee9
lec_e952d97e967b
seg_0b0f2114e068
stu_36f675cc
2025-09-01T14:42:00
2,520
Is recursion going to be on the exam?
png_aa4f6f55f372
lec_e952d97e967b
seg_0b0f2114e068
stu_3e7d1bfb
2025-09-01T14:42:55
2,575
What notation are we using for recursion?
png_562933d6fb36
lec_e952d97e967b
seg_0b0f2114e068
stu_86734721
2025-09-01T14:42:33
2,553
null
png_1b1018dbf1af
lec_e952d97e967b
seg_0b0f2114e068
stu_658cda14
2025-09-01T14:42:24
2,544
null
png_8accfb01cb9f
lec_e952d97e967b
seg_0b0f2114e068
stu_c3baea9e
2025-09-01T14:43:41
2,621
null
png_38e7fe192ea5
lec_e952d97e967b
seg_0b0f2114e068
stu_95e761d1
2025-09-01T14:43:08
2,588
null
png_5d99424873a7
lec_e952d97e967b
seg_0b0f2114e068
stu_14f4733f
2025-09-01T14:43:10
2,590
null
png_4f02d657bece
lec_e952d97e967b
seg_0b0f2114e068
stu_5790f82e
2025-09-01T14:43:09
2,589
null
png_74198045a9dc
lec_e952d97e967b
seg_0b0f2114e068
stu_6b0a18e8
2025-09-01T14:43:08
2,588
null
png_9e452f288d69
lec_e952d97e967b
seg_0b0f2114e068
stu_12bd4ace
2025-09-01T14:43:07
2,587
null
png_321904221993
lec_e952d97e967b
seg_0b0f2114e068
stu_099950d8
2025-09-01T14:43:33
2,613
null
png_13307be7d180
lec_e952d97e967b
seg_0b0f2114e068
stu_86734721
2025-09-01T14:43:19
2,599
Could you do another example of recursion?
png_16068f353738
lec_e952d97e967b
seg_0b0f2114e068
stu_6bf46c69
2025-09-01T14:43:29
2,609
null
png_f75221f6d5d5
lec_e952d97e967b
seg_0b0f2114e068
stu_a09f76b5
2025-09-01T14:44:52
2,692
Is recursion going to be on the exam?
png_b2be29fd8405
lec_e952d97e967b
seg_0b0f2114e068
stu_6b0a18e8
2025-09-01T14:44:08
2,648
null
png_7baf9c6b3593
lec_e952d97e967b
seg_0b0f2114e068
stu_90c192cf
2025-09-01T14:44:25
2,665
Why does recursion work that way?
png_320b9b4b8d78
lec_e952d97e967b
seg_0b0f2114e068
stu_81e74ef5
2025-09-01T14:44:53
2,693
null
png_38fc19d44aac
lec_e952d97e967b
seg_0b0f2114e068
stu_a09f76b5
2025-09-01T14:45:33
2,733
Can you go over recursion again?
png_052d267f8342
lec_e952d97e967b
seg_0b0f2114e068
stu_0becd7b0
2025-09-01T14:45:30
2,730
null
png_392cddee3de7
lec_e952d97e967b
seg_0b0f2114e068
stu_14f4733f
2025-09-01T14:45:32
2,732
null
png_e22cdb362cdc
lec_e952d97e967b
seg_0b0f2114e068
stu_5051c1cc
2025-09-01T14:45:39
2,739
null
png_a57da3d3be29
lec_e952d97e967b
seg_0b0f2114e068
stu_d0eda82f
2025-09-01T14:45:54
2,754
null
png_7cdbf24b1984
lec_e952d97e967b
seg_0b0f2114e068
stu_5d9dc9f8
2025-09-01T14:45:29
2,729
null
png_ef8e1048ae43
lec_e952d97e967b
seg_0b0f2114e068
stu_4cdd2055
2025-09-01T14:45:22
2,722
null
png_e6e39fd2ca1a
lec_e952d97e967b
seg_0b0f2114e068
stu_930d6eaf
2025-09-01T14:46:21
2,781
null
End of preview. Expand in Data Studio

Live Confusion Tracker (synthetic)

Problem: professors often don't find out students are lost until the exam.

Idea: during a lecture, students tap "I'm lost" (optionally typing a question). Pings are grouped per minute or per slide/segment. When the share of confused students goes above the lecture's threshold, the professor gets a quiet alert on their watch or tablet, and what they do about it is logged.

This repo contains the data model plus a synthetic dataset of 120 lectures across 5 courses, generated by a small simulation. No real students are included. Every ID is random.

Source code: github.com/nikhilsingh-254/live-confusion-tracker (data model, generator and the early-warning model)

Data model

erDiagram
    LECTURE ||--|{ SEGMENT : "is split into"
    LECTURE ||--o{ CONFUSION_PING : receives
    SEGMENT ||--o{ CONFUSION_PING : "is about"
    LECTURE ||--o{ CONFUSION_WINDOW : "aggregated into"
    CONFUSION_WINDOW ||--o| ALERT : "may trigger"
    ALERT ||--o| CLARIFICATION_ACTION : "may lead to"
    SEGMENT ||--o{ CLARIFICATION_ACTION : "is addressed by"
Table Rows Kind What it is
lectures 120 core One class session and its alert settings
segments 757 core A topic span of a lecture (topic, slide, start/end)
confusion_pings 20,929 core One "I'm lost" tap, with an optional question
clarification_actions 320 core What the professor did (291 after an alert, 29 unprompted)
confusion_windows 6,757 derived Pings grouped per minute or per segment
alerts 338 derived Quiet alerts sent when a window went above the threshold

All times are stored twice: *_at is ISO-8601 UTC, and offset_s is seconds since the lecture started.

Fields

lectures: lecture_id, course_code, course_title, professor_id, starts_at, duration_s, students_present, alert_threshold (fraction of students present, 0.08–0.12), alert_granularity (minute | segment), alert_cooldown_s, alert_device (watch | tablet)

segments: segment_id, lecture_id, ordinal, topic, slide_number, start_offset_s, end_offset_s, difficulty (0–1, the simulation's hidden true value)

confusion_pings: ping_id, lecture_id, segment_id, student_id (pseudonymous), created_at, offset_s, question (null for about 70% of pings)

confusion_windows: lecture_id, granularity, window_start_s, window_end_s, segment_id, ping_count, unique_students, question_count, students_present, confusion_rate (= unique_students / students_present), threshold, above_threshold

alerts: alert_id, lecture_id, segment_id, window_start_s, window_end_s, confusion_rate, threshold, device, sent_at, offset_s, top_questions (up to 3)

clarification_actions: action_id, lecture_id, segment_id, alert_id (null = unprompted), action_type (re_explain, new_example, check_poll, answer_question, slow_down, defer_to_office_hours, dismiss), created_at, offset_s, confusion_rate_before, confusion_rate_after (rate in the first full minute after the action)

A PostgreSQL version of the schema is in schema.sql, and Python dataclasses are in models.py.

Alert rule

For each closed window: confusion_rate = unique students who pinged / students present. An alert fires when confusion_rate >= alert_threshold and at least alert_cooldown_s has passed since the last alert. The cooldown keeps alerts quiet. Each student counts at most once per window. See ConfusionMonitor in aggregate.py.

Usage

from datasets import load_dataset

repo = "nikhilsingh254/live-confusion-tracker"
pings   = load_dataset(repo, "confusion_pings", split="train")
windows = load_dataset(repo, "confusion_windows", split="train")
actions = load_dataset(repo, "clarification_actions", split="train")

Ideas for what to do with it:

  • predict whether the next minute will cross the threshold (early warning)
  • find the topics students struggle with most across a course
  • group the question text to build a "top questions" summary for the professor

To regenerate the data or make more: python3 generate.py --lectures 500 --seed 1

How the simulation works

  • The chance a student pings in a given minute grows with the segment's difficulty² and with how far into the segment the lecture is. Each student also has their own ping tendency.
  • About 85% of alerts get a response 20–90 seconds later. Each action type lowers confusion for the rest of that segment by a fixed amount (re_explain ×0.35, dismiss ×1.0).
  • About 30% of pings include a question built from a template.

Limitations

  • Synthetic. Real ping rates, class sizes and professor behavior will differ. Question text comes from templates, so it is repetitive.
  • Before/after is not a causal effect. Alerts fire at noisy peaks, so confusion usually drops afterward even with no real fix. dismiss still goes from 0.16 to 0.06. Compare each action against dismiss, not against zero.
  • In segment-granularity lectures, alerts fire only when a segment ends, so the response lands in the next topic.
Downloads last month
45

Models trained or fine-tuned on nikhilsingh254/live-confusion-tracker