carpet-efficiency / config.py
DPPATRA's picture
Upload 11 files
78f194c verified
raw
history blame contribute delete
403 Bytes
# config.py
# User-adjustable weights for the priority scoring (must sum to 100)
WEIGHTS = {
"AGE_WEIGHT": 60, # % weight for Order Age
"COMPONENT_WEIGHT": 30, # % weight for Simplicity (fewer components)
"MANUAL_WEIGHT": 10 # % weight for Manual override
}
# Validate
if sum(WEIGHTS.values()) != 100:
raise ValueError("The weights in config.py must sum to 100.")