<commit_before>class RenameCropperDriverToDriverInNomenclatureHarversting < ActiveRecord::Migration
  def change
    reversible do |dir|
      dir.up do
        execute <<-SQL
        UPDATE
          intervention_parameters AS iparam
          SET reference_name = '<%= new_name %>'
          FROM interventions
          WHERE (iparam.reference_name = '<%= old_name %>'
            AND interventions.procedure_name = '<%= procedure_name %>'
            AND iparam.intervention_id = interventions.id)<commit_msg>Fixes migration class name of renaming_migration generator<commit_after>class Rename<%= old_name.camelcase %>To<%= new_name.camelcase %>In<%= procedure_name.camelcase %> < ActiveRecord::Migration
  def change
    reversible do |dir|
      dir.up do
        execute <<-SQL
        UPDATE
          intervention_parameters AS iparam
          SET reference_name = '<%= new_name %>'
          FROM interventions
          WHERE (iparam.reference_name = '<%= old_name %>'
            AND interventions.procedure_name = '<%= procedure_name %>'
            AND iparam.intervention_id = interventions.id)
{'fraction_non_alphanumeric': 0.0936936936936937, 'fraction_numerical': 0.0, 'mean_word_length': 2.8047945205479454, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 12, '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': '2977878', 'n_tokens_mistral': 319, 'n_tokens_neox': 290, 'n_words': 70}