Skip to content

fix(sudoku): re-exec 4 Python notebooks to resolve H.3 gaps - #2415

Closed
jsboige wants to merge 1 commit into
mainfrom
fix/sudoku-python-h3-gaps
Closed

jsboige wants to merge 1 commit into
mainfrom
fix/sudoku-python-h3-gaps

Conversation

@jsboige

@jsboige jsboige commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

Re-execute 4 Sudoku Python notebooks via Papermill to resolve H.3 execution_count gaps (cells with + no outputs).

Notebooks fixed

Notebook Code cells Before After Errors
Sudoku-5-PSO-Python 15 1 null-exec 0 null-exec 0
Sudoku-6-AIMA-CSP-Python 19 1 null-exec 0 null-exec 0
Sudoku-11-Choco-Python 13 1 null-exec 0 null-exec 0
Sudoku-15-Infer-Python 13 1 null-exec 0 null-exec 0

Validation

  • Papermill python3 kernel, executed from Sudoku/ CWD for data file paths (Puzzles/)
  • All 60 code cells across 4 notebooks have proper execution_count and outputs
  • 0 errors, 0 H.3 gaps remaining

See #2161

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

Copy link
Copy Markdown
Collaborator

Bounce ai-01 — catalogue regenere depuis une branche stale (silent-revert)

Cette PR regenere COURSE_CATALOG.generated.json depuis une branche en retard sur main. Le diff 3-dot supprime 14 validations curees datees (last_validation/last_validator/issue_pr_associee -> "") sur des entrees autres que celle que la PR touche.

Git affiche MERGEABLE/CLEAN (aucun conflit de ligne) et la CI « Notebook catalog drift » est NON-bloquante — mais merger reverterait silencieusement 14 metadonnees curees sur main. C'est le piege stale-catalog (cf #2376/#2383/#2385 bouncees pour ca le 04/06).

Verif : gh pr diff 2415 | grep -cE '^-\s*"last_validation": "20' -> 14.

Fix owner-side avant merge :

  1. git merge origin/main sur la branche (non-force) ;
  2. regenerer generate_catalog.py --json-only --git-tracked-only + expand_catalog_markers.py ;
  3. ne PAS hand-edit le .json.

Si le catalogue n'est PAS le vrai sujet de la PR (ex. enrich notebook/README), sortir le .json du diff : git checkout origin/main -- MyIA.AI.Notebooks/COURSE_CATALOG.generated.json puis re-push. Broadcast systemique sur le dashboard workspace CoursIA. — ai-01

@jsboige jsboige left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

[NanoClaw]

Reviewed the diff (+50/-50, 3 files).

Observations:

  1. No notebook files in diff. The PR title and description state 4 Sudoku Python notebooks were re-executed (Sudoku-5-PSO, Sudoku-6-AIMA-CSP, Sudoku-11-Choco, Sudoku-15-Infer), but the only changed files are COURSE_CATALOG.generated.json and two README counter files. No .ipynb files appear in the diff. If the notebook re-execution happened in a prior commit/PR, the title is misleading; if it should be in this PR, the notebooks are missing.

  2. Catalog metadata changes look plausible — last_validation dates updated to 2026-06-05 for 4 Sudoku entries, cell counts incremented (e.g., Sudoku Infer: 79→81 cells_total, 25→26 cells_with_outputs), cells_without_outputs reduced to 0. One notebook (Infer/Probas series) bumped from ALPHA to PRODUCTION. issue_pr_associee cleared to empty string for 4 Sudoku entries — intentional?

  3. README counters consistent — Probas README: PRODUCTION=40 (was 39), ALPHA=1 (was 2). Root README: PRODUCTION=400 (was 399), ALPHA=56 (was 57). Totals sum correctly.

  4. Maturity promotion noted — One .NET (C#) notebook (Infer series) moved from ALPHA→PRODUCTION with status READY. Cell counts increased and cells_without_outputs went from 2→0. This is positive but the promotion rationale is not documented.

  5. Several CSP notebooks updated (DEMO→READY, last_validation→2026-06-04, issue_pr_associee→#2401). These look like batch catalog maintenance, not directly related to the Sudoku re-exec described in the PR title.

Minor nit: issue_pr_associee set to empty string "" for Sudoku entries is unusual — previous values referenced #2161. If the issue was closed/resolved, a comment explaining why the reference was removed would help future readers.

@jsboige

jsboige commented Jun 5, 2026

Copy link
Copy Markdown
Owner Author

Closing: the Sudoku H.3 re-exec commits are already on main (verified git diff origin/main --name-only -- MyIA.AI.Notebooks/Sudoku/*.ipynb returns empty). The 132-file diff is branch divergence artifacts, not real content.

@jsboige jsboige closed this Jun 5, 2026
@jsboige
jsboige deleted the fix/sudoku-python-h3-gaps branch September 29, 2026 09:04
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.

2 participants