-----
Were you thinking they should be P(B|A) and P(B|B)?
Edit: People on HN made the same comments. Was the article wrong before and since corrected?