Skip to content

Commit b976bfd

Browse files
authored
Merge branch 'main' into main
2 parents ca9f335 + 097ff8b commit b976bfd

39 files changed

Lines changed: 307 additions & 29803 deletions

‎.github/dependabot.yml‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: github-actions
9+
directory: /
10+
commit-message:
11+
prefix: ⬆️
12+
schedule:
13+
interval: weekly
14+
15+
- package-ecosystem: "conda"
16+
directory: "/"
17+
commit-message:
18+
prefix: ⬆️
19+
schedule:
20+
interval: weekly
21+
ignore:
22+
- dependency-name: "jupyter-book"
23+
versions: [">=2.0"]
24+
- dependency-name: "python"
25+
# Python version should be constrained by the anaconda distribution version
26+
versions: [">0"]

‎.github/workflows/cache.yml‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
cache:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v6
10+
- uses: actions/checkout@v7
1111
- name: Setup Anaconda
1212
uses: conda-incubator/setup-miniconda@v4
1313
with:
@@ -17,6 +17,15 @@ jobs:
1717
python-version: "3.13"
1818
environment-file: environment.yml
1919
activate-environment: quantecon
20+
- name: Install JAX (CPU, pinned)
21+
shell: bash -l {0}
22+
run: |
23+
# Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's
24+
# lax.fori_loop cells on the CPU path -- context is recorded in
25+
# QuantEcon/workspace-lectures#49. With jax already present, the
26+
# lecture's unpinned `!pip install quantecon jax` cell is satisfied
27+
# and does not upgrade.
28+
pip install "jax==0.11.0"
2029
- name: Build HTML
2130
shell: bash -l {0}
2231
run: |

‎.github/workflows/ci.yml‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,23 @@ jobs:
2222
python-version: "3.13"
2323
environment-file: environment.yml
2424
activate-environment: quantecon
25+
- name: Install JAX (CPU, pinned)
26+
shell: bash -l {0}
27+
run: |
28+
# Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's
29+
# lax.fori_loop cells on the CPU path -- context is recorded in
30+
# QuantEcon/workspace-lectures#49. With jax already present, the
31+
# lecture's unpinned `!pip install quantecon jax` cell is satisfied
32+
# and does not upgrade.
33+
pip install "jax==0.11.0"
2534
- name: Display Conda Environment Versions
2635
shell: bash -l {0}
2736
run: conda list
2837
- name: Display Pip Versions
2938
shell: bash -l {0}
3039
run: pip list
3140
- name: Download "build" folder (cache)
32-
uses: dawidd6/action-download-artifact@v21
41+
uses: dawidd6/action-download-artifact@v24
3342
with:
3443
workflow: cache.yml
3544
branch: main
@@ -50,11 +59,11 @@ jobs:
5059
name: execution-reports
5160
path: _build/html/reports
5261
- name: Setup Node.js
53-
uses: actions/setup-node@v6
62+
uses: actions/setup-node@v7
5463
with:
5564
node-version: '20'
5665
- name: Preview Deploy to Netlify
57-
uses: quantecon/actions/preview-netlify@v0.8.0
66+
uses: quantecon/actions/preview-netlify@v0.11.1
5867
with:
5968
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
6069
netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }}

‎.github/workflows/publish.yml‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ jobs:
3535
python-version: "3.13"
3636
environment-file: environment.yml
3737
activate-environment: quantecon
38+
- name: Install JAX (CPU, pinned)
39+
shell: bash -l {0}
40+
run: |
41+
# Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's
42+
# lax.fori_loop cells on the CPU path -- context is recorded in
43+
# QuantEcon/workspace-lectures#49. With jax already present, the
44+
# lecture's unpinned `!pip install quantecon jax` cell is satisfied
45+
# and does not upgrade.
46+
pip install "jax==0.11.0"
3847
- name: Display Conda Environment Versions
3948
shell: bash -l {0}
4049
run: conda list
@@ -43,7 +52,7 @@ jobs:
4352
run: pip list
4453
# Download Build Cache from cache.yml
4554
- name: Download "build" folder (cache)
46-
uses: dawidd6/action-download-artifact@v21
55+
uses: dawidd6/action-download-artifact@v24
4756
with:
4857
workflow: cache.yml
4958
branch: main
@@ -61,7 +70,7 @@ jobs:
6170
# https://quantecon.github.io/lecture-python-programming.fr/
6271
- name: Deploy to GitHub Pages
6372
id: deployment
64-
uses: quantecon/actions/publish-gh-pages@v0.8.0
73+
uses: quantecon/actions/publish-gh-pages@v0.11.1
6574
with:
6675
build-dir: _build/html
6776
create-release-assets: 'true'

‎.github/workflows/review-translations.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
cancel-in-progress: true
3535

3636
steps:
37-
- uses: actions/checkout@v6
37+
- uses: actions/checkout@v7
3838
with:
3939
fetch-depth: 2
4040

@@ -45,5 +45,9 @@ jobs:
4545
source-language: en
4646
target-language: fr
4747
docs-folder: lectures
48+
# Stage 4 shadow calibration (QuantEcon/project-translation#15): records
49+
# the would-auto-merge decision in the verdict block, a run notice and an
50+
# output — and acts on none of them. Routing and labels are unchanged.
51+
auto-merge-mode: shadow
4852
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
4953
github-token: ${{ secrets.GITHUB_TOKEN }}

‎.translate/config.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ source-language: en
22
target-language: fr
33
docs-folder: lectures
44
tool-version: 0.15.0
5+
editors:
6+
primary: Honaminto
7+
secondary: []

‎.translate/state/about_py.md.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
source-sha: 3213613a05778899068ddb92336dfe6a58517936
2-
synced-at: "2026-07-14"
3-
model: claude-opus-4-8
4-
mode: NEW
1+
source-sha: d35eb831da23a763f43d403e96f20d43529cae53
2+
synced-at: "2026-08-18"
3+
model: claude-sonnet-5
4+
mode: UPDATE
55
section-count: 3
6-
tool-version: 0.15.0
6+
tool-version: 0.26.0

‎.translate/state/autodiff.md.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
source-sha: 05ce95691fd97e48da39dd6d58fe032c03e8813d
2-
synced-at: "2026-07-14"
3-
model: claude-opus-4-8
4-
mode: NEW
1+
source-sha: d35eb831da23a763f43d403e96f20d43529cae53
2+
synced-at: "2026-08-18"
3+
model: claude-sonnet-5
4+
mode: UPDATE
55
section-count: 5
6-
tool-version: 0.15.0
6+
tool-version: 0.26.0

‎.translate/state/functions.md.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
source-sha: 1b356ab5e60d8f6939446fd5f47c243593a2abd3
2-
synced-at: "2026-07-14"
3-
model: claude-opus-4-8
4-
mode: NEW
1+
source-sha: aacff3815993e8bea8db7b63df72a0a038e220c1
2+
synced-at: "2026-08-05"
3+
model: claude-sonnet-5
4+
mode: UPDATE
55
section-count: 7
6-
tool-version: 0.15.0
6+
tool-version: 0.25.0

‎.translate/state/numba.md.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
source-sha: f4c6bc9d1cfb2558ca6b62485527dfc0facc2aee
2-
synced-at: "2026-07-15"
1+
source-sha: 7fce1f21833f64eb8ba853fc0d7a36fce53dc3bd
2+
synced-at: "2026-08-12"
33
model: claude-sonnet-5
44
mode: UPDATE
55
section-count: 5
6-
tool-version: 0.16.1
6+
tool-version: 0.25.0

0 commit comments

Comments
 (0)