Maybe `n` could be changed to something like `algorithm` or `algorithm_name` to further clarify the intent?