<commit_before>= render partial: 'shared/projectbar', locals: { project: @task.project }
.row
  .col-sm-4
    = render partial: 'shared/taskstatuspanel', locals: { task: @task, workload_voted: @workload_voted }
  .col-sm-8
    = render partial: 'shared/taskbody', locals: { task: @task }
    .panel.panel-default
      .panel-heading
        %strong
          Operations
      %ul.list-group
        - if @operations.empty?
          = content_tag(:li, t("no_operations"), :class => "list-group-item")
        - @operations.each_with_index do |operation, index|
          = content_tag(:li, :class => "list-group-item #{operation.done ? 'list-group-item-success' : ''}") do
            - if (!operation.done)
              = destroy_button(operation)
              = done_button(operation)
            %strong
              = operation.serial.to_s + ': '
            = operation.text
      - if current_thinker == @task.worker
        .panel-footer
          = form_for [@task, Operation.new] do |f|
            .input-group
              = f.text_field :text, :class => 'form-control'
              .input-group-btn
                = f.submit t(".add"), :class => "btn btn-primary"<commit_msg>Now you can change state operation from first to last correctly<commit_after>= render partial: 'shared/projectbar', locals: { project: @task.project }
.row
  .col-sm-4
    = render partial: 'shared/taskstatuspanel', locals: { task: @task, workload_voted: @workload_voted }
  .col-sm-8
    = render partial: 'shared/taskbody', locals: { task: @task }
    .panel.panel-default
      .panel-heading
        %strong
          Operations
      %ul.list-group
        - if @operations.empty?
          = content_tag(:li, t("no_operations"), :class => "list-group-item")
        - first = false
        - @operations.each_with_index do |operation, index|
          = content_tag(:li, :class => "list-group-item #{operation.done ? 'list-group-item-success' : ''}") do
            - if (!operation.done && !first)
              - first = true
              = destroy_button(operation)
              = done_button(operation)
            %strong
              = operation.serial.to_s + ': '
            = operation.text
      - if current_thinker == @task.worker
        .panel-footer
          = form_for [@task, Operation.new] do |f|
            .input-group
              = f.text_field :text, :class => 'form-control'
              .input-group-btn
                = f.submit t(".add"), :class => "btn btn-primary"
{'fraction_non_alphanumeric': 0.14114354258296682, 'fraction_numerical': 0.001599360255897641, 'mean_word_length': 2.0108303249097474, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '4423065', 'n_tokens_mistral': 740, 'n_tokens_neox': 735, 'n_words': 158}