Repository navigation
Repair lesson correctness and add private account progress - #19
Draft
hananather wants to merge 60 commits into
Draft
hananather wants to merge 60 commits into
hananather wants to merge 60 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Probability Lab had incorrect numerical results, fragile quiz/progress state, and account quiz results that saved locally but failed cloud validation. This change repairs those paths, preserves public lessons and guest access, and adds optional account sign-in with private, acknowledged progress.
Validation: the tracked-clean configured production head 8dc2609 passed 1,210 tests in 100 files, with one explicit local-provider fixture skipped, ESLint with zero errors and 109 warnings, the production build, and 110 page HTTP checks. The contribution guides separately verified 45 local links/anchors and five external source URLs. The revised math-rendering guide verified six local links and parsed all three JSX examples against the installed transformer. Hosted quality checks at this exact head passed.
Independent account controls passed 205 targeted tests, 22 full-bank/UI probes covering all 21 chapter/version selections (including fallbacks), and 19 naturally generated pre-repair recovery controls. Other scoped checks cover numerical calculations, actual MathJax rendering, responsive charts, motion/lifecycle behavior and teaching corrections.
On October 3, actual local PostgreSQL/Auth/REST separately passed 30 transactional SQL controls and an ordinary-token RLS/CAS integration case. Native email delivery and same-browser PKCE sign-in succeeded. At 80bf216, the original affected Chrome profile explicitly recovered its failed 1/18 Chapter 4 grade; the real database accepted the original operation receipt. Reload and UI backup export retained the exact original archives. A separate browser fetched that result, kept its unfinished Chapter 3 draft private, finished it through the real UI, and synchronized the new grade to the other profile after a sync check. Local sign-out preserved guest history and the other profile's account session. Account controls fit settled 320/390/1440 layouts. At 7bdb749, fresh native email delivery and same-browser PKCE return again synchronized the retained four quiz chapters; read-only database metadata confirmed unchanged grades and the original applied receipt. These are local functionality checks, not production-provider certification, real-time push guarantees or measured learning outcomes.
Two independent SDK reviews and root controls passed 228 targeted cases plus one explicit provider-fixture skip. Same-configuration production asset comparison against 8a850af removed 68,067 gzip bytes from initial referenced scripts on home/progress/sample-size (22.38%/22.29%/16.26%). A fresh browser origin exercised guest hydration, lesson controls and sign-in navigation without requesting the identified SDK chunks; explicit email submission requested both chunks with HTTP200 and delivered its local email. Compression totals describe individually compressed prerendered script assets, not measured latency, parsing or frame rate.
At 8dc2609, independent Sample numerical review passed 100 retained/new public controls and eight fresh component/MathJax controls; the author’s nine-file scoped gate passed 149 tests. Independent presentation review passed 23 fresh controls and 120 retained controls. Native calculator checks confirmed the four boundary counts, large finite/extreme valid inputs, rendered approximation/ceiling steps, saved values and 320/390 document bounds. Ordinary/reduced motion controls worked; no frame-rate claim is inferred. Visiting/exploring kept study at 1/66; explicitly marking the lesson raised it to 2/66 and synchronized to the separate browser, whose selected learning mode stayed private. Both browsers retained four quiz chapters and the original applied recovery receipt; all seven original quiz attempts and grades were unchanged. Keyboard sync returned focus in both browsers. The retained latest quiz displayed its original 1/18 grade and wall duration of 1d 8h 12m 21s with an honest label. Fresh navigation/reload deferred progress details and backup controls during account verification.
Remaining work includes full sample-size lesson quality, selected-state/chart-text/mobile formula improvements, additional native account-switch/offline/reset and cross-version history scenarios, focused learning/spaced review, rights/licensing and the page/module/question quality gate. Unreviewed material remains unscored. The PR remains a draft. Work is paused at the maintainer’s request; the roadmap checkpoint records where to resume.
Fixes #5. Related: #8, #9, #10, #11, #12, #13, #14, #15, #16, #17, #18.