Skip to content

fix(Search): re-execute 3 Part1-Foundations notebooks via Papermill (See H.3) - #2473

Merged
jsboige merged 5 commits into
mainfrom
fix/search-part1-h3-gaps-papermill
Jun 5, 2026
Merged

jsboige merged 5 commits into
mainfrom
fix/search-part1-h3-gaps-papermill

Conversation

@jsboige

@jsboige jsboige commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

Re-execute 3 Search Part1-Foundations notebooks via real Papermill (python3 kernel) to fix H.3 gaps (cells with execution_count but empty outputs).

Previous attempts (#2442, #2463) injected synthetic outputs and were correctly closed by ai-01. This PR uses genuine Papermill execution instead.

Changes

Notebook Cells fixed Details
Search-3-Informed 9 pip install output, exercise stub outputs, ec renumbered
Search-10-SymbolicAutomata 6 automata-lib + z3-solver pip outputs, graphviz, ec renumbered
Search-11-Metaheuristics 10 pip install output, exercise stub output, ec renumbered

Execution proof

Papermill with python3 kernel. All 3 notebooks: 0 errors, 0 remaining H.3 gaps.

What was NOT changed

  • Search-5 and Search-6: exercise stubs use pass/return None which produce no visible output. Correct per C.1.
  • No source cells modified. Only outputs and execution_count updated by Papermill.

Verification

  • No raise NotImplementedError / assert False / 1/0 found
  • All exercise stubs use C.1-compliant patterns
  • 0 errors across all 3 notebooks

jsboige and others added 2 commits June 5, 2026 15:00
…See H.3)

Papermill execution with python3 kernel, 0 errors, 0 remaining H.3 gaps.

Fixes:
- Search-3-Informed: pip install output, exercise stub outputs (9 cells)
- Search-10-SymbolicAutomata: automata-lib + z3 pip outputs, graphviz (6 cells)
- Search-11-Metaheuristics: pip install output, exercise stub output (10 cells)

Search-5 and Search-6 had no output changes (exercise stubs with pass/return None
produce no visible output, which is correct per C.1).

Co-Authored-By: Claude Opus 4.8 <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>
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Notebook PR Validation: PASS

  • Notebooks checked: 3
  • Code cells validated: 67
  • 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)

@clusterManager-Myia clusterManager-Myia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[NanoClaw]

Notebook outputs: PASS

Verified all 3 notebooks. Outputs are genuine Papermill execution results, not synthetic:

  • Search-3-Informed: Real pip install paths (c:\users\jsboi\appdata\roaming\python\python313\site-packages), real stderr pip notices (25.2 -> 26.1.2), exercise stub prints expected C.1-compliant strings. No fake N/A, no round numbers.
  • Search-10-SymbolicAutomata: Real graphviz SVG output (version 14.1.2, generated 20260124), real pip stderr notices. No H.3 gaps remaining.
  • Search-11-Metaheuristics: Real MEALPy optimization logs with non-round fitness values (88.15..., 77.13..., 15070.60...), real PSO/ABC epoch traces with realistic runtimes. Exercise stub output is C.1-compliant (result = None + print). No errors.

0 H.3 gaps remaining across all 3 notebooks. execution_count renumbering consistent. Papermill timestamps all from 2026-06-05, confirming same execution run.

CRITICAL: COURSE_CATALOG.generated.json mass overwrite

The PR overwrites issue_pr_associee for 509 catalog entries from their individual PR references (e.g. #2161, #2309, #1489, #2259, #2361, etc.) to a single value #2189, #2468. This destroys the historical PR tracking for nearly the entire catalog.

Before: 100+ unique issue_pr_associee values mapping each notebook to the PRs that created/modified it.
After: Every entry says #2189, #2468 -- the two PRs referenced in this PR description.

This field is a traceability tool. A student or maintainer looking up "which PR fixed Search-3?" would previously find the specific PR number; now they'll find #2189, #2468 which is unrelated.

Recommendation: Either (a) revert all COURSE_CATALOG changes except the 3 Search notebook entries this PR actually modifies, or (b) split this into two PRs -- one for the notebook re-execution, one for the catalog maintenance if that's intentional.

Minor: Windows user path exposed

Papermill metadata contains C:/Users/jsboi/AppData/Local/Temp/search_papermill/. Low risk (username already public as repo owner) but worth noting.

Verdict

Notebook re-execution work is correct and well-done. The COURSE_CATALOG mass overwrite needs to be addressed before merge.

claude and others added 3 commits June 5, 2026 15:41
Catalog + Probas/root/RL README marker blocks reverted to origin/main
(stale regen from base 619be7a pre-#2413 churned curated fields).
Catalog kept byte-identical to main; drift -> catalog lane (po-2023).
Net deliverable: Search-3/10/11 Papermill re-exec + Search/README.
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>
@jsboige
jsboige merged commit b10890e into main Jun 5, 2026
@jsboige
jsboige deleted the fix/search-part1-h3-gaps-papermill branch June 5, 2026 13:44
jsboige added a commit that referenced this pull request Jun 5, 2026
…See H.3) (#2473)

* fix(Search): re-execute 3 Part1-Foundations notebooks via Papermill (See H.3)

Papermill execution with python3 kernel, 0 errors, 0 remaining H.3 gaps.

Fixes:
- Search-3-Informed: pip install output, exercise stub outputs (9 cells)
- Search-10-SymbolicAutomata: automata-lib + z3 pip outputs, graphviz (6 cells)
- Search-11-Metaheuristics: pip install output, exercise stub output (10 cells)

Search-5 and Search-6 had no output changes (exercise stubs with pass/return None
produce no visible output, which is correct per C.1).

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

* chore(catalog): auto-regenerate catalog + README markers [skip ci]

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>

* fix(scope): strip stale catalog/README marker churn, keep Search re-exec

Catalog + Probas/root/RL README marker blocks reverted to origin/main
(stale regen from base 619be7a pre-#2413 churned curated fields).
Catalog kept byte-identical to main; drift -> catalog lane (po-2023).
Net deliverable: Search-3/10/11 Papermill re-exec + Search/README.

* chore(catalog): auto-regenerate catalog + README markers [skip ci]

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>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.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.

3 participants