<commit_before>#ifndef BOARD_H
#define BOARD_H

#include "defs.h"
#include "cmove.h"
#include <string>

class Board {
  public:
    void setToStartPos();
    void setToFen(std::string);

    std::string getStringRep();

    MoveList getWhitePawnMoves();
    MoveList getBlackPawnMoves();
    MoveList getWhitePawnAttacks();
    MoveList getBlackPawnAttacks();

    MoveList getPawnPromotions(unsigned int, unsigned int, unsigned int=0);

  private:
    U64 WHITE_PAWNS = 0;
    U64 BLACK_PAWNS = 0;

    U64 WHITE_ROOKS = 0;
    U64 BLACK_ROOKS = 0;

    U64 WHITE_KNIGHTS = 0;
    U64 BLACK_KNIGHTS = 0;

    U64 WHITE_BISHOPS = 0;
    U64 BLACK_BISHOPS = 0;

    U64 WHITE_QUEENS = 0;
    U64 BLACK_QUEENS = 0;

    U64 WHITE_KING = 0;
    U64 BLACK_KING = 0;

    U64 WHITE_PIECES = 0;
    U64 BLACK_PIECES = 0;

    U64 OCCUPIED = 0;
    U64 NOT_OCCUPIED = 0;

    U64 getOccupied();
    U64 getBlackPieces();
    U64 getWhitePieces();

};

#endif
<commit_msg>Make getPawnPromotions private<commit_after>#ifndef BOARD_H
#define BOARD_H

#include "defs.h"
#include "cmove.h"
#include <string>

class Board {
  public:
    void setToStartPos();
    void setToFen(std::string);

    std::string getStringRep();

    MoveList getWhitePawnMoves();
    MoveList getBlackPawnMoves();
    MoveList getWhitePawnAttacks();
    MoveList getBlackPawnAttacks();

  private:
    U64 WHITE_PAWNS = 0;
    U64 BLACK_PAWNS = 0;

    U64 WHITE_ROOKS = 0;
    U64 BLACK_ROOKS = 0;

    U64 WHITE_KNIGHTS = 0;
    U64 BLACK_KNIGHTS = 0;

    U64 WHITE_BISHOPS = 0;
    U64 BLACK_BISHOPS = 0;

    U64 WHITE_QUEENS = 0;
    U64 BLACK_QUEENS = 0;

    U64 WHITE_KING = 0;
    U64 BLACK_KING = 0;

    U64 WHITE_PIECES = 0;
    U64 BLACK_PIECES = 0;

    U64 OCCUPIED = 0;
    U64 NOT_OCCUPIED = 0;

    MoveList getPawnPromotions(unsigned int, unsigned int, unsigned int=0);

    U64 getOccupied();
    U64 getBlackPieces();
    U64 getWhitePieces();
};

#endif

{'fraction_non_alphanumeric': 0.09670781893004116, 'fraction_numerical': 0.056584362139917695, 'mean_word_length': 3.069037656903766, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3979853', 'n_tokens_mistral': 899, 'n_tokens_neox': 789, 'n_words': 182}