<commit_before>- if form.object.send(name).file?
  - if form.object.send(name).styles.keys.include?(:thumb)
    - style = form.object.send(name).styles[:thumb]
    = image_tag form.object.send(name).url(:thumb), :size => style.geometry.match(/(\d+x\d+)/)[1]
  - else
    = image_tag form.object.send(name).ur
  [
  = form.object.send("#{name}_file_name")
  = form.object.send("#{name}_file_size")
  = form.object.send("#{name}_content_type")
  ]
- else
  [none]
%input{:type => "file", :name => "#{form.namespace}[#{name}]", :value => "#{form.object.send(name)}", :class => "text ui-widget-content ui-corner-all field-highlight"}<commit_msg>fixed image input for missing thumb style<commit_after>- if form.object.send(name).file?
  - if form.object.send(name).styles.keys.include?(:thumb)
    - style = form.object.send(name).styles[:thumb]
    = image_tag form.object.send(name).url(:thumb), :size => style.geometry.match(/(\d+x\d+)/)[1]
  - else
    = image_tag form.object.send(name).url
  [
  = form.object.send("#{name}_file_name")
  = form.object.send("#{name}_file_size")
  = form.object.send("#{name}_content_type")
  ]
- else
  [none]
%input{:type => "file", :name => "#{form.namespace}[#{name}]", :value => "#{form.object.send(name)}", :class => "text ui-widget-content ui-corner-all field-highlight"}
{'fraction_non_alphanumeric': 0.22578184591914569, 'fraction_numerical': 0.0015255530129672007, 'mean_word_length': 4.489539748953975, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '4037576', 'n_tokens_mistral': 477, 'n_tokens_neox': 472, 'n_words': 65}