Skip to content

fix(csp): H.3 output gaps in 27 exercise cells (CSP-3 to CSP-9) - #2401

Merged
jsboige merged 1 commit into
mainfrom
fix/h3-csp-exercise-outputs-v2
Jun 4, 2026
Merged

jsboige merged 1 commit into
mainfrom
fix/h3-csp-exercise-outputs-v2

Conversation

@jsboige

@jsboige jsboige commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Summary

Fix H.3 output gaps in 7 CSP notebooks. Exercise stub cells had execution_count but no outputs — added print("Exercice a completer") to each.

Changes

Notebook Cells fixed Papermill result
CSP-3-Advanced 3 23/23 OK (native, CWD=Search)
CSP-4-Scheduling 4 19/19 OK
CSP-5-Optimization 4 20/20 OK
CSP-6-Hybridization 4 16/16 OK
CSP-7-Soft 4 20/20 OK
CSP-8-Temporal 4 17/17 OK
CSP-9-Distributed 4 19/19 OK

Total: 27 cells fixed, 0 H.3 gaps remaining across all 9 CSP notebooks

Validation

  • All notebooks re-executed via Papermill, 0 errors
  • H.3 gap scan: 0 gaps in CSP-1 through CSP-9
  • No raise NotImplementedError introduced (C.1 compliant)
  • Source changes minimal: only added print stubs

Scope

  • No changes to teaching content, examples, or solved cells
  • CSP-3 requires native execution (imports search_helpers from parent dir, not available in WSL Papermill default CWD)

See #2161

- CSP-3 through CSP-9: added print("Exercice a completer") to all
  exercise stub cells that had execution_count but no outputs
- All 7 notebooks re-executed via Papermill, 0 errors, 0 H.3 gaps
- CSP-3 executed natively (requires search_helpers from parent dir)
- No teaching content modified, only print stubs added

See #2161
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Notebook PR Validation: PASS

  • Notebooks checked: 7
  • Code cells validated: 134
  • Result: All passed

Checks: H.1 (no errors), H.3 (execution_count), C.1 (no banned patterns)
Non-Python kernels (.NET/Lean): C.1 + errors only (execution_count advisory)
QuantConnect notebooks: C.1 + errors only (require QC Cloud for execution)

@jsboige
jsboige merged commit ccb81b8 into main Jun 4, 2026
7 of 8 checks passed
@jsboige
jsboige deleted the fix/h3-csp-exercise-outputs-v2 branch June 4, 2026 18:59
jsboige added a commit that referenced this pull request Jun 4, 2026
Rebase on origin/main includes merges #2389, #2392-2394, #2400, #2401.
Catalog regen preserves curated fields (last_validation, issue_pr_associee)
that were updated on main since branch creation.

See #2385
jsboige added a commit that referenced this pull request Jun 4, 2026
…nce (#2401)

- CSP-3 through CSP-9: added print("Exercice a completer") to all
  exercise stub cells that had execution_count but no outputs
- All 7 notebooks re-executed via Papermill, 0 errors, 0 H.3 gaps
- CSP-3 executed natively (requires search_helpers from parent dir)
- No teaching content modified, only print stubs added

See #2161
jsboige added a commit that referenced this pull request Jun 5, 2026
* enrich(RL): add PPO from scratch notebook rl_5c_ppo_from_scratch.ipynb (See #295, #1454)

- 26 cells (10 code, 16 markdown), 3 exercises, Papermill SUCCESS (70s)
- H.3 PASS: 10/10 exec_count, 0 errors
- Covers: clipped surrogate objective, PPO agent with mini-batch updates,
  GAE (lambda=0.95), PPO vs A2C comparison
- Exercises: (1) clipped surrogate implementation, (2) GAE ablation,
  (3) PPO vs A2C training comparison
- README RL updated: 8->9 notebooks, parcours, algorithmes, environnements
- Catalog: 512->513 entries

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore(catalog): regen after rebase on main — preserve curated fields

Rebase on origin/main includes merges #2389, #2392-2394, #2400, #2401.
Catalog regen preserves curated fields (last_validation, issue_pr_associee)
that were updated on main since branch creation.

See #2385

* chore(catalog): keep main's curated catalog+count-markers, avoid lossy regen (See #2433)

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
jsboige added a commit that referenced this pull request Jun 5, 2026
…nce (#2401)

- CSP-3 through CSP-9: added print("Exercice a completer") to all
  exercise stub cells that had execution_count but no outputs
- All 7 notebooks re-executed via Papermill, 0 errors, 0 H.3 gaps
- CSP-3 executed natively (requires search_helpers from parent dir)
- No teaching content modified, only print stubs added

See #2161
jsboige added a commit that referenced this pull request Jun 5, 2026
* enrich(RL): add PPO from scratch notebook rl_5c_ppo_from_scratch.ipynb (See #295, #1454)

- 26 cells (10 code, 16 markdown), 3 exercises, Papermill SUCCESS (70s)
- H.3 PASS: 10/10 exec_count, 0 errors
- Covers: clipped surrogate objective, PPO agent with mini-batch updates,
  GAE (lambda=0.95), PPO vs A2C comparison
- Exercises: (1) clipped surrogate implementation, (2) GAE ablation,
  (3) PPO vs A2C training comparison
- README RL updated: 8->9 notebooks, parcours, algorithmes, environnements
- Catalog: 512->513 entries

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore(catalog): regen after rebase on main — preserve curated fields

Rebase on origin/main includes merges #2389, #2392-2394, #2400, #2401.
Catalog regen preserves curated fields (last_validation, issue_pr_associee)
that were updated on main since branch creation.

See #2385

* chore(catalog): keep main's curated catalog+count-markers, avoid lossy regen (See #2433)

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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