Machine Learning Foundations - Learner Account Progress Behaviour
Status: Active standard Applies to: the public course shell with optional learner login
Purpose
The course lessons, notebooks, resources, and downloads remain usable without a learner account. A learner account is required only when the learner wants the site to remember continuation, completion, and badges across visits or devices.
Progress model
For signed-in learners, the course shell may save:
- completed lessons;
- completed checkpoints;
- last visited course location;
- module completion percentage;
- course completion percentage; and
- learner badges.
The course shell must not save:
- phone number;
- payment information;
- private notes;
- uploaded files;
- code content;
- model outputs;
- personal datasets; or
- third-party tracking identifiers.
Storage rule
Progress is saved to the learner account through the Aabha learner progress API. The browser may keep a small sync cache, but signed-out learners must not see continuation, completion, or badge state.
The course key is:
machine-learning-foundations
The saved value must be versioned JSON with module and lesson identifiers, not personal notes, notebook files, or datasets.
Signed-out behaviour
If the learner is signed out:
- all pages must still open;
- all downloads must still work;
- lessons must remain in normal order;
- notebooks must still run;
- progress areas must show a sign-in prompt; and
- the learner can manually continue from the module list.
Reset behaviour
The course shell should offer account-managed reset for signed-in learners:
- clear current course progress;
- clear completion and badges for that course;
- confirm before clearing progress; and
- explain that downloaded notebooks are not removed.
Export behaviour
For this release, progress export is optional. If added, export only a simple text or JSON progress summary. Do not include learner code, notes, datasets, or model outputs.
Privacy copy
Use simple copy near the progress control:
Lessons are open without signing in. Sign in only to save progress, continuation, completion, and badges.
Acceptance checks
Before publication:
- open lessons while signed out;
- confirm progress areas show sign-in prompts;
- sign in, complete a lesson, and refresh the page;
- confirm progress is remembered;
- reset progress and confirm it clears from the learner account;
- block local storage and confirm content still works;
- check keyboard access for progress controls; and
- confirm answer choices, notebook code, notes, and datasets are not sent as progress data.
