<commit_before>part of ChattyWorker;

abstract class Worker {

  ReceivePort response;
  SendPort request;
  final name;
  bool canWork = false;

  Worker() : this.called(uuid.v4());

  Worker.called(this.name);

  void startWorking(SendPort request) {
    response = new ReceivePort();
    this.request = request;
    request.send(response.sendPort);
    response.listen((message) {
      if (canWork) work(message);
      if (message == Order.STARTWORKING) {
        canWork = true;
        speak(Status.WORKING);
      }
      work(message);
    });
  }

  void work(message);

  void speak(message) {
    request.send(message);
  }<commit_msg>fixing stupid error which caused twice more message<commit_after>part of ChattyWorker;

abstract class Worker {

  ReceivePort response;
  SendPort request;
  final name;
  bool canWork = false;

  Worker() : this.called(uuid.v4());

  Worker.called(this.name);

  void startWorking(SendPort request) {
    response = new ReceivePort();
    this.request = request;
    request.send(response.sendPort);
    response.listen((message) {
      if (canWork) work(message);
      if (message == Order.STARTWORKING) {
        canWork = true;
        speak(Status.WORKING);
      }
    });
  }

  void work(message);

  void speak(message) {
    request.send(message);
  }
{'fraction_non_alphanumeric': 0.12128146453089245, 'fraction_numerical': 0.0015255530129672007, 'mean_word_length': 3.0619195046439627, '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': '604216', 'n_tokens_mistral': 421, 'n_tokens_neox': 401, 'n_words': 92}