up to scratch

Etymology
From in the sense of a starting line, as in boxing.

Adjective

 * 1)  sufficient; adequate; of acceptable or satisfactory quality