Principles of quality assessment