<commit_before>nback
=====

JavaScript Implementation of the PNAS Dual N-Back Psychological Study: http://www.pnas.org/content/105/19/6829.full.pdf+html

This code uses jQuery for keypresses and UI, Pure for button styling, and howler.js for cross-browser audio playback. The audio clips are from the freesound.org set "The Alphabet" by user Corsica_S.

Dual N-Back is based on the concepts in the above study. A square is flashed in one of 8 positions on a screen, and simultaneously one of 8 consonants is played back in the participant's ear. The user must press a key if the visual cue matches the one presented n times before, and another key if the audio cue matches in the same way. Over time the value of n is increased, as is the difficulty of the game. In studies this sort of training has been shown to increase scores on tests of fluid intelligence. These concepts are largely the basis for the slew of fad "brain training" websites that have been cropping up.
<commit_msg>Added demo link to readme<commit_after>nback
=====

JavaScript Implementation of the PNAS Dual N-Back Psychological Study: http://www.pnas.org/content/105/19/6829.full.pdf+html

This code uses jQuery for keypresses and UI, Pure for button styling, and howler.js for cross-browser audio playback. The audio clips are from the freesound.org set "The Alphabet" by user Corsica_S.

Dual N-Back is based on the concepts in the above study. A square is flashed in one of 8 positions on a screen, and simultaneously one of 8 consonants is played back in the participant's ear. The user must press a key if the visual cue matches the one presented n times before, and another key if the audio cue matches in the same way. Over time the value of n is increased, as is the difficulty of the game. In studies this sort of training has been shown to increase scores on tests of fluid intelligence. These concepts are largely the basis for the slew of fad "brain training" websites that have been cropping up.

Check out the live demo at http://corporationenterprises.com/nback/

{'fraction_non_alphanumeric': 0.04583130180399805, 'fraction_numerical': 0.010726474890297415, 'mean_word_length': 4.288659793814433, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1475182', 'n_tokens_mistral': 559, 'n_tokens_neox': 511, 'n_words': 327}