add `rank_algorithm` doc