<commit_before>export default class MovementPattern {

  constructor(origin, destination) {
    this.origin = origin
    this.destination = destination
    this.speed = 0.01

    this.currentLocation = origin
  }

  step() {
    this.currentLocation = this.peek()
  }

  peek() {
    if (this.currentLocation === this.destination) {
      return this.destination<commit_msg>Renamed MovementPattern.peek to determineNextStep<commit_after>export default class MovementPattern {

  constructor(origin, destination) {
    this.origin = origin
    this.destination = destination
    this.speed = 0.01

    this.currentLocation = origin
  }

  step() {
    this.currentLocation = this.peek()
  }

  determineNextStep() {
    if (this.currentLocation === this.destination) {
      return this.destination
{'fraction_non_alphanumeric': 0.09912170639899624, 'fraction_numerical': 0.0075282308657465494, 'mean_word_length': 3.360655737704918, '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': '3846284', 'n_tokens_mistral': 231, 'n_tokens_neox': 218, 'n_words': 48}