<commit_before>
class Sequel::Model
  def update_with(hash, *selection)
    data = {}
    selection.flatten.each { |k| data[k] = hash[k] || hash[k.to_sym] }
    update(data)
  end
  def update_without(hash, *selection)
    selection.flatten.each { |k| hash.delete(k.to_s) if hash[k.to_s] }
    selection.flatten.each { |k| hash.delete(k.to_sym) if hash[k.to_sym] }
    update(hash)<commit_msg>Fixed that the hash parameter was broken by update_without.<commit_after>
class Sequel::Model
  def update_with(hash, *selection)
    data = {}
    selection.flatten.each { |k| data[k] = hash[k] || hash[k.to_sym] }
    update(data)
  end
  def update_without(hash, *selection)
    hash = hash.clone
    selection.flatten.each { |k| hash.delete(k.to_s) if hash[k.to_s] }
    selection.flatten.each { |k| hash.delete(k.to_sym) if hash[k.to_sym] }
    update(hash)
{'fraction_non_alphanumeric': 0.148711943793911, 'fraction_numerical': 0.0, 'mean_word_length': 3.803370786516854, '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': '2528189', 'n_tokens_mistral': 324, 'n_tokens_neox': 322, 'n_words': 65}