<commit_before>/*
C++ version of ISBF for TraceBounds
*/
#ifndef isbfcpp_h
#define isbfcpp_h

#include <iostream>
#include <vector>

#ifndef INFINITY
#define INFINITY 0
#endif

class isbfcpp
{

public:
    isbfcpp();
    std::vector <std::vector<int> > rotateMatrix(int rows, int cols,  std::vector <std::vector<int> > input);
    std::vector <std::vector<int> > traceBoundary(int nrows, int ncols, std::vector <std::vector<int> > mask, int startX, int startY, float inf);
    ~isbfcpp();

};

#endif<commit_msg>Update isbfcpp.h rotateMatrix is renamed to rot90 and pass in a reference<commit_after>/*
C++ version of ISBF for TraceBounds
*/
#ifndef isbfcpp_h
#define isbfcpp_h

#include <iostream>
#include <vector>

#ifndef INFINITY
#define INFINITY 0
#endif

class isbfcpp
{

public:
    isbfcpp();
    void rot90(int rows, int cols,  std::vector <std::vector<int> > input, std::vector <std::vector<int> > &output);
    std::vector <std::vector<int> > traceBoundary(int nrows, int ncols, std::vector <std::vector<int> > mask, int startX, int startY, float inf);
    ~isbfcpp();

};

#endif
{'fraction_non_alphanumeric': 0.14390467461044912, 'fraction_numerical': 0.005499541704857928, 'mean_word_length': 5.100558659217877, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '4028765', 'n_tokens_mistral': 400, 'n_tokens_neox': 393, 'n_words': 114}