GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
I ran into an issue with the completer: in some corner cases, when the phrases are long, the while loop in getWordCompletions doesn't end. There's no firm invariant that ensures that the loop will be eventually terminated. Also, since there's a for loop on entries, I don't think there's a need for the while loop. I implemented a correction locally, I can share if relevant