Patent ID: 8849612

Claim:
A computer-implemented method for certifying a widget template having associated schema, comprising: selecting the widget template having associated parameter schema for certification; specifying a target value for an acceptable defect rate; iteratively generating, using a processor, a set of parameter values, the set of parameter values based on the associated parameter schema and varying from iteration to iteration, wherein for each iteration performing the steps: (1) an initial sample of (n) units to be tested is chosen, (2) parameter values are randomly generated from a set of all valid parameters as defined by the schema for the n units, (3) a validating parser is run to assure the parameters satisfy the schema constraints, (4) n widgets are instantiated using the widget template and the generated parameter values, (5) the n widgets are tested for defects to determine the sample defect rate)(0° , wherein the sample defect rate equals the number of defective widgets found divided by n, (6) the overall defect rate is estimated by extrapolating from the sample defect rate, (7) the sample defect rate is used to calculate a new value of n, (8) steps (2)-(7) are repeated until a suitable n is determined and sampling is completed, wherein the sample defect rate)(0° found at iteration i is used as the defect rate for computing n at iteration i+1, wherein a suitable n is determined and sample is completed if n at iteration i+1 is less than n at iteration i; and terminating the certification process and certifying the widget template if the sample defect rate is within the acceptable defect rate.