You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Choice items (learn-choice/1, src/tutor/choice.mjs). A recall question keys one answer and names the misconception behind each wrong choice. diagnoseChoice() tells a wrong attempt which misconception it matches, using the same top levels as the arithmetic tree, and never returns the keyed answer. doctor checks that with a probe and a known-bad item.
A browser entry, @harperz9/learn/browser (src/browser.mjs). Practice, scheduling and diagnosis load in a page with no bundler. The session functions moved from tutor.mjs into session.mjs, which has no Node built-ins; tutor.mjs re-exports them unchanged. A test walks the entry's import graph and fails on any node: or bare import.
An attempt may carry a misconception leaf, and misconceptions() counts it.