Language-Aware Code Change Review for Automated Error Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional change review processes are ineffective and time-consuming due to a lack of automated controls, making them vulnerable to malicious actors and prone to missed defects, especially in multi-language coding environments.

Innovation Solution

An automated change review system utilizing a language keyword library and code pattern repository, integrated with AI assistance, to provide end-to-end automated code review, optimizing performance and quality checks across various coding languages.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If automated change review system is implemented, then productivity is improved, but device complexity increases

Engineering Contradiction:
Improvecode review efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The automated change review system is segmented into distinct functional modules: code change detection module, coding language identification module (using keyword library and code patterns), error detection module, reviewer selection module, and remedial measure generation module. Each module performs a specific function, making the overall complex system manageable and maintainable while achieving high productivity through automation

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system introduces an automated review bot as an intermediary between code developers and human reviewers. This intermediary performs preliminary automated analysis using AI/ML models, keyword libraries, and code pattern repositories, filtering out obvious errors before human review. This mediator handles routine tasks, allowing human reviewers to focus on complex issues, thus improving productivity without requiring complete automation

Inventive Principle:
Principle #24Intermediary (Mediator)

2Manufacturing precision

If manual code review is performed, then manufacturing precision is maintained, but loss of time increases

Engineering Contradiction:
Improvecode qualityVSAvoidreview time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The system performs preliminary automated code analysis before human review by detecting coding language using keyword libraries and code patterns, identifying potential errors using AI/ML models, and generating preliminary remedial measures. This preliminary action filters out obvious issues and prepares structured information for reviewers, maintaining high code quality inspection while significantly reducing the time human reviewers need to spend on each change

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system replaces manual mechanical code inspection with automated electronic analysis using AI/ML models, keyword matching algorithms, and pattern recognition systems. These automated mechanisms can analyze code syntax, semantics, and patterns at machine speed, maintaining thorough quality checking while reducing review time from hours to minutes, with human reviewers only needed for final approval of complex cases

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Reliability

If automated error detection is implemented, then reliability is improved, but device complexity increases

Engineering Contradiction:
Improveerror detection accuracyVSAvoidanalysis system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system creates virtual copies of code semantics and structure through abstract syntax trees (ASTs) and intermediate representations. Instead of directly analyzing complex source code, the system works with simplified copied representations that preserve essential logic and structure while removing language-specific complexities. This copying approach enables reliable error detection across multiple coding languages without requiring equally complex analysis mechanisms for each language

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The system changes the parameters of code analysis by transforming source code into standardized intermediate representations with controlled vocabulary and structure. By parameterizing the analysis around language-agnostic features (control flow, data flow, type relationships) rather than language-specific syntax, the system achieves reliable error detection across diverse programming languages while keeping the core analysis engine relatively simple and maintainable

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12367277B2Systems and methods for automated change review for enhanced network and data security
Publication Date: 2025.07.22 BANK OF AMERICA CORP
  • US12367277B2 patent drawing
  • US12367277B2 patent drawing
  • US12367277B2 patent drawing

AI summary

Systems, methods, and computer program products are provided for providing coding change review. The method includes receiving a code change indicator. The code change indicator is associated with a changed code that has been changed by at least one user. The method also includes determining a coding language of the changed code based on at least one of a keyword library or a code pattern. The method further includes determining a change review indication based on the determined coding language. The change review indicator indicates whether one or more errors exist in the changed code. The method still further includes determining one or more change review actions to carry out based on the change review indication.