Skip to content

Make the Colab notebook self-contained: download helper files#177

Merged
yebai merged 1 commit into
mainfrom
colab-notebook-files
Jun 24, 2026
Merged

Make the Colab notebook self-contained: download helper files#177
yebai merged 1 commit into
mainfrom
colab-notebook-files

Conversation

@yebai

@yebai yebai commented Jun 24, 2026

Copy link
Copy Markdown
Member

The trend-inflation example includes utilities.jl and reads data.csv, which aren't present on Colab. Add a notebook-only (#nb) block to script.jl that downloads them and points INFL_PATH at the working dir; the docs build keeps its hidden repo-relative setup.

…l all deps

The trend-inflation example includes utilities.jl and reads data.csv, which
aren't present on Colab. Add a notebook-only (#nb) block to script.jl that
downloads them and points INFL_PATH at the working dir; the docs build keeps
its hidden repo-relative setup. In the notebook postprocess, strip Literate
`#hide` lines (which otherwise leak the docs-only repo paths into the notebook),
and derive Pkg.add from the example's Project.toml deps so packages used only
by included files (CSV, CairoMakie, ...) are installed too.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

SSMProblems.jl/GeneralisedFilters documentation for PR #177 is available at:
https://TuringLang.github.io/SSMProblems.jl/GeneralisedFilters/previews/PR177/

@github-actions

Copy link
Copy Markdown
Contributor

SSMProblems.jl/SSMProblems documentation for PR #177 is available at:
https://TuringLang.github.io/SSMProblems.jl/SSMProblems/previews/PR177/

@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.63%. Comparing base (d2c19a5) to head (1187823).

Files with missing lines Patch % Lines
GeneralisedFilters/docs/literate.jl 0.00% 8 Missing ⚠️
SSMProblems/docs/literate.jl 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #177      +/-   ##
==========================================
+ Coverage   80.35%   80.63%   +0.28%     
==========================================
  Files          56       56              
  Lines        2866     2856      -10     
==========================================
  Hits         2303     2303              
+ Misses        563      553      -10     
Flag Coverage Δ
GeneralisedFilters 82.67% <0.00%> (+0.15%) ⬆️
SSMProblems 31.57% <0.00%> (+1.32%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@yebai yebai merged commit 984f33f into main Jun 24, 2026
19 of 20 checks passed
@yebai yebai deleted the colab-notebook-files branch June 24, 2026 08:08
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