<commit_before>#!/usr/bin/python

import os
import sys
import math
from hippietrap.chandelier import Chandelier, BROADCAST
from time import sleep, time

device = "/dev/serial0"

ch = Chandelier()
ch.open(device)
ch.off(BROADCAST)
ch.calibrate_timers(BROADCAST)

print "Calibration is complete."<commit_msg>Fix calibrate script<commit_after>#!/usr/bin/python

import os
import sys
import math
from hippietrap.chandelier import Chandelier, BROADCAST
from time import sleep, time

device = "/dev/serial0"

ch = Chandelier()
ch.open(device)
ch.clear(BROADCAST)
ch.clear(BROADCAST)
ch.calibrate_timers(BROADCAST)

print "Calibration is complete."
{'fraction_non_alphanumeric': 0.10140405616224649, 'fraction_numerical': 0.0031201248049922, 'mean_word_length': 6.054945054945055, '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': '6242486', 'n_tokens_mistral': 239, 'n_tokens_neox': 231, 'n_words': 58}