<commit_before>import Ember from 'ember';
import moment from 'moment';
import { fetchDepartures } from 'bus-detective/utils/api';
var run = Ember.run;

const DEFAULT_POLL_INTERVAL = 15 * 1000;
const DEFAULT_CHECK_INTERVAL = 0.5 * 1000;
const DEFAULT_DURATION_IN_HOURS = 1;

export default Ember.Object.extend(Ember.Evented, {
  stopId: null,
  intervalId: null,
  hasFetched: false,

  init() {
    this._super();
    this.setProperties({
      pollInterval: this.get('pollInterval') || DEFAULT_POLL_INTERVAL,
      checkInterval: this.get('checkInterval') || DEFAULT_CHECK_INTERVAL,
      duration: this.get('duration') || DEFAULT_DURATION_IN_HOURS
    });
  },<commit_msg>Remove unnecessary init function<commit_after>import Ember from 'ember';
import moment from 'moment';
import { fetchDepartures } from 'bus-detective/utils/api';
var run = Ember.run;

const DEFAULT_POLL_INTERVAL = 15 * 1000;
const DEFAULT_CHECK_INTERVAL = 0.5 * 1000;
const DEFAULT_DURATION_IN_HOURS = 1;

export default Ember.Object.extend(Ember.Evented, {
  stopId: null,
  intervalId: null,
  hasFetched: false,
  pollInterval: DEFAULT_POLL_INTERVAL,
  checkInterval: DEFAULT_CHECK_INTERVAL,
  duration: DEFAULT_DURATION_IN_HOURS,
{'fraction_non_alphanumeric': 0.10696517412935323, 'fraction_numerical': 0.02155887230514096, 'mean_word_length': 5.286458333333333, 'pattern_counts': {'":': 0, '<': 3, '<?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': '495260', 'n_tokens_mistral': 431, 'n_tokens_neox': 401, 'n_words': 91}