bugfinder.settings
Common configuration keys for the bugfinder package.
- bugfinder.settings.DATASET_DIRS = {'embeddings': 'embeddings', 'feats': 'features', 'joern': 'joern.db', 'models': 'models', 'neo4j': 'neo4j_v3.db'}
Dataset directory names used by the various scripts.
- Type
- bugfinder.settings.FEATURES_FILE = 'features.csv'
Name of the CSV file containing the features that can be used for training purposes.
- Type
- bugfinder.settings.LOGGER = <Logger app (DEBUG)>
Main Logger instance used throughout the application.
- Type
- bugfinder.settings.LOGGER_CONFIG = {'formatters': {'default': {'datefmt': '%Y-%m-%d %H:%M:%S', 'format': '[%(asctime)s][%(levelname)s] %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'default', 'stream': 'ext://sys.stdout'}, 'file': {'class': 'logging.handlers.RotatingFileHandler', 'filename': '/data/projects/ai-bugfinder/bugfinder/../debug.log', 'formatter': 'default'}}, 'loggers': {'app': {'handlers': ['console', 'file'], 'level': 'DEBUG', 'propagate': 'no'}}, 'version': 1}
Logging configuration for the project.
- Type
- bugfinder.settings.NEO4J_V3_CORES = 24
Number of CPU cores allowed to be used by Neo4J. Defaults to POOL_SIZE.
- Type
- bugfinder.settings.POOL_SIZE = 24
Number of CPU cores that can be used for multiprocessing tasks.
- Type
- bugfinder.settings.ROOT_DIR = '/data/projects/ai-bugfinder/bugfinder/..'
Project root directory.
- Type