-
queue_pipeline (v1) →
archive/queue_pipeline_v1_2025-10-07/- Old modular pipeline with ingestion/preparation/curation
- Superseded by cleaner queue_pipeline_v2
- Preserved with full documentation
-
Root Scripts →
archive/root_scripts_2025-10-07/datacenter_scraper.py- Web scraper (keep for reference!)test_user_urls.py- Old test scriptgridstatus_load_projects.py- Early gridstatus experimentquick_grid.py- Quick test utilitydatacenter_projectsv2.csv- Old output data
Enhanced to ignore:
- Generated data files (raw/, normalize/, signals/, curate/, batches/)
- Archive contents (but keep README files)
- Temporary outputs
- Cache files
- Large ISO queue snapshots (regenerate as needed)
New root README.md focuses on:
- queue_pipeline_v2 only (the active system)
- Clear project structure
- Quick start guide
- Common workflows
- Troubleshooting
DataCenterCOMPASS/
├── datacenter_scraper.py ❌ In root
├── datacenter_projectsv2.csv ❌ In root
├── test_user_urls.py ❌ In root
├── gridstatus_load_projects.py ❌ In root
├── quick_grid.py ❌ In root
├── queue_pipeline/ ❌ Old system
├── queue_pipeline_v2/ ✅ New system
└── README.md (980 lines, outdated) ❌
DataCenterCOMPASS/
├── queue_pipeline_v2/ ✅ Main system
├── data/ ✅ Data storage
├── config/ ✅ Configuration
├── prompts/ ✅ LLM prompts
├── archive/ ✅ Old code preserved
│ ├── queue_pipeline_v1_2025-10-07/
│ └── root_scripts_2025-10-07/
├── .env ✅ Environment vars
├── .gitignore ✅ Enhanced
├── requirements.txt ✅ Dependencies
└── README.md ✅ Clean, focused
✅ USE: queue_pipeline_v2/
python -m queue_pipeline_v2.run fetch --isos ALL
python -m queue_pipeline_v2.run normalize
python -m queue_pipeline_v2.run signals
python -m queue_pipeline_v2.run curate --profile balanced --target 30✅ REFERENCE: archive/root_scripts_2025-10-07/datacenter_scraper.py
- Don't modify - use as reference
- Extract patterns if needed for new scraping module
❌ DON'T USE: archive/queue_pipeline_v1_2025-10-07/
- Archived for historical reference only
- Use queue_pipeline_v2 instead
After cleanup, you should commit:
# Check what changed
git status
# Stage the cleanup
git add .
git add -u # Stage deletions
# Commit
git commit -m "Clean repository structure: archive v1, reorganize root
- Archived queue_pipeline v1 to archive/queue_pipeline_v1_2025-10-07/
- Archived root scripts to archive/root_scripts_2025-10-07/
- Enhanced .gitignore for generated files
- Created new focused README for queue_pipeline_v2
- Repository now has clear, maintainable structure"- Add to queue_pipeline_v2/ - Don't create new top-level scripts
- Follow layer pattern - raw → normalize → signals → curate
- Document changes - Update READMEs
- Move to archive/ with date stamp
- Add ARCHIVED_README.md explaining why
- Update .gitignore if needed
- Update main README to remove references
# Data is in .gitignore - safe to regenerate
python -m queue_pipeline_v2.run fetch --isos ALLarchive/
├── queue_pipeline_v1_2025-10-07/
│ ├── queue_pipeline/ # Old pipeline code
│ └── ARCHIVED_README.md # Why archived + migration guide
│
├── root_scripts_2025-10-07/
│ ├── datacenter_scraper.py # Web scraper (valuable reference!)
│ ├── test_user_urls.py
│ ├── gridstatus_load_projects.py
│ ├── quick_grid.py
│ ├── datacenter_projectsv2.csv
│ ├── OLD_README.md # Old 980-line README
│ └── ARCHIVED_README.md # What each file was for
│
├── deprecated/ # Very old experiments
├── experimental/ # Early prototypes
├── legacy_queue_full/ # Historical queue data
└── legacy_queue_refactor_2025-09-26/ # Previous refactor
- Cleaner root - Only active system visible
- Clear purpose - One system to use (queue_pipeline_v2)
- Preserved history - Nothing deleted, everything documented
- Maintainable - Easy to understand and extend
- Git-friendly - Generated files ignored, code tracked
The repository is now:
- ✅ Clean - No clutter in root
- ✅ Focused - One active system
- ✅ Documented - Clear READMEs
- ✅ Maintainable - Easy to understand
- ✅ Reusable - Ready for development
- ✅ Preserved - Nothing lost
Clean repo = Happy developers! 🚀