<commit_before>  var hostname = location.hostname;
    var ros = new ROSLIB.Ros({
      url : 'ws://'+hostname+'/rosws'
    });
  
  function emergency_stop() {
    console.log("notfall");
    var service = new ROSLIB.Service({ros : ros, name : '/go_to_safety_point', serviceType : 'std_srvs/Empty'}); 
    var request = new ROSLIB.ServiceRequest();  
    service.callService(request, function(result) {
      console.log('Called emergency service');
    });
  }

  function init_tasks() {
    var taskTopic = new ROSLIB.Topic({
        ros         : ros,
        name        : '/current_schedule',
        messageType : 'strands_executive_msgs/ExecutionStatus'
    });
    
    taskTopic.subscribe(function(message) {
        // Formats the pose for outputting.
        var text = "not currently in any task"
        
        html = ""
        for (var t=0; t < message.execution_queue.length; t++) {
            task = message.execution_queue[t];
            html += "<tr data-toggle=\"modal\" data-target=\"#deletetask\" data-whatever=\" * task.task_id + \">";
            html += "<td>" + task.task_id + "</td>";
            html += "<td>" + task.task_id + "</td>";
            html += "<td>" + task.start_node_id + "</td>";
            html += "<td>" + "time"+ "</td>";
            html += "</tr>";
           
        }
        console.log(html)

        document.getElementById("tasktext").innerHTML = html;
    });

  }


  function init() {
    init_tasks();
  }<commit_msg>now displays times correctly<commit_after>  var hostname = location.hostname;
    var ros = new ROSLIB.Ros({
      url : 'ws://'+hostname+'/rosws'
    });
  
  function emergency_stop() {
    console.log("notfall");
    var service = new ROSLIB.Service({ros : ros, name : '/go_to_safety_point', serviceType : 'std_srvs/Empty'}); 
    var request = new ROSLIB.ServiceRequest();  
    service.callService(request, function(result) {
      console.log('Called emergency service');
    });
  }

  function init_tasks() {
    var taskTopic = new ROSLIB.Topic({
        ros         : ros,
        name        : '/current_schedule',
        messageType : 'strands_executive_msgs/ExecutionStatus'
    });
    
    taskTopic.subscribe(function(message) {
        // Formats the pose for outputting.
        var text = "not currently in any task"
        
        html = ""
        for (var t=0; t < message.execution_queue.length; t++) {
            var task = message.execution_queue[t];
            var date = new Date(task.execution_time.secs*1000).toLocaleString('de-AT', { timeZone: 'Europe/Vienna' });
            html += "<tr data-toggle=\"modal\" data-target=\"#deletetask\" data-whatever=\" * task.task_id + \">";
            html += "<td>" + task.task_id + "</td>";
            html += "<td>" + task.task_id + "</td>";
            html += "<td>" + task.start_node_id + "</td>";
            html += "<td>" + date + "</td>";
            html += "</tr>";
           
        }
        console.log(html)

        document.getElementById("tasktext").innerHTML = html;
    });

  }


  function init() {
    init_tasks();
  }
{'fraction_non_alphanumeric': 0.16306799871092492, 'fraction_numerical': 0.0019336126329358686, 'mean_word_length': 2.160896130346232, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 23, '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': '2956780', 'n_tokens_mistral': 967, 'n_tokens_neox': 932, 'n_words': 200}