Mary, John and Victor are programmers in a company. They work together to code for a project. Mary has written 60% of the code while John has written 30% and Victor remaining 10%. Their work was then evaluated. Mary's code contained only 3% of errors, John has 7% errors and Victor has 5% of errors.
How many percent of the code is wrong? my answer is the total errors which is 15%
When a bug was found, what is the probability that the bug was caused by Mary, John or Victor? 1. Probability of bug found given that it was caused by Mary? 2. Probability of a bug found given that it was caused by John? 3. Probability of a bug found given that it was caused by Victor?
I am not sure how to plug in the numbers. Thanks