The court shall award an execution for so much of the penal sum as is then due and payable in equity and good conscience for the breach of the condition or other non-performance of the contract. The amount shall be determined by the court, unless a jury trial was claimed under section sixty of chapter two hundred and thirty-one or is ordered by the court.
Mass. Gen. Laws ch. 235, § 10