<commit_before>##
##  PyGlow
##
##      python module to control Pimoronis PiGlow (http://shop.pimoroni.com/products/piglow)
##
##      * pulsetest.py - test the pulsing light feature
##

from pyglow import PyGlow

pyglow = PyGlow()

val = input("Maximum Brightness: ")
print("Pulsing 1 Light")
pyglow.pulse(1, val)
print("Pulsing Arms")
pyglow.pulse_arm(1, val)
pyglow.pulse_arm(2, val)
pyglow.pulse_arm(3, val)
print("Pulsing All")
pyglow.pulse_all(val)<commit_msg>turn everything off first in the tests, just in case<commit_after>##
##  PyGlow
##
##      python module to control Pimoronis PiGlow (http://shop.pimoroni.com/products/piglow)
##
##      * pulsetest.py - test the pulsing light feature
##

from pyglow import PyGlow

pyglow = PyGlow()

val = input("Maximum Brightness: ")
pyglow.all(0)
print("Pulsing 1 Light")
pyglow.pulse(1, val)
print("Pulsing Arms")
pyglow.pulse_arm(1, val)
pyglow.pulse_arm(2, val)
pyglow.pulse_arm(3, val)
print("Pulsing All")
pyglow.pulse_all(val)
{'fraction_non_alphanumeric': 0.14387031408308004, 'fraction_numerical': 0.011144883485309016, 'mean_word_length': 4.951807228915663, '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': '7096516', 'n_tokens_mistral': 410, 'n_tokens_neox': 392, 'n_words': 89}