Repository navigation
Make the Lab's notebooks the sample notebooks - #2110
Merged
Merged
Conversation
AngouriMathLab's try branch had an F# tutorial of 38 code cells -- building and parsing expressions, substitution, calculus with its shortcuts, vectors, matrices, sets, the aggressive operators and a surface plot -- and a C# example, both against the current API, where the samples here had five cells each. The F# tutorial is Interactive.Sample.ipynb now, so the README's links and the Binder button open it, and the C# sample is the Lab's example followed by the three cells of the old sample it did not have. Outputs are stripped, the MyGet feed the Lab used is gone, and the tutorial's Try link builds from here. Executed with nbconvert in the binder/Dockerfile image: every cell of both runs, in 14 and 5 seconds. The F# one's first cell prints the C# compile error of #2109 and carries on. Part of #1689. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
9 of 10 tasks
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.
Part of #1689: "the notebooks are one set of Jupyter notebooks here".
AngouriMathLab's
trybranch had two notebooks, both against the current API:The samples here had five cells each. Now:
Interactive.Sample.ipynbis the F# tutorial, so the README's links and the Binder button (Build the Binder image from this repository, and make the samples run #2107) open it. Its Try link now builds from this repository.CSharp.Interactive.Sample.ipynbis the Lab's example, followed by the three cells of the old sample it didn't have: an expression with an integral, a system, and a matrix.Executed with
jupyter nbconvert --executein thebinder/Dockerfileimage. Every cell of both runs, the F# notebook in 14 s and the C# one in 5 s. A sample of the outputs:("x", 3) -|> "x ^ 2"9a/be ** (i * pi)-1simplified (m2 - (parsed "lambda") * I_2)λtaken off the diagonal"a + b".ToEntity().Substitute("a", 5).Substitute("b", 6).Evaled11The F# notebook's first cell also prints the C# compile error of #2109, and the notebook carries on past it.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura