Repository navigation
fix(Search): re-execute 3 Part1-Foundations notebooks via Papermill (See H.3) - #2473
Conversation
…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>
Notebook PR Validation: PASS
Checks: H.1 (no errors), H.3 (execution_count), C.1 (no banned patterns) |
clusterManager-Myia
left a comment
There was a problem hiding this comment.
[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.
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>
…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>
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
Execution proof
Papermill with python3 kernel. All 3 notebooks: 0 errors, 0 remaining H.3 gaps.
What was NOT changed
Verification