Repository navigation
fix(SymbolicAI): normalize exercises, fix Tweety v1.29 download, execute notebooks - #303
Conversation
Search Applications, Sudoku, and SymbolicAI notebooks had persistent CRLF in working tree causing dirty status on Windows. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…ase2-normalization # Conflicts: # MyIA.AI.Notebooks/Search/Applications/Hybrid/App-10b-Portfolio-CSharp.ipynb # MyIA.AI.Notebooks/Search/Applications/Hybrid/App-17-VRP-Logistics.ipynb # MyIA.AI.Notebooks/Search/Applications/Hybrid/App-9b-EdgeDetection-CSharp.ipynb # MyIA.AI.Notebooks/Search/Applications/Search/App-14-ConnectFour-Adversarial.ipynb # MyIA.AI.Notebooks/Sudoku/Sudoku-0-Environment-Csharp.ipynb # MyIA.AI.Notebooks/Sudoku/Sudoku-1-Backtracking-Csharp.ipynb # MyIA.AI.Notebooks/Sudoku/Sudoku-10-ORTools-Csharp.ipynb
- Update SW-13 notebook to output pizza_test.owl and inferred turtle to data/ - Move existing pizza_test.owl to data/pizza_test.owl - Prevents root directory pollution Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Replace `raise NotImplementedError("...")` with `pass # TODO: ...` in
11 exercise cells across 6 notebooks (SW-13, Lean-7/7b/8/9/10). This
allows notebooks to execute without crashing while keeping exercises
clearly marked for students.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…oks (issue #288) Replace `raise NotImplementedError(...)` with `pass # TODO: ...` in exercise cells across Planners (3), SmartContracts (11), and Tweety (5) notebooks. This allows notebooks to execute without crashing while keeping exercises clearly marked for students. Also normalizes CRLF to LF per .gitattributes for SC-24/SC-25/SC-26. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…289) Execute notebooks in Planners (10), SemanticWeb C# (7 + RDF.Net), and SC-0 Cypherpunk Origins. All cells produce clean outputs, confirming the environments work (Docker, dotnet 10, unified-planning). Remaining blocked (need JPype JVM, Foundry/anvil, WSL+Lean): - Tweety (10) - JPype jar missing - SmartContracts SC-2 to SC-26 (11) - Foundry not installed - Lean 7b/8/9 - WSL not configured Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
) - Execute 27 SmartContracts notebooks (SC-0 to SC-26) with anvil - Execute 2 Lean notebooks (Lean-8, Lean-9) - Install Foundry dependencies (OpenZeppelin, forge-std, account-abstraction) - Install xrpl-py for Ripple notebooks - Merge execution outputs into source notebooks Notebooks with exercise cells still failing as expected: - SC-18 Vyper (exercise indentation) - SC-19 Ripple-XRP (exercise indentation) - Lean-7b (exercise cell) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Fix 24 exercise cells across 17 notebooks: remove orphaned string literals from incomplete normalization that caused IndentationError - Preserve test comment lines after exercise cells - Re-execute SC-18 (Vyper) and SC-19 (Ripple XRP) to verify fixes - Merge new outputs into source notebooks - Fix download_tweety_tools.py: use version 1.28 (1.29 not on Maven) Closes #288 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
… v1.29
- Fix Lean-7b cell 36: unterminated string literal in comment
("\n".join reference was splitting across lines)
- Re-execute Lean-7b successfully with new OpenAI API key
- Merge execution outputs into source notebook
- Fix download_tweety_tools.py for Maven v1.29+ artifact naming:
- Maven URL path: dots become slashes (arg.dung -> arg/dung)
- JAR name: last segment only (dung-1.29.jar, not full qualified)
- Fallback: try -with-dependencies first, then plain .jar
- Download 34/34 Tweety v1.29 JARs successfully
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Review ai-01 - CONFLICTING, rebase requisConflit sur
Tentative de resolution locale echouee (autocrlf + gitattributes sur machine Windows ai-01) Action requise (po-2025):
Taille PR: 38k additions / 20k deletions sur ~60 notebooks (Tweety, Lean, Planners, SW C#, SmartContracts). Merge d'autant plus necessaire pour eviter divergence. Priorite: basse (non-bloquant pour cours lundi 20/04), mais souhaitable avant fin de semaine. |
jsboige
left a comment
There was a problem hiding this comment.
LGTM — Normalize exercises + Tweety fix + 31 notebooks executés.
Scope massif (66 fichiers):
- 19 SymbolicAI notebooks normalisés (pattern #288:
pass # TODO: message) - Fix Tweety JAR download (Maven Central v1.29, plus de suffixe
-with-dependencies) - Fix Lean-7b cell 36 (unterminated string literal)
- 31 notebooks avec outputs mergés (Lean, SmartContracts, Planners, SemanticWeb, Tweety)
Progression #289:
- Lean: exécutions OK (7b full, 8/9 partiels)
- SmartContracts: Foundry/SC-2 a SC-26 (besoin setup Foundry)
- Planners: 11/14 OK
- SemanticWeb: OK
- Tweety: fix JAR + exécutions
Bon travail po-2025. Closes #288, avance significativement #289.
Re-executed Lean-9-SK-Multi-Agents with updated outputs (13/53 cells, 0 errors). Lean-8 already had complete outputs from previous execution. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Review tour 7 (2026-04-19): Status: CONFLICTING malgre merge c70c706. Main a avance (b1a66f2) depuis le merge 54a201d. Contenu PR: 55+ fichiers SymbolicAI (Lean-7/7b/8/9/10, Planners 0-12, SemanticWeb SW-1 a 13, SmartContracts SC-0 a 26, Tweety-2 a 9). Scope bien delimite a phase2-normalization (issues #288/#289/#290). Action requise:
Ne merge pas: rebase + push, puis j'ajoute review finale. Co-dispatch ai-01 tour 7. |
Remove 55 <details> solution cells that exposed complete exercise answers across Search (49), SymbolicAI (3), and Sudoku (2) notebooks. These solution cells were introduced by PR #303 (merge -X theirs) which overwrote the clean pedagogical workflow. Exercise code cells remain as "# A COMPLETER" with commented-out templates — students must write their own solutions. Notebooks affected: - Search Part1: Search-2, 3, 4, 8, 9, 11 - Search Part2-CSP: CSP-1, 2, 3 - Search Applications: App-1, 3, 4, 5, 6, 7, 8, 11 - Sudoku: Sudoku-6 CSharp + Python - SymbolicAI: Planners-2 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove 55 <details> solution cells that exposed complete exercise answers across Search (49), SymbolicAI (3), and Sudoku (2) notebooks. These solution cells were introduced by PR #303 (merge -X theirs) which overwrote the clean pedagogical workflow. Exercise code cells remain as "# A COMPLETER" with commented-out templates — students must write their own solutions. Notebooks affected: - Search Part1: Search-2, 3, 4, 8, 9, 11 - Search Part2-CSP: CSP-1, 2, 3 - Search Applications: App-1, 3, 4, 5, 6, 7, 8, 11 - Sudoku: Sudoku-6 CSharp + Python - SymbolicAI: Planners-2 Co-authored-by: NanoClaw Cluster Manager <nanoclaw-cluster@myia.io> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Structural corruption from PR #303 (git merge -X theirs) placed exercise cells AFTER conclusion/navigation sections in 44 notebooks. Students would reach the end of the notebook without seeing the exercises. Changes: - Move exercise cells before the first ending marker (conclusion/nav/synthesis) - Remove duplicate navigation/conclusion cells at the end - Reset execution_count and clear outputs for moved code cells Scope: 44 notebooks fixed across Search (Part1, Part2-CSP, Applications) and Sudoku. All exercise cells now appear before the notebook's ending section. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…330) Structural corruption from PR #303 (git merge -X theirs) placed exercise cells AFTER conclusion/navigation sections in 44 notebooks. Students would reach the end of the notebook without seeing the exercises. Changes: - Move exercise cells before the first ending marker (conclusion/nav/synthesis) - Remove duplicate navigation/conclusion cells at the end - Reset execution_count and clear outputs for moved code cells Scope: 44 notebooks fixed across Search (Part1, Part2-CSP, Applications) and Sudoku. All exercise cells now appear before the notebook's ending section. Co-authored-by: NanoClaw Cluster Manager <nanoclaw-cluster@myia.io> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…swap_limit + pids_limit) (#25118) Un conteneur sans plafond peut reprendre toute la RAM de l'hote (32 Gio, partages avec le banc audio, ComfyUI et les builds WSL). Les bornes vont dans le compose et non dans un docker update : un update est perdu au premier recreate (consigne Maintenance#303). - mem_limit = memswap_limit : le swap est plafonne a la RAM allouee, le service echoue franchement au lieu de gonfler l'hote - pids_limit partout (128 a 512 selon la mesure docker stats du 2026-11-07) - limites deplacees de deploy.resources.limits vers les cles service-level quand les deux formes coexistaient : compose v5 refuse le melange (can't set distinct values) et deploy.limits ne sait pas exprimer memory-swap - plafonds existants conserves : whisper-api 4g, comfyui-qwen 28g, vllm-zimage 8g Recreate annonce sur le dashboard workspace avant le geste, puis verifie par docker inspect. Maintenance (jsboige/Maintenance#303) Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Summary
pass # TODO: messageacross 19 SymbolicAI notebooks (issue SymbolicAI: normaliser notebooks - sorties commitees + 1 exercice etudiant non-resolu par notebook #288) — ensures all exercise cells are syntactically valid Python-with-dependenciessuffix, new URL path format)Changed notebooks
Exercise normalization (19 notebooks):
Executed with outputs merged (31 notebooks):
Test plan
Closes #288
Closes #289
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com