Skip to content

Tags: QuantEcon/lecture-python-programming

Tags

publish-2026-april-14.2

Toggle publish-2026-april-14.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Misc changes to jax lectures (#533)

* misc

* misc

* Fix call to add_tax_pure in jax_intro pure function example

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>

publish-2026-april-14

Toggle publish-2026-april-14's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Improve and simplify jax_intro and numpy_vs_numba_vs_jax lectures (#532)

Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>

publish-2026april13.2

Toggle publish-2026april13.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add lax.fori_loop example and improve jax_intro clarity (#530)

- Add lax.fori_loop example to sequential operations section, alongside
  existing lax.scan version
- Update summaries and recommendations to reference both approaches
- Improve jax_intro: reorganize intro text, fix block_until_ready style,
  add Size Experiment subheading, expand immutability explanation, add
  cross-reference labels
- Remove unused import

Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>

publish-2026apr13

Toggle publish-2026apr13's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
misc (#528)

publish-april-12

Toggle publish-april-12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Improve clarity and fix errors in Numba lecture (#524)

* Improve clarity and fix errors in Numba lecture

Fix typos (deficiency, JULIA, That's is, duplicate label), drop Julia
from vectorization comparison (Julia uses JIT, not traditional
vectorization), replace bootstrap example with clearer function
iteration example, compress decorator section into a remark, add fix
for global variables gotcha, remove redundant import, and add JAX
cross-reference for GPU parallelization.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* Fix build: replace invalid {remark} with {admonition}, fix label clash

{remark} is not a valid MyST directive — use {admonition} with title
"Remark" instead. Also rename (numba)= label to (numba_lecture)= to
avoid ambiguity with the document name.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>

publish-2026apr11

Toggle publish-2026apr11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update jax_intro lecture (#522)

* Update jax_intro lecture: restructure, fix bugs, improve exposition

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* misc

---------

Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>

publish-2026apr8

Toggle publish-2026apr8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Revise JAX intro lecture and add autodiff lecture (#513)

* Revise JAX intro lecture and add autodiff lecture

- Fix coefficient mismatch in NumPy vs JAX function comparison
- Update jax.random.PRNGKey to jax.random.key throughout
- Add code-generated figures (PRNG key splitting tree, JIT pipeline)
- Add vmap section with examples and transformation composition
- Rework gradients section as autodiff preview with forward reference
- Add autodiff lecture (adapted from lecture-jax) to TOC
- Consolidate all imports into initial cell

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* Improve vmap example and consolidate imports

- Replace artificial sum-of-squares vmap example with mean/median statistics
- Add explanation of why Python loops are inefficient with JAX
- Move all imports to initial cell per lecture conventions

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* Fix JIT pipeline figure: make compact, drop italic labels

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* Revise NumPy vs Numba vs JAX lecture

- Fix variable name typo (z_max_numpy → z_max_numba)
- Fix vmap v2 print label
- Fix garbled em dash
- Consolidate imports to top of lecture
- Use jnp.meshgrid instead of np.meshgrid for JAX arrays
- Replace cm.jet with cm.viridis
- Qualify JAX speed claim re GPU
- Add overall recommendations section synthesizing trade-offs

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* Remove redundant MyST labels that clash with doc targets

Remove (jax_intro)= from jax_intro.md and (autodiff)= from autodiff.md.
These labels duplicate the automatic :std:doc: targets created from the
filenames, causing myst.xref_ambiguous warnings that fail CI with -W.

---------

Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
Co-authored-by: Matt McKay <[email protected]>

publish-2026apr8b

Toggle publish-2026apr8b's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Modernize Numba lecture (#512)

* Modernize and improve Numba lecture

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* Fix grammar ('which') and capitalize MATLAB

---------

Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
Co-authored-by: Matt McKay <[email protected]>

publish-2026mar26

Toggle publish-2026mar26's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Migrate to native GitHub Pages deployment (no gh-pages branch) (#499)

* Migrate to native GitHub Pages deployment (no gh-pages branch)

- Replace peaceiris/actions-gh-pages@v4 with native actions/deploy-pages@v4
- Add required permissions (pages: write, id-token: write) and environment
- Add concurrency group to prevent deployment conflicts
- Update linkcheck.yml to download Pages artifact instead of checking out gh-pages
- Enables future deletion of gh-pages branch to reclaim ~300MB repo space

Closes #419

* Address Copilot review: add actions:read permission, use release assets for linkcheck

- Add actions: read permission to publish.yml (needed by dawidd6/action-download-artifact)
- Switch linkcheck.yml from expiring Pages artifact to permanent release asset (tar.gz)
- Eliminates dependency on artifact retention window for link checking

publish-2026mar20

Toggle publish-2026mar20's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update repo references for rename: drop .myst suffix (#485)

Prepares for renaming lecture-python-programming.myst to
lecture-python-programming. Updates repository_url in _config.yml
and the notebook repo README link.

After merging this PR, rename the repo in GitHub Settings.