<commit_before>#ifndef __STDAIR_BAS_BASCONST_INVENTORY_HPP
#define __STDAIR_BAS_BASCONST_INVENTORY_HPP

// //////////////////////////////////////////////////////////////////////
// Import section
// //////////////////////////////////////////////////////////////////////
// StdAir
#include <stdair/stdair_inventory_types.hpp>
#include <stdair/stdair_date_time_types.hpp>

namespace stdair {

  // //////// Inventory-related BOM ///////
  /** Default airline code value ("XX"). */
  extern const AirlineCode_T DEFAULT_AIRLINE_CODE;

  /** Default airline code value (""). */
  extern const AirlineCode_T DEFAULT_NULL_AIRLINE_CODE;
  
  /** Default airline code list value (empty vector). */
  extern const AirlineCodeList_T DEFAULT_AIRLINE_CODE_LIST;

  /** Default flight number (9999). */
  extern const FlightNumber_T DEFAULT_FLIGHT_NUMBER;

  /** Default data table ID (9999). */
  extern const TableID_T DEFAULT_TABLE_ID;
  
  /** Default flight departure date (01/01/1900). */
  extern const Date_T DEFAULT_DEPARTURE_DATE;
  
  /** Default airport code value ("XXX"). */
  extern const AirportCode_T DEFAULT_AIRPORT_CODE;

  /** Default airport code value ("").. */
  extern const AirportCode_T DEFAULT_NULL_AIRPORT_CODE;
  
  /** Default Origin ("XXX"). */
  extern const AirportCode_T DEFAULT_ORIGIN;
  
  /** Default Destination ("XXX"). */
  extern const AirportCode_T DEFAULT_DESTINATION;
  
  /** Default Cabin Code ("X"). */
  extern const CabinCode_T DEFAULT_CABIN_CODE;

  /** Default Fare Family Code ("EcoSaver"). */
  extern const FamilyCode_T DEFAULT_FARE_FAMILY_CODE;

  /** Default null fare family Code ("NoFF"). */
  extern const FamilyCode_T DEFAULT_NULL_FARE_FAMILY_CODE;

  /** Default class code value ("X"). */
  extern const ClassCode_T DEFAULT_CLASS_CODE;

  /** Default null class code value (""). */
  extern const ClassCode_T DEFAULT_NULL_CLASS_CODE;

  /** Default class code list value (empty vector). */
  extern const ClassList_StringList_T DEFAULT_CLASS_CODE_LIST;

  /** Default Bid-Price (0.0). */
  extern const BidPrice_T DEFAULT_BID_PRICE;

  /** Default Bid-Price Vector (empty vector). */
  extern const BidPriceVector_T DEFAULT_BID_PRICE_VECTOR;

  /** Maximal number of legs linked to a single flight-date (e.g., 7).
      <br>Note that the number of derived segments is n*(n+1)/2 if n
      is the number of legs. */
  extern const unsigned short MAXIMAL_NUMBER_OF_LEGS_IN_FLIGHT;
  
  /** Maximal number of segments linked to a single O&D
      (Origin & Destination)(e.g., 3). */
  extern const unsigned short MAXIMAL_NUMBER_OF_SEGMENTS_IN_OND;

  /** Maximal offered capacity in a cabin. */
  extern const Availability_T MAXIMAL_AVAILABILITY;

  /** Default seat index (for a bucket and/or Bid-Price Vector slot)(e.g., 1). */
  extern const SeatIndex_T DEFAULT_SEAT_INDEX;

  /** Default number of bookings. */
  extern const NbOfSeats_T DEFAULT_NULL_BOOKING_NUMBER;

  /** Default capacity adjustment of the cabin. */
  extern const CapacityAdjustment_T DEFAULT_NULL_CAPACITY_ADJUSTMENT;
  
  /** Default unsold Protection (UPR). */
  extern const UPR_T DEFAULT_NULL_UPR;

  /** Default value type (within a guillotine block) for fare family. */
  extern const std::string DEFAULT_FARE_FAMILY_VALUE_TYPE;

  /** Default value type (within a guillotine block) for segment-cabin. */
  extern const std::string DEFAULT_SEGMENT_CABIN_VALUE_TYPE;

  /** Default value for max day-to-departure (365). */
  extern const int DEFAULT_MAX_DTD;

  /** Defaut data collection point list. */
  extern const DCPList_T DEFAULT_DCP_LIST;
  struct DefaultDCPList { static DCPList_T init(); };

  /** Default frat5 coef map. */
  extern const DTDFratMap_T DEFAULT_DTD_FRAT5COEF_MAP;
  struct DefaultDtdFratMap { static DTDFratMap_T init();};

  /** Default arrival pattern map. */
  extern const DTDProbMap_T DEFAULT_DTD_PROB_MAP;
  struct DefaultDtdProbMap { static DTDProbMap_T init();};

  /** Default number of bookings (with counted cancellation)
      for FareFamilies (0). */
  extern const NbOfBookings_T DEFAULT_FF_NB_OF_BOOKINGS;

}
#endif // __STDAIR_BAS_BASCONST_INVENTORY_HPP<commit_msg>[DEV] Adding a const for default number of cancellations for FareFamily (0)<commit_after>#ifndef __STDAIR_BAS_BASCONST_INVENTORY_HPP
#define __STDAIR_BAS_BASCONST_INVENTORY_HPP

