<commit_before>//import App
import Vapor
import Dispatch

/// We have isolated all of our App's logic into
/// the App module because it makes our app
/// more testable.
///
/// In general, the executable portion of our App
/// shouldn't include much more code than is presented
/// here.
///
/// We simply initialize our Droplet, optionally
/// passing in values if necessary
/// Then, we pass it to our App's setup function
/// this should setup all the routes and special
/// features of our app
///
/// .run() runs the Droplet's commands,
/// if no command is given, it will default to "serve"
/*
 let config = try Config()
 try config.setup()
 
 let drop = try Droplet(config)
 try drop.setup()
 
 try drop.run()
 */

let drop = try Droplet()

DispatchQueue.main.sync {
    _ = ThermostatViewController()
    _ = RollerShuttersViewController()
}
    
    drop.log.enabled =  [.error, .fatal]
    try drop.run()
    




<commit_msg>try to fix rollers shutters sequential open/close<commit_after>//import App
import Vapor
import Dispatch

/// We have isolated all of our App's logic into
/// the App module because it makes our app
/// more testable.
///
/// In general, the executable portion of our App
/// shouldn't include much more code than is presented
/// here.
///
/// We simply initialize our Droplet, optionally
/// passing in values if necessary
/// Then, we pass it to our App's setup function
/// this should setup all the routes and special
/// features of our app
///
/// .run() runs the Droplet's commands,
/// if no command is given, it will default to "serve"
/*
 let config = try Config()
 try config.setup()
 
 let drop = try Droplet(config)
 try drop.setup()
 
 try drop.run()
 */

let drop = try Droplet()
var thermostatViewController : ThermostatViewController?
var rollerShuttersViewController : RollerShuttersViewController?

DispatchQueue.main.sync {
    thermostatViewController = ThermostatViewController()
    rollerShuttersViewController = RollerShuttersViewController()
}
    
    drop.log.enabled =  [.error, .fatal]
    try drop.run()
    





{'fraction_non_alphanumeric': 0.10999039385206533, 'fraction_numerical': 0.0, 'mean_word_length': 3.0057692307692307, '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': '1034114', 'n_tokens_mistral': 619, 'n_tokens_neox': 558, 'n_words': 244}