<commit_before>export default class CubeCoordinate {
  /**
   * @param {CubeCoordinateMap} map
   * @param {number} x
   * @param {number} y
   * @param {number} z
   */
  constructor (map, x, y, z) {
    /** @type {CubeCoordinateMap} */
    this.map = map

    /** @type {number} */
    this.x = x

    /** @type {number} */
    this.y = y

    /** @type {number} */
    this.z = z
  }

  /**
   * @param {CubeCoordinate} coordinate
   * @return {CubeCoordinate}
   */
  add (coordinate) {
    return this.map.get(
      this.x + coordinate.x,
      this.y + coordinate.y,
      this.z + coordinate.z
    )
  }

  /**
   * @param {number} factor
   * @return {CubeCoordinate}
   */
  scale (factor) {
    return this.map.get(
      this.x * factor,
      this.y * factor,
      this.z * factor
    )
  }

  /**
   * @param {number} radius
   * @return {[CubeCoordinate]}
   */
  getRing (radius) {<commit_msg>annotation typo<commit_after>export default class CubeCoordinate {
  /**
   * @param {CubeCoordinateMap} map
   * @param {number} x
   * @param {number} y
   * @param {number} z
   */
  constructor (map, x, y, z) {
    /** @type {CubeCoordinateMap} */
    this.map = map

    /** @type {number} */
    this.x = x

    /** @type {number} */
    this.y = y

    /** @type {number} */
    this.z = z
  }

  /**
   * @param {CubeCoordinate} coordinate
   * @return {CubeCoordinate}
   */
  add (coordinate) {
    return this.map.get(
      this.x + coordinate.x,
      this.y + coordinate.y,
      this.z + coordinate.z
    )
  }

  /**
   * @param {number} factor
   * @return {CubeCoordinate}
   */
  scale (factor) {
    return this.map.get(
      this.x * factor,
      this.y * factor,
      this.z * factor
    )
  }

  /**
   * @param {number} radius
   * @return {CubeCoordinate[]}
   */
  getRing (radius) {
{'fraction_non_alphanumeric': 0.16575192096597147, 'fraction_numerical': 0.0, 'mean_word_length': 1.9690553745928339, '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': '6575747', 'n_tokens_mistral': 683, 'n_tokens_neox': 666, 'n_words': 149}