words drops duplicates before the cut to 64 characters. Topics "a"×64 + "x" and "a"×64 + "y" both pass, and both become "a"×64, so the profile holds the same topic twice. tests/group_config.rs:95 cuts only one long topic.
How to see it
Read against docs/fresh at 4636e6d, the code at: group_config.rs:136-147 (words), :226-229. Paths are under crates/group-host/src unless they say otherwise. Severity: low.
What you expected
Cut each word to its length first, then drop duplicates (pass the cut into words).
Where
The host, as built from 4636e6d. Found while checking the docs against the code.
What happened
wordsdrops duplicates before the cut to 64 characters. Topics"a"×64 + "x"and"a"×64 + "y"both pass, and both become"a"×64, so the profile holds the same topic twice. tests/group_config.rs:95 cuts only one long topic.How to see it
Read against
docs/freshat 4636e6d, the code at: group_config.rs:136-147 (words), :226-229. Paths are undercrates/group-host/srcunless they say otherwise. Severity: low.What you expected
Cut each word to its length first, then drop duplicates (pass the cut into
words).Where
The host, as built from 4636e6d. Found while checking the docs against the code.