Coffee and beer have no bishulei goyim, because the water is primary. If a Jew cooked food to a third, a non-Jew may finish it. As Maran writes in the Shulchan Aruch, following Rashi and the Rashba, this is ma'achal ben Derosai, though the Rambam requires half. As Beit Yosef and Kaf HaChaim explain, that half is a Shabbat stringency.