File size: 403 Bytes
78f194c
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
# 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.")