<commit_before>/*

  Methods available (in the global scope):
    getSize():
      - returns the length of the side of the board (e.g. "4", for a 4x4 board.)

    findByLocation(row, col):
      - takes a location and returns the value at that location.

    findByValue(value):
      - takes an id and returns its location on the board.
      - the location is represented by a object with row and col properties.

    findEmpty():
      - returns the location of the empty square.
      - the location is represented by an object with row and col properties.

    getBoard():
      - returns a complete copy of the board.
      - this is an nxn matrix, where each square is represented by its value.
      - as you can see, the squares are numbered from 1 to n^2 - 1.
      - the empty square is represented by "null"
      - edits to this board WILL NOT propagate to the game board.

    moveByLocation(row, col):
      - moves the piece at location row and col.
      - be careful!  if you make an illegal move, your algorithm will stop.

    moveByValue(value):
      - moves the piece with the specified value.
      - be careful!  if you make an illegal move, your algorithm will stop.

    checkIfSolved():
      - returns true if you have solved the puzzle.

*/


var solve = function() {
  
};<commit_msg>Added a description of the new methods to solver.js<commit_after>/*

  Methods available (in the global scope):
    getSize():
      - returns the length of the side of the board (e.g. "4", for a 4x4 board.)

    findByLocation(row, col):
      - takes a location and returns the value at that location.

    findByValue(value):
      - takes an id and returns its location on the board.
      - the location is represented by a object with row and col properties.

    findEmpty():
      - returns the location of the empty square.
      - the location is represented by an object with row and col properties.

    getBoard():
      - returns a complete copy of the board.
      - this is an nxn matrix, where each square is represented by its value.
      - as you can see, the squares are numbered from 1 to n^2 - 1.
      - the empty square is represented by "null"
      - edits to this board WILL NOT propagate to the game board.

    moveByLocation(row, col):
      - moves the piece at location row and col.
      - be careful!  if you make an illegal move, your algorithm will stop.

    moveByValue(value):
      - moves the piece with the specified value.
      - be careful!  if you make an illegal move, your algorithm will stop.

    checkIfSolved():
      - returns true if you have solved the puzzle.

  Methods Specifically for Console Testing

    move(idOrRow, col):
     - acts like moveByLocation + moveByValue
     - chooses how to act based on # of arguments

    printBoard():
     - acts like getBoard, but instead prints the board to console

*/


var solve = function() {
  
};
{'fraction_non_alphanumeric': 0.06646111682082904, 'fraction_numerical': 0.0041109969167523125, 'mean_word_length': 2.443396226415094, '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': '3726338', 'n_tokens_mistral': 800, 'n_tokens_neox': 757, 'n_words': 406}