<commit_before><?php

use CRM_Segmentation_ExtensionUtil as E;

/**
 * Collection of upgrade steps.
 */
class CRM_Segmentation_Upgrader extends CRM_Segmentation_Upgrader_Base {

  public function upgrade_0900() {
    $this->ctx->log->info('Updating segmentation schema to 0.9.0');
    $this->executeSqlFile('sql/create_activity_contact_segmentation.sql');
    return TRUE;
  }

  public function upgrade_0910() {
    $this->ctx->log->info('Updating segmentation schema to 0.9.1');
    $this->executeSqlFile('sql/add_bundle_and_text_block.sql');
    return TRUE;
  }

  public function upgrade_0920() {
    $this->ctx->log->info('Updating segmentation schema to 0.9.2');
    $this->executeSqlFile('sql/create_segmentation_exclude.sql');
    return TRUE;
  }

}<commit_msg>Update logging schema<commit_after><?php

use CRM_Segmentation_ExtensionUtil as E;

/**
 * Collection of upgrade steps.
 */
class CRM_Segmentation_Upgrader extends CRM_Segmentation_Upgrader_Base {

  public function upgrade_0900() {
    $this->ctx->log->info('Updating segmentation schema to 0.9.0');
    $this->executeSqlFile('sql/create_activity_contact_segmentation.sql');
    $logging = new CRM_Logging_Schema();
    $logging->fixSchemaDifferences();
    return TRUE;
  }

  public function upgrade_0910() {
    $this->ctx->log->info('Updating segmentation schema to 0.9.1');
    $this->executeSqlFile('sql/add_bundle_and_text_block.sql');
    $logging = new CRM_Logging_Schema();
    $logging->fixSchemaDifferences();
    return TRUE;
  }

  public function upgrade_0920() {
    $this->ctx->log->info('Updating segmentation schema to 0.9.2');
    $this->executeSqlFile('sql/create_segmentation_exclude.sql');
    $logging = new CRM_Logging_Schema();
    $logging->fixSchemaDifferences();
    return TRUE;
  }

}
{'fraction_non_alphanumeric': 0.13262451035254616, 'fraction_numerical': 0.023503077783995522, 'mean_word_length': 4.535603715170279, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 30, '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': '5602836', 'n_tokens_mistral': 604, 'n_tokens_neox': 560, 'n_words': 106}