<commit_before>Make secure passphrases
=====

I am keeping it for educational purposes, as an example of bad user experience (the user needs to enter random stuff multiple times, instead of at once; the seed does not have a valid checksum). However, the code can be interesting, especially the algorithm of producing random numbers in range - `random_in_range()`.

 :point_right: This is my new key stretching script: [Doubleslow Keystretcher](https://github.com/vstoykovbg/doubleslow)
 
 :point_right: Simple script for creating random valid BIP39 seed with 24 words: [make-seed.py](https://github.com/vstoykovbg/doubleslow/blob/main/make-seed.py)

Rounding errors when using int()
=====

Sometimes `int( $a / $b )` produces rounding errors. For example: `int(-6.725/0.025)`.

Using `POSIX::floor( $a / $b )` is more reliable.

I corrected the script to use POSIX::floor() instead of int().<commit_msg>grammar<commit_after>Make secure passphrases
=====

I am keeping it for educational purposes, as an example of bad user experience (the user needs to enter random stuff multiple times, instead of at once; the seed does not have a valid checksum). However, the code can be interesting, especially the algorithm of producing random numbers in range - `random_in_range()`.

 :point_right: This is my new key stretching script: [Doubleslow Keystretcher](https://github.com/vstoykovbg/doubleslow)
 
 :point_right: Simple script for creating random valid BIP39 seeds with 24 words: [make-seed.py](https://github.com/vstoykovbg/doubleslow/blob/main/make-seed.py)

Rounding errors when using int()
=====

Sometimes `int( $a / $b )` produces rounding errors. For example: `int(-6.725/0.025)`.

Using `POSIX::floor( $a / $b )` is more reliable.

I corrected the script to use POSIX::floor() instead of int().
{'fraction_non_alphanumeric': 0.10771793448084398, 'fraction_numerical': 0.013325930038867296, 'mean_word_length': 4.794212218649518, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '998962', 'n_tokens_mistral': 556, 'n_tokens_neox': 517, 'n_words': 217}