<commit_before>#!/usr/bin/perl 
#===============================================================================
#
#         FILE: RPiManager.pl
#
#        USAGE: ./RPiManager.pl  
#
#  DESCRIPTION: Program to manage some stuff on a Raspberry Pi and have fun
#
#      OPTIONS: ---
# REQUIREMENTS: ---
#         BUGS: ---
#        NOTES: ---
#       AUTHOR: <NAME>
# ORGANIZATION: 
#      VERSION: 1.0
#      CREATED: 01/08/2014 10:59:45 PM
#     REVISION: ---
#===============================================================================

#===============================================================================
#TODO:
#Make modules configurable -> config file
#TODO: 
#find a decent way to block certain output (per Module/Type) for a time
#TODO: 
#use Carp
#add fault tolerance / error handling
#use Exporter 
#Unit Tests
#------
#Modules: PiFace / 433MHz / GPIO / Sensors / Console / DB / File
#Notifier: encapsulate IO::Async implementation
#Modules: implement Functionality 
#------
#Main/Reactor: build a state machine for handling stuff
# keep main state
# manage Modules and Modules
#===============================================================================
#other modules with PiFace output:
#temperature load audio_volume
#------<commit_msg>Added some comments for later<commit_after>#!/usr/bin/perl 
#===============================================================================
#
#         FILE: RPiManager.pl
#
#        USAGE: ./RPiManager.pl  
#
#  DESCRIPTION: Program to manage some stuff on a Raspberry Pi and have fun
#
#      OPTIONS: ---
# REQUIREMENTS: ---
#         BUGS: ---
#        NOTES: ---
#       AUTHOR: <NAME>
# ORGANIZATION: 
#      VERSION: 1.0
#      CREATED: 01/08/2014 10:59:45 PM
#     REVISION: ---
#===============================================================================

#===============================================================================
#TODO:
#Make modules configurable -> config file
#TODO: 
#MPD module
#TODO: 
#find a decent way to block certain output (per Module/Type) for a time
#TODO: 
#use Carp
#add fault tolerance / error handling
#use Exporter 
#Unit Tests
#TODO:
#Status/Fehler auf oberen LEDs anzeigen
#------
#Modules: PiFace / 433MHz / GPIO / Sensors / Console / DB / File
#Notifier: encapsulate IO::Async implementation
#Modules: implement Functionality 
#------
#Main/Reactor: build a state machine for handling stuff
# keep main state
# manage Modules and Modules
#===============================================================================
#other modules with PiFace output:
#temperature load audio_volume
#------
{'fraction_non_alphanumeric': 0.34096983581519663, 'fraction_numerical': 0.014509354715540282, 'mean_word_length': 3.943396226415094, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '1728557', 'n_tokens_mistral': 769, 'n_tokens_neox': 675, 'n_words': 217}