<commit_before>Meteor.methods {
  getETA: (stop,route,direction)->
    check opts.stop,String
    check opts.route,String
    check opts.direction,String

    # Get data from backend
    #HTTP.get 'http://localhost:

    # For now, we just produce dummy data
    return {
      eta: do -> Random [0,1,2,3,4,5,6,7,8,9,10]
      next: [<commit_msg>Fix parameters<commit_after>Meteor.methods {
  getETA: (stop,route,direction)->
    check stop,String
    check route,String
    check direction,String

    # Get data from backend
    #HTTP.get 'http://localhost:

    # For now, we just produce dummy data
    return {
      eta: do -> Random [0,1,2,3,4,5,6,7,8,9,10]
      next: [
{'fraction_non_alphanumeric': 0.13126843657817108, 'fraction_numerical': 0.035398230088495575, 'mean_word_length': 2.9707602339181287, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6227822', 'n_tokens_mistral': 242, 'n_tokens_neox': 230, 'n_words': 57}