Repository navigation
Replace 8 more NRA constant_subtype_answer booleans with polymorphism - #2239
Merged
Merged
Conversation
… (Batch 31) - ToolCallStatus: replace busy/boundary flags with ActiveToolCallStatus/FinishedToolCallStatus activity() overrides (declared_name=None preserves exact 4 ACP members). - OffScreenRunway/Runway: replace on_screen with prepare_source(preparation, history). - InputModality: replace describes_inline() with row_text(label, description) and row_subtext(description). - LineLink/UnunderlinedLink: replace underlined with rich_underline and css_text_decoration. - NotificationStatus/UnavailableNotifications: replace unavailable with role property override. - PendingWork/NoPendingWork: replace shown() with await_on(surface, awaitable). - CallPolicy/UnavailablePolicy: replace allows_calls() with require_callable(message) and forbid_calls(message). - SidebarGroup/ChannelGroup: replace navigation_header with header_navigation_rows() and header_rows_for_target(target). - Cached NRA raw findings: 450 -> 443 (-102 from 545; constant_subtype_answer: 13 -> 6, 0 sibling_override regressions).
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.
Batch 31 NRA structural slop sweep (450 -> 443 raw findings; -102 total from 545;
constant_subtype_answer: 13 -> 6, 0sibling_overrideregressions):ToolCallStatus,OffScreenRunway/Runway,InputModality,LineLink,NotificationStatus,PendingWork,CallPolicy, andSidebarGroup/ChannelGroup.Verified with
qt_inherit_ratchet.py(0/0/0/0/0),shadow_check.py(0),guarded_imports.py(0), runtime invariant assertions, and 137/137tests/guards/passing.