Run SA tutorial reliability analysis - #80
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
bernalde
commented
May 26, 2026
bernalde
left a comment
Collaborator
Author
There was a problem hiding this comment.
- Blocking issues: none.
- Nonblocking issues: diagnostics drop target-specific repeat-count columns when target_confidence is customized.
- Questions: none.
- Tests run and outcomes:
python -m pytest tests/test_simulated_annealing_reliability.py tests/test_verify_tutorials.py: passed, 11 tests.python run_tests.py unit: passed, 405 tests, 12 warnings.python run_tests.py integration: passed, 11 tests.python scripts/verify_tutorials.py --output-dir /tmp/pr80-executed-notebooks: initial sandboxed run failed before notebook execution because Jupyter could not open local kernel sockets (PermissionError: [Errno 1] Operation not permitted); reran outside the sandbox and it passed, including the modified Simulated Annealing notebook.flake8 src --count --select=E9,F63,F7,F82 --show-source --statistics: passed, reported 0.flake8 src --count --exit-zero --max-complexity=10 --max-line-length=120 --statistics: exited 0 and reported existing advisory style findings.flake8 examples/Simulated_Annealing/reliability_analysis.py tests/test_simulated_annealing_reliability.py tests/test_verify_tutorials.py --count --select=E9,F63,F7,F82 --show-source --statistics: passed, reported 0.git diff --check upstream/main...HEAD: passed.
- Merge as-is: yes, I did not find any blocking issues. I am submitting this as COMMENT because the authenticated GitHub account is the PR author and GitHub does not allow approving your own PR.
Collaborator
Author
|
Follow-up pushed for the unresolved review thread. Commits pushed:
Main changes:
Tests run:
Comments intentionally not addressed:
Remaining risks or follow-up items:
|
bernalde
commented
May 27, 2026
bernalde
left a comment
Collaborator
Author
There was a problem hiding this comment.
- Blocking issues
- The inline comment on
select_reliability_diagnosticsshould be addressed before merge.
- Nonblocking issues
- None.
- Questions
- None.
- Tests run and outcomes
python -m pytest tests/test_verify_tutorials.py tests/test_simulated_annealing_reliability.pypassed, 14 tests.python run_tests.py unitpassed, 408 tests, 12 warnings.python scripts/verify_tutorials.py --output-dir /tmp/pr80-review-executed-notebookspassed.flake8 src --count --select=E9,F63,F7,F82 --show-source --statisticspassed with0.flake8 src --count --exit-zero --max-complexity=10 --max-line-length=120 --statisticsexited 0 with existing advisory style findings insrc/.git diff --check main...HEADpassed.gh pr checks 80 --repo usra-riacs/stochastic-benchmarkreports all checks passing.
- Merge recommendation
- I would not merge this until the blocking issue above is addressed.
Collaborator
Author
|
Follow-up pushed for the current review comments. Commits pushed:
Main changes:
Tests run:
Comments intentionally not addressed:
Remaining risks or follow-up items:
|
bernalde
commented
May 27, 2026
bernalde
left a comment
Collaborator
Author
There was a problem hiding this comment.
- Blocking issues
- None.
- Nonblocking issues
- None.
- Questions
- None.
- Tests run and outcomes
python -m pytest tests/test_simulated_annealing_reliability.py tests/test_verify_tutorials.pypassed, 15 tests.flake8 src --count --select=E9,F63,F7,F82 --show-source --statisticspassed with0.flake8 src --count --exit-zero --max-complexity=10 --max-line-length=120 --statisticsexited 0 and reported existing advisory style findings insrc/, matching CI's non-blocking configuration.git diff --check upstream/main...HEADpassed.python run_tests.py unitpassed, 409 tests, 12 warnings.python run_tests.py integrationpassed, 11 tests.python scripts/verify_tutorials.py --output-dir /tmp/pr80-review-final-executed-notebookspassed.gh pr checks 80 --repo usra-riacs/stochastic-benchmarkreports all checks passing.
- Merge recommendation
- The PR should be merged as-is. I am submitting this as COMMENT because the authenticated GitHub account is the PR author, and GitHub does not allow approving your own PR.
bernalde
commented
May 27, 2026
bernalde
left a comment
Collaborator
Author
There was a problem hiding this comment.
Review summary:
- Blocking issues: none.
- Nonblocking issues: none requiring inline comments.
- Questions: none.
- Tests run and outcomes:
python -m pytest tests/test_simulated_annealing_reliability.py tests/test_verify_tutorials.py -q- passed, 17 passed.python run_tests.py unit- passed, 411 passed, 12 warnings.PYTHONPATH=/home/bernalde/repos/stochastic-benchmark/src MPLCONFIGDIR=/tmp/matplotlib python scripts/verify_tutorials.py --manifest /tmp/pr80-review-manifest.json --output-dir /tmp/pr80-review-executed --timeout 600- passed when rerun outside the sandbox. The first sandboxed attempt failed because Jupyter could not create local kernel sockets (PermissionError: [Errno 1] Operation not permitted).flake8 src --count --select=E9,F63,F7,F82 --show-source --statistics- passed, output0.flake8 src --count --exit-zero --max-complexity=10 --max-line-length=120 --statistics- completed successfully with advisory warnings in existingsrcfiles.git diff --check origin/main...HEAD- passed.gh pr checks 80 --repo usra-riacs/stochastic-benchmark- all reported checks pass: codecov/patch, coverage-summary, integration-tests, test (3.10), test (3.11), test (3.12), and tutorial-smoke.
- Merge as-is: yes from a maintainer standpoint. I am submitting this as
COMMENTrather thanAPPROVEbecause the authenticated GitHub account is the PR author.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
examples/Simulated_Annealing/reliability_analysis.ipynb, that runs the repeat-reliability workflow as a reusable example.results/all_raw_runs.pklaggregate so it executes in fresh checkouts.Closes #75
Tests run
jq empty examples/Simulated_Annealing/reliability_analysis.ipynb examples/tutorials.json- passed.python -m pytest tests/test_verify_tutorials.py tests/test_simulated_annealing_reliability.py- passed, 14 tests.python scripts/verify_tutorials.py --manifest /tmp/pr80-sa-companion-tutorial.json --output-dir /tmp/pr80-sa-companion-executed-v2- passed; executed the companion reliability notebook.python run_tests.py unit- passed, 408 tests, 12 warnings.python scripts/verify_tutorials.py --output-dir /tmp/pr80-full-tutorials-with-companion-v2- passed; executed all runnable self-contained tutorial notebooks and skipped the configured slow notebooks.git diff --check- passed.Notes
python run_tests.py coveragewas not run locally to avoid generating coverage artifacts; CI coverage jobs cover that path.