I bought a container of dates (fruit) (containing $57$ dates in total). I started opening them to see if they're good or bad (do have warms inside or not), and after opening $7$ of them I found that the first $5$ were bad whereas the $2$ last were good.
I usually buy these dates' containers and I would estimate that one third of it are bad dates$^{(*)}$.
How can I estimate (or rather improve my estimation, I guess using Bayes' theorem) the number of bad dates I have in the container considering the evidence I have (i.e. $5$ first opened dates are good and last $2$ bad).
$^{(*)}$: I still buy them though because they're cheap ;-)
Spoiler alert: I can check the real numbers after I open all dates :-)