Text this: Optimum process targeting with error and error-free sampling inspection plan