<commit_before>- tasks = assign_tasks(project,task_list,sub_action)
.task_list_wrap{ :id => "#{task_list_id(:with_tasks,project,task_list)}", :class => "task_list_#{task_list.id}" }
  = render_task_list(project,task_list,current_target)
  - unless tasks.empty? && task_list.observable?(current_user)
    .tasks_wrap
      .tasks{ :id => task_list_id(:the_tasks,project,task_list), :class => "#{ 'read_only' unless task_list_editable?(task_list,current_user,sub_action)}" }
        = list_tasks(project,task_list,tasks,current_target)
    - if task_list_editable?(task_list,current_user,sub_action)
      = task_link(project,task_list)
      = task_form(project,task_list,task_list.new_task(current_user))
      = tasks_sortable(project,task_list)<commit_msg>fixed conditionals that were messing up adding a task<commit_after>- tasks = assign_tasks(project,task_list,sub_action)
.task_list_wrap{ :id => "#{task_list_id(:with_tasks,project,task_list)}", :class => "task_list_#{task_list.id}" }
  = render_task_list(project,task_list,current_target)
  - unless !task_list.editable?(current_user) && tasks.empty?
    .tasks_wrap
      .tasks{ :id => task_list_id(:the_tasks,project,task_list), :class => "#{ 'read_only' unless task_list_editable?(task_list,current_user,sub_action)}" }
        = list_tasks(project,task_list,tasks,current_target)
    - if task_list_editable?(task_list,current_user,sub_action)
      = task_link(project,task_list)
      = task_form(project,task_list,task_list.new_task(current_user))
      = tasks_sortable(project,task_list)
{'fraction_non_alphanumeric': 0.13569131832797426, 'fraction_numerical': 0.0, 'mean_word_length': 6.819095477386934, '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': '4931423', 'n_tokens_mistral': 544, 'n_tokens_neox': 548, 'n_words': 59}