Draft
Conversation
… loop closure, and test issues Co-authored-by: paulbkoch <46825734+paulbkoch@users.noreply.github.com>
… duplicate imports Co-authored-by: paulbkoch <46825734+paulbkoch@users.noreply.github.com>
Co-authored-by: paulbkoch <46825734+paulbkoch@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix bugs across the application
Fix bugs identified by static analysis
Jan 28, 2026
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #648 +/- ##
==========================================
- Coverage 72.76% 72.74% -0.02%
==========================================
Files 75 75
Lines 10447 10447
==========================================
- Hits 7602 7600 -2
- Misses 2845 2847 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Static analysis with ruff revealed multiple categories of bugs across the codebase. All critical issues resolved.
Undefined Variables (F821)
meta→trial.task.metain test_experiment.pyyin skipped testsException Handling (E722)
Replaced 7 bare
except:clauses with specific exception types:ValueErrorin utils/_misc.py (2×)Exceptionin test files and notebooks (5×)NaN Comparisons (PLW0177)
Fixed incorrect
is not np.nanpattern in notebooks:Loop Closure (B023)
Lambda in powerlift/run/main.py incorrectly captured loop variable:
Test Issues
_invalidsuffix)type(x) == dicttotype(x) is dict(E721)assert Falsewithraise AssertionError()for-Ocompatibility (B011)Exceptionto specificTypeErrorin pytest.raises (B017)Minor Fixes
assert 1 == 1(PLR0133)18 files modified across interpret-core, powerlift, and documentation notebooks.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.