| # 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.") |