Ideal Age Vector File Retention for Software Testing Storage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In software testing systems, managing historical version files is challenging due to limited storage capacity, as bugs may remain undetected for extended periods, and existing methods fail to optimally select files for deletion to retain relevant historical data for debugging.
Innovation Solution
The implementation of an ideal age vector based file retention method, which determines the probability distribution of bug ages and selects files for deletion based on a probability distribution function to ensure that retained files provide the best probability of identifying bug origins, using algorithms like the greedy algorithm to minimize the distance between the ideal and actual age vectors.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If a relatively large number of historical version files are retained to pinpoint when bugs were introduced, then debugging efficiency is improved, but storage capacity is exceeded
Solution Approach 1:
The patent changes the parameter of file retention from a static fixed number to a dynamic ideal age vector that adapts based on bug age probability distribution. This allows the system to retain files with ages that maximize debugging effectiveness while minimizing storage usage, resolving the contradiction between debugging efficiency and storage capacity.
Solution Approach 2:
The system dynamically adjusts which files to retain and delete based on the ideal age vector and actual age vector comparison. Instead of a static retention policy, the system continuously optimizes the file set to maintain the best probability distribution of bug ages, enabling adaptive resource allocation between storage and debugging efficiency.
2Quantity of substance
If files are deleted to free storage space, then storage capacity is managed, but the probability of identifying bug origins decreases
Solution Approach 1:
The patent transforms the file deletion decision from a random or simple FIFO approach to one based on comparing actual age vector with ideal age vector. The system calculates which file deletion minimizes the distance between actual and ideal distributions, ensuring that storage management does not significantly degrade the probability of identifying bug origins.
Solution Approach 2:
The system uses feedback from the bug age probability distribution to guide file deletion decisions. By continuously monitoring the actual age vector and comparing it with the ideal age vector, the system adjusts which files to delete to maintain optimal debugging capability while managing storage capacity.
3Quantity of substance
If existing methods are used to select files for deletion, then storage capacity is managed, but the optimal retention of relevant historical data is not achieved
Solution Approach 1:
The patent introduces a new parameter-based approach using ideal age vector derived from bug age probability distribution. Instead of using simple deletion criteria, the system optimizes file retention by minimizing the distance between actual and ideal age vectors, achieving better debugging efficiency for the same storage capacity.
Solution Approach 2:
The system performs preliminary calculation of the ideal age vector based on bug age probability distribution before making deletion decisions. This allows the system to proactively identify which files to retain for optimal debugging effectiveness, rather than reactively deleting files without considering their debugging value.
Data Source
AI summary
Embodiments relate to ideal age vector based file retention in a software testing system. An aspect includes determining an ideal age vector of historical bug age data corresponding to a software product in the software testing system, wherein the software testing system stores a plurality of version files of the software product. Another aspect includes based on receiving a new version file of the software product, determining a file to delete of the plurality of version files and the new version file based on the ideal age vector. Yet another aspect includes deleting the determined file to delete such that a number of remaining version files is equal to a number of the plurality of version files.


