Skip to content

Inline DMRG output in README example#24

Merged
mtfishman merged 2 commits into
mainfrom
mf/readme-inline-output
Apr 21, 2026
Merged

Inline DMRG output in README example#24
mtfishman merged 2 commits into
mainfrom
mf/readme-inline-output

Conversation

@mtfishman
Copy link
Copy Markdown
Member

Summary

Follow-up to #23. The example in examples/README.jl runs DMRG but doesn't show the resulting output — the README just shows the code. Add an inlined expected-output block (using Literate's #= \``…``` =#` idiom for "rendered but not executed") so readers can see what the code produces without running it.

Output values taken from the legacy README.md that existed before the template migration.

Regenerate README.md via itpkgfmt to pick up the change.

A later ecosystem change to ITensorFormatter may eventually flip Literate.markdown(... execute = true) so that these outputs are produced automatically, but that's tracked separately (Projects/ITensorFormatter.jl/fixes_and_improvements in ITensorDevelopmentPlans) and needs determinism handling first.

Test plan

  • Rendered README.md shows the output section.

🤖 Generated with Claude Code

mtfishman and others added 2 commits April 21, 2026 13:43
Follow-up to #23: the README example runs DMRG but doesn't show the
resulting output. Add an inlined expected-output block (via Literate
`#= ```…``` =#`) so readers can see what the code produces without
running it locally. Output values taken from the legacy README.md
that existed before the template migration.

Regenerate README.md via itpkgfmt so it picks up the change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
README / examples/README.jl changes are user-visible (downstream
readers see the example output block), so this is a substantive
change that warrants a patch bump.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mtfishman mtfishman merged commit 1329a0a into main Apr 21, 2026
13 checks passed
@mtfishman mtfishman deleted the mf/readme-inline-output branch April 21, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant