<commit_before>import time
import RPi.GPIO as GPIO
from audio.playlist import PlaylistSoundCloud


def switchRelais():
	GPIO.setmode(GPIO.BOARD)
	GPIO.setup(11, GPIO.OUT)
	GPIO.output(11, GPIO.HIGH)


def doAlarm(sleepApp):
	import random
	for i in range(1):
		start = time.time()

		warm = 0.0
		cold = 0.0

		while warm <= 0.4:
			sleepApp.led.setLum(warm, cold)
			time.sleep(0.3)
			warm += 0.0005

		while cold <= 0.2:
			sleepApp.led.setLum(warm, cold)
			time.sleep(0.3)<commit_msg>New changelist<commit_after>import time, logging
import RPi.GPIO as GPIO
from audio.playlist import PlaylistSoundCloud


def switchRelais():
	logging.info("Alarm")
	GPIO.setmode(GPIO.BOARD)
	GPIO.setup(11, GPIO.OUT)
	GPIO.output(11, GPIO.HIGH)


def doAlarm(sleepApp):
	import random
	for i in range(1):
		start = time.time()

		warm = 0.0
		cold = 0.0

		while warm <= 0.4:
			sleepApp.led.setLum(warm, cold)
			time.sleep(0.3)
			warm += 0.0005

		while cold <= 0.2:
			sleepApp.led.setLum(warm, cold)
			time.sleep(0.3)
{'fraction_non_alphanumeric': 0.13452027695351138, 'fraction_numerical': 0.043521266073194856, 'mean_word_length': 3.517857142857143, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4568363', 'n_tokens_mistral': 469, 'n_tokens_neox': 398, 'n_words': 92}