<commit_before>.heading
  h5 title= dataset.geo_id
    = dataset.name

  em
    = I18n.t("user.created_by", group: dataset.creator)
    = " (#{dataset.id})"


- if @dataset_edit_form.errors.any?
  .errors
    - @dataset_edit_form.errors.full_messages.each do |message|
      .error.notice= message

= render 'shared/flash', flash: flash

.hidden
  = form_tag dataset_download_path(dataset), method: :get, class: 'download-dataset' do
    .hidden

  = form_tag dataset_clone_path(dataset, format: :js), remote: true, class: 'clone-dataset' do
    .hidden

= form_for @dataset_edit_form, url: dataset_edits_dataset_commits_path(dataset), remote: true, html: { class: "dataset_editor" } do |form|
  = form.hidden_field :dataset_id, value: dataset.id<commit_msg>Show dataset id and geo id when hovering a datasets title<commit_after>.heading
  h5 title= "Dataset: #{dataset.id}, GeoID: #{dataset.geo_id}"
    = dataset.name

  em
    = I18n.t("user.created_by", group: dataset.creator)

- if @dataset_edit_form.errors.any?
  .errors
    - @dataset_edit_form.errors.full_messages.each do |message|
      .error.notice= message

= render 'shared/flash', flash: flash

.hidden
  = form_tag dataset_download_path(dataset), method: :get, class: 'download-dataset' do
    .hidden

  = form_tag dataset_clone_path(dataset, format: :js), remote: true, class: 'clone-dataset' do
    .hidden

= form_for @dataset_edit_form, url: dataset_edits_dataset_commits_path(dataset), remote: true, html: { class: "dataset_editor" } do |form|
  = form.hidden_field :dataset_id, value: dataset.id
{'fraction_non_alphanumeric': 0.12802547770700637, 'fraction_numerical': 0.003821656050955414, 'mean_word_length': 4.417241379310345, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '637402', 'n_tokens_mistral': 539, 'n_tokens_neox': 529, 'n_words': 123}