yard compost may and may not, it sort of depends on whats in the compost. like the compost i made this year was mainly had fuits in it and some veg so it didnt seem to drain well so i mixed in potting mix to get it to drain.
just remember that if it dosent drain you more likely to get root rot wich is no buna