I am presented with this problem:
The probability of a program having a bug and crashing is 0.2. There are two testing procedures that can be used to detect bugs. Each testing procedure utilizes 50% of the code and the first one detects 50% of all bugs occurring in its code area. The second testing procedure can detect 30% of the bugs occurring in its code area. Both procedures overlap in their evaluation on 50% of the code that they use during an evaluation and can therefore both detect the same bugs if they occur in this area (but do so in different, independent ways). Neither one of the tests will erroneously produce a bug warning and it is assumed that a major bug is equally likely in all code areas (none of these assumptions is assumed to be realistic for real software testing). How high is the probability that a program does not have a major bug if it passes both testing procedures?
From what I understand, I am trying to find out the following probability and have the following knowledge.
$$ P(C)=0.2\\P(T_{1_{pass}})=0.5*0.5=0.25\\P(T_{2_{pass}})=0.5*0.3=0.15\\ P(\lnot C\mid T_{1_{pass}}\land T_{2_{pass}})=\frac{P(T_{1_{pass}}\land T_{2_{pass}}\mid \lnot C)P(\lnot C)}{P(T_{1_{pass}}\land T_{2_{pass}})}\\ $$
Am I on the right track and understanding the problem statement correctly?