Contingency is usually sized from the risk register and the maturity of the estimate: an early estimate needs more than one based on detailed design. It covers the known unknowns, not changes to scope, which go through variations.
Tracking contingency drawdown against the risks it was set aside for shows whether what's left is enough for what's still open.