What is the procedure when aspects of a completed project do not meet the standards set out in the contract but are not rejected due to circumstances surrounding the work?

In such situations the adjustment (abatement) of the price paid might form the basis of the claim.