<commit_before>#!/usr/bin/env python3
# import rcpy libraries
import rcpy
import rcpy.led as led
import time

ON = 1
OFF = 0

# blink leds
green = led.LED(0,ON)
red = led.LED(1,OFF)


# set state to rcpy.RUNNING
rcpy.set_state(rcpy.RUNNING)



# welcome message
print("Green and red LEDs should be flashing")


try:

    # keep running
    while True:
        red.toggle()
        green.toggle()
        # sleep some
        time.sleep(.5)<commit_msg>Upgraded rcpy_test_leds.py to use new chip, line format<commit_after>#!/usr/bin/env python3
# import rcpy libraries
import rcpy
import rcpy.led as led
import time

ON = 1
OFF = 0

# blink leds
green = led.LED(2,3,ON)
red = led.LED(2,2,OFF)


# set state to rcpy.RUNNING
rcpy.set_state(rcpy.RUNNING)



# welcome message
print("Green and red LEDs should be flashing")


try:

    # keep running
    while True:
        red.toggle()
        green.toggle()
        # sleep some
        time.sleep(.5)
{'fraction_non_alphanumeric': 0.10548523206751055, 'fraction_numerical': 0.014767932489451477, 'mean_word_length': 2.8421052631578947, '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': '3680933', 'n_tokens_mistral': 354, 'n_tokens_neox': 334, 'n_words': 100}