some fixes to compute_taxonomy_ratio.py to get tests passing and clarify docs

replaces #1774
oh, weird, okay