Repository navigation
fix(gt-4c,#6927): Plotly CDN-script -> SVG inline Overlay (Brouwer trajectories) - #6972
Merged
Merged
Conversation
…ajectories) GameTheory-4c-NashExistence cell[10]: replace blank-in-static Plotly CDN <script src=cdn.plot.ly> with SvgChartHelper.Overlay() (#6942 + #6958 MERGED), rendering 3 series sharing numeric axes P(Heads) j1 / j2: 2 best-response trajectories (depart 0.9/0.1 and 0.1/0.9, LineMarkers) converging to the Nash equilibrium point (0.5, 0.5, red Markers) -- illustration of Brouwer fixed-point. #load convention: bare '#load "SvgChartHelper.cs"' (canon, matches DecInfer-7 #6967). Resolves from kernel CWD = MyIA.AI.Notebooks/Probas/Infer/ (cluster convention; .NET Interactive #load resolves relative to kernel CWD = notebook dir, so cross-family notebooks execute with path=Infer/). See #6927 (partial of epic, not Closes). Co-Authored-By: Claude-Code <noreply@anthropic.com>
Contributor
Notebook PR Validation: PASS
Checks: H.1 (no errors), H.3 (execution_count), C.1 (no banned patterns) |
Contributor
Golden-Set Execution (H.7 P3)✅ 8/8 notebooks passed (certified reproducible)
Pinned lockfile: |
This was referenced Jul 17, 2026
Merged
jsboige
added a commit
that referenced
this pull request
Jul 17, 2026
…ance to helper-load root cause (#6978) ai-01 corrected the svg-6927-canon point 4 (2026-07-17): display() RENDS when the helper is loaded -- the merged #6967 (DecInfer-7 36964bf) cell[32] uses display(SvgChartHelper...) and captures the <svg> (26 outputs). The earlier canon rule "derniere expression PAS display()" was WRONG. The real white-figure discriminator is helper/Formatter.Register NOT loaded (#load not resolving from the kernel real cwd). The detector merged in #6971 still DETECTS correctly (its 3-condition signature ran + intended-chart + outputs==[] = white figure is sound), but its remediation guidance told workers the wrong fix ("make chart last expression, drop display()"). Correct the 4 wrong prose blocks (docstring canon rule 1, portee cluster, Ce qu il NE corrige PAS, and the _human_report CI FIX string) to lead with the real fix: make the #load resolve (helper in notebook dir, OR relative #load "../<family>/SvgChartHelper.cs", OR re-exec via ExecutePreprocessor with resources.metadata.path = helper dir per the durable lesson from #6972), then re-execute. Detection logic (regexes, detect_cell, scan_notebook, main) UNTOUCHED. 19/19 unit tests pass. See #3801. See #6927. 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.
What
GameTheory-4c-NashExistence-Csharp.ipynbcell[10]: replace the blank-in-static Plotly chart (<script src=cdn.plot.ly>, renders WHITE on GitHub/nbviewer/offline since the sandbox strips the script) with an inline static SVG via the canon helperSvgChartHelper.Overlay()(#6942 + #6958 MERGED).The chart is a 2D-simplex best-response dynamics illustration of Brouwer fixed-point theorem (Matching Pennies): 3 series sharing numeric axes
P(Heads) j1/j2:(0.9, 0.1)and(0.1, 0.9)),TraceStyle.LineMarkers(0.5, 0.5), redTraceStyle.MarkersAll converge to
(0.5, 0.5)— the Nash equilibrium.Overlay()is the right primitive here (shared numeric X axis), vsBar()used in #6967 DecInfer-7 (categorical axes).#loadconvention (cross-family, documented firsthand)Bare
#load "SvgChartHelper.cs"(canon, byte-identical pattern to merged DecInfer-7 #6967). .NET Interactive#loadresolves relative to the kernel CWD = the notebook directory (empirically verified: probe showsCWD=<notebook-dir>; bare#loadfromGameTheory/→CS1504 Fichier introuvable). The helper lives inProbas/Infer/, so this cross-family notebook is executed with kernel CWD =MyIA.AI.Notebooks/Probas/Infer/(PythonExecutePreprocessorresources.metadata.path) — the cluster convention (same mechanism that lets DecInfer-7#loadthe helper bare). Closes the c.561 root-fragility question empirically:#loadis CWD-rooted, not global-rooted.Gates verified firsthand
.net-csharpexec (H.4)detect_svg_decimal_commas.py(#6959, merge-gate)F()=InvariantCulture → decimal-DOT by construction)check_plotly_static_risk.py(#6931)cdn.plot.lyin outputDepart (0.9,0.1),Depart (0.1,0.9),Nash (0.5,0.5))COURSE_CATALOG.generated.*; READMECATALOG-STATUSuntouchedVerdict: SOTA-OK (#3801 Prong-A)
Real inline SVG, zero-dependency (no NuGet, no CDN, no kaleido/node) — renders on GitHub/nbviewer/offline. Not a degraded workaround.
Notes
Closes.🤖 po-2025 (GLM no-vision lane)