Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ MyST MD course site for _Software Engineering for Scientific Computing_.
| Slides | `npx @marp-team/marp-cli@latest --input-dir slides --output _output` |
| Live dev server (JupyterLab) | `pixi run lab` |

- `pixi run book` installs a user-wide ipykernel (`conda-env-se-for-sci-py`) and
- `pixi run book` depends on the `install-kernel` task, which installs the
project's Python kernel into the pixi environment (`--sys-prefix`), then
builds the site using `myst build --execute --html`. It sets
`PYDEVD_DISABLE_FILE_VALIDATION=1`.
- `mystmd` is configured to **execute all notebooks** on every build
Expand Down
4 changes: 2 additions & 2 deletions content/week02_testing/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Here's a non-exhaustive list of some types of testing:
this list...
- **Property based testing** uses random inputs and verifies properties of the
output. The Python tool for this is
[Hypothosis](https://hypothesis.readthedocs.io/en/latest/), which works with
[Hypothesis](https://hypothesis.readthedocs.io/en/latest/), which works with
pytest. This also may be called "fuzzing".
- **Smoke testing**: Making sure the code won't "catch fire". Checking an
end-to-end ground truth.
Expand Down Expand Up @@ -259,7 +259,7 @@ Some Python testing frameworks:
same name.
- **xdoctest**: a better version of the standard library module that might even
be usable in some cases.
- **Hypothosis**: Property based testing (is an add-on to pytest)
- **Hypothesis**: Property based testing (is an add-on to pytest)
- [**ward**](https://github.com/darrenburns/ward): An abandoned library that
tried to rethink pytest to be even more modern. Interesting to see the ideas
here.
Expand Down
4 changes: 2 additions & 2 deletions myst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ project:
children:
- file: content/week07_design/designpatt.md
- file: content/week07_design/functional.md
- title: "Week 8: Static Typing & Profiling"
- title: "Week 8: Static Typing"
children:
- file: content/week08_static_typing/typing.md
- title: "Week 9: Intro to Compilation"
Expand All @@ -85,7 +85,7 @@ project:
- file: content/week11_omp/openmp.md
- file: content/week11_omp/threading.md
- file: content/week11_omp/concepts.md
- title: "Week 12: GPUs"
- title: "Week 12: Parallel Computing with MPI"
children:
- file: content/week12_mpi/mpi.md
- title: "Bonus: Exotic topics"
Expand Down
7 changes: 4 additions & 3 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ ninja = ">=1.10"

[tasks]
lab = "jupyter lab"
book = "python -m ipykernel install --user --name conda-env-se-for-sci-py && myst build --execute --html"
serve = "python -m ipykernel install --user --name conda-env-se-for-sci-py && myst start --execute"
pdf = "python -m ipykernel install --user --name conda-env-se-for-sci-py && myst build --execute --pdf"
install-kernel = "python -m ipykernel install --sys-prefix --name conda-env-se-for-sci-py"
book = { cmd = "myst build --execute --html", depends-on = ["install-kernel"] }
serve = { cmd = "myst start --execute", depends-on = ["install-kernel"] }
pdf = { cmd = "myst build --execute --pdf", depends-on = ["install-kernel"] }