<commit_before><%= form_for adonis ||= Adonis.new do |f| %>
    <%= f.label :id %>
    <%= f.text_field :id, disabled: true %>

    <%= f.label :hostname %>
    <%= f.text_field :hostname %>

    <%= f.label :identifier %>
    <%= f.text_field :identifier %>

    <%= f.label :inventory_number %>
    <%= f.text_field :inventory_number %>

    <%= f.label :model %>
    <%= select_tag :model_id, options_for_select(Model.includes(:name, :id).all) %>

    <%= f.label :status %>
    <%= select_tag :status_id, options_for_select(Status.includes(:name, :id).all) %>
<commit_msg>Hide Adonis' id when creating new record<commit_after><%= form_for adonis ||= Adonis.new do |f| %>
    <% if adonis.id %>
        <%= f.label :id %>
        <%= f.text_field :id, disabled: true %>
    <% end %>

    <%= f.label :hostname %>
    <%= f.text_field :hostname %>

    <%= f.label :identifier %>
    <%= f.text_field :identifier %>

    <%= f.label :inventory_number %>
    <%= f.text_field :inventory_number %>

    <%= f.label :model %>
    <%= select_tag :model_id, options_for_select(Model.includes(:name, :id).all) %>

    <%= f.label :status %>
    <%= select_tag :status_id, options_for_select(Status.includes(:name, :id).all) %>

{'fraction_non_alphanumeric': 0.20098039215686275, 'fraction_numerical': 0.0, 'mean_word_length': 3.209621993127148, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '1983438', 'n_tokens_mistral': 503, 'n_tokens_neox': 440, 'n_words': 81}