enrich(Search): add convention prints to 25 Python notebooks (89 cells)#1965
Closed
jsboige wants to merge 1 commit into
Closed
enrich(Search): add convention prints to 25 Python notebooks (89 cells)#1965jsboige wants to merge 1 commit into
jsboige wants to merge 1 commit into
Conversation
Convention print #1946: every silent code cell must produce informative output. 25 notebooks, 89 convention prints added: - Part1-Foundations (4): Search-2 (3), Search-5 (3), Search-6 (2), Search-7 (2) - CSPs_Intro (9): CSP class, backtracking, MRV, LCV, FC, AC3, imports - PyGad-EdgeDetection (4): EdgeChromosome, fitness, tournament, comparison - Part2-CSP (6x4): CSP-4/5/6/7/8/9 exercise stubs - Applications/CSP (10): NQueens, GraphColoring, JSSP, Timetable, Minesweeper, Wordle, Picross, SportsScheduling, Crossword - Applications/Hybrid (4): Portfolio, TSP-Metaheuristics, VRP, Hyperparameter Categories: - Function/class defs: print('Fonction definie : ...') - Import cells: print('Imports OK : ...') - BATCH_MODE params: print('BATCH_MODE active') - Exercise stubs: print('Exercice a completer : ...') 24/25 Papermill SUCCESS (0 errors, 0 no-output cells remaining). App-13-TSP-Metaheuristics: pre-existing three_opt() API bug at cell[18] (TypeError: unexpected keyword argument 'max_iter'), NOT introduced by this PR. 18/22 cells with outputs copied. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Notebook PR Validation: FAIL
Checks: H.1 (no errors), H.3 (execution_count), C.1 (no banned patterns) ViolationsMyIA.AI.Notebooks/Search/Applications/Hybrid/App-13-TSP-Metaheuristics.ipynb (22 cells, python3)
How to fix# Re-execute the notebook
python scripts/notebook_tools/notebook_tools.py execute <path> |
clusterManager-Myia
approved these changes
May 31, 2026
Collaborator
clusterManager-Myia
left a comment
There was a problem hiding this comment.
[Hermes] — APPROVED
Convention prints sur 25 notebooks Search/CSP (89 cells). Pattern cohérent : print convention + ré-exec Papermill. Paths locaux dans metadata (attendu). Aucun code nouveau, aucun secret. Scope large mais 100% mécanique.
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Convention print #1946: every silent code cell must produce informative output.
25 notebooks, 89 convention prints added.
Categories
Notebooks by family
Validation
three_opt()API bug at cell[18] (TypeError: unexpected keyword argument 'max_iter'), NOT introduced by this PR. 18/22 cells with outputs copied. This is a known issue tracked separately.raise NotImplementedError, no noise prints, no secretsChecklist
print("ok")noise (incident fix(leaks): relabel SemanticWeb instructor solutions as Exemple guide (16->0 HIGH) #1214 compliance)