Fixed price
You know the number and the date before the first line of code.
More
It requires a scope that can actually be closed, which in practice always means going through discovery first. Without it, fixed price is a quote for risk rather than for work — and either we overpay for the risk or you overpay for the buffer.