<commit_before>- content_for :title do
  Setup
  = [ provider.title, metric.title ].join(" - ")
end
.container
  .row
    %h1
      = provider.title
      = metric.title
      = goal.delete_link if goal.persisted?
    .col-lg-4
      %h3
        Decription
      = metric.description
  .row
    .col-lg-4
      %h3 Goal Configuration
      = form_for goal, {method: :post, url: upsert_goals_path(provider.name, metric.key), html: {role: :form}}  do |f|
        .form-group
          = f.label :beeminder_slug
          = f.select :slug, available_goal_slugs, { prompt: "Select Beeminder Slug"},{ class: "form-control" }
        = f.fields_for :params do |pf|
          - extra_configuration = self.instance_exec(credential.client, f.object.params, pf, &metric.configuration)
          - extra_configuration.each do |(label, input)|
            .form-group
              = pf.label label
              = input
        .form-group<commit_msg>Fix goal description width in edit page<commit_after>- content_for :title do
  Setup
  = [ provider.title, metric.title ].join(" - ")
end
.container
  .row
    %h1
      = provider.title
      = metric.title
      = goal.delete_link if goal.persisted?
    .col-lg-9
      %h3
        Decription
      = metric.description
  .row
    .col-lg-4
      %h3 Goal Configuration
      = form_for goal, {method: :post, url: upsert_goals_path(provider.name, metric.key), html: {role: :form}}  do |f|
        .form-group
          = f.label :beeminder_slug
          = f.select :slug, available_goal_slugs, { prompt: "Select Beeminder Slug"},{ class: "form-control" }
        = f.fields_for :params do |pf|
          - extra_configuration = self.instance_exec(credential.client, f.object.params, pf, &metric.configuration)
          - extra_configuration.each do |(label, input)|
            .form-group
              = pf.label label
              = input
        .form-group
{'fraction_non_alphanumeric': 0.11962224554039874, 'fraction_numerical': 0.005246589716684155, 'mean_word_length': 2.1313628899835795, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2950180', 'n_tokens_mistral': 615, 'n_tokens_neox': 614, 'n_words': 141}