// //////////////////////////////////////////////////////////////////////
// Import section
// //////////////////////////////////////////////////////////////////////
// StdAir
#include <stdair/stdair_inventory_types.hpp>
#include <stdair/stdair_date_time_types.hpp>

namespace stdair {

  // //////// Inventory-related BOM ///////
  /** Default airline code value ("XX"). */
  extern const AirlineCode_T DEFAULT_AIRLINE_CODE;

  /** Default airline code value (""). */
  extern const AirlineCode_T DEFAULT_NULL_AIRLINE_CODE;
  
  /** Default airline code list value (empty vector). */
  extern const AirlineCodeList_T DEFAULT_AIRLINE_CODE_LIST;

  /** Default flight number (9999). */
  extern const FlightNumber_T DEFAULT_FLIGHT_NUMBER;

  /** Default data table ID (9999). */
  extern const TableID_T DEFAULT_TABLE_ID;
  
  /** Default flight departure date (01/01/1900). */
  extern const Date_T DEFAULT_DEPARTURE_DATE;
  
  /** Default airport code value ("XXX"). */
  extern const AirportCode_T DEFAULT_AIRPORT_CODE;

  /** Default airport code value ("").. */
  extern const AirportCode_T DEFAULT_NULL_AIRPORT_CODE;
  
  /** Default Origin ("XXX"). */
  extern const AirportCode_T DEFAULT_ORIGIN;
  
  /** Default Destination ("XXX"). */
  extern const AirportCode_T DEFAULT_DESTINATION;
  
  /** Default Cabin Code ("X"). */
  extern const CabinCode_T DEFAULT_CABIN_CODE;

  /** Default Fare Family Code ("EcoSaver"). */
  extern const FamilyCode_T DEFAULT_FARE_FAMILY_CODE;

  /** Default null fare family Code ("NoFF"). */
  extern const FamilyCode_T DEFAULT_NULL_FARE_FAMILY_CODE;

  /** Default class code value ("X"). */
  extern const ClassCode_T DEFAULT_CLASS_CODE;

  /** Default null class code value (""). */
  extern const ClassCode_T DEFAULT_NULL_CLASS_CODE;

  /** Default class code list value (empty vector). */
  extern const ClassList_StringList_T DEFAULT_CLASS_CODE_LIST;

  /** Default Bid-Price (0.0). */
  extern const BidPrice_T DEFAULT_BID_PRICE;

  /** Default Bid-Price Vector (empty vector). */
  extern const BidPriceVector_T DEFAULT_BID_PRICE_VECTOR;

  /** Maximal number of legs linked to a single flight-date (e.g., 7).
      <br>Note that the number of derived segments is n*(n+1)/2 if n
      is the number of legs. */
  extern const unsigned short MAXIMAL_NUMBER_OF_LEGS_IN_FLIGHT;
  
  /** Maximal number of segments linked to a single O&D
      (Origin & Destination)(e.g., 3). */
  extern const unsigned short MAXIMAL_NUMBER_OF_SEGMENTS_IN_OND;

  /** Maximal offered capacity in a cabin. */
  extern const Availability_T MAXIMAL_AVAILABILITY;

  /** Default seat index (for a bucket and/or Bid-Price Vector slot)(e.g., 1). */
  extern const SeatIndex_T DEFAULT_SEAT_INDEX;

  /** Default number of bookings. */
  extern const NbOfSeats_T DEFAULT_NULL_BOOKING_NUMBER;

  /** Default capacity adjustment of the cabin. */
  extern const CapacityAdjustment_T DEFAULT_NULL_CAPACITY_ADJUSTMENT;
  
  /** Default unsold Protection (UPR). */
  extern const UPR_T DEFAULT_NULL_UPR;

  /** Default value type (within a guillotine block) for fare family. */
  extern const std::string DEFAULT_FARE_FAMILY_VALUE_TYPE;

  /** Default value type (within a guillotine block) for segment-cabin. */
  extern const std::string DEFAULT_SEGMENT_CABIN_VALUE_TYPE;

  /** Default value for max day-to-departure (365). */
  extern const int DEFAULT_MAX_DTD;

  /** Defaut data collection point list. */
  extern const DCPList_T DEFAULT_DCP_LIST;
  struct DefaultDCPList { static DCPList_T init(); };

  /** Default frat5 coef map. */
  extern const DTDFratMap_T DEFAULT_DTD_FRAT5COEF_MAP;
  struct DefaultDtdFratMap { static DTDFratMap_T init();};

  /** Default arrival pattern map. */
  extern const DTDProbMap_T DEFAULT_DTD_PROB_MAP;
  struct DefaultDtdProbMap { static DTDProbMap_T init();};

  /** Default number of bookings (with counted cancellation)
      for FareFamily (0). */
  extern const NbOfBookings_T DEFAULT_FF_NB_OF_BOOKINGS;

  /** Default number of cancellations for FareFamily (0). */
  extern const NbOfCancellations_T DEFAULT_FF_NB_OF_CANCELLATIONS;

}
#endif // __STDAIR_BAS_BASCONST_INVENTORY_HPP
{'fraction_non_alphanumeric': 0.13001301313143263, 'fraction_numerical': 0.007098071690524075, 'mean_word_length': 3.3871302542812662, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1866796', 'n_tokens_mistral': 2754, 'n_tokens_neox': 2588, 'n_words': 751}