<commit_before>#ifndef READ_ERROR_GUARD
#define READ_ERROR_GUARD

/**
  Used as a return value for readBytes(...) and as the error type for file data 
  reading data from a file.
*/
typedef enum {
  /* all clear */
  NO_ERROR,
  /* unexpectedly reached eof */
  ERROR_EOF,
  /* could not read file */
  ERROR_READING,
  /* memory allocation error */
  ERROR_MEMORY,
  /* could not identify filetype */
  ERROR_FILETYPE,
  /* unsupported bit depth */
  ERROR_BIT_DEPTH,
  /* invalid keyword in cs229 file */
  ERROR_INVALID_KEYWORD,
  /* no value given in cs229 file */
  ERROR_NO_VALUE,
  /* error reading sample data in cs229 file */
  ERROR_SAMPLE_DATA
} readError_t;

#endif<commit_msg>Added correct readError.h<commit_after>#ifndef READ_ERROR_GUARD
#define READ_ERROR_GUARD

/**
  Used as a return value for readBytes(...) and as the error type for file data 
  reading data from a file.
*/
typedef enum {
  /* all clear */
  NO_ERROR,
  /* unexpectedly reached eof */
  ERROR_EOF,
  /* could not read file */
  ERROR_READING,
  /* memory allocation error */
  ERROR_MEMORY,
  /* could not identify filetype */
  ERROR_FILETYPE,
  /* unsupported bit depth */
  ERROR_BIT_DEPTH,
  /* invalid keyword in cs229 file */
  ERROR_INVALID_KEYWORD,
  /* no value given in cs229 file */
  ERROR_NO_VALUE,
  /* error reading sample data in cs229 file */
  ERROR_SAMPLE_DATA,
  /* found zero channels, don't read the file */
  ERROR_ZERO_CHANNELS
} readError_t;

#endif
{'fraction_non_alphanumeric': 0.09302325581395349, 'fraction_numerical': 0.012311901504787962, 'mean_word_length': 3.252906976744186, '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': '1486168', 'n_tokens_mistral': 489, 'n_tokens_neox': 464, 'n_words': 157}