<commit_before>#include "ServiceFactory.h"

Characteristic** ServiceFactory::serviceCharMap[2];

Service *ServiceFactory::serviceInstanceMap[2] = {new DeviceService(), new SwitchService()};<commit_msg>Refactoring...<commit_after>#include "ServiceFactory.h"
#define NO_OF_SUPPORTED_SERVICES 2
#define NO_OF_SERVICES_INSTANTIATED 2

Characteristic** ServiceFactory::serviceCharMap[NO_OF_SERVICES_INSTANTIATED];

Service *ServiceFactory::serviceInstanceMap[NO_OF_SUPPORTED_SERVICES] = {
  new DeviceService(),
  new SwitchService()
};
{'fraction_non_alphanumeric': 0.11487758945386065, 'fraction_numerical': 0.007532956685499058, 'mean_word_length': 11.666666666666666, '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': '811445', 'n_tokens_mistral': 169, 'n_tokens_neox': 162, 'n_words': 25}