You can define one based on passed tests, code coverage, other objectives, or weighted combinations without too much loss of generality.