Skip to content

fix: skip slow sensitivity analysis example in CI#1420

Merged
SkBlaz merged 2 commits into
masterfrom
copilot/fix-examples-ci-failing
Jul 13, 2026
Merged

fix: skip slow sensitivity analysis example in CI#1420
SkBlaz merged 2 commits into
masterfrom
copilot/fix-examples-ci-failing

Conversation

Copilot AI commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

The examples CI was failing because example_dsl_sensitivity_multilayer.py consistently exceeded the 30-second per-example timeout. The file runs sensitivity analysis with n_samples=20 across multiple perturbation grid points — inherently too slow for CI.

Change

Added a SKIP_CI marker to the file's docstring so the CI runner skips it:

"""
Example: DSL Sensitivity Analysis - Multilayer Network Robustness
...

SKIP_CI: slow - Sensitivity analysis with multiple perturbation samples takes more than 30 seconds
"""

The CI runner (.github/scripts/run_examples.py) scans the first 50 lines of each example for this marker and skips matching files — same pattern already used by other compute-heavy examples in the repo.

Copilot AI linked an issue Jul 13, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix examples CI failing issue fix: skip slow sensitivity analysis example in CI Jul 13, 2026
Copilot AI requested a review from SkBlaz July 13, 2026 06:51
@SkBlaz
SkBlaz marked this pull request as ready for review July 13, 2026 17:30
@SkBlaz
SkBlaz merged commit 7f5cd0a into master Jul 13, 2026
38 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.

examples ci is failing

2 participants