<commit_before>## Version 3.0.2 (September 4, 2013)

- Fixed some false positives.
  - Basically, 3.0.1 was too eager to treat text as MacRoman or cp437 when
    three consecutive characters coincidentally decoded as UTF-8. Increased the
    cost of those encodings so that they have to successfully decode multiple
    UTF-8 characters.
  - See tests/test_real_tweets.py for the new test cases that were added as a<commit_msg>version 3.0.3<commit_after>## Version 3.0.3 (September 9, 2013)

- Fixed an ugly regular expression bug that prevented ftfy from importing on a
  narrow build of Python.

## Version 3.0.2 (September 4, 2013)

- Fixed some false positives.
  - Basically, 3.0.1 was too eager to treat text as MacRoman or cp437 when
    three consecutive characters coincidentally decoded as UTF-8. Increased the
    cost of those encodings so that they have to successfully decode multiple
    UTF-8 characters.
  - See tests/test_real_tweets.py for the new test cases that were added as a
{'fraction_non_alphanumeric': 0.05711422845691383, 'fraction_numerical': 0.04308617234468938, 'mean_word_length': 3.5825688073394497, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '708342', 'n_tokens_mistral': 324, 'n_tokens_neox': 276, 'n_words': 138}