The partners must agree at the time of contract on how actual profit will be shared. The ratio cannot be left completely undefined.
The agreement does not need to predict the amount of profit; it needs to define the proportion each partner will receive if profit actually arises.
This matters because the contract fixes a method of sharing actual profit, not a guaranteed amount. The ratio tells us how profit will be divided after the business result is known.