Yes, I know not being able to see the code means you can't fix it for me but I'm just looking for any clues because I'm stumped. I initially didn't catch how to handle multiple words with the same code correctly but that caused several other tests to fail, not just the very last "long code, large dictionary" (LCLD) test. That also made the result for the LCLD test way too small (by a factor of several hundred rather than ~27 as it is now).
In examining the LCLD test in the dev (#4) my code indicates that there are only two codes that represent 3 words (there are many that represent 2) and neither of those two code for 3 words appear in any messages (nor anywhere else in the code).
multicode #1: .--.-...---..- [WLEOU, PTVMU, PTSOU]
multicode #2: ..---..-.--.... [IMXADI, ITGRZI, UZNMH]
I've made my own test case to ensure that the 3 and larger codes would work but more than 2 isn't different than more 1 since I just have a count (actually the list of the words for debug/display purposes) which I multiply and then accumulate.