failureratio
Failureratio is a measurement used in reliability engineering, quality assurance, and data analysis to quantify the proportion of unsuccessful outcomes in a defined set of trials. It is defined as the number of failures divided by the total number of trials or observations. The value ranges from 0 to 1 (or 0% to 100%). In many contexts it approximates the probability that a given trial ends in failure, assuming the trials are representative and independent.
Calculating failureratio is straightforward: failureratio = failures / total_trials. It can be applied to manufacturing batches, software test
Limitations include sensitivity to sample size and selection bias, lack of information about failure timing, and
See also reliability, quality control, defect rate, failure rate, and mean time between failures.