claude-memory/graph/problems/pd-season-constant-defined-in-two-places-with-different-valu-b4fea4.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

954 B

id type title tags importance confidence created updated relations
b4fea49c-7576-46e0-94ef-af3a419b2f43 problem PD_SEASON constant defined in two places with different values
paper-dynasty
python
code-smell
constants
configuration
0.6 0.8 2025-12-08T03:29:46.703515+00:00 2025-12-08T03:29:46.703515+00:00
target type direction strength
3ea784ee-2bee-4ee4-994a-c6af3aff2c80 RELATED_TO outgoing 0.5

PD_SEASON is defined in two constants.py files with different values: helpers/constants.py has PD_SEASON=9, while root constants.py has PD_SEASON=10. The helpers/main.py imports from ROOT constants via 'from constants import *', getting PD_SEASON=10. But helpers/init.py then imports from .constants which overwrites with PD_SEASON=9. This means code importing from helpers package gets 9, while helpers/main.py internal code uses 10. This can cause inconsistent behavior when querying stats by season.