Active evaluation of ranking functions based on graded relevance