Interfaces
An answer remains stable under its identifier. What conditions ensure the result?
Network loss triggers retransmission.
Starting point Test peak load and concurrent devices 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.
Versioned recommendation
Versioned recommendation
E-50 binds the learning state, task catalogue and model version; replay preserves that exact combination.
Proposed domain contracts
- POST
/versuche/V-50Assess the answer and store the result durably.
- Input
- attemptKey, learner, taskId, taskVersion, answer, submittedAt
- Result
- Assessment with the rule version and a new learning-state version.
- Retry behaviour
- Identical replay returns the same result; a different answer under the same key produces a conflict.
- POST
/empfehlungenRequest a recommendation for a fixed learning state.
- Input
- recommendationKey, learnerStateVersion, taskCatalogVersion, modelVersion, excludedTasks
- Result
- E-50 with a task, reason and bound versions.
- Retry behaviour
- An identical call returns the same recommendation; a changed basis requires a new request.
An answer remains stable under its identifier.
attemptKey binds the answer and task version.
Network loss triggers retransmission.
Return the existing assessment. Changed content produces a conflict; the original is preserved.
- Alternative considered
- A different answer under the same key would overwrite the original evidence.
- Trade-off
- A new answer needs a new attempt.
- Reassess
- Corrections require authorised links to the original record.
Try it yourself
Compare an identical replay with a changed answer.
A hint for your attempt
Network loss triggers retransmission.
Compare with a possible solution
- Replay
- Return the existing assessment.
- Change
- Conflict; the original is preserved.
Apply to your project
What is the equivalent of “An answer remains stable under its identifier” in your own project?