flowchart TB
E1["Student answers a MicroSim question correctly"]:::src
E2["xAPI Statement ingested once
Actor, Verb, Object Activity, Result"]:::src
TA["Teacher: BKT update for this student's
cellular-respiration mastery"]:::teach
TB["At-risk roster re-evaluated for this student"]:::teach
DA["District Admin: counted toward this section's
textbook-usage coverage, no student named"]:::dist
DB["District adoption percentage updated"]:::dist
AA["Author: added to this MicroSim version's
running effectiveness estimate, no student named"]:::auth
AB["Feeds the Experiment Administration UI readout
if an experiment is running"]:::auth
E1 --> E2
E2 --> TA --> TB
E2 --> DA --> DB
E2 --> AA --> AB
classDef src fill:#2a9d8f,stroke:#1f7a6f,color:#fff,font-size:13px
classDef teach fill:#7b6cc4,stroke:#544a91,color:#fff,font-size:12px
classDef dist fill:#e9a23b,stroke:#b8791f,color:#222,font-size:12px
classDef auth fill:#4c956c,stroke:#2f6b48,color:#fff,font-size:12px
linkStyle default stroke:#999,stroke-width:2px