<commit_before>#pragma once

#include <string_view>

bool register_task(std::string_view name, void (*closure)());
int run_all_tasks();

#define TASK_DECL(Name)\
class _ConcurrencyTask_##Name final {\
public:\
  void _run();\
  static void _run_task() {\
    _ConcurrencyTask_##Name t;\
    t._run();\
  }\
};\
bool _ConcurrencyTask_##Name_ignored = register_task(#Name, &_ConcurrencyTask_##Name::_run_task);\
void _ConcurrencyTask_##Name::_run()<commit_msg>:construction: chore(task): updated the task declaration<commit_after>#pragma once

#include <string_view>

class FakeTask {};

bool register_task(std::string_view name, void (*closure)());
int run_all_tasks();

#define TASK_DECL(Name)\
class _ConcurrencyTask_##Name final : public FakeTask {\
public:\
  void _run();\
  static void _run_task() {\
    _ConcurrencyTask_##Name t;\
    t._run();\
  }\
};\
bool _Ignored_ConcurrencyTask_##Name = register_task(#Name, &_ConcurrencyTask_##Name::_run_task);\
void _ConcurrencyTask_##Name::_run()
{'fraction_non_alphanumeric': 0.15546639919759278, 'fraction_numerical': 0.0, 'mean_word_length': 6.179856115107913, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4601023', 'n_tokens_mistral': 341, 'n_tokens_neox': 337, 'n_words': 70}