


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



b. When some Web Services are not reliable, the majority vote will still be correct. Why? This is because right answers converge, while wrong answers diverge. c. When majorities Web Services are wrong + wrong answers converge + the most reliable Web Services are wrong at current test. (If we add weight rule on Web Services here.) Can we do better? The answer is yes, we can do better if we use the prior reliability of Web Service. That is the weight of a given Web Service. Suppose Web Service1 has passed 0 Test Cases. Web Service2 has passed 10 Test Cases. Web Service3 has passed 100 Test Cases. Web Service1 has passed 1,000 Test Cases. Web Service1 has passed 10,000 Test Cases. Which Web Service is more reliable? We trust the Web Service that passed more Test Cases. This is called “Weight vote”. Web Service j’s vote will be weighted against others by their weights. How do you design the “weight”? A case: Suppose Web Servicej is wrong and Web Servicek is actually correct, then the right answer can be outvoted.