You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: exclude examples.html from conformance tests and make Python blocks self-contained
- Add "examples.html" to NON_PLAYGROUND_PAGES in tests/playground.test.ts
and tests-e2e/playground-cells.test.ts (it's an index/gallery page, not
an interactive playground)
- Prepend data-setup code to each playground-python textarea block so every
block runs independently without depending on variables from the JS editor
or other blocks (fixes 18 Python validation failures)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
<textareaclass="playground-python" style="display:none">import pandas as pd
179
+
langs = ["Python","JavaScript","Rust","Go","Python","JavaScript","Python","Rust","Go","JavaScript","Python","JavaScript","Rust","Python","Go","JavaScript","Python","Rust","Python","JavaScript","Go","Python","JavaScript","Rust","Python","Go","JavaScript","Python","Python","Rust"]
console.log("\nObservation: the largest cell in each row tells you that cohort's favourite language.");</textarea>
213
215
<textareaclass="playground-python" style="display:none">import pandas as pd
216
+
langs = ["Python","JavaScript","Rust","Go","Python","JavaScript","Python","Rust","Go","JavaScript","Python","JavaScript","Rust","Python","Go","JavaScript","Python","Rust","Python","JavaScript","Go","Python","JavaScript","Rust","Python","Go","JavaScript","Python","Python","Rust"]
0 commit comments