-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Hans-Martin von Gaudecker <[email protected]>
- Loading branch information
1 parent
133ed92
commit 59d81aa
Showing
20 changed files
with
1,980 additions
and
994 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,3 +55,17 @@ jobs: | |
- name: Run mypy | ||
shell: bash -l {0} | ||
run: pixi run mypy | ||
run-explanation-notebooks: | ||
name: Run explanation notebooks on Python 3.12 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: v0.23.0 | ||
cache: true | ||
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }} | ||
environments: test-cpu | ||
- name: Run explanation notebooks | ||
shell: bash -l {0} | ||
run: pixi run -e test-cpu explanation-notebooks |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
# Explanations of `lcm` concepts | ||
# Explanations of internal `lcm` concepts | ||
|
||
## Choose a module | ||
> [!NOTE] | ||
> 1. The following explanations are designed for `lcm` developers and not users. | ||
> 1. Figures are only rendered correctly on nbviewer, not on GitHub. Please use the | ||
> links below to view the correctly rendered notebooks. | ||
| Module name | Description | | ||
| --------------------------------------- | ----------------------------------------------------------------- | | ||
| [`dispatchers.py`](./dispatchers.ipynb) | Explanations of `spacemap`, `productmap`, and `vmap_1d` functions | | ||
| Module name | Description | | ||
| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | | ||
| [`dispatchers.py`](https://nbviewer.org/github/OpenSourceEconomics/lcm/blob/main/explanations/dispatchers.ipynb) | Explanations of `spacemap`, `productmap`, and `vmap_1d` functions | | ||
| [`function_representation.py`](https://nbviewer.org/github/OpenSourceEconomics/lcm/blob/main/explanations/function_representation.ipynb) | Explanations of what the function representation does and how it works | |
This file contains 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
Oops, something went wrong.