Work Item Impact Prediction for Code Repository Files

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The process of updating software and navigating codebases for new developers is inefficient due to the time-consuming task of mapping natural-language terms to code constructs, leading to significant inefficiencies in software development and onboarding new hires.

Innovation Solution

Implementing a computer-implemented method using a trained machine learning model to determine correlation strengths between work items and files, enabling automatic prediction of which files will be modified, and applying machine learning models to generate representations of file modifications based on work items.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If natural-language terms are manually mapped to code constructs, then accuracy of file identification is improved, but time consumption increases significantly

Engineering Contradiction:
Improveaccuracy of file identificationVSAvoidtime consumption for mapping
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary actions by pre-processing work item descriptions to extract topics and pre-calculating correlation strengths between topics and files before the actual update process. This allows the machine learning model to quickly predict affected files without manual mapping during execution, thereby reducing time consumption while maintaining accuracy.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent replaces the manual mechanical process of mapping natural-language terms to code constructs with an automated machine learning system. The ML model automatically analyzes work item descriptions, extracts relevant topics, and predicts affected files based on learned correlations from training data, eliminating the need for manual term-to-code mapping while maintaining or improving accuracy.

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

2Reliability

If codebase traversal is performed to identify affected files, then completeness of impact analysis is improved, but processing speed deteriorates

Engineering Contradiction:
Improvecompleteness of impact analysisVSAvoidprocessing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system performs preliminary analysis by extracting topics from work item descriptions and pre-calculating correlation strengths between these topics and files in the codebase during training. This preliminary preparation enables the ML model to quickly predict affected files without performing complete codebase traversal during actual updates, thus maintaining completeness while improving processing speed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a conceptual copy or representation of the codebase structure and file relationships that can be efficiently queried by the machine learning model. Instead of traversing the actual codebase during updates, the system uses this pre-built representation to quickly identify affected files, maintaining completeness of analysis while dramatically improving processing speed.

Inventive Principle:
Principle #26Copying

3Measurement precision

If machine learning models are trained on work item data, then prediction accuracy of file modifications is improved, but initial setup time and computational resources increase

Engineering Contradiction:
Improveprediction accuracyVSAvoidinitial setup time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs the computationally intensive training of machine learning models as a preliminary action during system initialization or periodic updates. Once trained, the models can quickly predict affected files with high accuracy during actual work item processing. This separates the heavy initial setup cost from the operational phase, making the trade-off acceptable for ongoing productivity gains.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12586020B2Determining impacts of work items on repositories
Publication Date: 2026.03.24 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12586020B2 patent drawing
  • US12586020B2 patent drawing
  • US12586020B2 patent drawing

AI summary

A computer-implemented method, according to one approach, includes: receiving a new work item, and extracting topics from the new work item. A trained machine learning model is used to determine a first set of values representing correlation strengths between the new work item and the topics. Moreover, the first set of values are compared to a second set of values, where the second set of values represents correlation strengths between the topics and multiple files. A third set of values representing correlation strengths between the new work item and the multiple files is also generated, and output.