<commit_before>#ifndef INC_ross_types_h
#define INC_ross_types_h

/** @file ross-types.h
 *  @brief Definition of ROSS basic types
 */

typedef struct tw_statistics tw_statistics;
typedef struct tw_pq tw_pq;
typedef struct tw_lptype tw_lptype;
typedef struct tw_petype tw_petype;
typedef struct tw_bf tw_bf;
typedef struct tw_eventq tw_eventq;
typedef struct tw_event tw_event;
typedef struct tw_lp tw_lp;
typedef struct tw_kp tw_kp;
typedef struct tw_pe tw_pe;
typedef struct tw_log tw_log;
typedef struct avlNode *AvlTree;

#ifdef ROSS_MEMORY
typedef struct tw_memoryq tw_memoryq;
typedef struct tw_memory tw_memory;
#endif

/**
 * Synchronization protocol used
 */ 
enum tw_synch_e
  {
    NO_SYNCH,
    SEQUENTIAL,
    CONSERVATIVE,
    OPTIMISTIC,
    OPTIMISTIC_DEBUG,
  };

typedef enum tw_synch_e tw_synch;

enum tw_lp_map
{
  LINEAR,
  ROUND_ROBIN,
  CUSTOM
};<commit_msg>oops (removed typedef for tw_log, see previous commit)<commit_after>#ifndef INC_ross_types_h
#define INC_ross_types_h

/** @file ross-types.h
 *  @brief Definition of ROSS basic types
 */

typedef struct tw_statistics tw_statistics;
typedef struct tw_pq tw_pq;
typedef struct tw_lptype tw_lptype;
typedef struct tw_petype tw_petype;
typedef struct tw_bf tw_bf;
typedef struct tw_eventq tw_eventq;
typedef struct tw_event tw_event;
typedef struct tw_lp tw_lp;
typedef struct tw_kp tw_kp;
typedef struct tw_pe tw_pe;
typedef struct avlNode *AvlTree;

#ifdef ROSS_MEMORY
typedef struct tw_memoryq tw_memoryq;
typedef struct tw_memory tw_memory;
#endif

/**
 * Synchronization protocol used
 */ 
enum tw_synch_e
  {
    NO_SYNCH,
    SEQUENTIAL,
    CONSERVATIVE,
    OPTIMISTIC,
    OPTIMISTIC_DEBUG,
  };

typedef enum tw_synch_e tw_synch;

enum tw_lp_map
{
  LINEAR,
  ROUND_ROBIN,
  CUSTOM
};
{'fraction_non_alphanumeric': 0.05978567399887197, 'fraction_numerical': 0.0, 'mean_word_length': 4.953020134228188, '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': '6370830', 'n_tokens_mistral': 732, 'n_tokens_neox': 653, 'n_words': 183}