feat: interactive autograded starter workspace (Module 10 — AI Software Engineering) - #1
Open
IshmaelRogers wants to merge 1 commit into
Open
IshmaelRogers wants to merge 1 commit into
IshmaelRogers wants to merge 1 commit into
Conversation
Replace the LMS lesson content with a self-contained, vitest + strict-TypeScript work-along workspace mirroring the approved Module 04 template. - Remove LMS markdown (Lessons, guides, syllabus) and the shipped reference implementations in labs/aitools.mjs; src/ files are stubs (TODO) that fail red. - Add 8 lab folders (lab-00..lab-07) + capstone, each self-contained with README.md, src/ starters, and tests/ as the executable spec. - Reuse the Module 04 toolchain (package.json, tsconfig, vitest.config, grade.mjs, Autograde workflow); grader type gate uses the root tsconfig only. - Capstone reviewChange integrates context-completeness + architecture fitness + governance into one verdict, with a type-level test for the result shape. Verified: stub state 12/39 (31%, exit 1); reference solution 39/39 (100%, exit 0), strict type-check clean. No answer keys shipped.
Forge SWEXP — Module 10 autogradeScore: 12/39 tests (31%) · Strict type-check: ✅ clean
Keep going — open each exercise folder, implement the |
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.
Summary
Converts Module 10 (AI Software Engineering) from LMS lesson content into a self-contained, interactive autograded starter workspace, mirroring the approved Module 04 template (vitest + strict TypeScript).
Students clone, read each exercise's
README.md, implement the// TODOs in itssrc/, runnpm test, and submit. The tests are the spec — red → green — and no answer keys are shipped.What changed
labs/aitools.mjs(which contained full working reference implementations). Keptresources/,.devcontainer/, and theassignments/*submission-template*.mdfiles.package.json,tsconfig.json,vitest.config.ts,scripts/grade.mjs,.github/workflows/autograde.yml,.gitignore. The grader's strict type gate now uses the roottsconfig.jsononly (no Module 04 lab-06 strict pair).README.md,src/stubs with// TODO,tests/executable spec):labs/lab-00-setupformatCentslabs/lab-01-context-engineeringcontextCompletelabs/lab-02-architecture-promptingcheckArchitecture(fitness function)labs/lab-03-ai-assisted-tddslugify(test-first)labs/lab-04-code-reviewapplyDiscount(find & fix the planted bug)labs/lab-05-refactoringtotal(characterization)labs/lab-06-orchestrationrunWorkflow/actionInScopelabs/lab-07-security-governancescanForSecrets/detectInjection/governanceGateassignments/capstonereviewChange— integrates context + architecture + governanceThe capstone's
reviewChangereturns{ approved, reasons }(approved only when context is complete and architecture conformant and governance passes), with a*.test-d.tsfor the result type.Verification
node scripts/grade.mjs→ 12/39 tests (31%), exit 1 (RED). Strict type-check clean. (The 12 passing are degenerate/empty-input cases plus the capstone type assertions; every exercise shows ❌.)Notes
src/*.tsare strict-TS-compilable stubs returning wrong/empty values — noany, noas, no@ts-ignore.price - price*pctso the review tests fail until clamped.assignments/*submission-template*.mdfiles (not autograded here).