A BAYESIAN QUALITY ASSURANCE MODEL FOR A MULTI-STAGE PRODUCTION PROCESS