<commit_before>:javascript
  function toggleBox(form, v){
    var f = document.forms[form];
    for(var i=0;i < f.length; i++){
      f.elements[i].checked = v;
    }
  }

%h1 table

%a(href = "/process") processes

- for slide,rows in @table.group_by{|r| r.values_at('slide').first}
  %p= "slide ===#{slide}==="
  %form(action="/" method="post" name="form-#{slide}")<commit_msg>submit confirm<commit_after>:javascript
  function toggleBox(form, v){
    var f = document.forms[form];
    for(var i=0;i < f.length; i++){
      f.elements[i].checked = v;
    }
  }

:javascript
  function submitCheck(){
    if(window.confirm( 'launch task? (links appear on the right of the send-button if task was launched before)' )){
      return true;
    }else{
      window.alert('cancelled');
      return false;
    }
  }

%h1 table

%a(href = "/process") processes

- for slide,rows in @table.group_by{|r| r.values_at('slide').first}
  %p= "slide ===#{slide}==="
  %form(action="/" method="post" name="form-#{slide}" onSubmit="return submitCheck()")
{'fraction_non_alphanumeric': 0.19134615384615383, 'fraction_numerical': 0.0038461538461538464, 'mean_word_length': 3.731818181818182, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4113525', 'n_tokens_mistral': 367, 'n_tokens_neox': 368, 'n_words': 85}