polarours/Coursework
About
A bilingual, deeply illustrated study library of 32 university CS capstones: 22 original walkthroughs + 10 real assignments (MIT, Berkeley, Stanford...), with original handouts, runnable code, verified tests, and a 111-page book.
Learning & EducationMeasured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalStart reading → · 中文 · The Book · Contributing · Selection criteria
About
Most public course projects ship as scattered code. What's missing is the reasoning: why a design was chosen, where implementations break, and how to know your version is correct.
Coursework is a study workbook, not an answer dump. Each project is decomposed into the decisions a student actually makes, with every claim anchored to something runnable.
- 34 projects — 22 original walkthroughs and 12 real university assignments kept as git submodules, with original handouts preserved.
- Seven chapters each — problem reading, design, implementation, correctness, debugging, pitfalls, extensions.
- Bilingual — Chinese exposition with English summaries throughout.
- Verified — implementations run against official or carefully reconstructed tests; numbers come from real runs.
- One page per problem — all 34 assignments are individually addressable in the book, searchable, and linkable, on top of the twelve thematic chapters.
The book
The walkthroughs are also typeset as a Quarto book: five volumes with fourteen university profiles, published as an HTML site and a downloadable PDF.
Read online · Download the PDF
bash scripts/build-book.sh all
# HTML → book/_site/ · PDF → book/_site/coursework-atlas.pdf
See book/README.md for the chapter map.
Catalog
Original walkthroughs
| # | Problem | Source | Area |
|---|---|---|---|
| 001 | MIT 6.824 Raft | MIT | Distributed systems |
| 002 | Stanford CS144 TCP | Stanford | Networking |
| 003 | UC Berkeley CS188 Pacman | UC Berkeley | Artificial intelligence |
| 004 | UC Berkeley CS61B Gitlet | UC Berkeley | Data structures |
| 005 | MIT 6.1810 xv6 | MIT | Operating systems |
| 006 | CMU CSAPP Malloc Lab | CMU | Systems |
| 007 | Stanford CS143 Compiler | Stanford | Compilers |
| 008 | CMU 15-445 Buffer Pool | CMU | Databases |
| 009 | Stanford CS155 Crypto | Stanford | Cryptography |
| 010 | Stanford CS248 Raytracer | Stanford | Graphics |
| 011 | Stanford CS231n Neural Net | Stanford | Machine learning |
| 012 | UC Berkeley CS61C Cache | UC Berkeley | Architecture |
| 013 | UC Berkeley CS61A Scheme | UC Berkeley | Programming languages |
| 014 | Princeton COS226 8-Puzzle | Princeton | Algorithms |
| 015 | Stanford CS106B Boggle | Stanford | Backtracking |
| 016 | MIT Shell Parser | MIT | Systems programming |
| 017 | CMU 15-112 Geometry | CMU | Computational geometry |
| 018 | MIT 6.006 LRU Cache | MIT | Data structures |
| 019 | Georgia Tech Bloom Filter | Georgia Tech | Probabilistic structures |
| 020 | Cornell CS3110 Enigma | Cornell | Cryptography |
| 021 | Stanford Kruskal MST | Stanford | Graph algorithms |
| 022 | CS106L ScopedHandle (workshop) | Stanford style | Modern C++ / RAII |
Real university assignments
Each entry keeps the upstream repository as a git submodule and preserves the original handout in source-handout.md.
| # | Problem | Source | Area |
|---|---|---|---|
| 023 | Amirkabir AP1400 HW1 | Amirkabir | C++ / linear algebra |
| 024 | Fordham CISC2200 Lab3 | Fordham | C++ / data structures |
| 025 | UC Irvine ECS36C HW1 | UC Irvine | C++ / linked structures |
| 026 | UC Irvine ICS46 HW6 | UC Irvine | C++ / BST & AVL |
| 027 | CCNY CSC212 Lab07 | CCNY | C++ / backtracking |
| 028 | Clemson CPSC2121 Lab1 | Clemson | C++ / lists & ADTs |
| 029 | UC Berkeley CS61B proj1a+1b | UC Berkeley | Java / generic deques |
| 030 | UMD CMSC132 Project1 | Maryland | Java / OOP |
| 031 | UCSC CSE140 p0 | UC Santa Cruz | Python / Pacman warmup |
| 032 | UCSC CSE140 p1 | UC Santa Cruz | Python / search |
| 033 | Princeton COS217 A1 | Princeton | C / DFA and lexical edges |
| 034 | Berkeley CS61C Proj1 | UC Berkeley | C / structs and memory |
How to read
- Open a project card and check prerequisites and expected effort.
- Attempt it yourself first — even a rough design is enough.
- Read chapters
01→07and compare with your own reasoning. - Run the reference implementation and tests, then solve the extension exercises.
How each problem is verified
Three layers, each more independent than the last:
- The course's own tests, run unmodified against our implementation. If the starter ships tests, they are the specification, and we do not edit them.
- Boundary tests we add for what the official suite never exercises — empty containers, null pointers, off-by-one indices, out-of-range arguments.
- A second implementation, written differently on purpose, compared output by output. Disagreements are either a bug in one of them or a boundary the spec leaves open, and both are worth knowing about.
Every number quoted in the book comes from one of these runs. When a result is an estimate rather than a measurement, the text says so. When we could not reproduce something, it is reported as unresolved rather than smoothed over.
Layout
problems/023-xxx/
├── source-handout.md # original assignment text
├── resources/ # figures referenced by the handout
├── README.md + 01–07*.md # bilingual walkthrough
├── upstream/ # git submodule (real assignments only)
├── solution/ # reference implementation
└── tests/ # verified test harness
Artwork in assets/ is generated from the catalog by scripts/generate-readme-assets.py.
License
Original walkthroughs, implementations, and artwork are CC BY-NC-SA 4.0. Assignment texts belong to their respective courses — referenced, preserved for study, never presented as copy-paste-ready submissions. See academic integrity.
34/34 complete — 22 original walkthroughs + 12 real university assignments.
Explore related projects
Loading…