1. 24 Mar, 2020 2 commits
  2. 06 Mar, 2020 1 commit
  3. 20 Jan, 2020 2 commits
  4. 17 Jan, 2020 1 commit
  5. 12 Jan, 2020 1 commit
  6. 05 Jan, 2020 1 commit
  7. 03 Jan, 2020 3 commits
  8. 12 Dec, 2019 1 commit
  9. 24 Oct, 2019 3 commits
  10. 18 Oct, 2019 1 commit
  11. 15 Oct, 2019 1 commit
  12. 09 Oct, 2019 1 commit
  13. 30 Sep, 2019 4 commits
  14. 11 Sep, 2019 1 commit
  15. 10 Sep, 2019 3 commits
  16. 06 Sep, 2019 1 commit
  17. 11 Aug, 2019 5 commits
  18. 09 Aug, 2019 2 commits
  19. 01 Aug, 2019 1 commit
  20. 26 Jul, 2019 1 commit
  21. 24 Jul, 2019 2 commits
  22. 16 Jul, 2019 2 commits
    • Christian Hergert's avatar
      tests: add test for mutable index scoring · fc852ee8
      Christian Hergert authored
      This helps us ensure that we are matching later in the string so that
      we can potentially gain a higher score (due to penalties in distance
      between match characters).
      fc852ee8
    • Christian Hergert's avatar
      search: find best match within corpus word · b0eff9ab
      Christian Hergert authored
      We might find a word that is a better match by starting with a character
      later on in the word. However, if the previous scan moved us past the
      character/pos tuple that would be necessary to match, we won't find it.
      
      This allows us to rollback the position to a location where we can once
      again match upcoming character for the current key-id. It's a small hit
      (walking backwards) to greatly increase the likelyhood we match a
      contiguous string.
      
      This tweaks the scoring a bit so that we can detect a perfect match (all
      characters one after another) without perturbing the score with the
      length. Such is necessary so that longer words with a perfect match
      do not score lower than shorter works with a partial match. However, the
      in-between states there are going to fall into the previous trap (which
      is probably fine for now).
      
      Fixes #41
      b0eff9ab