<commit_before># for more details see: http://emberjs.com/guides/models/defining-models/

<%= application_name.camelize %>.<%= class_name %> = DS.Model.extend<%= "()" if attributes.length == 0 %>
<% attributes.each_index do |idx| -%>
  <%= attributes[idx][:name].camelize(:lower) %>: DS.attr('<%= attributes[idx][:type] %>')
<% end -%><commit_msg>Updated Coffeescript template for model<commit_after># for more details see: http://emberjs.com/guides/models/defining-models/

<%= application_name.camelize %>.<%= class_name %> = DS.Model.extend<%= "()" if attributes.length == 0 %>
<% attributes.each do |attribute| -%>
  <%= attribute[:name].camelize(:lower) %>: <%=
  if %w(references belongs_to).member?(attribute[:type])
    "DS.belongsTo '%s.%s'" % [application_name.camelize, attribute[:name].camelize]
  else
    "DS.attr '%s'" % attribute[:type]
  end
  %>
<% end -%>
{'fraction_non_alphanumeric': 0.2208237986270023, 'fraction_numerical': 0.002288329519450801, 'mean_word_length': 5.0344827586206895, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '5513067', 'n_tokens_mistral': 326, 'n_tokens_neox': 302, 'n_words': 52}