Code Review Status Tracking via Hierarchical Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current computer programming methods require manual line-by-line verification of code, which is time-consuming and prone to errors, lacking an efficient way to track review status of both models and generated code.
Innovation Solution
A system with a user interface that utilizes check boxes to visually indicate review status of model blocks and corresponding code lines, allowing reviewers to mark blocks and lines as reviewed, with automatic selection and marking of associated sections, enabling easy tracking of reviewed and unreviewed elements.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If manual line-by-line verification of code is performed, then code accuracy can be ensured, but the time required for review increases significantly
Solution Approach 1:
The patent segments the code review process into two distinct levels: block-level review (where reviewers mark entire code blocks as reviewed or need review) and line-level review (where specific lines within blocks can be individually marked). This segmentation allows reviewers to efficiently identify and focus only on problematic sections rather than manually scanning every line sequentially, thereby reducing overall review time while maintaining thoroughness through the hierarchical structure.
Solution Approach 2:
The system implements feedback mechanisms where reviewers can mark blocks and lines as reviewed or as needing review, and this status is automatically propagated throughout the codebase. When a block is marked as reviewed, all associated lines are automatically marked; conversely, when a line is marked as needing review, the parent block is flagged. This feedback loop enables continuous tracking of review progress and ensures that reviewers focus their attention on areas that need attention, reducing time spent on already-verified sections.
2Reliability
If comprehensive code review is performed, then error detection improves, but the complexity of tracking review status increases
Solution Approach 1:
The patent divides the codebase into hierarchical segments (blocks containing lines, modules containing blocks, systems containing modules) and assigns review status to each segment level. This segmentation simplifies tracking by allowing reviewers to operate at different granularities - they can mark entire blocks as reviewed without needing to track individual lines, or they can drill down to line level only when necessary. The hierarchical structure naturally organizes the complexity, making it manageable through the block-line-module-system hierarchy.
Solution Approach 2:
The patent introduces check boxes as intermediary elements between the reviewer and the code. These check boxes serve as visual mediators that clearly indicate review status without requiring complex tracking mechanisms. The check boxes are automatically updated based on the review actions taken, providing a simple visual interface that abstracts away the underlying complexity of tracking which lines and blocks have been reviewed. This intermediary layer simplifies the user interface and makes the system easier to operate.
3Productivity
If automated review tracking is implemented, then review progress monitoring improves, but system complexity increases
Solution Approach 1:
The system implements self-service functionality where the review status is automatically propagated through the codebase without requiring manual intervention. When a reviewer marks a block or line as reviewed, the system automatically updates the status of related blocks and lines through automated propagation rules. This eliminates the need for complex manual tracking mechanisms and reduces the burden on reviewers, as the system handles the bookkeeping automatically. The self-service approach improves productivity by providing real-time visibility into review progress while keeping the added complexity manageable through automated rather than manual operations.
Data Source
AI summary
A system associates at least one review indicator with at least one of multiple elements of a model, where the at least one review indicator indicates whether a corresponding element of the model has or has not been reviewed by a reviewer. The system further displays a status of the at least one review indicator in a user interface.


