- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
1.1 KiB
1.1 KiB
| id | type | title | tags | importance | confidence | created | updated | relations | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| f79584ea-e89d-4ba6-9b10-bc78d35eb92f | problem | Duplicate constants.py files cause import pollution |
|
0.6 | 0.8 | 2025-12-08T03:46:37.031117+00:00 | 2025-12-08T03:46:37.031117+00:00 |
|
Paper Dynasty discord-app has two constants.py files:
- discord-app/constants.py (root) - authoritative, updated regularly
- discord-app/helpers/constants.py - created during refactoring, becomes stale
helpers/init.py does: from helpers.main import * # Gets PD_SEASON from root from .constants import * # OVERWRITES with stale value!
This causes helpers.PD_SEASON to differ from constants.PD_SEASON even when both files are in the same codebase.
Future Fix Options:
- Remove helpers/constants.py entirely, use root constants.py only
- Have helpers/constants.py import from root: from constants import *
- Use explicit imports instead of wildcard star imports