<commit_before>"""
Contains the configuration parameters used by the groundstation module.
"""

BIND_ADDRESS = "0.0.0.0"

PRESENTER = {
    "port": 80,
    "address": BIND_ADDRESS,
    "debug": True,
}

FAKER = {
    "min_value": -1023,
    "max_value": 1023,
    "data_interval": 1,  # Seconds
    "malformed_line_chance": 0.1  # decimal 1 = 100%
}

FEEDER = {
    "cache_size": 100,
    "port": 8081,
    "frequency": 10  # ms
}

GENERAL = {
    "com_file": "listener_com.log",
    "data_base_path": "data",
    "data_config": "data_config.json"
}

CALCULATE = {
    "gyro": {
        "sensitivity": 2000,
        "calibration_factor": 1.1
    },
    "height": {
        "temperature_gradient": -0.0065,
        "gas_constant": 287.06,
        "gravitational_accelleration": 9.82
    }
}
# PRESS_GROUND = 100.75  # in kilopascal, droptest
# TEMP_GROUND = 7.2  # in degrees celsius, droptest
TEMP_GROUND = 5.3
PRESS_GROUND = 98.8

# POST PROCESSING
MIN_TIME = 1564364
MAX_TIME = 9999999<commit_msg>com_file is no longer subject to the .log extension<commit_after>"""
Contains the configuration parameters used by the groundstation module.
"""

BIND_ADDRESS = "0.0.0.0"

PRESENTER = {
    "port": 80,
    "address": BIND_ADDRESS,
    "debug": True,
}

FAKER = {
    "min_value": -1023,
    "max_value": 1023,
    "data_interval": 1,  # Seconds
    "malformed_line_chance": 0.1  # decimal 1 = 100%
}

FEEDER = {
    "cache_size": 100,
    "port": 8081,
    "frequency": 10  # ms
}

GENERAL = {
    "com_file": "com_file",
    "data_base_path": "data",
    "data_config": "data_config.json"
}

CALCULATE = {
    "gyro": {
        "sensitivity": 2000,
        "calibration_factor": 1.1
    },
    "height": {
        "temperature_gradient": -0.0065,
        "gas_constant": 287.06,
        "gravitational_accelleration": 9.82
    }
}
# PRESS_GROUND = 100.75  # in kilopascal, droptest
# TEMP_GROUND = 7.2  # in degrees celsius, droptest
TEMP_GROUND = 5.3
PRESS_GROUND = 98.8

# POST PROCESSING
MIN_TIME = 1564364
MAX_TIME = 9999999
{'fraction_non_alphanumeric': 0.14398422090729784, 'fraction_numerical': 0.07396449704142012, 'mean_word_length': 2.9398058252427184, 'pattern_counts': {'":': 40, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 2, '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': '2096104', 'n_tokens_mistral': 900, 'n_tokens_neox': 779, 'n_words': 169}