<commit_before><p>
    <strong>Title:</strong>
    <%= @teacher.title %>
</p>

<p>
    <strong>Text:</strong>
    <%= @teacher.text %>
</p>

<%= link_to 'Back', teachers_path %>
| <%= link_to 'Edit', edit_teacher_path(@teacher) %><commit_msg>Added the LanguageProfile edit form<commit_after><p>
    <strong>Title:</strong>
    <%= @teacher.title %>
</p>

<p>
    <strong>Text:</strong>
    <%= @teacher.text %>
</p>

<h2>Teaches:</h2>
<% @teacher.language_profiles.each do |language_profile| %>
    <p>
        <strong><%= language_profile.language %>:</strong>
        <%= language_profile.body %>
    </p>
<% end %>

<h2>Add a language_profile:</h2>
<%= form_for([@teacher, @teacher.language_profiles.build]) do |f| %>
    <p>
        <%= f.label :language %><br>
        <%= f.text_field :language %>
    </p>
    <p>
        <%= f.label :body %><br>
        <%= f.text_area :body %>
    </p>
    <p>
        <%= f.submit %>
    </p>
<% end %>

<%= link_to 'Back', teachers_path %>
| <%= link_to 'Edit', edit_teacher_path(@teacher) %>
{'fraction_non_alphanumeric': 0.2304725168756027, 'fraction_numerical': 0.003857280617164899, 'mean_word_length': 3.0077220077220077, 'pattern_counts': {'":': 0, '<': 54, '<?xml version=': 0, '>': 54, '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': '2267091', 'n_tokens_mistral': 437, 'n_tokens_neox': 399, 'n_words': 68}