Skip to content

fix: pin python dependencies and update netlify config for pyodide build#58

Merged
tupui merged 17 commits into
Simulation-Decomposition:mainfrom
justushelo:heterogeneity-index
Jun 8, 2026
Merged

fix: pin python dependencies and update netlify config for pyodide build#58
tupui merged 17 commits into
Simulation-Decomposition:mainfrom
justushelo:heterogeneity-index

Conversation

@justushelo
Copy link
Copy Markdown
Contributor

@justushelo justushelo commented Jun 8, 2026

Local build runs without conflicts. Wheels compile correctly and no BadZipFile anymore to be seen in Netlify.

build_wasm.sh

  • Ensuring dependencies work with pyodide conversion.

netlify.toml

  • Adding NODE_VERSION = "20" and CACHE_VERSION = "2" to ensure deterministic builds on the CI runner.
  • Added targeted rules for /.whl files to ensure they are correctly served as application/zip with open CORS permissions () for cross-origin fetching.

justushelo added 16 commits May 9, 2026 08:32
- Add heterogeneity indices function.
- Add functionality for printing indices and legend. sensitivity_indices.py edited to get var_names for printing.
- Added guardrails for output parameter in decomposition.py
- Added tests for printing legend.
- Initialize decomposition in dashboard with 0.8*sum(si). Other variables still can be chosen after this.
- Updated docs to print correct second-order effects.
Closes Simulation-Decomposition#46, Closes Simulation-Decomposition#47
- Remove decomposition guardrail.
- Use one print for print_indices.
- Add typing info to visualization.py
- Specify decomposition in visualization.py
- Add Ipython into pyproject.toml and add guardrail for import.
- Add stacklevel=2 into warnings.
- Make a function for plotting heterogeneity indices.
- Work with ax instead of plt.
- Delete unnecessary +.
- Add logging instead of print in heterogeneity_indices.py.
- Set import order correct.
Closes Simulation-Decomposition#46, Closes Simulation-Decomposition#47.
- Combine if/elif structure in visualization.py.
- Add more descriptive ipython dependency into pyproject.toml.
- Add test for two_visualization_output if decomposition is missing.
- Correct import order.
Closes Simulation-Decomposition#46, Closes Simulation-Decomposition#47
- Fix two_output_visulalization order.
- Edit heterogeneity_indices plot title to include heterogeneity indice value.
- Fix heterogeneity_indices test to fit title logic.
- Fix color ordering with Python workflow and dashboard.
- Add tests to ensure correct ordering of color and shades.
- Update structural_reliability.ipynb with correct colors.
- Ensuring explained_variance_80 works as it should.
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 8, 2026

Deploy Preview for simdec-io ready!

Name Link
🔨 Latest commit ae64d29
🔍 Latest deploy log https://app.netlify.com/projects/simdec-io/deploys/6a264df2f6a6410008a9c9d4
😎 Deploy Preview https://deploy-preview-58--simdec-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Member

@tupui tupui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for now to unlock.

In the future we want to instead use a lockfile (with UV) and for node we want to use the latest.

@tupui tupui merged commit c65fb9a into Simulation-Decomposition:main Jun 8, 2026
5 checks passed
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.

2 participants