Skip to content

Commit ea30a2a

Browse files
committed
docs: Add session handoff notes for syllabus and demos fixes
1 parent 0aa896f commit ea30a2a

File tree

1 file changed

+139
-0
lines changed

1 file changed

+139
-0
lines changed
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
# Session Handoff - January 4, 2026
2+
3+
**Status:** Ready to implement
4+
**Priority:** High
5+
**Mode:** ultrawork (ulw)
6+
7+
## Tasks To Complete
8+
9+
### 1. Syllabus Table Fixes
10+
**File:** `admin/syllabus.md` → regenerate `syllabus/index.html`
11+
12+
**Problems:**
13+
- Columns are mismatched in the detailed schedule tables
14+
- X-hour lectures aren't numbered sequentially
15+
16+
**Required fixes:**
17+
- Columns should be: **Day | Lecture | Link to slides | Materials**
18+
- Materials column should contain links to readings + assignments
19+
- X-hour lectures should be numbered sequentially like all other lectures:
20+
- Week 1: Lectures 1, 2, 3, 4 (not "Lecture 1, 2, X-hour, 3")
21+
- Week 2: Lectures 5, 6, 7, 8
22+
- And so on...
23+
24+
**Current state (from syllabus.md lines 153-158):**
25+
```markdown
26+
| Day | Lecture | Topics | Materials |
27+
|-----|---------|--------|-----------|
28+
| Mon Jan 5 | Lecture 1 | Course Introduction... | [readings] |
29+
| Wed Jan 7 | Lecture 2 | Pattern Matching... | [readings] |
30+
| Thu Jan 8 | X-hour 1 | ELIZA Deep Dive | Start Assignment 1 |
31+
| Fri Jan 9 | Lecture 3 | ELIZA Implementation... | [readings], **Assignment 1 Released** |
32+
```
33+
34+
**Should become:**
35+
```markdown
36+
| Day | Lecture | Link to slides | Materials |
37+
|-----|---------|----------------|-----------|
38+
| Mon Jan 5 | Lecture 1 | [Slides](../slides/week1/lecture1.html) | [Fedorenko et al.](url), [Schrimpf et al.](url) |
39+
| Wed Jan 7 | Lecture 2 | [Slides](../slides/week1/lecture2.html) | [Weizenbaum (1966)](url) |
40+
| Thu Jan 8 | Lecture 3 | [Slides](../slides/week1/lecture3.html) | Start Assignment 1 |
41+
| Fri Jan 9 | Lecture 4 | [Slides](../slides/week1/lecture4.html) | [Natale (2021)](url), **Assignment 1 Released** |
42+
```
43+
44+
After editing, run: `python scripts/build-pages.py`
45+
46+
---
47+
48+
### 2. Remove Keyword Filtering from Demos Page
49+
**File:** `demos/index.html`
50+
51+
**Problem:** The "Filter by Topic" keyword buttons at the top aren't useful.
52+
53+
**Required changes:**
54+
1. Remove the entire `.tag-browser` section (lines 456-459):
55+
```html
56+
<div class="tag-browser">
57+
<div class="tag-browser-title">Filter by Topic</div>
58+
<div class="tag-list" id="tagList"></div>
59+
</div>
60+
```
61+
62+
2. Remove `data-tags` attributes from demo cards (they're on each `.demo-card`)
63+
64+
3. Remove the `.demo-tags` display inside each card (the visible tag pills)
65+
66+
4. Update the JavaScript to:
67+
- Remove `collectAllTags()`, `populateTagBrowser()`, `toggleTag()` functions
68+
- Remove tag-related variables (`activeTag`, tag filtering logic)
69+
- Keep search functionality but make it search:
70+
- Card title
71+
- Card description
72+
- **Demo webpage content** (need to fetch/index demo README.md or index.html content)
73+
74+
5. Remove all `.tag-*` CSS styles
75+
76+
**Search enhancement idea:** Could pre-build a search index from demo README.md files, or fetch on page load.
77+
78+
---
79+
80+
### 3. Add Missing Lecture Links to All Demos
81+
**File:** `demos/index.html`
82+
83+
**Problem:** Many demos are missing "Related Lectures" links. Every demo should have at least one.
84+
85+
**Current state - demos WITH lecture links:**
86+
- ELIZA: Lectures 2, 3
87+
- Tokenization: Lecture 6
88+
- Word Embeddings: Lectures 11, 12
89+
- Attention: Lecture 16
90+
- Transformer: Lecture 17
91+
92+
**Demos MISSING lecture links (need to add):**
93+
- Chatbot Evolution → Lectures 2, 3, 4 (pattern matching, ELIZA)
94+
- GPT Playground → Lectures 18, 19, 20 (GPT architecture)
95+
- RAG System → Lecture 21 (RAG)
96+
- Topic Modeling → Lectures 7, 8 (LSA, LDA, embeddings)
97+
- Sentiment Analysis → Lecture 6 (POS, sentiment)
98+
- POS Tagging → Lecture 6 (POS tagging)
99+
- Word Analogies → Lectures 8, 11 (Word2Vec, embeddings)
100+
- Semantic Search → Lectures 9, 21 (contextual embeddings, RAG)
101+
- BERT MLM → Lectures 15, 16 (BERT)
102+
- Embeddings Comparison → Lectures 7, 8, 9 (all embedding lectures)
103+
104+
**Lecture-to-demo mapping (from syllabus):**
105+
| Lecture | Week | Topic | Related Demos |
106+
|---------|------|-------|---------------|
107+
| 1-4 | 1 | Intro, ELIZA | eliza, chatbot-evolution |
108+
| 5-6 | 2 | Tokenization, POS | tokenization, pos-tagging, sentiment |
109+
| 7-8 | 3 | LSA/LDA, Word2Vec | topic-modeling, embeddings, analogies |
110+
| 9-11 | 4 | Contextual embeddings, dim reduction | embeddings, embeddings-comparison, semantic-search |
111+
| 12-14 | 5 | Attention, Transformers | attention, transformer |
112+
| 15-17 | 6 | BERT | bert-mlm |
113+
| 18-20 | 7 | GPT | gpt-playground |
114+
| 21-23 | 9 | RAG, Ethics | rag |
115+
116+
---
117+
118+
## Files to Modify
119+
120+
1. `admin/syllabus.md` - Fix table structure and lecture numbering
121+
2. `demos/index.html` - Remove keywords, add lecture links, enhance search
122+
3. Run `python scripts/build-pages.py` after syllabus changes
123+
124+
## Commands
125+
126+
```bash
127+
# After syllabus.md changes
128+
python scripts/build-pages.py
129+
130+
# Verify generated HTML
131+
open syllabus/index.html
132+
open demos/index.html
133+
```
134+
135+
## Previous Session Context
136+
137+
- Just committed `0aa896f`: list parsing fix with nesting + checkboxes
138+
- All tests passing
139+
- build-pages.py now handles nested lists and checkboxes properly

0 commit comments

Comments
 (0)