@@ -175,7 +175,13 @@ class QcWarning
175175 recommendations : %w[ 9.1 ]
176176 } . merge ( @@link_to_edit_spelling ) ,
177177 # - Recommendation 9.1 covered in § Rule 9b
178- # - Recommendation 9.2 [TODO: issue #6]:
178+ # - Recommendation 9.2:
179+ # TODO [issue #205]: Discuss the default implementation, since it
180+ # involves Levenshtein ≥ 2 instead of 3, as stipulated in the SeqCode,
181+ # because the latter returns too many clearly distinct options. For
182+ # example, Burarchaeum would be "too similar" to: Halarchaeum,
183+ # Hadarchaeum, Salarchaeum, and Gugararchaeum, all of which are clearly
184+ # different
179185 similar_names_validly_published : {
180186 message : lambda { |w |
181187 similar = w . name . similar_names ( :valid ) . limit ( 5 )
@@ -189,7 +195,8 @@ class QcWarning
189195 } . merge ( @@link_to_edit_spelling ) ,
190196 similar_names_in_register_list : {
191197 message : lambda { |w |
192- similar = w . name . similar_names ( :register ) . limit ( 5 ) . map ( &:name )
198+ similar = w . name . similar_names ( :register ) . limit ( 5 )
199+ . map ( &:reload ) . map ( &:name_html )
193200 <<~MSG . html_safe
194201 Name is similar in spelling to: #{ similar . to_sentence } .
195202 Consider variations that are less prone to confusion
0 commit comments