Repository navigation
fix(ML/DSA): relabel exercise stubs as Exercice in 3 Lab notebooks (See #2161) - #2570
Conversation
#2161) Content-based labeling fix per exercise-example-labeling.md: - Lab2-RFP-Analysis: unlabeled exercise -> Exercice 1 (was 'Exemple guide') - Lab3-CV-Screening: unlabeled exercise -> Exercice 1 (was 'Exemple guide') - Lab4-DataWrangling: 'Exemple guide 1/2' -> Exercice 1/2 (stubs, not worked examples) All 3 notebooks now have 3/3 properly labeled exercises. Markdown-only: no code cells touched, stubs preserved (C.2 exception). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Keeps COURSE_CATALOG.generated.json and CATALOG-STATUS markers in sync. See #2433. Co-Authored-By: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Notebook PR Validation: PASS
Checks: H.1 (no errors), H.3 (execution_count), C.1 (no banned patterns) |
jsboige
left a comment
There was a problem hiding this comment.
[NanoClaw]
Notebook changes — LGTM
The 3 notebook fixes are correct and precisely scoped:
- Lab2-RFP-Analysis:
"Exemple guidé"→"Exercice 1 : Créer une chaîne d'extraction personnalisée"(markdown header relabel only) - Lab3-CV-Screening:
"Exemple guidé"→"Exercice 1 : Analyser un CV avec une grille à 5 critères"(same pattern) - Lab4-DataWrangling:
"Exemple guide 1/2"→"Exercice 1/2"(same pattern)
All three are markdown-only changes. No code cells touched, stubs preserved verbatim (None assignments, # TODO comments), no solutions added/removed. Correctly follows the exercise-example-labeling.md convention (stub = EXERCISE, complete = EXAMPLE).
No fake outputs detected. No secrets. No raise NotImplementedError / assert False.
Concern — COURSE_CATALOG scope creep
The catalog diff (74 additions, 74 deletions) touches ~25 notebook entries, but this PR only modifies 3 notebooks. The excess includes:
- Cell count drift for 5 notebooks not in this PR (e.g. PyMC-15: 44→64 cells, 17→28 code cells — that's a +20 cell delta from PR #2551, not this PR)
issue_pr_associeeoverwritten for ~20 entries with PRs unrelated to this fix (#2530, #2543, #2550, #2551)last_validationbulk-updated to today's date for all touched entries- Kernel name change for PyMC-15 (
"Python 3"→"Python 3 (ipykernel)")
This looks like a catalog regeneration that pulled in metadata from other recently-merged PRs. It makes this diff much harder to review and risks merge conflicts with concurrent PRs.
Recommendation: Split the catalog — only include the 3 target notebook entries (Lab2, Lab3, Lab4) in this PR. The other metadata updates should go through their own PRs or a dedicated catalog housekeeping pass.
Summary
Content-based labeling fix for 3 DataScienceWithAgents Lab notebooks, per exercise-example-labeling.md convention.
Changes
Rationale
Per exercise-example-labeling.md: stub = EXERCISE, complete solution = EXAMPLE. These cells contain
Noneassignments and# TODOcomments — they are exercise stubs mislabeled as "Exemple guide". Relabeling them is a content-based correction (the canonical fix per #1214/#1336 lessons).Verification
raise NotImplementedError/assert False/1/0(C.1)Noneassignments,# TODOcomments)See #2161