<commit_before>part of client;

class PainAnalysingSystem extends VoidEntitySystem {
  TagManager tm;
  Mapper<Message> mm;
  bool successfulCry = false;

  AnalyserNode node;
  Uint8List byteFrequencyData = new Uint8List(frequencyBinCount);

  PainAnalysingSystem(this.node);

  @override
  void processSystem() {
    node.getByteFrequencyData(byteFrequencyData);

    var player = tm.getEntity(playerTag);
    if (!gameState.rageMode &&
        byteFrequencyData[100] < 10 &&
        byteFrequencyData[5] > 100 &&
        byteFrequencyData[22] < byteFrequencyData[33] &&
        byteFrequencyData[55] > 40) {
      if (!successfulCry) {<commit_msg>minor modification to crydetection<commit_after>part of client;

class PainAnalysingSystem extends VoidEntitySystem {
  TagManager tm;
  Mapper<Message> mm;
  bool successfulCry = false;

  AnalyserNode node;
  Uint8List byteFrequencyData = new Uint8List(frequencyBinCount);

  PainAnalysingSystem(this.node);

  @override
  void processSystem() {
    node.getByteFrequencyData(byteFrequencyData);

    var player = tm.getEntity(playerTag);
    if (!gameState.rageMode &&
        byteFrequencyData[100] < 30 &&
        byteFrequencyData[5] > 100 &&
        byteFrequencyData[22] < byteFrequencyData[33] &&
        (byteFrequencyData[55] > 40 || byteFrequencyData[80] > byteFrequencyData[57])) {
      if (!successfulCry) {
{'fraction_non_alphanumeric': 0.09985422740524781, 'fraction_numerical': 0.030612244897959183, 'mean_word_length': 4.161654135338346, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, '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': '1536308', 'n_tokens_mistral': 465, 'n_tokens_neox': 410, 'n_words': 85}