Teacher kit / Shared memory
15-minute teacher kit: Keep both helpers' edits
What students should learn: when two helpers save whole copies of the same work, one can erase the other. A version check stops that. It's a local simulation with no live AI, accounts or requests.
You need: a browser and a projector, or one device per pair.
The minute marks are planning estimates. This kit has not yet been tried in a classroom study, so it makes no claim about measured learning.
Classroom route
| Min | Do | Show | Ask |
|---|---|---|---|
| 0-2 | Predict. Two helpers start from poster version 1 ("Night flight. Dusk sky. No stars."). A adds a starry midnight sky. B changes the lettering to "Follow the stars". | The shared poster | "If both save, what will the poster look like?" |
| 2-5 | Lose an edit. In "Replace the whole poster" mode, save A, then B. | The sky and stars disappear | "Where did A's work go?" |
| 5-9 | Protect it. Choose "Try again with version checks". Save A, then B. | B's save is held because its version is old | "Why did the page stop B?" |
| 9-12 | Merge. Compare B with shared. Keep B's lettering and the shared sky and stars, then save. | The combined poster | "Who decided what to keep: the program or you?" |
| 12-14 | Harder case. Edit the title in both copies, then save. | The comparison can't pick the title | "What extra information would settle it?" |
| 14-15 | Explain. One line each. | Sentence frame | "B's save was held because ___. Checking the version protects ___." |
Extension: the "correction that arrives a day late" panel. The flight changed to 20:00 on October 11, but the helpers heard on October 12. Ask: "When did it change?" vs "When did we hear about it?"
Take away: students can keep the poster (.svg) and a runnable conflict example (.mjs).
Printable student worksheet
- Why did Helper A's starry sky disappear in "Replace the whole poster" mode?
Both helpers started from version 1. When Helper B saved after Helper A, what version was Helper B's copy based on?
- Why did the version check hold Helper B's save?
Compare Helper B's starting version number with the current shared poster version. What loss did that pause prevent?
- What did the version check do automatically, and what choice still needed a person?
When merging Helper B's lettering with the shared starry sky, explain why a program can detect a stale version without knowing which title you prefer.
0–3 exit-ticket rubric
| Score | What the student shows |
|---|---|
| 0 | Says an edit disappeared or broke, without naming the two copies or version numbers. |
| 1 | Identifies that Helper B overwrote Helper A's stars, but does not explain how the version number reveals the conflict. |
| 2 | Explains that Helper B tried to save a copy from version 1 after shared memory had already advanced to version 2, so the version gate paused the save. |
| 3 | Distinguishes detecting a stale version (automatic check) from deciding which conflicting edits to keep (human merge judgment). |