Repository navigation
fix(search): make MGS-12-AxisAlignment notebook portable (relative paths) - #7602
Merged
Merged
Conversation
…ths) Applies the same portability pattern as jsboige#7595 (MGS-7-TSP), jsboige#7598 (MGS-10-CenterBias) and jsboige#7601 (MGS-11) to MGS-12-AxisAlignment.ipynb: hardcoded c:/dev/MetaGeneticSharp paths -> relative ..\MetaGeneticSharp\. Scope (atomic, 1 notebook): - cell[1] wiring: prereq comment + 5 #r DLL refs -> ..\MetaGeneticSharp (backslash, #r-literal; same simple pattern as MGS-10, no native preload) Verification (C.2/H.1, EXEC_PROVED): - MetaGeneticSharp submodule already built (DLLs at relative path) - jupyter nbconvert --execute (.net-csharp, CWD=notebook dir) = 0 errors, 0 path-leak, all code cells executed - json round-trip indent=1 byte-safe; source-identical verified pre-transplant - catalog byte-identical; submodule pointer NOT bumped Continues the MGS portability sweep (MGS-7, 10, 11 done; 11 more notebooks remain: MGS-3,4,6,8,9,13-19). Co-Authored-By: Claude-Code <noreply@anthropic.com>
This was referenced Jul 20, 2026
.NET Interactive kernel re-injects its probeAddresses banner (network-interface leak) into the first code-cell output at every re-exec. Sanctioned by secrets-hygiene rule 6 via the canonical tool (not a manual scrub). Missed in the initial commit. Co-Authored-By: Claude-Code <noreply@anthropic.com>
jsboige
added a commit
that referenced
this pull request
Jul 20, 2026
…ve paths) (#7606) * fix(search): make MGS-14-IslandSynergyFound notebook portable (relative paths) 8 occurrences of c:/dev/MetaGeneticSharp/ -> relative ..\MetaGeneticSharp\ so the notebook runs from any clone, not only c:/dev/CoursIA. MGS-14 distinct pattern (vs MGS-11/13): the native libSkiaSharp preload goes through an extDir verbatim string variable, not an inline interpolated literal. So: - 7 #r DLL refs (Extensions bin) -> backslash relative - string extDir = @"..." (no trailing slash) -> backslash relative - NativeLibrary.Load($@"{extDir}/runtimes/{rid}/native/libSkiaSharp.dll") is ALREADY verbatim + uses {extDir} interpolation, so no escape subtlety; the mixed separator (net9.0/runtimes) is accepted by NativeLibrary.Load on Windows. Re-executed via nbconvert .net-csharp (CWD=notebook dir): 7/7 code cells, 0 errors, exec_count complete. Fresh outputs (conditional island-synergy heatmaps: Ackley yes / Rastrigin no). Submodule init --recursive + dotnet build local (regle F). Submodule pointer NOT bumped. Catalogue byte-identical to main. Continues MGS portability sweep (#7595/#7598/#7601/#7602/#7604). Co-Authored-By: Claude-Code <noreply@anthropic.com> * fix(search): strip probeAddresses banner post-reexec (MGS-14) .NET Interactive kernel re-injects its probeAddresses banner (network-interface leak) into the first code-cell output at every re-exec. Sanctioned by secrets-hygiene rule 6 via the canonical tool (not a manual scrub). Missed in the initial commit. Co-Authored-By: Claude-Code <noreply@anthropic.com> --------- Co-authored-by: jsboige <jsboige@gmail.com> Co-authored-by: Claude-Code <noreply@anthropic.com>
jsboige
added a commit
that referenced
this pull request
Jul 20, 2026
…path) (#7609) MGS-3-Eukaryote, MGS-4-Islands, MGS-6-Benchmarks are ALREADY functionally portable: their #r DLL refs use relative ../MetaGeneticSharp/ forward-slash paths. The only residual hardcoded c:/dev/MetaGeneticSharp was a single markdown prereq note per notebook (build-path prose), inconsistent with the relative code paths. Fixed to ../MetaGeneticSharp for consistency. Markdown-only edit (C.2 exception): no code cell changed, so outputs and execution_count are preserved as-is — no re-execution needed. 1 line per notebook. Same subject (markdown prereq-path consistency) across 3 trivially-similar notebooks -> atomic PR by subject, not one-PR-per-file. Continues MGS portability sweep (#7595/#7598/#7601/#7602/#7604/#7606). Co-authored-by: jsboige <jsboige@gmail.com> Co-authored-by: Claude-Code <noreply@anthropic.com>
This was referenced Jul 20, 2026
jsboige
added a commit
that referenced
this pull request
Jul 20, 2026
… paths) (#7613) 6 occurrences of c:/dev/MetaGeneticSharp/ -> relative ..\MetaGeneticSharp\. Simple MGS-10/12 pattern (no native preload): 1 comment prereq + 4 #r Domain + 1 #r Extensions -> backslash relative. Re-executed via nbconvert .net-csharp (CWD=notebook dir): 11/11 code cells, 0 errors, exec_count complete. probeAddresses banner stripped post-reexec (9 kernel-injected lines, canonical strip_probe_banner.py, post-scan 0). Submodule init --recursive + dotnet build local (regle F). Submodule pointer NOT bumped. Catalogue byte-identical to main. Continues MGS portability sweep (#7595/#7598/#7601/#7602/#7604/#7606/#7609). Co-authored-by: jsboige <jsboige@gmail.com> Co-authored-by: Claude-Code <noreply@anthropic.com>
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.
Applies the same portability pattern as #7595 (MGS-7-TSP), #7598 (MGS-10-CenterBias) and #7601 (MGS-11) to
MGS-12-AxisAlignment.ipynb: hardcodedc:/dev/MetaGeneticSharppaths → relative..\MetaGeneticSharp\.Scope (atomic, 1 notebook)
MyIA.AI.Notebooks/Search/Part4-Metaheuristics/MGS-12-AxisAlignment.ipynb#rDLL refs →..\MetaGeneticSharp\(backslash,#r-literal)NativeLibrary.Loadnative preload — that MGS-11-specific subtlety does not apply here)Verifications pre-merge (EXEC_PROVED, C.2/H.1)
jupyter nbconvert --execute(.net-csharp, CWD=notebook dir)git diff --statArchitecture portabilité
Search/Part4-Metaheuristics/MGS-12-AxisAlignment.ipynbSearch/MetaGeneticSharp/(git submodule jsboige/MetaGeneticSharp)..\MetaGeneticSharp\(notebook àPart4-Metaheuristics/, remonte 1 niveau versSearch/)Contexte
Continues the MGS portability sweep (MGS-7 via #7595, MGS-10 via #7598, MGS-11 via #7601; this is MGS-12). 11 more notebooks remain (MGS-3,4,6,8,9,13-19). Genre = infra portability. Dispatched by ai-01.
Co-Authored-By: Claude-Code noreply@anthropic.com