CRITICAL FIX: Stop load_fred_client() from clobbering FRED_API_AVAILABLE flag set in load_config()
Edwin Salguero
1b7a8ef
Final consolidation: replace load_config() with clean, consolidated version that properly sets both REAL_DATA_MODE and FRED_API_AVAILABLE
Edwin Salguero
c2c9316
Fix FRED_API_AVAILABLE wiring: set to True when valid key is detected and restore production streamlit_app.py
Edwin Salguero
8d5bb7d
Implement Streamlit-native solution: remove dotenv dependency and use st.secrets directly
Edwin Salguero
864919d
Wire up FRED_API_AVAILABLE to flip to True when valid key is detected in load_config()
Edwin Salguero
82f45f2
Add comprehensive debug logging to track FRED API key loading and propagation
Edwin Salguero
b2fb4a4
Fix FRED API key propagation - make key loading dynamic instead of static at module import time
Edwin Salguero
81fb9e2
Add error handling and debug logging for AWS client initialization to prevent UnboundLocalError
Edwin Salguero
081f523
Fix s3_client initialization in main() function - move AWS client initialization outside conditional block
Edwin Salguero
22dd4c3
Remove pre-flight FRED API key check - rely on REAL_DATA_MODE after load_config()
Edwin Salguero
6b72109
Remove FRED API key debug message from UI and fix Streamlit Cloud deployment
Edwin Salguero
04ccda7
Add FRED API key validation at app startup and improve environment variable loading
Edwin Salguero
378ea47
Merge remote changes and resolve conflicts - Fixed frequency error (ME -> M) - Updated analytics availability checks - Resolved merge conflicts keeping local improvements
Edwin Salguero
b204d55
Fix frequency error and analytics availability issues - Fixed Invalid frequency: ME error by changing freq='ME' to freq='M' - Updated analytics availability check to verify modules directly - Improved error handling for real FRED data processing - Enhanced configuration page to show accurate analytics status
Edwin Salguero
f63ddad
Remove all demo data and update project to use only real FRED API data
Edwin Salguero
94e5687
Optimize Streamlit app performance with lazy imports and loading indicators
Edwin Salguero
712bf79
Fix Streamlit Cloud deployment issues and deprecated pandas warnings
feat: Integrate advanced analytics and enterprise UI
Edwin Salguero
26a8ea5
- Update cron job schedule to quarterly execution
- Implement enterprise-grade Streamlit UI with think tank aesthetic
- Add comprehensive advanced analytics modules:
* Enhanced FRED client with 20+ economic indicators
* Economic forecasting with ARIMA and ETS models
* Economic segmentation with clustering algorithms
* Statistical modeling with regression and causality
* Comprehensive analytics orchestration
- Create automation and testing scripts
- Update documentation and dependencies
- Implement professional styling and responsive design
This transforms FRED ML into an enterprise-grade economic analytics platform.
feat: Complete project cleanup and professional structure
Edwin Salguero
2b395f2
- Cleaned up directory structure and removed clutter
- Moved demo files to data/exports/demo/
- Reorganized scripts and moved run_tests.py
- Updated .gitignore with comprehensive rules
- Enhanced README with professional documentation
- Added comprehensive CI/CD workflows
- Moved Lambda functions to src/lambda/
- Added complete testing infrastructure
- Improved project organization and documentation