Skip to content

feat(course): add published Scarp alpha.5 Pearson and Top-P lessons - #58

Draft
sanskarIN wants to merge 19 commits into
content-migration-alpha4-20261109from
course-alpha5-scientific-lessons-20261109
Draft

sanskarIN wants to merge 19 commits into
content-migration-alpha4-20261109from
course-alpha5-scientific-lessons-20261109

Conversation

@sanskarIN

@sanskarIN sanskarIN commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Integration note (2026-11-10): The four published alpha.5 Pearson/Top-P source+stdout files are byte-identical to those already carried by consolidated course PR #57. This draft remains open only to preserve and review its distinct changes to provenance and source-reference metadata. Do not merge both branches independently. Review the metadata differences and close this PR as superseded once #57 is validated and merged. No issue/PR conversation comment has been posted.

Summary

This is a stacked draft PR on top of #57. Please merge/rebase #57 first; this PR targets its branch to avoid duplicating or rewriting the five existing alpha.4 migrations.

  • Preserve both published Scarp v0.0.6-alpha.5 example source/stdout pairs byte-for-byte:
    • examples/04-collections/14-pearson-correlation.{srp,stdout} from compiler pearson_correlation
    • examples/06-ai-foundations/16-nucleus-selection.{srp,stdout} from compiler nucleus_selection
  • Add both numbered English chapter entries and full Hindi explanations/exercises. Course increases from 57 to 59 runnable lessons across six chapters.
  • Pin the course target and both compiler checkout workflows to the published annotated tag source commit 205e92f166f186c3905e5880d41c31717b697b8e (verified separately against published GitHub release v0.0.6-alpha.5).
  • Expand provenance manifest to seven source/output pairs. Original five alpha.4 pairs are byte-identical at the alpha.5 tag.
  • Document numerical semantics, original index/tie rules, finite and normalized inputs, and limitations (neither stochastic sampling nor complete AI runtime); preserve explicit scientific/native compilation boundaries.
  • Update English/Hindi course indexes and compiler compatibility instructions.

Verification needed before review/merge

GitHub Actions must verify the actual released compiler with cargo build --locked --offline, run all 59 source files using static verify and byte-exact exec, prove seven upstream fixture pairs, validate six labs and CLI, run the Python/JavaScript tests, and generate the complete static site.

I did not run the compiler locally in this ChatGPT environment because the container cannot reach GitHub to fetch a toolchain/repository; published upstream fixture bytes and compiler tags were independently inspected through the GitHub connection. Treat this change as unverified until CI is green.

Merge order

  1. Review and merge docs(course): 59 lessons with seven release-pinned numerical fixtures and bilingual explanations #57 when its checks are green.
  2. Retarget this PR to main, resolve any intervening changes, and rerun all required checks.
  3. Merge only after both Actions checks succeed, then independently review Pages output.
  4. No stable Scarp language or course release is implied. No GitHub issue/PR comments were posted.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant