System Design Atlas

Adaptive learning paths with verifiable recommendations

09 / 10Worked example

Operations and security

Reconstruction follows the valid attempts. What conditions ensure the result?

A derived learning state may be corrupted.

Starting point Investigate incorrect assessments and exam success separately.

Assumptions for the example case

A fictional voluntary practice course on fractions. A recommendation model suggests tasks; course completion follows a fixed assessment. Recommendations determine neither school grades nor access to education. All quantities, thresholds and operational targets in this design are illustrative assumptions.

Correction and reconstruction

Correction and reconstruction

Teaching teamDomain correction
Lehrteam → KorrekturereignisOriginal reference + reason
Correction eventThe log remains complete
Korrekturereignis → ProjektionsworkerRecompute state
Projection workerNewer projection version
Projektionsworker → ModellpflegeRecommendation based on the new state
Model maintenance teamReview recommendation

The teaching team adds a correction event; the projection and recommendation are then rebuilt from the log.

Teaching team → Correction event → Rebuilt projection. The model maintenance team checks recommendations against the new state.

Access and recovery

Learner protection
Learners see their own attempts; the teaching team receives the course data it needs; the model maintenance team uses data-minimised analyses. Recommendations explain the limits of what they imply.
Reproducibility
After restoration, rebuild the learning-state projection from valid attempts. Correction events traceably replace the effects of old assessments; previous recommendations remain tied to their original state.

Business outcome and completion

Evidence ownership
Assessed attempts remain immutable and referenceable. An assessment ends as Passed or Not passed; a new assessment attempt receives its own identifier. Skipping a recommendation leaves course completion unchanged.

Reconstruction uses the valid attempts.

Reconstruction uses the valid attempts.

Rebuild the projection from the log and corrections.

A derived learning state may be corrupted.

Immutable attempts plus authorised corrections. The recomputed state includes every valid attempt once and replaces the effects that were corrected.

Alternative considered
Backing up only the score loses its provenance.
Trade-off
Reconstruction takes computing time.
Reassess
Data volume determines the snapshot strategy.

Try it yourself

Name the source and expected test result.

A hint for your attempt

A derived learning state may be corrupted.

Compare with a possible solution
Source
Unchanged attempts plus authorized corrections.
Expected test result
The recomputed state includes every valid attempt once and replaces the effects that were corrected.

Apply to your project

What is the equivalent of “Reconstruction follows valid attempts” in your own project?

Step 10: the end-to-end test separates model recommendations from evidence. Which conditions ensure the intended result?